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

Version Description

Download this release

Release Info

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

Code changes from version 1.1.0 to 1.0.0

cmp-options.php CHANGED
@@ -11,19 +11,12 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
11
  $ajax_nonce = wp_create_nonce( 'cmp-coming-soon-ajax-secret' );
12
  $title = stripslashes(get_option('niteoCS_title', get_bloginfo('name').' Coming soon!'));
13
  $descr = stripslashes(get_option('niteoCS_descr', 'Just another Coming Soon Page'));
14
-
15
  $niteoCS_analytics = stripslashes(get_option('niteoCS_analytics', ''));
16
  $niteoCS_custom_css = stripslashes(get_option('niteoCS_custom_css', ''));
17
  $niteoCS_unsplash_id = get_option('niteoCS_unsplash_id', '');
18
  $logo_id = get_option('niteoCS_logo_id');
19
-
20
- if ( $logo_id != '' ) {
21
- $logo_url = wp_get_attachment_image_src($logo_id, 'medium');
22
- if ( isset($logo_url[0]) ){
23
- $logo_url = $logo_url[0];
24
- }
25
- }
26
-
27
  $niteoCS_banner = get_option('niteoCS_banner', '0');
28
  $banner_id = get_option('niteoCS_banner_id');
29
  $unsplash_feed = get_option('niteoCS_unsplash_feed', '0');
@@ -34,8 +27,6 @@ $unsplash_category = get_option('niteoCS_unsplash_category', 'buildings');
34
  $niteoCS_cat_keyword = get_option('niteoCS_cat_keyword');
35
  $niteoCS_soc_title = get_option('niteoCS_soc_title', 'GET SOCIAL WITH US');
36
  $niteoCS_subscribe_type = get_option('niteoCS_subscribe_type', '0');
37
- $niteoCS_subscribe_code = get_option('niteoCS_subscribe_code');
38
- $niteoCS_subscribe_label= get_option('niteoCS_subscribe_label');
39
  $subscriber_list = get_option('niteoCS_subscribers_list');
40
  $niteoCS_csv_export_time = get_option('niteoCS_csv_export_time');
41
  $niteoCS_font_content = get_option('niteoCS_font_content', 'Average Sans');
@@ -66,12 +57,7 @@ $premium = $this->cmp_plugin_premium();
66
  if (isset($_POST['niteoCS_logo_id']) && ( is_numeric($_POST['niteoCS_logo_id']) || empty($_POST['niteoCS_logo_id']))) {
67
  update_option('niteoCS_logo_id', sanitize_text_field($_POST['niteoCS_logo_id']));
68
  $logo_id = get_option('niteoCS_logo_id');
69
- if ( $logo_id != '' ) {
70
- $logo_url = wp_get_attachment_image_src($logo_id, 'medium');
71
- if ( isset($logo_url[0]) ){
72
- $logo_url = $logo_url[0];
73
- }
74
- }
75
  }
76
 
77
  if (isset($_POST['niteoCS_banner']) && is_numeric($_POST['niteoCS_banner'])) {
@@ -182,10 +168,6 @@ if (isset($_POST['niteoCS_subscribe_type']) && is_numeric($_POST['niteoCS_subscr
182
  $niteoCS_subscribe_type= stripslashes(get_option('niteoCS_subscribe_type'));
183
  }
184
 
185
- if (isset($_POST['niteoCS_subscribe_label'])) {
186
- update_option('niteoCS_subscribe_label', sanitize_text_field($_POST['niteoCS_subscribe_label']));
187
- $niteoCS_subscribe_label= get_option('niteoCS_subscribe_label');
188
- }
189
 
190
  if (isset($_POST['niteoCS_font_headings'])) {
191
  update_option('niteoCS_font_headings', sanitize_text_field($_POST['niteoCS_font_headings']));
@@ -275,10 +257,7 @@ if( isset($_POST['submit_theme']) ) {
275
  WP_Filesystem();
276
  $source_path = $movefile['file'];
277
  $theme_name = str_replace('.zip', '', $filename);
278
- $destination_path = glob( plugin_dir_path( __FILE__ ) . 'themes/' );
279
- if (isset($destination_path[0])) {
280
- $destination_path = $destination_path[0];
281
- }
282
 
283
  // create new theme DIR
284
  if ( wp_mkdir_p( $destination_path ) ) {
@@ -289,14 +268,14 @@ if( isset($_POST['submit_theme']) ) {
289
  // delete FILE
290
  wp_delete_file( $source_path );
291
  array_push( $theme_array, $theme_name );
292
- _e('<p class="cmp-success">Successfully installed new Theme!</p>', 'cmp');
293
 
294
  } else {
295
- _e('<p class="cmp-error">There was an error unzipping the file!</p>', 'cmp');
296
  }
297
 
298
  } else {
299
- _e('<p class="cmp-error">Error creating Theme subdirectory!</p>', 'cmp');
300
  }
301
 
302
  } else {
@@ -307,7 +286,7 @@ if( isset($_POST['submit_theme']) ) {
307
  echo $movefile['error'];
308
  }
309
  } else {
310
- echo '<p class="cmp-error">Unable to upload new Theme file. '. strtoupper($filetype['ext']) . ' file extension is not supported. Please upload ZIP file containing Niteo Coming Soon Theme.</p>';
311
  }
312
 
313
  add_filter('upload_mimes', array($this, 'niteo_remove_zip_mime'));
@@ -332,7 +311,7 @@ add_thickbox();
332
  <div id="icon-options-general" class="icon32">
333
  <br />
334
  </div>
335
- <form method="post" action="options-general.php?page=cmp-settings" id="csoptions">
336
 
337
  <h2 class="nav-tab-wrapper">
338
  <a class="nav-tab nav-tab-active settings" href="<?php echo admin_url(); ?>options-general.php?page=cmp-settings" data-tab="settings"><i class="fa fa-cog" aria-hidden="true"></i><?php _e('Settings', 'cmp');?></a>
@@ -361,7 +340,7 @@ add_thickbox();
361
  <input type="radio" name="activate" value="1"<?php if ($this->cmp_status() == 1) { echo ' checked="checked"'; } ?>>&nbsp;<?php _e('Maintanance Mode', 'cmp');?>
362
  <p class="info"><?php _e('Returns 503 HTTP Service unavailable code to indexing robots. Set this option if your site is down due to maintanance and you want to display Maintanance page.','cmp')?></p>
363
  </label><br />
364
- <label title="cmp">
365
  <input type="radio" name="activate" value="2"<?php if ($this->cmp_status() == 2) { echo ' checked="checked"'; } ?>>&nbsp;<?php _e('Coming Soon', 'cmp');?>
366
  <p class="info"><?php _e('Returns standard 200 HTTP OK response code to indexing robots. Set this option if you want to use our plugin as "Coming Soon" page.','cmp')?></p>
367
  </label>
@@ -415,14 +394,14 @@ add_thickbox();
415
  // if not in available themes array, display buy button
416
  if ( !in_array( $premium_theme['name'], $theme_array) ) { ?>
417
 
418
- <a href="http://comingsoon.niteo.cz/?cmp_preview=true&theme=<?php echo esc_attr($premium_theme['name']);?>" target="_blank"><img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name']. '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme"></a>
419
  <a class="button" href="<?php echo esc_url($premium_theme['url']);?>" target="_blank">Buy for <?php echo esc_html($premium_theme['price']);?> USD</a>
420
 
421
  </div>
422
  <?php
423
  } else { ?>
424
  <label title="<?php echo esc_attr($premium_theme['name']);?>">
425
- <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name'] . '/img/'. $premium_theme['name'] . '_thumbnail.jpg' );?>" alt="<?php echo esc_attr(ucwords($premium_theme['name']));?> Premium Theme">
426
  <input type="radio" name="select_theme" value="<?php echo esc_attr($premium_theme['name']);?>" id="displayOption-<?php echo esc_attr($premium_theme['name']);?>"<?php if ( $this->cmp_selectedTheme() == $premium_theme['name'] ) { echo ' checked="checked"'; } ?>>&nbsp;<?php echo ucwords(esc_html($premium_theme['name']));?>
427
  </label>
428
  <?php
@@ -448,7 +427,7 @@ add_thickbox();
448
 
449
  <div class="logo-wrapper">
450
  <?php
451
- if ( isset($logo_url) && $logo_url !== '' ) {
452
  echo '<img src="'.esc_url($logo_url).'" alt="">';
453
  } ?>
454
  </div>
@@ -502,10 +481,7 @@ add_thickbox();
502
  if ( isset( $banner_id ) && $banner_id != '' ) {
503
  $ids = explode( ',', $banner_id );
504
  foreach ( $ids as $id ) {
505
- $img = wp_get_attachment_image_src($id, 'large');
506
- if (isset($img[0])) {
507
- echo '<img src="'.$img[0].'" alt="">';
508
- }
509
  }
510
  }
511
  ?>
@@ -561,7 +537,7 @@ add_thickbox();
561
 
562
  <fieldset id="default_banner">
563
  <div class="banner-wrapper">
564
- <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder. '/themes/'.$this->cmp_selectedTheme().'/img/'.$this->cmp_selectedTheme().'_banner_large.jpg');?>" alt="Default Media">
565
  </div>
566
  <input id="delete-banner" type="button" class="button" value="Remove Banner" />
567
  </fieldset>
@@ -651,10 +627,10 @@ add_thickbox();
651
  </div>
652
 
653
  <div class="table-wrapper customization">
654
- <h3><?php _e('Content', 'cmp');?></h3>
655
  <table class="customization">
656
- <tr class="body-title">
657
- <th><h4><?php _e('Body Title', 'cmp');?></h4></th>
658
  <td>
659
  <fieldset>
660
  <input type="text" name="niteoCS_body_title" id="niteoCS_body_title" value="<?php echo stripslashes(esc_attr( $niteoCS_body_title)); ?>" class="regular-text code">
@@ -663,7 +639,7 @@ add_thickbox();
663
  </tr>
664
 
665
  <tr>
666
- <th><h4><?php _e('Body Message', 'cmp');?></h4></th>
667
  <td>
668
  <?php wp_editor( stripslashes( $this->niteo_sanitize_html( $body ) ), 'niteoCS_body', $settings = array('textarea_name'=>'niteoCS_body', 'editor_height'=>'300') ); ?>
669
  </td>
@@ -733,11 +709,7 @@ add_thickbox();
733
 
734
  <td id="subscribe-niteo">
735
  <fieldset>
736
- <p><?php _e('Default subscribe form will be displayed to visitors. Only export of email addresses to .csv file is supported. Mailing List will be deleted after deletion of CMP plugin.', 'cmp');?></p>
737
-
738
- <label class="subscribe" for="niteoCS_subscribe_label">Subscribe form Label
739
- <input type="text" name="niteoCS_subscribe_label" id="niteoCS_subscribe_label" value="<?php echo esc_attr($niteoCS_subscribe_label );?>" class="regular-text code">
740
- </label>
741
 
742
  <p><?php _e('Total Subscribers: ', 'cmp'); echo $subscriber_list ? count( $subscriber_list ) : '0';?></p>
743
  <p><?php _e('Since last export: ', 'cmp'); echo $new_subs;?></p>
@@ -803,11 +775,11 @@ add_thickbox();
803
  </div>
804
 
805
  <div class="table-wrapper customization" id="copyright-section">
806
- <h3><?php _e('Footer Content', 'cmp');?></h3>
807
  <table class="customization">
808
 
809
  <tr>
810
- <th><h4><?php _e('Copyright', 'cmp');?></h4></th>
811
  <td>
812
  <fieldset>
813
  <input type="text" name="niteoCS_copyright" id="niteoCS_copyright" value="<?php echo esc_attr( $this->niteo_sanitize_html($niteoCS_copyright)); ?>" class="regular-text code">
@@ -822,7 +794,7 @@ add_thickbox();
822
  <h3><?php _e('SEO Settings', 'cmp');?></h3>
823
  <table class="seo">
824
 
825
- <tr class="body-title">
826
  <th><h4><?php _e('Header Title', 'cmp');?></h4></th>
827
  <td>
828
  <fieldset>
@@ -871,7 +843,7 @@ add_thickbox();
871
  </form>
872
 
873
  <div class="upload-plugin comingsoon install">
874
- <form action="options-general.php?page=cmp-settings" class="wp-upload-form" method="post" enctype="multipart/form-data">
875
  <table class="install">
876
  <tr>
877
  <td>
11
  $ajax_nonce = wp_create_nonce( 'cmp-coming-soon-ajax-secret' );
12
  $title = stripslashes(get_option('niteoCS_title', get_bloginfo('name').' Coming soon!'));
13
  $descr = stripslashes(get_option('niteoCS_descr', 'Just another Coming Soon Page'));
14
+ $niteoCS_subscribe_code = get_option('niteoCS_subscribe_code');
15
  $niteoCS_analytics = stripslashes(get_option('niteoCS_analytics', ''));
16
  $niteoCS_custom_css = stripslashes(get_option('niteoCS_custom_css', ''));
17
  $niteoCS_unsplash_id = get_option('niteoCS_unsplash_id', '');
18
  $logo_id = get_option('niteoCS_logo_id');
19
+ $logo_url = wp_get_attachment_image_src($logo_id, 'medium')[0];
 
 
 
 
 
 
 
20
  $niteoCS_banner = get_option('niteoCS_banner', '0');
21
  $banner_id = get_option('niteoCS_banner_id');
22
  $unsplash_feed = get_option('niteoCS_unsplash_feed', '0');
27
  $niteoCS_cat_keyword = get_option('niteoCS_cat_keyword');
28
  $niteoCS_soc_title = get_option('niteoCS_soc_title', 'GET SOCIAL WITH US');
29
  $niteoCS_subscribe_type = get_option('niteoCS_subscribe_type', '0');
 
 
30
  $subscriber_list = get_option('niteoCS_subscribers_list');
31
  $niteoCS_csv_export_time = get_option('niteoCS_csv_export_time');
32
  $niteoCS_font_content = get_option('niteoCS_font_content', 'Average Sans');
57
  if (isset($_POST['niteoCS_logo_id']) && ( is_numeric($_POST['niteoCS_logo_id']) || empty($_POST['niteoCS_logo_id']))) {
58
  update_option('niteoCS_logo_id', sanitize_text_field($_POST['niteoCS_logo_id']));
59
  $logo_id = get_option('niteoCS_logo_id');
60
+ $logo_url = wp_get_attachment_image_src($logo_id, 'medium')[0];
 
 
 
 
 
61
  }
62
 
63
  if (isset($_POST['niteoCS_banner']) && is_numeric($_POST['niteoCS_banner'])) {
168
  $niteoCS_subscribe_type= stripslashes(get_option('niteoCS_subscribe_type'));
169
  }
170
 
 
 
 
 
171
 
172
  if (isset($_POST['niteoCS_font_headings'])) {
173
  update_option('niteoCS_font_headings', sanitize_text_field($_POST['niteoCS_font_headings']));
257
  WP_Filesystem();
258
  $source_path = $movefile['file'];
259
  $theme_name = str_replace('.zip', '', $filename);
260
+ $destination_path = glob( plugin_dir_path( __FILE__ ) . 'themes/' )[0];
 
 
 
261
 
262
  // create new theme DIR
263
  if ( wp_mkdir_p( $destination_path ) ) {
268
  // delete FILE
269
  wp_delete_file( $source_path );
270
  array_push( $theme_array, $theme_name );
271
+ _e('<p class="comingsoon-success">Successfully installed new Theme!</p>', 'cmp');
272
 
273
  } else {
274
+ _e('<p class="comingsoon-error">There was an error unzipping the file!</p>', 'cmp');
275
  }
276
 
277
  } else {
278
+ _e('<p class="comingsoon-error">Error creating Theme subdirectory!</p>', 'cmp');
279
  }
280
 
281
  } else {
286
  echo $movefile['error'];
287
  }
288
  } else {
289
+ echo '<p class="comingsoon-error">Unable to upload new Theme file. '. strtoupper($filetype['ext']) . ' file extension is not supported. Please upload ZIP file containing Niteo Coming Soon Theme.</p>';
290
  }
291
 
292
  add_filter('upload_mimes', array($this, 'niteo_remove_zip_mime'));
311
  <div id="icon-options-general" class="icon32">
312
  <br />
313
  </div>
314
+ <form method="post" action="<?php echo $GLOBALS['PHP_SELF'] . '?page=cmp-settings'; ?>" id="csoptions">
315
 
316
  <h2 class="nav-tab-wrapper">
317
  <a class="nav-tab nav-tab-active settings" href="<?php echo admin_url(); ?>options-general.php?page=cmp-settings" data-tab="settings"><i class="fa fa-cog" aria-hidden="true"></i><?php _e('Settings', 'cmp');?></a>
340
  <input type="radio" name="activate" value="1"<?php if ($this->cmp_status() == 1) { echo ' checked="checked"'; } ?>>&nbsp;<?php _e('Maintanance Mode', 'cmp');?>
341
  <p class="info"><?php _e('Returns 503 HTTP Service unavailable code to indexing robots. Set this option if your site is down due to maintanance and you want to display Maintanance page.','cmp')?></p>
342
  </label><br />
343
+ <label title="comingsoon">
344
  <input type="radio" name="activate" value="2"<?php if ($this->cmp_status() == 2) { echo ' checked="checked"'; } ?>>&nbsp;<?php _e('Coming Soon', 'cmp');?>
345
  <p class="info"><?php _e('Returns standard 200 HTTP OK response code to indexing robots. Set this option if you want to use our plugin as "Coming Soon" page.','cmp')?></p>
346
  </label>
394
  // if not in available themes array, display buy button
395
  if ( !in_array( $premium_theme['name'], $theme_array) ) { ?>
396
 
397
+ <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/premium/'. $premium_theme['name']. '.jpg' );?>" alt="<?php echo esc_attr($premium_theme['name']);?>">
398
  <a class="button" href="<?php echo esc_url($premium_theme['url']);?>" target="_blank">Buy for <?php echo esc_html($premium_theme['price']);?> USD</a>
399
 
400
  </div>
401
  <?php
402
  } else { ?>
403
  <label title="<?php echo esc_attr($premium_theme['name']);?>">
404
+ <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder.'\/themes/'. $premium_theme['name'] . '/img/'. $premium_theme['name'] . '-thumbnail.jpg' );?>" alt="<?php echo esc_attr($premium_theme['name']);?>">
405
  <input type="radio" name="select_theme" value="<?php echo esc_attr($premium_theme['name']);?>" id="displayOption-<?php echo esc_attr($premium_theme['name']);?>"<?php if ( $this->cmp_selectedTheme() == $premium_theme['name'] ) { echo ' checked="checked"'; } ?>>&nbsp;<?php echo ucwords(esc_html($premium_theme['name']));?>
406
  </label>
407
  <?php
427
 
428
  <div class="logo-wrapper">
429
  <?php
430
+ if ( $logo_url !== '' ) {
431
  echo '<img src="'.esc_url($logo_url).'" alt="">';
432
  } ?>
433
  </div>
481
  if ( isset( $banner_id ) && $banner_id != '' ) {
482
  $ids = explode( ',', $banner_id );
483
  foreach ( $ids as $id ) {
484
+ echo '<img src="'.wp_get_attachment_image_src($id, 'large')[0].'" alt="">';
 
 
 
485
  }
486
  }
487
  ?>
537
 
538
  <fieldset id="default_banner">
539
  <div class="banner-wrapper">
540
+ <img src="<?php echo esc_url( plugins_url().'/'.$this->installedFolder. '/themes/'.$this->cmp_selectedTheme().'/img/'.$this->cmp_selectedTheme().'_banner_medium.jpg');?>" alt="Default Media">
541
  </div>
542
  <input id="delete-banner" type="button" class="button" value="Remove Banner" />
543
  </fieldset>
627
  </div>
628
 
629
  <div class="table-wrapper customization">
630
+ <h3><?php _e('Content', 'comingSoon');?></h3>
631
  <table class="customization">
632
+ <tr>
633
+ <th><h4><?php _e('Body Title', 'comingSoon');?></h4></th>
634
  <td>
635
  <fieldset>
636
  <input type="text" name="niteoCS_body_title" id="niteoCS_body_title" value="<?php echo stripslashes(esc_attr( $niteoCS_body_title)); ?>" class="regular-text code">
639
  </tr>
640
 
641
  <tr>
642
+ <th><h4><?php _e('Body Message', 'comingSoon');?></h4></th>
643
  <td>
644
  <?php wp_editor( stripslashes( $this->niteo_sanitize_html( $body ) ), 'niteoCS_body', $settings = array('textarea_name'=>'niteoCS_body', 'editor_height'=>'300') ); ?>
645
  </td>
709
 
710
  <td id="subscribe-niteo">
711
  <fieldset>
712
+ <p><?php _e('Default subscribe form will be displayed to visitors. Only export of email addresses to .csv file is supported. Mailing List will be deleted after deletion of this plugin.', 'cmp');?></p>
 
 
 
 
713
 
714
  <p><?php _e('Total Subscribers: ', 'cmp'); echo $subscriber_list ? count( $subscriber_list ) : '0';?></p>
715
  <p><?php _e('Since last export: ', 'cmp'); echo $new_subs;?></p>
775
  </div>
776
 
777
  <div class="table-wrapper customization" id="copyright-section">
778
+ <h3><?php _e('Footer Content', 'comingSoon');?></h3>
779
  <table class="customization">
780
 
781
  <tr>
782
+ <th><h4><?php _e('Copyright', 'comingSoon');?></h4></th>
783
  <td>
784
  <fieldset>
785
  <input type="text" name="niteoCS_copyright" id="niteoCS_copyright" value="<?php echo esc_attr( $this->niteo_sanitize_html($niteoCS_copyright)); ?>" class="regular-text code">
794
  <h3><?php _e('SEO Settings', 'cmp');?></h3>
795
  <table class="seo">
796
 
797
+ <tr>
798
  <th><h4><?php _e('Header Title', 'cmp');?></h4></th>
799
  <td>
800
  <fieldset>
843
  </form>
844
 
845
  <div class="upload-plugin comingsoon install">
846
+ <form action="<?php echo $GLOBALS['PHP_SELF'] . '?page=cmp-settings'; ?>" class="wp-upload-form" method="post" enctype="multipart/form-data">
847
  <table class="install">
848
  <tr>
849
  <td>
cs_style.css CHANGED
@@ -67,8 +67,7 @@ input[type="text"], textarea{width:100%;}
67
  .table-wrapper {background-color: #ffffff;border:1px solid #dedede;margin:1em 0;}
68
  .table-wrapper h3 {padding-bottom: .5em;margin-bottom: 0;padding-left:1em;border-bottom:1px solid #dedede;}
69
  .table-wrapper table{padding:1em;}
70
- .logo-wrapper, .banner-wrapper {margin: 1em 0;}
71
- .logo-wrapper img {background-color: #efefef;}
72
  .logo-wrapper img, .banner-wrapper img,.thumbnail-holder img {max-width: 100%;}
73
  .thumbnail-holder {display: inline-block;max-width: 250px;padding:1em;margin:1em;text-align: center;border: 1px solid #efefef;}
74
  #font-example-wrapper {padding:1em;border:1px solid #dedede;}
67
  .table-wrapper {background-color: #ffffff;border:1px solid #dedede;margin:1em 0;}
68
  .table-wrapper h3 {padding-bottom: .5em;margin-bottom: 0;padding-left:1em;border-bottom:1px solid #dedede;}
69
  .table-wrapper table{padding:1em;}
70
+ .logo-wrapper, .banner-wrapper {padding: 1em 0;}
 
71
  .logo-wrapper img, .banner-wrapper img,.thumbnail-holder img {max-width: 100%;}
72
  .thumbnail-holder {display: inline-block;max-width: 250px;padding:1em;margin:1em;text-align: center;border: 1px solid #efefef;}
73
  #font-example-wrapper {padding:1em;border:1px solid #dedede;}
languages/coming-soon-default.mo CHANGED
Binary file
languages/coming-soon-default.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-29 14:19+0200\n"
5
- "PO-Revision-Date: 2017-03-29 14:19+0200\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
@@ -17,474 +17,395 @@ msgstr ""
17
  "X-Poedit-SearchPath-1: themes/construct\n"
18
  "X-Poedit-SearchPath-2: themes/hardwork\n"
19
 
20
- #: cmp-options.php:292
21
- msgid "<p class=\"cmp-success\">Successfully installed new Theme!</p>"
22
  msgstr ""
23
 
24
- #: cmp-options.php:295
25
- msgid "<p class=\"cmp-error\">There was an error unzipping the file!</p>"
 
26
  msgstr ""
27
 
28
- #: cmp-options.php:299
29
- msgid "<p class=\"cmp-error\">Error creating Theme subdirectory!</p>"
30
  msgstr ""
31
 
32
- #: cmp-options.php:323
33
  msgid ""
34
  "JavaScript appears to be disabled in your browser. For this plugin to work "
35
  "correctly, please enable JavaScript or switch to a more modern browser."
36
  msgstr ""
37
 
38
- #: cmp-options.php:338
39
  msgid "Settings"
40
  msgstr ""
41
 
42
- #: cmp-options.php:339 cmp-options.php:654
 
43
  msgid "Content"
44
  msgstr ""
45
 
46
- #: cmp-options.php:340
47
  msgid "SEO"
48
  msgstr ""
49
 
50
- #: cmp-options.php:341
51
  msgid "Custom CSS"
52
  msgstr ""
53
 
54
- #: cmp-options.php:342
55
  msgid "Preview"
56
  msgstr ""
57
 
58
- #: cmp-options.php:343
59
  msgid "Install New Theme"
60
  msgstr ""
61
 
62
- #: cmp-options.php:347
63
  msgid "General Settings"
64
  msgstr ""
65
 
66
- #: cmp-options.php:350 cmp-options.php:354
67
  msgid "Status"
68
  msgstr ""
69
 
70
- #: cmp-options.php:357 cmp-options.php:692 themes/frame/frame-settings.php:109
71
  msgid "Disabled"
72
  msgstr ""
73
 
74
- #: cmp-options.php:358
75
  msgid ""
76
  "Disable plugin and display standard WordPress page to all users and indexing "
77
  "engines."
78
  msgstr ""
79
 
80
- #: cmp-options.php:361
81
  msgid "Maintanance Mode"
82
  msgstr ""
83
 
84
- #: cmp-options.php:362
85
  msgid ""
86
  "Returns 503 HTTP Service unavailable code to indexing robots. Set this "
87
  "option if your site is down due to maintanance and you want to display "
88
  "Maintanance page."
89
  msgstr ""
90
 
91
- #: cmp-options.php:365
92
  msgid "Coming Soon"
93
  msgstr ""
94
 
95
- #: cmp-options.php:366
96
  msgid ""
97
  "Returns standard 200 HTTP OK response code to indexing robots. Set this "
98
  "option if you want to use our plugin as \"Coming Soon\" page."
99
  msgstr ""
100
 
101
- #: cmp-options.php:374
102
  msgid "Select Theme"
103
  msgstr ""
104
 
105
- #: cmp-options.php:377 cmp-options.php:381
106
  msgid "Free Themes"
107
  msgstr ""
108
 
109
- #: cmp-options.php:405 cmp-options.php:409
110
  msgid "Premium Themes"
111
  msgstr ""
112
 
113
- #: cmp-options.php:440
114
  msgid "Logo"
115
  msgstr ""
116
 
117
- #: cmp-options.php:443
118
  msgid "Upload or select Logo"
119
  msgstr ""
120
 
121
- #: cmp-options.php:464
122
  msgid "Graphic Banner"
123
  msgstr ""
124
 
125
- #: cmp-options.php:470
126
  msgid "Banner Settings"
127
  msgstr ""
128
 
129
- #: cmp-options.php:475
130
  msgid "Custom Media"
131
  msgstr ""
132
 
133
- #: cmp-options.php:481
134
  msgid "Unsplash library"
135
  msgstr ""
136
 
137
- #: cmp-options.php:487
138
  msgid "Default Media"
139
  msgstr ""
140
 
141
- #: cmp-options.php:499
142
  msgid ""
143
  "Pro Tip! You can select multiple Media from your library by holding CTRL"
144
  "+click (Command+click if you sit on MacOS) while selecting photos."
145
  msgstr ""
146
 
147
- #: cmp-options.php:517
148
  msgid "Choose Unsplash Feed"
149
  msgstr ""
150
 
151
- #: cmp-options.php:519
152
  msgid "Specific Photo"
153
  msgstr ""
154
 
155
- #: cmp-options.php:520
156
  msgid "Random from Category"
157
  msgstr ""
158
 
159
- #: cmp-options.php:521
160
  msgid "Random from Collection"
161
  msgstr ""
162
 
163
- #: cmp-options.php:522
164
  msgid "Random Photo"
165
  msgstr ""
166
 
167
- #: cmp-options.php:526
168
  msgid "Enter Unsplash Photo URL or Photo ID"
169
  msgstr ""
170
 
171
- #: cmp-options.php:531
172
  msgid "Select Category"
173
  msgstr ""
174
 
175
- #: cmp-options.php:533
176
  msgid "Buildings"
177
  msgstr ""
178
 
179
- #: cmp-options.php:534
180
  msgid "Food"
181
  msgstr ""
182
 
183
- #: cmp-options.php:535
184
  msgid "Nature"
185
  msgstr ""
186
 
187
- #: cmp-options.php:536
188
  msgid "People"
189
  msgstr ""
190
 
191
- #: cmp-options.php:537
192
  msgid "Technology"
193
  msgstr ""
194
 
195
- #: cmp-options.php:538
196
  msgid "Objects"
197
  msgstr ""
198
 
199
- #: cmp-options.php:541
200
  msgid "You can limit Category to Specific Keyword"
201
  msgstr ""
202
 
203
- #: cmp-options.php:546
204
  msgid ""
205
  "Enter Unsplash Collection URL or Collection ID. Doesn`t work for Curated "
206
  "Collections."
207
  msgstr ""
208
 
209
- #: cmp-options.php:551
210
  msgid "Specify search terms"
211
  msgstr ""
212
 
213
- #: cmp-options.php:555
214
  msgid "Limit search only to Featured/Curated Photos"
215
  msgstr ""
216
 
217
- #: cmp-options.php:574
218
  msgid "Customize Fonts"
219
  msgstr ""
220
 
221
- #: cmp-options.php:578
222
  msgid "Headings Font"
223
  msgstr ""
224
 
225
- #: cmp-options.php:581 cmp-options.php:614
226
  msgid "Select from predefined Google Fonts or insert Custom font"
227
  msgstr ""
228
 
229
- #: cmp-options.php:599
230
  msgid "Custom font..."
231
  msgstr ""
232
 
233
- #: cmp-options.php:603 cmp-options.php:637
234
  msgid "Enter name of "
235
  msgstr ""
236
 
237
- #: cmp-options.php:611
238
  msgid "Content Font"
239
  msgstr ""
240
 
241
- #: cmp-options.php:632
242
  msgid "Custom Font..."
243
  msgstr ""
244
 
245
- #: cmp-options.php:657
246
- msgid "Body Title"
247
- msgstr ""
248
-
249
- #: cmp-options.php:666
250
- msgid "Body Message"
251
- msgstr ""
252
-
253
- #: cmp-options.php:681
254
  msgid "Subscribe Form"
255
  msgstr ""
256
 
257
- #: cmp-options.php:687
258
  msgid "Subscribe Form Options"
259
  msgstr ""
260
 
261
- #: cmp-options.php:698
262
  msgid "3rd Party Plugin"
263
  msgstr ""
264
 
265
- #: cmp-options.php:704
266
  msgid "Niteo Subscribe"
267
  msgstr ""
268
 
269
- #: cmp-options.php:712
270
  msgid "Subscribe Form is disabled."
271
  msgstr ""
272
 
273
- #: cmp-options.php:721
274
- msgid ""
275
- "You can find Shortode in your Contact Form Plugin settings. Should be "
276
- "something like: "
277
- msgstr ""
278
-
279
- #: cmp-options.php:723
280
  msgid ""
281
  "Your Subscribe Form should have only one input (type=email) and submit "
282
  "(input=submit). If you have more than one input field, our design will not "
283
  "work and you need to use custom CSS to style your Subscribe form."
284
  msgstr ""
285
 
286
- #: cmp-options.php:724
287
  msgid "Example of Subscribe Form code for "
288
  msgstr ""
289
 
290
- #: cmp-options.php:736
291
  msgid ""
292
  "Default subscribe form will be displayed to visitors. Only export of email "
293
  "addresses to .csv file is supported. Mailing List will be deleted after "
294
- "deletion of CMP plugin."
295
  msgstr ""
296
 
297
- #: cmp-options.php:742
298
  msgid "Total Subscribers: "
299
  msgstr ""
300
 
301
- #: cmp-options.php:743
302
  msgid "Since last export: "
303
  msgstr ""
304
 
305
- #: cmp-options.php:744
306
  msgid "Last Export Date: "
307
  msgstr ""
308
 
309
- #: cmp-options.php:744
310
  msgid "Never exported"
311
  msgstr ""
312
 
313
- #: cmp-options.php:755
314
  msgid "Social Media"
315
  msgstr ""
316
 
317
- #: cmp-options.php:759
318
  msgid "Social Section Title"
319
  msgstr ""
320
 
321
- #: cmp-options.php:768
322
  msgid "Social Media Icons"
323
  msgstr ""
324
 
325
- #: cmp-options.php:806
326
- msgid "Footer Content"
327
- msgstr ""
328
-
329
- #: cmp-options.php:810
330
- msgid "Copyright"
331
- msgstr ""
332
-
333
- #: cmp-options.php:822
334
  msgid "SEO Settings"
335
  msgstr ""
336
 
337
- #: cmp-options.php:826
338
  msgid "Header Title"
339
  msgstr ""
340
 
341
- #: cmp-options.php:835
342
  msgid "Description"
343
  msgstr ""
344
 
345
- #: cmp-options.php:843
346
- msgid "Google Analytics Tracking ID"
347
  msgstr ""
348
 
349
- #: cmp-options.php:854
350
  msgid "Enter Custom CSS"
351
  msgstr ""
352
 
353
- #: cmp-options.php:868
354
  msgid "Save Changes"
355
  msgstr ""
356
 
357
- #: cmp-options.php:878
358
  msgid "Install New Coming Soon Theme"
359
  msgstr ""
360
 
361
- #: niteo-cmp.php:209
362
  msgid "Maintenance Mode Active"
363
  msgstr ""
364
 
365
- #: niteo-cmp.php:211
366
  msgid "Coming Soon Mode Active"
367
  msgstr ""
368
 
369
- #: niteo-cmp.php:398 niteo-cmp.php:406
370
  msgid "Thank you, your sign-up request was successful!"
371
  msgstr ""
372
 
373
- #: niteo-cmp.php:409
374
  msgid "This email address has already been on our subscriber list."
375
  msgstr ""
376
 
377
- #: niteo-cmp.php:414
378
  msgid "Please insert valid email."
379
  msgstr ""
380
 
381
- #: themes/construct/construct-settings.php:37
382
- #: themes/frame/frame-settings.php:151 themes/hardwork/hardwork-settings.php:52
383
  msgid "Customize Colors"
384
  msgstr ""
385
 
386
- #: themes/construct/construct-settings.php:40
387
- #: themes/frame/frame-settings.php:154
388
  msgid "Active Color"
389
  msgstr ""
390
 
391
- #: themes/construct/construct-settings.php:44
392
- msgid "Headings and active elements color (buttons, hover links, etc)."
393
  msgstr ""
394
 
395
- #: themes/construct/construct-settings.php:49
396
- #: themes/frame/frame-settings.php:164 themes/hardwork/hardwork-settings.php:56
397
  msgid "Font Color"
398
  msgstr ""
399
 
400
- #: themes/construct/construct-settings.php:57
401
  msgid "Background Color"
402
  msgstr ""
403
 
404
- #: themes/frame/frame-settings.php:92
405
- msgid "Countdown Timer Setup"
406
- msgstr ""
407
-
408
- #: themes/frame/frame-settings.php:98 themes/frame/frame-settings.php:124
409
- msgid "Counter setup"
410
- msgstr ""
411
-
412
- #: themes/frame/frame-settings.php:103
413
- msgid "Enabled"
414
- msgstr ""
415
-
416
- #: themes/frame/frame-settings.php:117
417
- msgid "Countdown Timer is disabled."
418
- msgstr ""
419
-
420
- #: themes/frame/frame-settings.php:121
421
- msgid "Click on date input and set a date & time for a Countdown timer."
422
- msgstr ""
423
-
424
- #: themes/frame/frame-settings.php:127
425
- msgid "Select Date.."
426
- msgstr ""
427
-
428
- #: themes/frame/frame-settings.php:129
429
- msgid "Countdown action:"
430
- msgstr ""
431
-
432
- #: themes/frame/frame-settings.php:131
433
- msgid "No action"
434
- msgstr ""
435
-
436
- #: themes/frame/frame-settings.php:132
437
- msgid "Display custom text"
438
- msgstr ""
439
-
440
- #: themes/frame/frame-settings.php:133
441
- msgid "Disable CMP Plugin Page"
442
- msgstr ""
443
-
444
- #: themes/frame/frame-settings.php:134
445
- msgid "URL redirect"
446
  msgstr ""
447
 
448
- #: themes/frame/frame-settings.php:137
449
- msgid "Enter custom text"
 
450
  msgstr ""
451
 
452
- #: themes/frame/frame-settings.php:141
453
- msgid "Enter redirect URL"
454
  msgstr ""
455
 
456
- #: themes/frame/frame-settings.php:173
457
- msgid "Frame Background Color"
458
  msgstr ""
459
 
460
- #: themes/frame/frame-settings.php:183 themes/hardwork/hardwork-settings.php:64
461
  msgid "Overlay Color"
462
  msgstr ""
463
 
464
- #: themes/frame/frame-settings.php:189 themes/hardwork/hardwork-settings.php:73
465
- msgid "Overlay Opacity"
466
- msgstr ""
467
-
468
- #: themes/frame/frame-theme.php:244
469
- msgid "DAYS"
470
- msgstr ""
471
-
472
- #: themes/frame/frame-theme.php:250
473
- msgid "HOURS"
474
- msgstr ""
475
-
476
- #: themes/frame/frame-theme.php:257
477
- msgid "MINUTES"
478
- msgstr ""
479
-
480
- #: themes/frame/frame-theme.php:263
481
- msgid "SECONDS"
482
- msgstr ""
483
-
484
- #: themes/frame/frame-theme.php:289
485
- msgid "Insert your email address"
486
  msgstr ""
487
 
488
- #: themes/hardwork/hardwork-settings.php:67
489
- msgid "Enable Overlay Color"
490
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-03-11 19:22+0100\n"
5
+ "PO-Revision-Date: 2017-03-11 19:22+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
17
  "X-Poedit-SearchPath-1: themes/construct\n"
18
  "X-Poedit-SearchPath-2: themes/hardwork\n"
19
 
20
+ #: comingsoon-options.php:241
21
+ msgid "<p class=\"comingsoon-success\">Successfully installed new Theme!</p>"
22
  msgstr ""
23
 
24
+ #: comingsoon-options.php:244
25
+ msgid ""
26
+ "<p class=\"comingsoon-error\">There was an error unzipping the file!</p>"
27
  msgstr ""
28
 
29
+ #: comingsoon-options.php:248
30
+ msgid "<p class=\"comingsoon-error\">Error creating Theme subdirectory!</p>"
31
  msgstr ""
32
 
33
+ #: comingsoon-options.php:272
34
  msgid ""
35
  "JavaScript appears to be disabled in your browser. For this plugin to work "
36
  "correctly, please enable JavaScript or switch to a more modern browser."
37
  msgstr ""
38
 
39
+ #: comingsoon-options.php:287
40
  msgid "Settings"
41
  msgstr ""
42
 
43
+ #: comingsoon-options.php:288 themes/construct/construct-settings.php:77
44
+ #: themes/hardwork/hardwork-settings.php:92
45
  msgid "Content"
46
  msgstr ""
47
 
48
+ #: comingsoon-options.php:289
49
  msgid "SEO"
50
  msgstr ""
51
 
52
+ #: comingsoon-options.php:290
53
  msgid "Custom CSS"
54
  msgstr ""
55
 
56
+ #: comingsoon-options.php:291
57
  msgid "Preview"
58
  msgstr ""
59
 
60
+ #: comingsoon-options.php:292
61
  msgid "Install New Theme"
62
  msgstr ""
63
 
64
+ #: comingsoon-options.php:296
65
  msgid "General Settings"
66
  msgstr ""
67
 
68
+ #: comingsoon-options.php:299 comingsoon-options.php:303
69
  msgid "Status"
70
  msgstr ""
71
 
72
+ #: comingsoon-options.php:306 comingsoon-options.php:614
73
  msgid "Disabled"
74
  msgstr ""
75
 
76
+ #: comingsoon-options.php:307
77
  msgid ""
78
  "Disable plugin and display standard WordPress page to all users and indexing "
79
  "engines."
80
  msgstr ""
81
 
82
+ #: comingsoon-options.php:310
83
  msgid "Maintanance Mode"
84
  msgstr ""
85
 
86
+ #: comingsoon-options.php:311
87
  msgid ""
88
  "Returns 503 HTTP Service unavailable code to indexing robots. Set this "
89
  "option if your site is down due to maintanance and you want to display "
90
  "Maintanance page."
91
  msgstr ""
92
 
93
+ #: comingsoon-options.php:314
94
  msgid "Coming Soon"
95
  msgstr ""
96
 
97
+ #: comingsoon-options.php:315
98
  msgid ""
99
  "Returns standard 200 HTTP OK response code to indexing robots. Set this "
100
  "option if you want to use our plugin as \"Coming Soon\" page."
101
  msgstr ""
102
 
103
+ #: comingsoon-options.php:323
104
  msgid "Select Theme"
105
  msgstr ""
106
 
107
+ #: comingsoon-options.php:326 comingsoon-options.php:330
108
  msgid "Free Themes"
109
  msgstr ""
110
 
111
+ #: comingsoon-options.php:355 comingsoon-options.php:359
112
  msgid "Premium Themes"
113
  msgstr ""
114
 
115
+ #: comingsoon-options.php:390
116
  msgid "Logo"
117
  msgstr ""
118
 
119
+ #: comingsoon-options.php:393
120
  msgid "Upload or select Logo"
121
  msgstr ""
122
 
123
+ #: comingsoon-options.php:410
124
  msgid "Graphic Banner"
125
  msgstr ""
126
 
127
+ #: comingsoon-options.php:416
128
  msgid "Banner Settings"
129
  msgstr ""
130
 
131
+ #: comingsoon-options.php:421
132
  msgid "Custom Media"
133
  msgstr ""
134
 
135
+ #: comingsoon-options.php:427
136
  msgid "Unsplash library"
137
  msgstr ""
138
 
139
+ #: comingsoon-options.php:433
140
  msgid "Default Media"
141
  msgstr ""
142
 
143
+ #: comingsoon-options.php:446
144
  msgid ""
145
  "Pro Tip! You can select multiple Media from your library by holding CTRL"
146
  "+click (Command+click if you sit on MacOS) while selecting photos."
147
  msgstr ""
148
 
149
+ #: comingsoon-options.php:461
150
  msgid "Choose Unsplash Feed"
151
  msgstr ""
152
 
153
+ #: comingsoon-options.php:463
154
  msgid "Specific Photo"
155
  msgstr ""
156
 
157
+ #: comingsoon-options.php:464
158
  msgid "Random from Category"
159
  msgstr ""
160
 
161
+ #: comingsoon-options.php:465
162
  msgid "Random from Collection"
163
  msgstr ""
164
 
165
+ #: comingsoon-options.php:466
166
  msgid "Random Photo"
167
  msgstr ""
168
 
169
+ #: comingsoon-options.php:470
170
  msgid "Enter Unsplash Photo URL or Photo ID"
171
  msgstr ""
172
 
173
+ #: comingsoon-options.php:475
174
  msgid "Select Category"
175
  msgstr ""
176
 
177
+ #: comingsoon-options.php:477
178
  msgid "Buildings"
179
  msgstr ""
180
 
181
+ #: comingsoon-options.php:478
182
  msgid "Food"
183
  msgstr ""
184
 
185
+ #: comingsoon-options.php:479
186
  msgid "Nature"
187
  msgstr ""
188
 
189
+ #: comingsoon-options.php:480
190
  msgid "People"
191
  msgstr ""
192
 
193
+ #: comingsoon-options.php:481
194
  msgid "Technology"
195
  msgstr ""
196
 
197
+ #: comingsoon-options.php:482
198
  msgid "Objects"
199
  msgstr ""
200
 
201
+ #: comingsoon-options.php:485
202
  msgid "You can limit Category to Specific Keyword"
203
  msgstr ""
204
 
205
+ #: comingsoon-options.php:490
206
  msgid ""
207
  "Enter Unsplash Collection URL or Collection ID. Doesn`t work for Curated "
208
  "Collections."
209
  msgstr ""
210
 
211
+ #: comingsoon-options.php:495
212
  msgid "Specify search terms"
213
  msgstr ""
214
 
215
+ #: comingsoon-options.php:499
216
  msgid "Limit search only to Featured/Curated Photos"
217
  msgstr ""
218
 
219
+ #: comingsoon-options.php:518
220
  msgid "Customize Fonts"
221
  msgstr ""
222
 
223
+ #: comingsoon-options.php:522
224
  msgid "Headings Font"
225
  msgstr ""
226
 
227
+ #: comingsoon-options.php:525 comingsoon-options.php:558
228
  msgid "Select from predefined Google Fonts or insert Custom font"
229
  msgstr ""
230
 
231
+ #: comingsoon-options.php:543
232
  msgid "Custom font..."
233
  msgstr ""
234
 
235
+ #: comingsoon-options.php:547 comingsoon-options.php:581
236
  msgid "Enter name of "
237
  msgstr ""
238
 
239
+ #: comingsoon-options.php:555
240
  msgid "Content Font"
241
  msgstr ""
242
 
243
+ #: comingsoon-options.php:576
244
  msgid "Custom Font..."
245
  msgstr ""
246
 
247
+ #: comingsoon-options.php:603
 
 
 
 
 
 
 
 
248
  msgid "Subscribe Form"
249
  msgstr ""
250
 
251
+ #: comingsoon-options.php:609
252
  msgid "Subscribe Form Options"
253
  msgstr ""
254
 
255
+ #: comingsoon-options.php:620
256
  msgid "3rd Party Plugin"
257
  msgstr ""
258
 
259
+ #: comingsoon-options.php:626
260
  msgid "Niteo Subscribe"
261
  msgstr ""
262
 
263
+ #: comingsoon-options.php:634
264
  msgid "Subscribe Form is disabled."
265
  msgstr ""
266
 
267
+ #: comingsoon-options.php:643
 
 
 
 
 
 
268
  msgid ""
269
  "Your Subscribe Form should have only one input (type=email) and submit "
270
  "(input=submit). If you have more than one input field, our design will not "
271
  "work and you need to use custom CSS to style your Subscribe form."
272
  msgstr ""
273
 
274
+ #: comingsoon-options.php:644
275
  msgid "Example of Subscribe Form code for "
276
  msgstr ""
277
 
278
+ #: comingsoon-options.php:656
279
  msgid ""
280
  "Default subscribe form will be displayed to visitors. Only export of email "
281
  "addresses to .csv file is supported. Mailing List will be deleted after "
282
+ "deletion of this plugin."
283
  msgstr ""
284
 
285
+ #: comingsoon-options.php:658
286
  msgid "Total Subscribers: "
287
  msgstr ""
288
 
289
+ #: comingsoon-options.php:659
290
  msgid "Since last export: "
291
  msgstr ""
292
 
293
+ #: comingsoon-options.php:660
294
  msgid "Last Export Date: "
295
  msgstr ""
296
 
297
+ #: comingsoon-options.php:660
298
  msgid "Never exported"
299
  msgstr ""
300
 
301
+ #: comingsoon-options.php:671
302
  msgid "Social Media"
303
  msgstr ""
304
 
305
+ #: comingsoon-options.php:675
306
  msgid "Social Section Title"
307
  msgstr ""
308
 
309
+ #: comingsoon-options.php:684
310
  msgid "Social Media Icons"
311
  msgstr ""
312
 
313
+ #: comingsoon-options.php:723
 
 
 
 
 
 
 
 
314
  msgid "SEO Settings"
315
  msgstr ""
316
 
317
+ #: comingsoon-options.php:727
318
  msgid "Header Title"
319
  msgstr ""
320
 
321
+ #: comingsoon-options.php:736
322
  msgid "Description"
323
  msgstr ""
324
 
325
+ #: comingsoon-options.php:744
326
+ msgid "Google Analytics Code"
327
  msgstr ""
328
 
329
+ #: comingsoon-options.php:755
330
  msgid "Enter Custom CSS"
331
  msgstr ""
332
 
333
+ #: comingsoon-options.php:769
334
  msgid "Save Changes"
335
  msgstr ""
336
 
337
+ #: comingsoon-options.php:779
338
  msgid "Install New Coming Soon Theme"
339
  msgstr ""
340
 
341
+ #: niteo-comingsoon.php:162
342
  msgid "Maintenance Mode Active"
343
  msgstr ""
344
 
345
+ #: niteo-comingsoon.php:164
346
  msgid "Coming Soon Mode Active"
347
  msgstr ""
348
 
349
+ #: niteo-comingsoon.php:341 niteo-comingsoon.php:349
350
  msgid "Thank you, your sign-up request was successful!"
351
  msgstr ""
352
 
353
+ #: niteo-comingsoon.php:352
354
  msgid "This email address has already been on our subscriber list."
355
  msgstr ""
356
 
357
+ #: niteo-comingsoon.php:357
358
  msgid "Please insert valid email."
359
  msgstr ""
360
 
361
+ #: themes/construct/construct-settings.php:46
362
+ #: themes/hardwork/hardwork-settings.php:61
363
  msgid "Customize Colors"
364
  msgstr ""
365
 
366
+ #: themes/construct/construct-settings.php:49
 
367
  msgid "Active Color"
368
  msgstr ""
369
 
370
+ #: themes/construct/construct-settings.php:53
371
+ msgid "Color used for Headings and active elements(buttons, hover links, etc)"
372
  msgstr ""
373
 
374
+ #: themes/construct/construct-settings.php:58
375
+ #: themes/hardwork/hardwork-settings.php:65
376
  msgid "Font Color"
377
  msgstr ""
378
 
379
+ #: themes/construct/construct-settings.php:66
380
  msgid "Background Color"
381
  msgstr ""
382
 
383
+ #: themes/construct/construct-settings.php:80
384
+ #: themes/hardwork/hardwork-settings.php:95
385
+ msgid "Body Title"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  msgstr ""
387
 
388
+ #: themes/construct/construct-settings.php:89
389
+ #: themes/hardwork/hardwork-settings.php:104
390
+ msgid "Body Message"
391
  msgstr ""
392
 
393
+ #: themes/construct/construct-settings.php:99
394
+ msgid "Footer Content"
395
  msgstr ""
396
 
397
+ #: themes/construct/construct-settings.php:103
398
+ msgid "Copyright"
399
  msgstr ""
400
 
401
+ #: themes/hardwork/hardwork-settings.php:73
402
  msgid "Overlay Color"
403
  msgstr ""
404
 
405
+ #: themes/hardwork/hardwork-settings.php:76
406
+ msgid "Enable Overlay Color"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  msgstr ""
408
 
409
+ #: themes/hardwork/hardwork-settings.php:82
410
+ msgid "Overlay Opacity"
411
  msgstr ""
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: 1.1.0
7
  Author: NiteoThemes
8
  Author URI: http://www.niteo.cz
9
  Text Domain: cmp
@@ -122,43 +122,16 @@ class niteo_cmp {
122
  if ( $this->cmp_status() == 1 || $this->cmp_status() == 2 ) {
123
 
124
  if ( !is_user_logged_in() ) {
125
-
126
- // check for themes with countdown timer
127
- if ( in_array($this->cmp_selectedTheme(), $this->cmp_plugin_countdown_themes()) ){
128
- // if counter is enabled
129
- if ( get_option('niteoCS_counter', '1') == '1' ) {
130
- // if date is set
131
- if ( get_option('niteoCS_counter_date' ) && get_option('niteoCS_counter_date' ) != '' ) {
132
- // if timer < timestamp do set action
133
- if ( get_option('niteoCS_counter_date' ) < time() ) {
134
- // if action set to disable cmp
135
- if (get_option('niteoCS_countdown_action') == 'disable-cmp') {
136
- update_option('niteoCS_activation', '0');
137
- }
138
-
139
- // if action set to redirect
140
- if (get_option('niteoCS_countdown_action') == 'redirect') {
141
- $redirect_url = esc_url(get_option('niteoCS_countdown_redirect'));
142
- header('Location: '.$redirect_url);
143
- die();
144
- }
145
- }
146
- }
147
- }
148
- }
149
-
150
  // if maintanance mode set headers
151
- if ( $this->cmp_status() == '1' ){
152
  header('HTTP/1.1 503 Service Temporarily Unavailable');
153
  header('Status: 503 Service Temporarily Unavailable');
154
  header('Retry-After: 86400'); // retry in a day
155
  }
156
 
157
- // render html theme page
158
- if ( file_exists(dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php') ) {
159
- require_once (dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
160
- die();
161
- }
162
 
163
  }
164
  }
@@ -267,15 +240,10 @@ class niteo_cmp {
267
  // returns list of premium themes => manually defined
268
  function cmp_plugin_premium() {
269
  $premium_themes = array();
270
- array_push($premium_themes, array('name' => 'frame', 'url' => 'https://creativemarket.com/NiteoThemes/1373921-CMP-Frame-Coming-Soon-WP-Theme', 'price' => '10'));
271
  return $premium_themes;
272
  }
273
 
274
- // returns list of with countdown
275
- function cmp_plugin_countdown_themes() {
276
- $counter_themes = array('frame');
277
- return $counter_themes;
278
- }
279
 
280
  function cmp_textDomain() {
281
  load_plugin_textdomain( 'cmp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
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: 1.0.0
7
  Author: NiteoThemes
8
  Author URI: http://www.niteo.cz
9
  Text Domain: cmp
122
  if ( $this->cmp_status() == 1 || $this->cmp_status() == 2 ) {
123
 
124
  if ( !is_user_logged_in() ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  // if maintanance mode set headers
126
+ if( $this->cmp_status() == '1' ){
127
  header('HTTP/1.1 503 Service Temporarily Unavailable');
128
  header('Status: 503 Service Temporarily Unavailable');
129
  header('Retry-After: 86400'); // retry in a day
130
  }
131
 
132
+ // render html theme page
133
+ require_once (dirname(__FILE__) . '/themes/'.$this->cmp_selectedTheme().'/'.$this->cmp_selectedTheme().'-theme.php');
134
+ die();
 
 
135
 
136
  }
137
  }
240
  // returns list of premium themes => manually defined
241
  function cmp_plugin_premium() {
242
  $premium_themes = array();
243
+ // array_push($premium_themes, array('name' => 'demo1', 'url' => 'https://creativemarket.com/NiteoThemes', 'price' => '10'));
244
  return $premium_themes;
245
  }
246
 
 
 
 
 
 
247
 
248
  function cmp_textDomain() {
249
  load_plugin_textdomain( 'cmp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KV2JF
4
  Tags: under construction, construction page, maintenance mode, landing page, launch page, launching, security, coming soon, customizable, offline, offline page, unavailable, free, unsplash, subscribe form
5
  Requires at least: 3.0
6
  Tested up to: 4.7.2
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,9 +98,14 @@ Free plugin to create and customize your own Coming Soon or Maintenance landing
98
 
99
 
100
  == Changelog ==
 
 
 
 
 
101
  <h4>1.1.0</h4>
102
  <ul>
103
- <li>New predefined theme: CMP Frame</li>
104
  <li>Added option to display Label for default CMP Subscribe form.</li>
105
  <li>Small changes in CMP-Settings page.</li>
106
  </ul>
4
  Tags: under construction, construction page, maintenance mode, landing page, launch page, launching, security, coming soon, customizable, offline, offline page, unavailable, free, unsplash, subscribe form
5
  Requires at least: 3.0
6
  Tested up to: 4.7.2
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
 
100
  == Changelog ==
101
+ <h4>1.2.0</h4>
102
+ <ul>
103
+ <li>New premium theme: Hardwork Premium</li>
104
+ <li>Small changes in CMP-Settings page.</li>
105
+ </ul>
106
  <h4>1.1.0</h4>
107
  <ul>
108
+ <li>New premium theme: CMP Frame</li>
109
  <li>Added option to display Label for default CMP Subscribe form.</li>
110
  <li>Small changes in CMP-Settings page.</li>
111
  </ul>
themes/construct/construct-settings.php CHANGED
@@ -34,19 +34,19 @@ if ( isset($_POST['niteoCS_background_color_construct']) ) {
34
  ?>
35
 
36
  <div class="table-wrapper customization">
37
- <h3><?php _e('Customize Colors', 'cmp');?></h3>
38
  <table class="customization">
39
  <tr>
40
- <th><h4><?php _e('Active Color', 'cmp');?></h4></th>
41
  <td>
42
  <fieldset>
43
  <input type="text" name="niteoCS_active_color_construct" id="niteoCS_active_color" value="<?php echo esc_attr( $niteoCS_active_color); ?>" data-default-color="#f37004" class="regular-text code"><br>
44
- <span><?php _e('Headings and active elements color (buttons, hover links, etc).', 'cmp');?></span>
45
  </fieldset>
46
  </td>
47
  </tr>
48
  <tr>
49
- <th><h4><?php _e('Font Color', 'cmp');?></h4></th>
50
  <td>
51
  <fieldset>
52
  <input type="text" name="niteoCS_font_color_construct" id="niteoCS_font_color" value="<?php echo esc_attr( $niteoCS_font_color); ?>" data-default-color="#686868" class="regular-text code"><br>
@@ -54,7 +54,7 @@ if ( isset($_POST['niteoCS_background_color_construct']) ) {
54
  </td>
55
  </tr>
56
  <tr>
57
- <th><h4><?php _e('Background Color', 'cmp');?></h4></th>
58
  <td>
59
  <fieldset>
60
  <input type="text" name="niteoCS_background_color_construct" id="niteoCS_background_color" value="<?php echo esc_attr( $niteoCS_background_color); ?>" data-default-color="#ffffff" class="regular-text code"><br>
34
  ?>
35
 
36
  <div class="table-wrapper customization">
37
+ <h3><?php _e('Customize Colors', 'comingSoon');?></h3>
38
  <table class="customization">
39
  <tr>
40
+ <th><h4><?php _e('Active Color', 'comingSoon');?></h4></th>
41
  <td>
42
  <fieldset>
43
  <input type="text" name="niteoCS_active_color_construct" id="niteoCS_active_color" value="<?php echo esc_attr( $niteoCS_active_color); ?>" data-default-color="#f37004" class="regular-text code"><br>
44
+ <span><?php _e('Headings and active elements color (buttons, hover links, etc).', 'comingSoon');?></span>
45
  </fieldset>
46
  </td>
47
  </tr>
48
  <tr>
49
+ <th><h4><?php _e('Font Color', 'comingSoon');?></h4></th>
50
  <td>
51
  <fieldset>
52
  <input type="text" name="niteoCS_font_color_construct" id="niteoCS_font_color" value="<?php echo esc_attr( $niteoCS_font_color); ?>" data-default-color="#686868" class="regular-text code"><br>
54
  </td>
55
  </tr>
56
  <tr>
57
+ <th><h4><?php _e('Background Color', 'comingSoon');?></h4></th>
58
  <td>
59
  <fieldset>
60
  <input type="text" name="niteoCS_background_color_construct" id="niteoCS_background_color" value="<?php echo esc_attr( $niteoCS_background_color); ?>" data-default-color="#ffffff" class="regular-text code"><br>
themes/construct/construct-theme.php CHANGED
@@ -28,7 +28,6 @@
28
  $unplash_feed = get_option('niteoCS_unsplash_feed', '0');
29
  $body_title = get_option('niteoCS_body_title', 'SOMETHING IS HAPPENING!');
30
  $subscribe = get_option('niteoCS_subscribe_type', '0');
31
- $niteoCS_subscribe_label= get_option('niteoCS_subscribe_label');
32
  $copyright = get_option('niteoCS_copyright', 'Copyright 2017 NiteoThemes. All rights reserved.');
33
  $social_title = get_option('niteoCS_soc_title', 'GET SOCIAL WITH US');
34
 
@@ -118,6 +117,7 @@
118
 
119
  <?php
120
 
 
121
  // check for mobile/desktop and determine image size
122
  if (preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"])) {
123
  $size = 'large';
@@ -135,10 +135,7 @@
135
 
136
  if ( $banner_id != '' ) {
137
  $banner_ids = explode(',', $banner_id);
138
- $banner_url = wp_get_attachment_image_src( $banner_ids[mt_rand(0, count( $banner_ids ) - 1)], $size);
139
- if (isset($banner_url[0])) {
140
- $banner_url = $banner_url[0];
141
- }
142
 
143
  } else {
144
  // set construct img
@@ -183,7 +180,7 @@
183
 
184
  <body>
185
  <section class="section section-logo">
186
- <?php if ( isset($logo_url[0]) ) { ?>
187
  <img src="<?php echo esc_url( $logo_url[0] ); ?>" alt="logo">
188
  <?php } ?>
189
  </section>
@@ -227,14 +224,8 @@
227
  // if subsctbiers is niteo, render our html form
228
  } else if ( $subscribe == '2' ) { ?>
229
  <form id="subscribe-form" method="post">
230
- <?php wp_nonce_field('save_options','save_options_field'); ?>
231
- <?php
232
- if ( $niteoCS_subscribe_label != '' ) { ?>
233
- <label for="EMAIL"><?php echo esc_html($niteoCS_subscribe_label);?></label>
234
- <?php
235
- } ?>
236
  <input type="email" name="EMAIL" placeholder="Your email address" required>
237
-
238
  <input type="submit" value="Sign up">
239
 
240
  <div style="display: none;">
28
  $unplash_feed = get_option('niteoCS_unsplash_feed', '0');
29
  $body_title = get_option('niteoCS_body_title', 'SOMETHING IS HAPPENING!');
30
  $subscribe = get_option('niteoCS_subscribe_type', '0');
 
31
  $copyright = get_option('niteoCS_copyright', 'Copyright 2017 NiteoThemes. All rights reserved.');
32
  $social_title = get_option('niteoCS_soc_title', 'GET SOCIAL WITH US');
33
 
117
 
118
  <?php
119
 
120
+
121
  // check for mobile/desktop and determine image size
122
  if (preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"])) {
123
  $size = 'large';
135
 
136
  if ( $banner_id != '' ) {
137
  $banner_ids = explode(',', $banner_id);
138
+ $banner_url = wp_get_attachment_image_src( $banner_ids[mt_rand(0, count( $banner_ids ) - 1)], $size)[0];
 
 
 
139
 
140
  } else {
141
  // set construct img
180
 
181
  <body>
182
  <section class="section section-logo">
183
+ <?php if ( isset($logo_url) ) { ?>
184
  <img src="<?php echo esc_url( $logo_url[0] ); ?>" alt="logo">
185
  <?php } ?>
186
  </section>
224
  // if subsctbiers is niteo, render our html form
225
  } else if ( $subscribe == '2' ) { ?>
226
  <form id="subscribe-form" method="post">
 
 
 
 
 
 
227
  <input type="email" name="EMAIL" placeholder="Your email address" required>
228
+ <?php wp_nonce_field('save_options','save_options_field'); ?>
229
  <input type="submit" value="Sign up">
230
 
231
  <div style="display: none;">
themes/construct/img/{construct_banner_large.jpg → construct_banner_medium.jpg} RENAMED
File without changes
themes/frame_thumbnail.jpg DELETED
Binary file
themes/hardwork/hardwork-settings.php CHANGED
@@ -49,11 +49,11 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
49
  </style>
50
 
51
  <div class="table-wrapper customization">
52
- <h3><?php _e('Customize Colors', 'cmp');?></h3>
53
  <table class="customization">
54
 
55
  <tr>
56
- <th><h4><?php _e('Font Color', 'cmp');?></h4></th>
57
  <td>
58
  <fieldset>
59
  <input type="text" name="niteoCS_font_color_hardwork" id="niteoCS_font_color" value="<?php echo esc_attr( $niteoCS_font_color); ?>" data-default-color="#ffffff" class="regular-text code"><br>
@@ -61,16 +61,16 @@ if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
61
  </td>
62
  </tr>
63
  <tr>
64
- <th><h4><?php _e('Overlay Color', 'cmp');?></h4></th>
65
  <td>
66
  <fieldset class="padding-bottom">
67
- <input type="checkbox" name="niteoCS_overlay_checkbox_hardwork" id="niteoCS_overlay_checkbox" value="1" <?php checked( '1', get_option( 'niteoCS_overlay_checkbox', '1' ) ); ?> class="regular-text code"><label for="niteoCS_overlay_checkbox"><?php _e('Enable Overlay Color', 'cmp');?></label><br>
68
  </fieldset>
69
 
70
  <fieldset id="overlay-color">
71
  <input type="text" name="niteoCS_overlay_color_hardwork]" id="niteoCS_overlay_color" value="<?php echo esc_attr( $niteoCS_overlay_color); ?>" data-default-color="#0a0a0a" class="regular-text code"><br>
72
 
73
- <label for="niteoCS_overlay_opacity"><?php _e('Overlay Opacity', 'cmp');?></label><br>
74
  <input type="range" id="niteoCS_overlay_opacity" name="niteoCS_overlay_opacity_hardwork" min="0" max="1" step="0.1"value="<?php echo esc_attr( $niteoCS_overlay_opacity); ?>" />
75
  <p class="opacity-value">Current value: <span id="current-opacity"><?php echo esc_attr( $niteoCS_overlay_opacity); ?></span></p>
76
  </fieldset>
49
  </style>
50
 
51
  <div class="table-wrapper customization">
52
+ <h3><?php _e('Customize Colors', 'comingSoon');?></h3>
53
  <table class="customization">
54
 
55
  <tr>
56
+ <th><h4><?php _e('Font Color', 'comingSoon');?></h4></th>
57
  <td>
58
  <fieldset>
59
  <input type="text" name="niteoCS_font_color_hardwork" id="niteoCS_font_color" value="<?php echo esc_attr( $niteoCS_font_color); ?>" data-default-color="#ffffff" class="regular-text code"><br>
61
  </td>
62
  </tr>
63
  <tr>
64
+ <th><h4><?php _e('Overlay Color', 'comingSoon');?></h4></th>
65
  <td>
66
  <fieldset class="padding-bottom">
67
+ <input type="checkbox" name="niteoCS_overlay_checkbox_hardwork" id="niteoCS_overlay_checkbox" value="1" <?php checked( '1', get_option( 'niteoCS_overlay_checkbox', '1' ) ); ?> class="regular-text code"><label for="niteoCS_overlay_checkbox"><?php _e('Enable Overlay Color', 'comingSoon');?></label><br>
68
  </fieldset>
69
 
70
  <fieldset id="overlay-color">
71
  <input type="text" name="niteoCS_overlay_color_hardwork]" id="niteoCS_overlay_color" value="<?php echo esc_attr( $niteoCS_overlay_color); ?>" data-default-color="#0a0a0a" class="regular-text code"><br>
72
 
73
+ <label for="niteoCS_overlay_opacity"><?php _e('Overlay Opacity', 'comingSoon');?></label><br>
74
  <input type="range" id="niteoCS_overlay_opacity" name="niteoCS_overlay_opacity_hardwork" min="0" max="1" step="0.1"value="<?php echo esc_attr( $niteoCS_overlay_opacity); ?>" />
75
  <p class="opacity-value">Current value: <span id="current-opacity"><?php echo esc_attr( $niteoCS_overlay_opacity); ?></span></p>
76
  </fieldset>
themes/hardwork/hardwork-theme.php CHANGED
@@ -140,10 +140,7 @@
140
 
141
  if ( $banner_id != '' ) {
142
  $banner_ids = explode(',', $banner_id);
143
- $banner_url = wp_get_attachment_image_src( $banner_ids[mt_rand(0, count( $banner_ids ) - 1)], $size);
144
- if (isset($banner_url[0])) {
145
- $banner_url = $banner_url[0];
146
- }
147
 
148
  } else {
149
  // set construct img
@@ -212,7 +209,7 @@
212
  }
213
  ?>
214
  <section class="section section-logo">
215
- <?php if ( isset($logo_url[0]) ) { ?>
216
  <img src="<?php echo esc_url( $logo_url[0] ); ?>" alt="logo">
217
  <?php } ?>
218
  </section>
140
 
141
  if ( $banner_id != '' ) {
142
  $banner_ids = explode(',', $banner_id);
143
+ $banner_url = wp_get_attachment_image_src( $banner_ids[mt_rand(0, count( $banner_ids ) - 1)], $size)[0];
 
 
 
144
 
145
  } else {
146
  // set construct img
209
  }
210
  ?>
211
  <section class="section section-logo">
212
+ <?php if ( isset($logo_url) ) { ?>
213
  <img src="<?php echo esc_url( $logo_url[0] ); ?>" alt="logo">
214
  <?php } ?>
215
  </section>
themes/hardwork/img/{hardwork_banner_large.jpg → hardwork_banner_medium.jpg} RENAMED
File without changes