CMP – Coming Soon & Maintenance Plugin by NiteoThemes - Version 3.7.7

Version Description

Download this release

Release Info

Developer niteo
Plugin Icon 128x128 CMP – Coming Soon & Maintenance Plugin by NiteoThemes
Version 3.7.7
Comparing to
See all releases

Code changes from version 3.7.6 to 3.7.7

cmp-advanced.php CHANGED
@@ -220,6 +220,10 @@ if ( isset( $_POST['niteoCS_wpautop'] ) && is_numeric($_POST['niteoCS_wpautop'])
220
  update_option('niteoCS_wpautop', sanitize_text_field( $_POST['niteoCS_wpautop'] ));
221
  }
222
 
 
 
 
 
223
 
224
 
225
  $niteoCS_page_filter = get_option('niteoCS_page_filter', '0');
@@ -243,7 +247,7 @@ $cmp_countdown_notif = get_option('niteoCS_countdown_notification', '1');
243
  $cmp_mode_change_notif = get_option('niteoCS_mode_change_notification', '0');
244
  $countdown_email = get_option('niteoCS_countdown_email_address', get_option( 'admin_email' ));
245
  $mode_change_email = get_option('niteoCS_mode_change_email_address', get_option( 'admin_email' ));
246
-
247
  ?>
248
 
249
  <div class="wrap cmp-coming-soon-maintenance cmp-advanced">
@@ -596,7 +600,7 @@ $mode_change_email = get_option('niteoCS_mode_change_email_address', get_opt
596
 
597
  <h4><?php _e('CMP Top Bar layout.', 'cmp-coming-soon-maintenance');?></h4>
598
  <select name="niteoCS_topbar_version">
599
- <option value="cmp-topbar-full" <?php selected($topbar_version, 'cmp-topbar-full');?>><?php _e('Complete - CMP Icon with description', 'cmp-coming-soon-maintenace');?></option>
600
  <option value="cmp-topbar-compact" <?php selected($topbar_version, 'cmp-topbar-compact');?>><?php _e('Compact - CMP Icon only ', 'cmp-coming-soon-maintenace');?></option>
601
  </select>
602
 
@@ -738,6 +742,51 @@ $mode_change_email = get_option('niteoCS_mode_change_email_address', get_opt
738
 
739
  </div>
740
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
741
  <!-- IMPORT AND EXPORT -->
742
 
743
  <div class="table-wrapper cmp-export-import">
220
  update_option('niteoCS_wpautop', sanitize_text_field( $_POST['niteoCS_wpautop'] ));
221
  }
222
 
223
+ if ( isset( $_POST['cmp_cookie_notice_comp'] ) && is_numeric($_POST['cmp_cookie_notice_comp']) ) {
224
+ update_option('cmp_cookie_notice_comp', sanitize_text_field( $_POST['cmp_cookie_notice_comp'] ));
225
+ }
226
+
227
 
228
 
229
  $niteoCS_page_filter = get_option('niteoCS_page_filter', '0');
247
  $cmp_mode_change_notif = get_option('niteoCS_mode_change_notification', '0');
248
  $countdown_email = get_option('niteoCS_countdown_email_address', get_option( 'admin_email' ));
249
  $mode_change_email = get_option('niteoCS_mode_change_email_address', get_option( 'admin_email' ));
250
+ $cmp_cookie_notice_comp = get_option('cmp_cookie_notice_comp', '1');
251
  ?>
252
 
253
  <div class="wrap cmp-coming-soon-maintenance cmp-advanced">
600
 
601
  <h4><?php _e('CMP Top Bar layout.', 'cmp-coming-soon-maintenance');?></h4>
602
  <select name="niteoCS_topbar_version">
603
+ <option value="cmp-topbar-full" <?php selected($topbar_version, 'cmp-topbar-full');?>><?php _e('Full - CMP Icon with description', 'cmp-coming-soon-maintenace');?></option>
604
  <option value="cmp-topbar-compact" <?php selected($topbar_version, 'cmp-topbar-compact');?>><?php _e('Compact - CMP Icon only ', 'cmp-coming-soon-maintenace');?></option>
605
  </select>
606
 
742
 
743
  </div>
744
 
745
+ <div class="table-wrapper cmp-misc">
746
+
747
+ <h3 class="no-icon"><?php _e('Cookie Notice Compatibility', 'cmp-coming-soon-maintenance');?></h3>
748
+ <table class="general">
749
+ <tbody>
750
+
751
+ <tr>
752
+ <th>
753
+ <fieldset>
754
+ <legend class="screen-reader-text">
755
+ <span><?php _e('Cookie Notice Compatibility', 'cmp-coming-soon-maintenance');?></span>
756
+ </legend>
757
+
758
+ <p>
759
+ <label title="Enabled">
760
+ <input type="radio" class="cmp-cookienotice" name="cmp_cookie_notice_comp" value="1" <?php checked('1', $cmp_cookie_notice_comp);?>><?php _e('Enabled', 'cmp-coming-soon-maintenance');?>
761
+ </label>
762
+ </p>
763
+
764
+ <p>
765
+ <label title="Disabled">
766
+ <input type="radio" class="cmp-cookienotice" name="cmp_cookie_notice_comp" value="0" <?php checked('0', $cmp_cookie_notice_comp);?>><?php _e('Disabled', 'cmp-coming-soon-maintenance');?>
767
+ </label>
768
+ </p>
769
+ </fieldset>
770
+ </th>
771
+
772
+ <td>
773
+ <div class="cmp-cookienotice-switch x1">
774
+ <p style="margin-top:0"><?php printf(__('If %s plugin is installed and activated then Cookie notice will be automatically displayed also on Coming Soon page.', 'cmp-coming-soon-maintenance'), '<a href="https://wordpress.org/plugins/cookie-notice/" target="_blank">Cookie Notice</a>');?></p>
775
+ </div>
776
+
777
+ <div class="cmp-cookienotice-switch x0">
778
+ <p style="margin-top:0"><?php printf(__('Compatibility with %s plugin is disabled.', 'cmp-coming-soon-maintenance'), '<a href="https://wordpress.org/plugins/cookie-notice/" target="_blank">Cookie Notice</a>');?></p>
779
+ </div>
780
+
781
+ </td>
782
+ </tr>
783
+ <?php echo $this->render_settings->submit(); ?>
784
+
785
+ </tbody>
786
+ </table>
787
+
788
+ </div>
789
+
790
  <!-- IMPORT AND EXPORT -->
791
 
792
  <div class="table-wrapper cmp-export-import">
cmp-settings.php CHANGED
@@ -49,6 +49,10 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
49
  if ( isset($_POST['niteoCS_select_theme']) && in_array($_POST['niteoCS_select_theme'], $this->cmp_themes_available())) {
50
  update_option('niteoCS_theme', sanitize_text_field($_POST['niteoCS_select_theme']));
51
  $themeslug = $this->cmp_selectedTheme();
 
 
 
 
52
  }
53
 
54
  if (isset($_POST['niteoCS_logo_type'])) {
49
  if ( isset($_POST['niteoCS_select_theme']) && in_array($_POST['niteoCS_select_theme'], $this->cmp_themes_available())) {
50
  update_option('niteoCS_theme', sanitize_text_field($_POST['niteoCS_select_theme']));
51
  $themeslug = $this->cmp_selectedTheme();
52
+
53
+ if ( $_POST['niteoCS_select_theme'] === 'mosaic' ) {
54
+ update_option( 'niteoCS_slider_effect', 'slice');
55
+ }
56
  }
57
 
58
  if (isset($_POST['niteoCS_logo_type'])) {
img/thumbnails/headliner_thumbnail.jpg/357/200/272Zone.Identifier DELETED
File without changes
img/thumbnails/mosaic/screenshot1.jpg ADDED
Binary file
img/thumbnails/mosaic/screenshot2.jpg ADDED
Binary file
img/thumbnails/mosaic/screenshot3.jpg ADDED
Binary file
img/thumbnails/mosaic_thumbnail.jpg ADDED
Binary file
inc/class-cmp-render_html.php CHANGED
@@ -338,7 +338,7 @@ class CMP_Coming_Soon_and_Maintenance_Render_HTML extends CMP_Coming_Soon_and_Ma
338
  }
339
 
340
  // Plugin Name: Cookie Notice
341
- if ( function_exists('cn_cookies_accepted') && !cn_cookies_accepted() ) {
342
  // access cookie notice class
343
  $cookie_notice = Cookie_Notice();
344
 
338
  }
339
 
340
  // Plugin Name: Cookie Notice
341
+ if ( function_exists('cn_cookies_accepted') && get_option('cmp_cookie_notice_comp', '1') === '1' && !cn_cookies_accepted() ) {
342
  // access cookie notice class
343
  $cookie_notice = Cookie_Notice();
344
 
inc/render/footer.php CHANGED
@@ -13,7 +13,7 @@ if ( class_exists('InsertHeadersAndFooters') ) {
13
  }
14
 
15
  // Plugin Name: Cookie Notice
16
- if ( class_exists('Cookie_Notice') ) {
17
  $cookie_notice = Cookie_Notice();
18
  $cookie_notice->add_cookie_notice();
19
 
13
  }
14
 
15
  // Plugin Name: Cookie Notice
16
+ if ( class_exists('Cookie_Notice') && get_option('cmp_cookie_notice_comp', '1') === '1' ) {
17
  $cookie_notice = Cookie_Notice();
18
  $cookie_notice->add_cookie_notice();
19
 
inc/render/head-scripts.php CHANGED
@@ -27,7 +27,7 @@ if ( !empty( $head_scripts ) ) {
27
  }
28
 
29
 
30
- if ( ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) || !function_exists('cn_cookies_accepted') ) {
31
  switch ( get_option('niteoCS_analytics_status', 'disabled') ) {
32
  //disabled analytics
33
  case 'disabled':
27
  }
28
 
29
 
30
+ if ( ( function_exists('cn_cookies_accepted') && get_option('cmp_cookie_notice_comp', '1') === '1' && cn_cookies_accepted() ) || !function_exists('cn_cookies_accepted') ) {
31
  switch ( get_option('niteoCS_analytics_status', 'disabled') ) {
32
  //disabled analytics
33
  case 'disabled':
inc/render/javascripts.php CHANGED
@@ -66,11 +66,12 @@ if ( $background !== false ) { ?>
66
  switch ( $background ) {
67
  // VIDIM script for background video
68
  case '5':
69
- $video_autoloop = get_option('niteoCS_video_autoloop', '1'); ?>
 
70
  <script src='<?php echo plugins_url('cmp-coming-soon-maintenance/js/external/vidim.min.js?v=1.0.2"');?>'></script>
71
  <script>
72
  <?php
73
- $video_poster = wp_get_attachment_image_src( get_option('niteoCS_video_thumb'), 'large' );
74
 
75
  if ( !empty( $video_poster ) ) {
76
  $video_poster = $video_poster[0];
@@ -100,7 +101,8 @@ if ( $background !== false ) { ?>
100
  quality: 'hd1080',
101
  muted: true,
102
  loop: <?php echo $video_autoloop ? 'true' : 'false' ; ?>,
103
- startAt: src.length > 1 ? src[1] : '0'
 
104
  });
105
 
106
  <?php
@@ -128,6 +130,7 @@ if ( $background !== false ) { ?>
128
  },
129
  ],
130
  poster: '<?php echo esc_url( $video_poster ); ?>',
 
131
  loop: <?php echo $video_autoloop ? 'true' : 'false' ; ?>
132
  });
133
  <?php
@@ -419,12 +422,14 @@ if ( $counter_script && get_option('niteoCS_counter', '1') == '1') {
419
  $countdown_action = get_option('niteoCS_countdown_action', 'no-action');
420
 
421
  // counter script for day only
422
- if ( $themeslug === 'delta' || $themeslug === 'mercury' || $themeslug === 'libra' || $themeslug === 'thor' || $themeslug === 'headliner' ) { ?>
423
  <script>
424
  var countdown = document.getElementById('counter');
425
  var count = parseInt(document.getElementById('counter-day').textContent);
426
  var ms = 5;
427
  var day = countdown.dataset.date;
 
 
428
  var counter = setTimeout(timer, 2000);
429
  function timer() {
430
  if ( count >= day ) {
@@ -447,9 +452,27 @@ if ( $counter_script && get_option('niteoCS_counter', '1') == '1') {
447
 
448
  <?php
449
  if ( $countdown_action === 'redirect' || $countdown_action === 'disable-cmp') { ?>
450
- if ( count == 0 ) {
451
- window.location.reload();
452
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
453
  <?php
454
  } ?>
455
  }
66
  switch ( $background ) {
67
  // VIDIM script for background video
68
  case '5':
69
+ $video_autoloop = get_option('niteoCS_video_autoloop', '1');
70
+ $size = $this->isMobile() ? 'large' : 'full'; ?>
71
  <script src='<?php echo plugins_url('cmp-coming-soon-maintenance/js/external/vidim.min.js?v=1.0.2"');?>'></script>
72
  <script>
73
  <?php
74
+ $video_poster = wp_get_attachment_image_src( get_option('niteoCS_video_thumb'), $size );
75
 
76
  if ( !empty( $video_poster ) ) {
77
  $video_poster = $video_poster[0];
101
  quality: 'hd1080',
102
  muted: true,
103
  loop: <?php echo $video_autoloop ? 'true' : 'false' ; ?>,
104
+ startAt: src.length > 1 ? src[1] : '0',
105
+ showPosterBeforePlay: true
106
  });
107
 
108
  <?php
130
  },
131
  ],
132
  poster: '<?php echo esc_url( $video_poster ); ?>',
133
+ showPosterBeforePlay: true,
134
  loop: <?php echo $video_autoloop ? 'true' : 'false' ; ?>
135
  });
136
  <?php
422
  $countdown_action = get_option('niteoCS_countdown_action', 'no-action');
423
 
424
  // counter script for day only
425
+ if ( $themeslug === 'delta' || $themeslug === 'mercury' || $themeslug === 'libra' || $themeslug === 'thor' || $themeslug === 'headliner' || $themeslug === 'mosaic' ) { ?>
426
  <script>
427
  var countdown = document.getElementById('counter');
428
  var count = parseInt(document.getElementById('counter-day').textContent);
429
  var ms = 5;
430
  var day = countdown.dataset.date;
431
+ var cmp_nonce = '<?php echo wp_create_nonce( 'cmp-coming-soon-maintenance-nonce' ); ?>';
432
+ var cmp_status = '<?php echo esc_attr(get_option('niteoCS_countdown_action', 'no-action'));?>';
433
  var counter = setTimeout(timer, 2000);
434
  function timer() {
435
  if ( count >= day ) {
452
 
453
  <?php
454
  if ( $countdown_action === 'redirect' || $countdown_action === 'disable-cmp') { ?>
455
+
456
+ if ( count == 0 ) {
457
+ fetch( '<?php echo esc_url(admin_url( 'admin-ajax.php' ));?>', {
458
+ method: 'POST',
459
+ headers: {
460
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
461
+ },
462
+ body: `action=cmp_disable_comingsoon_ajax&security=${cmp_nonce}&status=${cmp_status}`,
463
+ credentials: 'same-origin'
464
+ })
465
+ .then(response => response.json())
466
+ .then((data) => {
467
+ if ( data.message === 'success' ) {
468
+ setTimeout(() => {
469
+ window.location.reload();
470
+ }, 1500);
471
+ }
472
+ })
473
+ .catch(function(error) { console.log(error.message); });
474
+
475
+ }
476
  <?php
477
  } ?>
478
  }
inc/render/social-icons.php CHANGED
@@ -11,7 +11,7 @@ if ( get_option('niteoCS_socialmedia') ) {
11
  //sort social icons array by hidden, then order key
12
  uasort( $socialmedia , array($this,'sort_social') );
13
 
14
- $theme_html = ( $themeslug == 'stylo' ) ? '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="3em" height="3em" viewBox="0 0 80 80" xml:space="preserve"><circle transform="rotate(-90 40 40)" class="another-circle" cx="40" cy="40" r="36" /></svg>' : '';
15
 
16
  if ( $title == true ) {
17
  $soc_title = $this->cmp_wpml_translate_string( stripslashes( get_option('niteoCS_soc_title', 'GET SOCIAL WITH US') ), 'Social Icons Title' );;
11
  //sort social icons array by hidden, then order key
12
  uasort( $socialmedia , array($this,'sort_social') );
13
 
14
+ $theme_html = ( $themeslug == 'stylo' || $themeslug == 'mosaic') ? '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="3em" height="3em" viewBox="0 0 80 80" xml:space="preserve"><circle transform="rotate(-90 40 40)" class="another-circle" cx="40" cy="40" r="36" /></svg>' : '';
15
 
16
  if ( $title == true ) {
17
  $soc_title = $this->cmp_wpml_translate_string( stripslashes( get_option('niteoCS_soc_title', 'GET SOCIAL WITH US') ), 'Social Icons Title' );;
inc/settings/settings-background.php CHANGED
@@ -335,9 +335,11 @@ $mobile_banner_custom_id = get_option('niteoCS_mobile_banner_id', '');
335
  <!-- Video mobile Thumbnail -->
336
  <div class="banner-video-source youtube local">
337
 
338
- <label><input type="checkbox" name="niteoCS_video_autoloop" value="1" <?php checked( '1', get_option( 'niteoCS_video_autoloop', '1' ) ); ?> class="regular-text code"><?php _e('Loop video automatically', 'cmp-coming-soon-maintenance');?></label>
 
 
339
 
340
- <p><?php _e('YouTube background doesn`t work on mobile devices therefore only thumbnail will be displayed on mobile devices. You can upload custom thumbnail image by pressing button below. ', 'cmp-coming-soon-maintenance');?></p>
341
  <input type="hidden" class="widefat" id="niteoCS-video-thumb-id" name="niteoCS_video_thumb" value="<?php echo esc_attr( $niteoCS_video_thumb ); ?>" />
342
  <input id="add-video-thumb" type="button" class="button" value="<?php _e('Media Library', 'cmp-coming-soon-maintenance');?>" />
343
 
335
  <!-- Video mobile Thumbnail -->
336
  <div class="banner-video-source youtube local">
337
 
338
+ <br>
339
+ <input type="checkbox" name="niteoCS_video_autoloop" value="1" <?php checked( '1', get_option( 'niteoCS_video_autoloop', '1' ) ); ?> class="regular-text code"><?php _e('Loop video automatically', 'cmp-coming-soon-maintenance');?>
340
+
341
 
342
+ <p><?php _e('YouTube background doesn`t work on mobile devices therefore only thumbnail will be displayed on mobile devices. You can upload custom thumbnail image by pressing button below. This Image will be also displayed as a placeholder before video is loaded. ', 'cmp-coming-soon-maintenance');?></p>
343
  <input type="hidden" class="widefat" id="niteoCS-video-thumb-id" name="niteoCS_video_thumb" value="<?php echo esc_attr( $niteoCS_video_thumb ); ?>" />
344
  <input id="add-video-thumb" type="button" class="button" value="<?php _e('Media Library', 'cmp-coming-soon-maintenance');?>" />
345
 
inc/settings/settings-counter.php CHANGED
@@ -75,6 +75,7 @@ $niteoCS_counter_heading = get_option('niteoCS_counter_heading', 'STAY TUNED, W
75
  <fieldset>
76
  <h4 for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?></h4>
77
  <input type="text" id="niteoCS_counter_heading" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
 
78
  </fieldset>
79
  <?php endif;?>
80
 
75
  <fieldset>
76
  <h4 for="niteoCS_counter_heading"><?php _e('Counter Heading', 'cmp-coming-soon-maintenance');?></h4>
77
  <input type="text" id="niteoCS_counter_heading" name="niteoCS_counter_heading" value="<?php echo esc_attr( $niteoCS_counter_heading ); ?>" class="regular-text code"><br>
78
+ <br>
79
  </fieldset>
80
  <?php endif;?>
81
 
inc/settings/settings-slider.php CHANGED
@@ -27,7 +27,7 @@ $niteoCS_slider_count = get_option('niteoCS_slider_count', '3');
27
  $niteoCS_slider_effect = get_option('niteoCS_slider_effect', 'true');
28
  $niteoCS_banner = get_option('niteoCS_banner', '0');
29
  $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
30
-
31
  ?>
32
 
33
  <div class="table-wrapper content">
@@ -68,20 +68,20 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
68
 
69
  <h4 for="niteoCS_slider_effect"><?php _e('Slider Effect', 'cmp-coming-soon-maintenance');?></h4>
70
  <?php
71
- if ( $this->cmp_selectedTheme() !== 'apollo' && $this->cmp_selectedTheme() !== 'ares' ) { ?>
72
  <label title="Slide Effect">
73
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
74
  </label><br>
75
  <?php
76
  }
77
- if ( $this->cmp_selectedTheme() !== 'ares' ) { ?>
78
  <label title="Fade Effect">
79
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
80
  </label><br>
81
  <?php
82
  }
83
  // Slice option for selected themes
84
- if ( $this->cmp_selectedTheme() == 'fifty' ) { ?>
85
  <label title="Slice Effect">
86
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
87
  </label><br>
@@ -89,7 +89,7 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
89
  }
90
 
91
  // Train option for selected themes
92
- if ( $this->cmp_selectedTheme() == 'libra' ) { ?>
93
  <label title="Train Effect">
94
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="train"<?php checked ( 'train', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Train', 'cmp-coming-soon-maintenance');?>
95
  </label><br>
@@ -97,7 +97,7 @@ $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
97
  }
98
 
99
  // Mask Transition option for selected themes
100
- if ( $this->cmp_selectedTheme() == 'apollo' || $this->cmp_selectedTheme() == 'ares' ) { ?>
101
  <label title="Mask Transition Effect">
102
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
103
  </label>
27
  $niteoCS_slider_effect = get_option('niteoCS_slider_effect', 'true');
28
  $niteoCS_banner = get_option('niteoCS_banner', '0');
29
  $niteoCS_slider_auto = get_option('niteoCS_slider_auto', '1');
30
+ $current_theme = $this->cmp_selectedTheme();
31
  ?>
32
 
33
  <div class="table-wrapper content">
68
 
69
  <h4 for="niteoCS_slider_effect"><?php _e('Slider Effect', 'cmp-coming-soon-maintenance');?></h4>
70
  <?php
71
+ if ( $current_theme !== 'apollo' && $current_theme !== 'ares' && $current_theme !== 'mosaic' ) { ?>
72
  <label title="Slide Effect">
73
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="false"<?php checked ( 'false', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slide', 'cmp-coming-soon-maintenance');?>
74
  </label><br>
75
  <?php
76
  }
77
+ if ( $current_theme !== 'ares' && $current_theme !== 'mosaic' ) { ?>
78
  <label title="Fade Effect">
79
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="true"<?php checked ( 'true', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Fade', 'cmp-coming-soon-maintenance');?>
80
  </label><br>
81
  <?php
82
  }
83
  // Slice option for selected themes
84
+ if ( $current_theme == 'fifty' || $current_theme == 'mosaic' ) { ?>
85
  <label title="Slice Effect">
86
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="slice"<?php checked ( 'slice', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Slice', 'cmp-coming-soon-maintenance');?>
87
  </label><br>
89
  }
90
 
91
  // Train option for selected themes
92
+ if ( $current_theme == 'libra' ) { ?>
93
  <label title="Train Effect">
94
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="train"<?php checked ( 'train', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Train', 'cmp-coming-soon-maintenance');?>
95
  </label><br>
97
  }
98
 
99
  // Mask Transition option for selected themes
100
+ if ( $current_theme == 'apollo' || $current_theme == 'ares' ) { ?>
101
  <label title="Mask Transition Effect">
102
  <input type="radio" name="niteoCS_slider_effect" <?php echo ( $niteoCS_banner == '1' || $niteoCS_banner == '0' ) ? '' : 'disabled';?> value="mask-transition"<?php checked ( 'mask-transition', $niteoCS_slider_effect );?>>&nbsp;<?php _e('Mask Transition Effect', 'cmp-coming-soon-maintenance');?>
103
  </label>
inc/settings/settings-social-media.php CHANGED
@@ -9,6 +9,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
9
  <tbody>
10
 
11
  <?php
 
12
  if ( !isset( $theme_supports['social_title'] ) || (isset( $theme_supports['social_title'] ) && $theme_supports['social_title'] === true ) ) { ?>
13
  <tr>
14
  <th><?php _e('Social Section Title', 'cmp-coming-soon-maintenance');?></th>
9
  <tbody>
10
 
11
  <?php
12
+
13
  if ( !isset( $theme_supports['social_title'] ) || (isset( $theme_supports['social_title'] ) && $theme_supports['social_title'] === true ) ) { ?>
14
  <tr>
15
  <th><?php _e('Social Section Title', 'cmp-coming-soon-maintenance');?></th>
inc/settings/settings-subscribe.php CHANGED
@@ -45,6 +45,10 @@ if (isset($_POST['niteoCS_recaptcha_site'])) {
45
  update_option('niteoCS_recaptcha_site', sanitize_text_field($_POST['niteoCS_recaptcha_site']));
46
  }
47
 
 
 
 
 
48
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
49
 
50
  if ( isset($_POST['niteoCS_mailchimp_double_opt']) ) {
@@ -80,6 +84,7 @@ $niteoCS_subscribe_type = get_option('niteoCS_subscribe_type', '2');
80
  $niteoCS_subscribe_code = get_option('niteoCS_subscribe_code');
81
  $niteoCS_subscribe_label = stripslashes(get_option('niteoCS_subscribe_label'));
82
  $niteoCS_subscribers_list = get_option('niteoCS_subscribers_list');
 
83
 
84
  $subscribe_method = get_option('niteoCS_subscribe_method', 'cmp');
85
  $mailchimp_apikey = get_option('niteoCS_mailchimp_apikey', '');
@@ -138,19 +143,12 @@ $recaptcha_site = get_option('niteoCS_recaptcha_site', '');
138
  <p><?php _e('Subscribe Form is disabled.', 'cmp-coming-soon-maintenance');?></p>
139
  </td>
140
 
141
- <?php if ( $this->cmp_selectedTheme() == 'agency' ): ?>
142
 
143
- <?php
144
- if ( isset($_POST['niteoCS_subscribe_title']) ) {
145
- update_option('niteoCS_subscribe_title', esc_html( $_POST['niteoCS_subscribe_title']) );
146
- }
147
-
148
- $niteoCS_subscribe_title = stripslashes( get_option('niteoCS_subscribe_title', 'SUBSCRIBE US') );
149
- ?>
150
  <td class="subscribe-switch x1 x2">
151
- <h4 for="niteoCS_subscribe_title"><?php _e('Subcribe Form Title', 'cmp-coming-soon-maintenance');?>
152
- <input type="text" name="niteoCS_subscribe_title" id="niteoCS_subscribe_title" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_title ));?>" class="regular-text code">
153
- </h4>
154
  </td>
155
  <?php endif; ?>
156
 
45
  update_option('niteoCS_recaptcha_site', sanitize_text_field($_POST['niteoCS_recaptcha_site']));
46
  }
47
 
48
+ if ( isset($_POST['niteoCS_subscribe_title']) ) {
49
+ update_option('niteoCS_subscribe_title', esc_html( $_POST['niteoCS_subscribe_title']) );
50
+ }
51
+
52
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
53
 
54
  if ( isset($_POST['niteoCS_mailchimp_double_opt']) ) {
84
  $niteoCS_subscribe_code = get_option('niteoCS_subscribe_code');
85
  $niteoCS_subscribe_label = stripslashes(get_option('niteoCS_subscribe_label'));
86
  $niteoCS_subscribers_list = get_option('niteoCS_subscribers_list');
87
+ $niteoCS_subscribe_title = stripslashes( get_option('niteoCS_subscribe_title', 'SUBSCRIBE US') );
88
 
89
  $subscribe_method = get_option('niteoCS_subscribe_method', 'cmp');
90
  $mailchimp_apikey = get_option('niteoCS_mailchimp_apikey', '');
143
  <p><?php _e('Subscribe Form is disabled.', 'cmp-coming-soon-maintenance');?></p>
144
  </td>
145
 
146
+ <?php if ( $this->cmp_selectedTheme() == 'agency' || (isset( $theme_supports['subscribe_title'] ) && $theme_supports['subscribe_title'] === true )): ?>
147
 
 
 
 
 
 
 
 
148
  <td class="subscribe-switch x1 x2">
149
+ <h4><?php _e('Subcribe Form Heading', 'cmp-coming-soon-maintenance');?></h4>
150
+ <input type="text" name="niteoCS_subscribe_title" id="niteoCS_subscribe_title" value="<?php echo stripslashes( esc_attr($niteoCS_subscribe_title ));?>" class="regular-text code">
151
+
152
  </td>
153
  <?php endif; ?>
154
 
js/cmp-advanced.js CHANGED
@@ -77,6 +77,7 @@ jQuery(document).ready(function ($) {
77
  toggle_settings('countdown-toggle');
78
  toggle_settings('mode-change-toggle');
79
  toggle_settings('cmp-wpautop');
 
80
  cmp_repeat_fields('head_scripts');
81
  cmp_repeat_fields('footer_scripts');
82
 
77
  toggle_settings('countdown-toggle');
78
  toggle_settings('mode-change-toggle');
79
  toggle_settings('cmp-wpautop');
80
+ toggle_settings('cmp-cookienotice');
81
  cmp_repeat_fields('head_scripts');
82
  cmp_repeat_fields('footer_scripts');
83
 
js/cmp-advanced.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function (e) { var a = document.location.hash.substring(1), t = jQuery("#csoptions").attr("action"), n = !1; function r(e) { jQuery("." + e).change(function () { var a = jQuery("." + e + ":checked").val(); a = void 0 === (a = jQuery.isNumeric(a) ? "x" + a : a) ? "x0" : a, jQuery("." + e + "-switch." + a).css("display", "block"), jQuery("." + e + "-switch:not(." + a + ")").css("display", "none") }), jQuery("." + e).first().trigger("change") } function i(a) { jQuery("#add-" + a).click(function (t) { t.preventDefault(); var n = jQuery("#wrapper-" + a), r = jQuery("#wrapper-" + a + " .target-repeater-fields"), i = n.find(".source-repeater-fields").children().clone(); e(i[0]).val(""), e(r).append(i) }), function (a) { jQuery("#wrapper-" + a + " .target-repeater-fields").on("click", "a[href=#delete-" + a + "]", function (a) { a.preventDefault(), e(this).prev().remove(), e(this).remove() }), jQuery("#wrapper-" + a + " .source-repeater-fields").on("click", "a[href=#delete-" + a + "]", function (a) { a.preventDefault(), e(this).prev().val("") }) }(a) } navtab = function (e) { jQuery(".cmp-coming-soon-maintenance .nav-tab-wrapper .nav-tab").removeClass("nav-tab-active"), jQuery('.nav-tab-wrapper .nav-tab[data-tab="' + e + '"]').addClass("nav-tab-active"), jQuery(".cmp-coming-soon-maintenance .table-wrapper." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .table-wrapper-css." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .comingsoon." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .table-wrapper:not(." + e + ")").css("display", "none"), jQuery(".cmp-coming-soon-maintenance .table-wrapper-css:not(." + e).css("display", "none"), jQuery(".cmp-coming-soon-maintenance .comingsoon:not(." + e + ")").css("display", "none"), "install" == e ? (jQuery(".cmp-coming-soon-maintenance .submit").css("display", "none"), jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action", t)) : (jQuery(".cmp-coming-soon-maintenance .submit").css("display", "block"), jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action", t + "#" + e)) }, "" != a ? navtab(a) : jQuery(".cmp-coming-soon-maintenance .table-wrapper-css").css("display", "none"), window.onhashchange = function () { a = document.location.hash.substring(1), navtab(a) }, jQuery(".cmp-coming-soon-maintenance .nav-tab").click(function (e) { e.preventDefault(), a = jQuery(this).data("tab"), document.location.hash = a }), r("page-whitelist"), r("cmp-bypass"), r("cmp-topbar-icon"), r("countdown-toggle"), r("mode-change-toggle"), r("cmp-wpautop"), i("head_scripts"), i("footer_scripts"), jQuery("#cmp-import-json").on("change", function (a) { jQuery(".import-json-label").attr("data-default", a.target.files[0].name); var t = new FileReader; t.onload = function (e) { jQuery("#cmp-import-input").val(e.target.result) }, t.readAsText(a.target.files[0]), e("#cmp-import-settings").attr("disabled", !1), jQuery(".import-json-label").removeClass("import-fail"), n = !1 }), jQuery("#cmp-export-json").click(function (e) { e.preventDefault(); var a = { action: "cmp_ajax_export_settings", security: jQuery(this).data("security") }; jQuery.post(ajaxurl, a, function (e) { e && jQuery("<iframe />").attr("src", ajaxurl + "?action=cmp_ajax_export_settings&security=" + jQuery("#cmp-export-json").data("security")).appendTo("body").hide() }) }), jQuery("#cmp-import-settings").click(function (e) { if (e.preventDefault(), !0 === n) return !1; var a = jQuery("#cmp-import-input").val(), t = jQuery(".import-json-label"); if (!jQuery("#cmp-import-media").is(":checked")) { var r = new Array("niteoCS_banner_id", "niteoCS_logo_id", "niteoCS_seo_img_id"); (a = jQuery.parseJSON(a)).map(function (e, t) { for (var n in e) r.indexOf(n) > -1 && a.splice(t, 1) }), a = JSON.stringify(a) } var i = { action: "cmp_ajax_import_settings", security: jQuery(this).data("security"), json: a }; n = !0; var s = (new Date).getTime(); t.html('<i class="fa fa-cog fa-spin" aria-hidden="true"></i> importing..'), t.attr("data-default", ""), jQuery.post(ajaxurl, i, function (e) { if (e) { var a = (new Date).getTime() - s, n = jQuery.parseJSON(e); a > 2e3 ? ("success" == n.result ? t.addClass("import-success") : t.addClass("import-fail"), t.html(""), t.attr("data-default", n.message)) : setTimeout(function () { "success" == n.result ? t.addClass("import-success") : t.addClass("import-fail"), t.html(""), t.attr("data-default", n.message) }, 2e3 - a) } }) }), jQuery(".cmp-whitelist-select, .cmp-blacklist, .cmp-user_roles").select2({ width: "calc(100% - 1em)", placeholder: "Click to select.." }), jQuery('select[name="niteoCS_topbar_version"]').select2({ width: "calc(100% - 1em)", minimumResultsForSearch: -1 }) });
1
+ jQuery(document).ready(function (e) { var t = document.location.hash.substring(1), a = jQuery("#csoptions").attr("action"), n = !1; function i(e) { jQuery("." + e).change(function () { var t = jQuery("." + e + ":checked").val(); t = void 0 === (t = jQuery.isNumeric(t) ? "x" + t : t) ? "x0" : t, jQuery("." + e + "-switch." + t).css("display", "block"), jQuery("." + e + "-switch:not(." + t + ")").css("display", "none") }), jQuery("." + e).first().trigger("change") } function r(t) { jQuery("#add-" + t).click(function (a) { a.preventDefault(); var n = jQuery("#wrapper-" + t), i = jQuery("#wrapper-" + t + " .target-repeater-fields"), r = n.find(".source-repeater-fields").children().clone(); e(r[0]).val(""), e(i).append(r) }), function (t) { jQuery("#wrapper-" + t + " .target-repeater-fields").on("click", "a[href=#delete-" + t + "]", function (t) { t.preventDefault(), e(this).prev().remove(), e(this).remove() }), jQuery("#wrapper-" + t + " .source-repeater-fields").on("click", "a[href=#delete-" + t + "]", function (t) { t.preventDefault(), e(this).prev().val("") }) }(t) } navtab = function (e) { jQuery(".cmp-coming-soon-maintenance .nav-tab-wrapper .nav-tab").removeClass("nav-tab-active"), jQuery('.nav-tab-wrapper .nav-tab[data-tab="' + e + '"]').addClass("nav-tab-active"), jQuery(".cmp-coming-soon-maintenance .table-wrapper." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .table-wrapper-css." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .comingsoon." + e).css("display", "block"), jQuery(".cmp-coming-soon-maintenance .table-wrapper:not(." + e + ")").css("display", "none"), jQuery(".cmp-coming-soon-maintenance .table-wrapper-css:not(." + e).css("display", "none"), jQuery(".cmp-coming-soon-maintenance .comingsoon:not(." + e + ")").css("display", "none"), "install" == e ? (jQuery(".cmp-coming-soon-maintenance .submit").css("display", "none"), jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action", a)) : (jQuery(".cmp-coming-soon-maintenance .submit").css("display", "block"), jQuery(".cmp-coming-soon-maintenance #csoptions").attr("action", a + "#" + e)) }, "" != t ? navtab(t) : jQuery(".cmp-coming-soon-maintenance .table-wrapper-css").css("display", "none"), window.onhashchange = function () { t = document.location.hash.substring(1), navtab(t) }, jQuery(".cmp-coming-soon-maintenance .nav-tab").click(function (e) { e.preventDefault(), t = jQuery(this).data("tab"), document.location.hash = t }), i("page-whitelist"), i("cmp-bypass"), i("cmp-topbar-icon"), i("countdown-toggle"), i("mode-change-toggle"), i("cmp-wpautop"), i("cmp-cookienotice"), r("head_scripts"), r("footer_scripts"), jQuery("#cmp-import-json").on("change", function (t) { jQuery(".import-json-label").attr("data-default", t.target.files[0].name); var a = new FileReader; a.onload = function (e) { jQuery("#cmp-import-input").val(e.target.result) }, a.readAsText(t.target.files[0]), e("#cmp-import-settings").attr("disabled", !1), jQuery(".import-json-label").removeClass("import-fail"), n = !1 }), jQuery("#cmp-export-json").click(function (e) { e.preventDefault(); var t = { action: "cmp_ajax_export_settings", security: jQuery(this).data("security") }; jQuery.post(ajaxurl, t, function (e) { e && jQuery("<iframe />").attr("src", ajaxurl + "?action=cmp_ajax_export_settings&security=" + jQuery("#cmp-export-json").data("security")).appendTo("body").hide() }) }), jQuery("#cmp-import-settings").click(function (e) { if (e.preventDefault(), !0 === n) return !1; var t = jQuery("#cmp-import-input").val(), a = jQuery(".import-json-label"); if (!jQuery("#cmp-import-media").is(":checked")) { var i = new Array("niteoCS_banner_id", "niteoCS_logo_id", "niteoCS_seo_img_id"); (t = jQuery.parseJSON(t)).map(function (e, a) { for (var n in e) i.indexOf(n) > -1 && t.splice(a, 1) }), t = JSON.stringify(t) } var r = { action: "cmp_ajax_import_settings", security: jQuery(this).data("security"), json: t }; n = !0; var c = (new Date).getTime(); a.html('<i class="fa fa-cog fa-spin" aria-hidden="true"></i> importing..'), a.attr("data-default", ""), jQuery.post(ajaxurl, r, function (e) { if (e) { var t = (new Date).getTime() - c, n = jQuery.parseJSON(e); t > 2e3 ? ("success" == n.result ? a.addClass("import-success") : a.addClass("import-fail"), a.html(""), a.attr("data-default", n.message)) : setTimeout(function () { "success" == n.result ? a.addClass("import-success") : a.addClass("import-fail"), a.html(""), a.attr("data-default", n.message) }, 2e3 - t) } }) }), jQuery(".cmp-whitelist-select, .cmp-blacklist, .cmp-user_roles").select2({ width: "calc(100% - 1em)", placeholder: "Click to select.." }), jQuery('select[name="niteoCS_topbar_version"]').select2({ width: "calc(100% - 1em)", minimumResultsForSearch: -1 }) });
niteo-cmp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
- Version: 3.7.6
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
@@ -63,7 +63,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
63
 
64
  // define constants
65
  private function constants() {
66
- $this->define( 'CMP_VERSION', '3.7.6' );
67
  $this->define( 'CMP_DEBUG', FALSE );
68
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
69
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
@@ -430,6 +430,7 @@ if ( ! class_exists( 'CMP_Coming_Soon_and_Maintenance' ) ) :
430
  public function cmp_premium_themes() {
431
 
432
  $premium_themes = array();
 
433
  array_push( $premium_themes, array('name' => 'headliner', 'url' => 'https://niteothemes.com/downloads/cmp-headliner-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=headliner', 'price' => '10') );
434
  array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
435
  array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
3
  Plugin Name: CMP - Coming Soon & Maintenance Plugin
4
  Plugin URI: https://wordpress.org/plugins/cmp-coming-soon-maintenance/
5
  Description: Display customizable landing page for Coming Soon, Maintenance & Under Construction page.
6
+ Version: 3.7.7
7
  Author: NiteoThemes
8
  Author URI: https://www.niteothemes.com
9
  Text Domain: cmp-coming-soon-maintenance
63
 
64
  // define constants
65
  private function constants() {
66
+ $this->define( 'CMP_VERSION', '3.7.7' );
67
  $this->define( 'CMP_DEBUG', FALSE );
68
  $this->define( 'CMP_AUTHOR', 'NiteoThemes' );
69
  $this->define( 'CMP_AUTHOR_HOMEPAGE', 'https://niteothemes.com' );
430
  public function cmp_premium_themes() {
431
 
432
  $premium_themes = array();
433
+ array_push( $premium_themes, array('name' => 'mosaic', 'url' => 'https://niteothemes.com/downloads/cmp-mosaic-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mosaic', 'price' => '10') );
434
  array_push( $premium_themes, array('name' => 'headliner', 'url' => 'https://niteothemes.com/downloads/cmp-headliner-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=headliner', 'price' => '10') );
435
  array_push( $premium_themes, array('name' => 'mercury', 'url' => 'https://niteothemes.com/downloads/cmp-mercury-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=mercury', 'price' => '10') );
436
  array_push( $premium_themes, array('name' => 'fifty', 'url' => 'https://niteothemes.com/downloads/cmp-fifty-theme/?utm_source=cmp&utm_medium=referral&utm_campaign=fifty', 'price' => '10') );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: coming soon, coming soon page, launch page, maintenance mode, under constr
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.4
8
- Stable tag: 3.7.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -154,6 +154,11 @@ https://www.youtube.com/watch?v=uxuJfHzwdtE
154
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
155
 
156
  == Changelog ==
 
 
 
 
 
157
  <h4>CMP 3.7.6 - 14-May-20</h4>
158
  <ul>
159
  <li>New option to display checkbox for Subscribe form GDPR message.</li>
5
  Requires at least: 3.0
6
  Requires PHP: 5.6
7
  Tested up to: 5.4
8
+ Stable tag: 3.7.7
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
154
  <p>Nothing is better than a good feedback! Please go to <a href="https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/">Plugin reviews</a> and rate it! Alternatively you can click on a Donate button too!:)</p>
155
 
156
  == Changelog ==
157
+ <h4>CMP 3.7.7 - 02-Jun-20</h4>
158
+ <ul>
159
+ <li>New Coming Soon theme: Mosaic!</li>
160
+ <li>New option to disable or enable compatibility with Cookie notice plugin.</li>
161
+ </ul>
162
  <h4>CMP 3.7.6 - 14-May-20</h4>
163
  <ul>
164
  <li>New option to display checkbox for Subscribe form GDPR message.</li>
themes/mosaic.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*
2
+ Theme Name: Mosaic
3
+ Description: <p>CMP Mosaic is designed as a coming soon and maintenance page. All major functionalities are available, such as the ability to display an image, video, pattern, gradient or solid color. Also all elements such as background, logo, subscribe form, countdown, fonts and special effects are editable. This template is great for presenting your brand. You can change the background colors of individual modules to the colors used in your logo.</p><h4>Main Features</h4><ul><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Logo</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Content</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Graphic Background including videos</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Graphic Image Slider Background</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Countdown Timer</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Subscribe Form</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Social Media</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Colors</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Custom Fonts</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Background Blur Effect</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Background Special Effects</li><li class="supported"><i class="fa fa-check-square-o" aria-hidden="true"></i> Responsive Design</li></ul>
4
+