EZP Coming Soon Page - Version 0.5.4

Version Description

  • Added countdown timer.
  • Can now disable Coming Soon for user-specified URLs.
  • Minor tweaks.
Download this release

Release Info

Developer bobriley
Plugin Icon 128x128 EZP Coming Soon Page
Version 0.5.4
Comparing to
See all releases

Code changes from version 0.5.2 to 0.5.4

classes/Entities/admin/class-ezp-cs-config-entity.php CHANGED
@@ -47,8 +47,9 @@ if (!class_exists('EZP_CS_Config_Entity')) {
47
  public $facebook_url;
48
  public $twitter_url;
49
  public $google_plus_url;
50
-
51
 
 
 
52
  function __construct() {
53
 
54
  $this->coming_soon_mode_on = false;
@@ -67,6 +68,8 @@ if (!class_exists('EZP_CS_Config_Entity')) {
67
  $this->facebook_url = "";
68
  $this->twitter_url = "";
69
  $this->google_plus_url = "";
 
 
70
 
71
  parent::__construct();
72
  }
47
  public $facebook_url;
48
  public $twitter_url;
49
  public $google_plus_url;
 
50
 
51
+ public $unfiltered_urls;
52
+
53
  function __construct() {
54
 
55
  $this->coming_soon_mode_on = false;
68
  $this->facebook_url = "";
69
  $this->twitter_url = "";
70
  $this->google_plus_url = "";
71
+
72
+ $this->allowed_urls = "";
73
 
74
  parent::__construct();
75
  }
classes/Entities/admin/class-ezp-cs-content-entity.php CHANGED
@@ -44,6 +44,9 @@ if (!class_exists('EZP_CS_Content_Entity')) {
44
  public $thank_you_headline;
45
  public $thank_you_description;
46
  public $title;
 
 
 
47
 
48
  function __construct() {
49
 
@@ -60,6 +63,8 @@ if (!class_exists('EZP_CS_Content_Entity')) {
60
  $this->thank_you_description = EZP_CS_Utility::__("You'll hear from us when we launch.");
61
 
62
  $this->title = EZP_CS_Utility::__("Coming soon");
 
 
63
  parent::__construct();
64
  }
65
 
44
  public $thank_you_headline;
45
  public $thank_you_description;
46
  public $title;
47
+
48
+ public $countdown_due_date;
49
+
50
 
51
  function __construct() {
52
 
63
  $this->thank_you_description = EZP_CS_Utility::__("You'll hear from us when we launch.");
64
 
65
  $this->title = EZP_CS_Utility::__("Coming soon");
66
+
67
+ $this->countdown_due_date = "";
68
  parent::__construct();
69
  }
70
 
classes/Utilities/class-ezp-cs-render-utility.php CHANGED
@@ -23,22 +23,35 @@
23
 
24
  if (!class_exists('EZP_CS_Render_Utility')) {
25
 
26
- /**
27
  * @author Bob Riley <bob@easypiewp.com>
28
  * @copyright 2014 Synthetic Thought LLC
29
  */
30
  class EZP_CS_Render_Utility {
31
 
32
- public function get_display($value, $default)
33
- {
34
- if((!isset($value)) || (trim($value) == "")) {
35
-
36
  return "none";
37
- }
38
- else {
39
  return $default;
40
  }
41
  }
42
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  }
44
  ?>
23
 
24
  if (!class_exists('EZP_CS_Render_Utility')) {
25
 
26
+ /**
27
  * @author Bob Riley <bob@easypiewp.com>
28
  * @copyright 2014 Synthetic Thought LLC
29
  */
30
  class EZP_CS_Render_Utility {
31
 
32
+ public function get_display($value, $default) {
33
+ if ((!isset($value)) || (trim($value) == "")) {
34
+
 
35
  return "none";
36
+ } else {
 
37
  return $default;
38
  }
39
  }
40
+
41
+ public static function get_datepicker_date_format() {
42
+
43
+ $wp_format = get_option( 'date_format' );
44
+
45
+ switch ($wp_format) {
46
+
47
+ case 'Y/m/d':
48
+ return( 'yy/mm/dd' );
49
+ break;
50
+ default:
51
+ return( 'mm/dd/yy' );
52
+ }
53
+ }
54
+ }
55
+
56
  }
57
  ?>
classes/Utilities/class-ezp-cs-utility.php CHANGED
@@ -21,11 +21,11 @@
21
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
  */
23
 
24
- require_once(dirname(__FILE__) . '/../class-ezp-cs-constants.php');
25
 
26
  if (!class_exists('EZP_CS_Utility')) {
27
 
28
- /**
29
  * @author Bob Riley <bob@easypiewp.com>
30
  * @copyright 2014 Synthetic Thought LLC
31
  */
@@ -35,20 +35,19 @@ if (!class_exists('EZP_CS_Utility')) {
35
  public static $MINI_THEMES_TEMPLATE_DIRECTORY;
36
  public static $PLUGIN_URL;
37
  public static $PLUGIN_DIRECTORY;
38
-
39
  private static $type_format_array;
40
-
41
  public static function init() {
42
-
43
  $__dir__ = dirname(__FILE__);
44
-
45
  self::$MINI_THEMES_TEMPLATE_DIRECTORY = $__dir__ . "/../templates/";
46
 
47
  self::$PLUGIN_URL = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG;
48
-
49
  self::$PLUGIN_DIRECTORY = (WP_CONTENT_DIR . "/plugins/" . EZP_CS_Constants::PLUGIN_SLUG);
50
-
51
- self::$type_format_array = array('boolean' => '%s', 'integer' => '%d', 'double' => '%g', 'string' => '%s' );
52
  }
53
 
54
  public static function _e($text) {
@@ -60,78 +59,73 @@ if (!class_exists('EZP_CS_Utility')) {
60
 
61
  return __($text, EZP_CS_Constants::PLUGIN_SLUG);
62
  }
63
-
64
  public static function _he($text) {
65
 
66
  echo htmlspecialchars($text);
67
  }
68
-
69
  public function get_db_type_format($variable) {
70
-
71
  $type_string = gettype($variable);
72
-
73
- if($type_string == "NULL") {
74
-
75
  self::debug("get_db_type_format: Error. Variable is not initialized.");
76
  return "";
77
  }
78
-
79
  return self::$type_format_array[$type_string];
80
  }
81
 
82
  public static function get_public_properties($object) {
83
-
84
  $publics = get_object_vars($object);
85
  unset($publics['id']);
86
  unset($publics['type']);
87
-
88
  return $publics;
89
- }
90
-
91
  public static function get_public_class_properties($class_name) {
92
-
93
  $publics = get_class_vars($class_name);
94
  unset($publics['id']);
95
-
96
  return $publics;
97
- }
98
-
99
  public static function get_guid() {
100
-
101
- if (function_exists('com_create_guid') === true)
102
- {
103
  return trim(com_create_guid(), '{}');
104
  }
105
 
106
- return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
107
  }
108
-
109
- public static function display_admin_notice($coming_soon_on)
110
- {
111
- if($coming_soon_on) {
112
-
113
- echo "<div class='error'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . self::__("Coming Soon is On") . "</a></div>";
114
-
115
  } else {
116
-
117
- echo "<div style='text-decoration:underline' class='updated'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . self::__("Coming Soon is Off") . "</a></div>";
118
  }
119
- }
120
-
121
- /*-- Option Field Help Methods --*/
122
-
123
- public static function render_option($value, $text, $current_value)
124
- {
125
  $selected = "";
126
-
127
- if($value == $current_value)
128
- {
129
- $selected = 'selected="selected"';
130
  }
131
-
132
  echo "<option value='$value' $selected>$text</option>";
133
  }
134
-
135
  public static function get_manifest_by_key($key) {
136
 
137
  $manifests = self::get_manifests();
@@ -146,7 +140,7 @@ if (!class_exists('EZP_CS_Utility')) {
146
 
147
  return null;
148
  }
149
-
150
  public static function get_manifests() {
151
 
152
  $user_manifest_array = self::get_manifests_in_directory(self::$MINI_THEMES_USER_DIRECTORY, self::$MINI_THEMES_USER_URL);
@@ -249,18 +243,39 @@ if (!class_exists('EZP_CS_Utility')) {
249
  }
250
  }
251
  }
252
-
253
  public static function debug_object($object) {
254
-
255
  EZP_CS_Utility::debug(var_export($object, true));
256
  }
257
-
258
  public static function debug_dump($message, $object) {
259
-
260
  EZP_CS_Utility::debug($message . ":" . var_export($object, true));
261
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  }
263
 
264
- EZP_CS_Utility::init();
265
  }
266
  ?>
21
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
  */
23
 
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-constants.php');
25
 
26
  if (!class_exists('EZP_CS_Utility')) {
27
 
28
+ /**
29
  * @author Bob Riley <bob@easypiewp.com>
30
  * @copyright 2014 Synthetic Thought LLC
31
  */
35
  public static $MINI_THEMES_TEMPLATE_DIRECTORY;
36
  public static $PLUGIN_URL;
37
  public static $PLUGIN_DIRECTORY;
 
38
  private static $type_format_array;
39
+
40
  public static function init() {
41
+
42
  $__dir__ = dirname(__FILE__);
43
+
44
  self::$MINI_THEMES_TEMPLATE_DIRECTORY = $__dir__ . "/../templates/";
45
 
46
  self::$PLUGIN_URL = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG;
47
+
48
  self::$PLUGIN_DIRECTORY = (WP_CONTENT_DIR . "/plugins/" . EZP_CS_Constants::PLUGIN_SLUG);
49
+
50
+ self::$type_format_array = array('boolean' => '%s', 'integer' => '%d', 'double' => '%g', 'string' => '%s');
51
  }
52
 
53
  public static function _e($text) {
59
 
60
  return __($text, EZP_CS_Constants::PLUGIN_SLUG);
61
  }
62
+
63
  public static function _he($text) {
64
 
65
  echo htmlspecialchars($text);
66
  }
67
+
68
  public function get_db_type_format($variable) {
69
+
70
  $type_string = gettype($variable);
71
+
72
+ if ($type_string == "NULL") {
73
+
74
  self::debug("get_db_type_format: Error. Variable is not initialized.");
75
  return "";
76
  }
77
+
78
  return self::$type_format_array[$type_string];
79
  }
80
 
81
  public static function get_public_properties($object) {
82
+
83
  $publics = get_object_vars($object);
84
  unset($publics['id']);
85
  unset($publics['type']);
86
+
87
  return $publics;
88
+ }
89
+
90
  public static function get_public_class_properties($class_name) {
91
+
92
  $publics = get_class_vars($class_name);
93
  unset($publics['id']);
94
+
95
  return $publics;
96
+ }
97
+
98
  public static function get_guid() {
99
+
100
+ if (function_exists('com_create_guid') === true) {
 
101
  return trim(com_create_guid(), '{}');
102
  }
103
 
104
+ return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
105
  }
106
+
107
+ public static function display_admin_notice($coming_soon_on) {
108
+ if ($coming_soon_on) {
109
+
110
+ echo "<div class='error'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . self::__("Coming Soon is On") . "</a></div>";
 
 
111
  } else {
112
+
113
+ echo "<div style='text-decoration:underline' class='updated'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . self::__("Coming Soon is Off") . "</a></div>";
114
  }
115
+ }
116
+
117
+ /* -- Option Field Help Methods -- */
118
+
119
+ public static function render_option($value, $text, $current_value) {
 
120
  $selected = "";
121
+
122
+ if ($value == $current_value) {
123
+ $selected = 'selected="selected"';
 
124
  }
125
+
126
  echo "<option value='$value' $selected>$text</option>";
127
  }
128
+
129
  public static function get_manifest_by_key($key) {
130
 
131
  $manifests = self::get_manifests();
140
 
141
  return null;
142
  }
143
+
144
  public static function get_manifests() {
145
 
146
  $user_manifest_array = self::get_manifests_in_directory(self::$MINI_THEMES_USER_DIRECTORY, self::$MINI_THEMES_USER_URL);
243
  }
244
  }
245
  }
246
+
247
  public static function debug_object($object) {
248
+
249
  EZP_CS_Utility::debug(var_export($object, true));
250
  }
251
+
252
  public static function debug_dump($message, $object) {
253
+
254
  EZP_CS_Utility::debug($message . ":" . var_export($object, true));
255
+ }
256
+
257
+ public static function is_current_url_unfiltered($config) {
258
+
259
+ $requested = strtolower($_SERVER[REQUEST_URI]);
260
+
261
+ $config->allowed_urls = strtolower($config->unfiltered_urls);
262
+ $urls = preg_split('/\r\n|[\r\n]/', $config->unfiltered_urls);
263
+
264
+ $is_unfiltered = false;
265
+ foreach ($urls as $url) {
266
+
267
+ $trimmed_url = trim($url);
268
+ if ((strpos($requested, $trimmed_url) === 0)) {
269
+
270
+ $is_unfiltered = true;
271
+ break;
272
+ }
273
+ }
274
+
275
+ return $is_unfiltered;
276
+ }
277
  }
278
 
279
+ EZP_CS_Utility::init();
280
  }
281
  ?>
classes/class-ezp-cs-constants.php CHANGED
@@ -32,7 +32,7 @@ if (!class_exists('EZP_CS_Constants')) {
32
  const COMPOUND_OPTION_NAME = 'easy-pie-cs-options';
33
  const MAIN_PAGE_KEY = 'easy-pie-cs-main-page';
34
  const PLUGIN_SLUG = 'easy-pie-coming-soon';
35
- const PLUGIN_VERSION = "0.5.2"; // RSR Version
36
 
37
 
38
 
32
  const COMPOUND_OPTION_NAME = 'easy-pie-cs-options';
33
  const MAIN_PAGE_KEY = 'easy-pie-cs-main-page';
34
  const PLUGIN_SLUG = 'easy-pie-coming-soon';
35
+ const PLUGIN_VERSION = "0.5.4"; // RSR Version
36
 
37
 
38
 
classes/class-ezp-cs.php CHANGED
@@ -52,18 +52,18 @@ if (!class_exists('EZP_CS')) {
52
  $this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
53
 
54
  $entity_table_present = EZP_CS_Query_Utility::is_table_present(EZP_CS_JSON_Entity_Base::DEFAULT_TABLE_NAME);
55
-
56
- if($entity_table_present) {
57
-
58
  $global = EZP_CS_Global_Entity::get_instance();
59
-
60
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
61
-
62
  $coming_soon_mode_on = $config->coming_soon_mode_on;
63
 
64
  $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
65
  } else {
66
-
67
  // On activation so we don't have the tables yet
68
  $coming_soon_mode_on = false;
69
  $in_preview = false;
@@ -123,7 +123,7 @@ if (!class_exists('EZP_CS')) {
123
 
124
  $subscribers = EZP_CS_Query_Utility::get_subscriber_list(-1);
125
 
126
- echo "Name, Email, Date\r\n";
127
  foreach ($subscribers as $subscriber) {
128
 
129
  if ($subscriber->subscription_date != '') {
@@ -278,22 +278,25 @@ if (!class_exists('EZP_CS')) {
278
  * Display the maintenance page
279
  */
280
  public function display_coming_soon_page() {
 
281
 
282
- $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
283
 
284
-
285
- // RSR TODO: Need to put an enabled box somewhere
286
- //
287
- // For now
288
- if (!is_user_logged_in() || $in_preview) {
289
 
290
- $global = EZP_CS_Global_Entity::get_instance();
291
 
292
- $set_index = $global->active_set_index;
293
 
294
- $set = EZP_CS_Set_Entity::get_by_id($set_index);
 
 
 
 
 
 
295
 
296
- $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
297
 
298
  if ($config->return_code == 503) {
299
 
@@ -370,6 +373,9 @@ if (!class_exists('EZP_CS')) {
370
 
371
  wp_enqueue_script('jquery-ui-slider');
372
  wp_enqueue_script('spectrum.min.js', $jQueryPluginRoot . '/spectrum-picker/spectrum.min.js', array('jquery'), EZP_CS_Constants::PLUGIN_VERSION);
 
 
 
373
  }
374
 
375
  wp_enqueue_media();
52
  $this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
53
 
54
  $entity_table_present = EZP_CS_Query_Utility::is_table_present(EZP_CS_JSON_Entity_Base::DEFAULT_TABLE_NAME);
55
+
56
+ if ($entity_table_present) {
57
+
58
  $global = EZP_CS_Global_Entity::get_instance();
59
+
60
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
61
+
62
  $coming_soon_mode_on = $config->coming_soon_mode_on;
63
 
64
  $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
65
  } else {
66
+
67
  // On activation so we don't have the tables yet
68
  $coming_soon_mode_on = false;
69
  $in_preview = false;
123
 
124
  $subscribers = EZP_CS_Query_Utility::get_subscriber_list(-1);
125
 
126
+ echo "Name, Email Address, Date\r\n";
127
  foreach ($subscribers as $subscriber) {
128
 
129
  if ($subscriber->subscription_date != '') {
278
  * Display the maintenance page
279
  */
280
  public function display_coming_soon_page() {
281
+ $global = EZP_CS_Global_Entity::get_instance();
282
 
283
+ $set_index = $global->active_set_index;
284
 
285
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
 
 
 
 
286
 
287
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
288
 
289
+ $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
290
 
291
+ if(trim($config->unfiltered_urls) != "") {
292
+
293
+ $is_unfiltered = EZP_CS_Utility::is_current_url_unfiltered($config);
294
+ } else {
295
+
296
+ $is_unfiltered = false;
297
+ }
298
 
299
+ if (!$is_unfiltered && (!is_user_logged_in() || $in_preview)) {
300
 
301
  if ($config->return_code == 503) {
302
 
373
 
374
  wp_enqueue_script('jquery-ui-slider');
375
  wp_enqueue_script('spectrum.min.js', $jQueryPluginRoot . '/spectrum-picker/spectrum.min.js', array('jquery'), EZP_CS_Constants::PLUGIN_VERSION);
376
+ } else {
377
+ // Implies it is the content tab
378
+ wp_enqueue_script('jquery-ui-datepicker');
379
  }
380
 
381
  wp_enqueue_media();
easy-pie-coming-soon.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
- Plugin Name: Easy Pie Coming Soon
4
  Plugin URI: http://easypiewp.com/easy-pie-coming-soon-faq/
5
  Description: Let people know that your site is 'coming soon'. Visitors can submit their email addresses for future notification.
6
- Version: 0.5.2
7
  Author: Bob Riley
8
  Author URI: http://www.easypiewp.com
9
  Text Domain: easy-pie-coming-soon
1
  <?php
2
  /*
3
+ Plugin Name: Coming Soon Page
4
  Plugin URI: http://easypiewp.com/easy-pie-coming-soon-faq/
5
  Description: Let people know that your site is 'coming soon'. Visitors can submit their email addresses for future notification.
6
+ Version: 0.5.4
7
  Author: Bob Riley
8
  Author URI: http://www.easypiewp.com
9
  Text Domain: easy-pie-coming-soon
js/page-options-content-tab.js CHANGED
@@ -6,6 +6,8 @@ jQuery(document).ready(function($) {
6
 
7
  var logo_uploader;
8
 
 
 
9
  $('#easy-pie-cs-logo-button').click(function(e) {
10
 
11
  e.preventDefault();
6
 
7
  var logo_uploader;
8
 
9
+
10
+ $('#ezp-countdown-due-date').datepicker({ dateFormat: ezp_cs_datepicker_date_format} );
11
  $('#easy-pie-cs-logo-button').click(function(e) {
12
 
13
  e.preventDefault();
languages/easy-pie-coming-soon.mo CHANGED
Binary file
languages/easy-pie-coming-soon.po CHANGED
@@ -1,54 +1,54 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy Pie Coming Soon Plugin\n"
4
- "POT-Creation-Date: 2014-04-26 07:50-0700\n"
5
- "PO-Revision-Date: 2014-04-26 07:50-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:50
19
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:62
20
  msgid "Coming soon"
21
  msgstr ""
22
 
23
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:51
24
  msgid "Our exciting new website is coming soon! Check back later."
25
  msgstr ""
26
 
27
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:52
28
  msgid "We won't spam you or sell your email address. Pinky swear."
29
  msgstr ""
30
 
31
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:53
32
  msgid "(C)2014 My Company LLC"
33
  msgstr ""
34
 
35
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:55
36
  msgid "Enter email"
37
  msgstr ""
38
 
39
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:56
40
  msgid "Enter name"
41
  msgstr ""
42
 
43
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:57
44
  msgid "Subscribe"
45
  msgstr ""
46
 
47
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:59
48
  msgid "Thank you!"
49
  msgstr ""
50
 
51
- #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:60
52
  msgid "You'll hear from us when we launch."
53
  msgstr ""
54
 
@@ -128,150 +128,162 @@ msgstr ""
128
  msgid "Email address is not valid"
129
  msgstr ""
130
 
131
- #: ../classes/Utilities/class-ezp-cs-utility.php:113
132
  msgid "Coming Soon is On"
133
  msgstr ""
134
 
135
- #: ../classes/Utilities/class-ezp-cs-utility.php:117
136
  msgid "Coming Soon is Off"
137
  msgstr ""
138
 
139
- #: ../classes/class-ezp-cs.php:461
140
  msgid "Easy Pie Coming Soon Template"
141
  msgstr ""
142
 
143
- #: ../classes/class-ezp-cs.php:461 ../pages/page-options.php:44
144
  msgid "Template"
145
  msgstr ""
146
 
147
- #: ../classes/class-ezp-cs.php:462
148
  msgid "Easy Pie Coming Soon Settings"
149
  msgstr ""
150
 
151
- #: ../classes/class-ezp-cs.php:462 ../pages/page-options-settings.php:33
152
  msgid "Settings"
153
  msgstr ""
154
 
155
- #: ../classes/class-ezp-cs.php:463
156
  msgid "Easy Pie Coming Soon Subscribers"
157
  msgstr ""
158
 
159
- #: ../classes/class-ezp-cs.php:463 ../pages/page-options-subscribers.php:86
160
  msgid "Subscribers"
161
  msgstr ""
162
 
163
- #: ../classes/class-ezp-cs.php:464
164
  msgid "Easy Pie Coming Soon Preview"
165
  msgstr ""
166
 
167
- #: ../classes/class-ezp-cs.php:464 ../pages/page-preview.php:30
168
  msgid "Preview"
169
  msgstr ""
170
 
171
- #: ../mini-themes/base-responsive/index.php:192
172
  #: ../pages/page-options-subscribers.php:143
173
  msgid "Name"
174
  msgstr ""
175
 
176
- #: ../mini-themes/base-responsive/index.php:197
177
  #: ../pages/page-options-subscribers.php:144
178
  msgid "Email"
179
  msgstr ""
180
 
181
- #: ../pages/page-options-content-tab.php:60
182
  #: ../pages/page-options-display-tab.php:89
183
- #: ../pages/page-options-settings.php:76
184
  msgid "Errors present:"
185
  msgstr ""
186
 
187
- #: ../pages/page-options-content-tab.php:64
188
  #: ../pages/page-options-display-tab.php:93
189
- #: ../pages/page-options-settings.php:80
190
  msgid "Settings Saved."
191
  msgstr ""
192
 
193
- #: ../pages/page-options-content-tab.php:64
194
  #: ../pages/page-options-display-tab.php:93
195
- #: ../pages/page-options-settings.php:80
196
  msgid "If you have a caching plugin be sure to clear it."
197
  msgstr ""
198
 
199
- #: ../pages/page-options-content-tab.php:69
200
  #: ../pages/page-options-display-tab.php:197
201
  msgid "Logo"
202
  msgstr ""
203
 
204
- #: ../pages/page-options-content-tab.php:73
205
  #: ../pages/page-options-display-tab.php:121
206
  msgid "Image"
207
  msgstr ""
208
 
209
- #: ../pages/page-options-content-tab.php:78
210
  #: ../pages/page-options-display-tab.php:170
211
  msgid "Upload"
212
  msgstr ""
213
 
214
- #: ../pages/page-options-content-tab.php:88
215
  #: ../pages/page-options-content-tab.php:92
 
216
  msgid "Title"
217
  msgstr ""
218
 
219
- #: ../pages/page-options-content-tab.php:106
220
  msgid "Main Text"
221
  msgstr ""
222
 
223
- #: ../pages/page-options-content-tab.php:110
224
- #: ../pages/page-options-content-tab.php:197
225
  msgid "Headline"
226
  msgstr ""
227
 
228
- #: ../pages/page-options-content-tab.php:120
229
  msgid "Description"
230
  msgstr ""
231
 
232
- #: ../pages/page-options-content-tab.php:130
233
  msgid "Disclaimer"
234
  msgstr ""
235
 
236
- #: ../pages/page-options-content-tab.php:140
237
  msgid "Footer"
238
  msgstr ""
239
 
240
- #: ../pages/page-options-content-tab.php:153
241
  msgid "Email Text"
242
  msgstr ""
243
 
244
- #: ../pages/page-options-content-tab.php:158
245
  msgid "Email Placeholder"
246
  msgstr ""
247
 
248
- #: ../pages/page-options-content-tab.php:168
249
  msgid "Name Placeholder"
250
  msgstr ""
251
 
252
- #: ../pages/page-options-content-tab.php:178
253
  msgid "Button"
254
  msgstr ""
255
 
256
- #: ../pages/page-options-content-tab.php:187
257
- #: ../pages/page-options-content-tab.php:217
258
  msgid "Section relevant only if email collection is enabled in"
259
  msgstr ""
260
 
261
- #: ../pages/page-options-content-tab.php:187
262
- #: ../pages/page-options-content-tab.php:217
263
  msgid "settings"
264
  msgstr ""
265
 
266
- #: ../pages/page-options-content-tab.php:193
267
  msgid "Thank You Text"
268
  msgstr ""
269
 
270
- #: ../pages/page-options-content-tab.php:208
271
  #: ../pages/page-options-display-tab.php:261
272
  msgid "Text"
273
  msgstr ""
274
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  #: ../pages/page-options-display-tab.php:99
276
  msgid "Display Template"
277
  msgstr ""
@@ -366,120 +378,139 @@ msgstr ""
366
  msgid "If you have a caching plugin, be sure to clear the cache!"
367
  msgstr ""
368
 
369
- #: ../pages/page-options-settings.php:85
370
  msgid "General"
371
  msgstr ""
372
 
373
- #: ../pages/page-options-settings.php:89
374
  msgid "Status"
375
  msgstr ""
376
 
377
- #: ../pages/page-options-settings.php:93
378
  msgid "On"
379
  msgstr ""
380
 
381
- #: ../pages/page-options-settings.php:94
382
  msgid "Off"
383
  msgstr ""
384
 
385
- #: ../pages/page-options-settings.php:104
386
  msgid "Collection"
387
  msgstr ""
388
 
389
- #: ../pages/page-options-settings.php:108
390
  msgid "Collect Email"
391
  msgstr ""
392
 
393
- #: ../pages/page-options-settings.php:113
394
- #: ../pages/page-options-settings.php:124
395
  #: ../pages/page-options-subscribers.php:161
396
  msgid "Yes"
397
  msgstr ""
398
 
399
- #: ../pages/page-options-settings.php:119
400
  msgid "Collect Name"
401
  msgstr ""
402
 
403
- #: ../pages/page-options-settings.php:134
404
  msgid "HTTP"
405
  msgstr ""
406
 
407
- #: ../pages/page-options-settings.php:138
408
  msgid "Return Code"
409
  msgstr ""
410
 
411
- #: ../pages/page-options-settings.php:142
412
  msgid "200"
413
  msgstr ""
414
 
415
- #: ../pages/page-options-settings.php:143
416
  msgid "503"
417
  msgstr ""
418
 
419
- #: ../pages/page-options-settings.php:152
420
  msgid "Social"
421
  msgstr ""
422
 
423
- #: ../pages/page-options-settings.php:156
424
  msgid "Facebook URL"
425
  msgstr ""
426
 
427
- #: ../pages/page-options-settings.php:166
428
  msgid "Google Plus URL"
429
  msgstr ""
430
 
431
- #: ../pages/page-options-settings.php:176
432
  msgid "Twitter URL"
433
  msgstr ""
434
 
435
- #: ../pages/page-options-settings.php:190
436
  msgid "SEO"
437
  msgstr ""
438
 
439
- #: ../pages/page-options-settings.php:194
440
  msgid "Author URL"
441
  msgstr ""
442
 
443
- #: ../pages/page-options-settings.php:199
444
  msgid "Google+ or other identifying URL"
445
  msgstr ""
446
 
447
- #: ../pages/page-options-settings.php:205
448
  msgid "Meta Description"
449
  msgstr ""
450
 
451
- #: ../pages/page-options-settings.php:215
452
  msgid "Meta Keywords"
453
  msgstr ""
454
 
455
- #: ../pages/page-options-settings.php:220
456
  msgid "Comma separated list"
457
  msgstr ""
458
 
459
- #: ../pages/page-options-settings.php:226
460
  msgid "Analytics Code"
461
  msgstr ""
462
 
463
- #: ../pages/page-options-settings.php:231
464
  msgid "Analytics tracking code"
465
  msgstr ""
466
 
467
- #: ../pages/page-options-settings.php:231
468
  msgid "include"
469
  msgstr ""
470
 
471
  #: ../pages/page-options-settings.php:242
472
- #: ../pages/page-options-subscribers.php:189 ../pages/page-options.php:77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
473
  msgid "Plugin FAQ"
474
  msgstr ""
475
 
476
- #: ../pages/page-options-settings.php:244
477
- #: ../pages/page-options-subscribers.php:191 ../pages/page-options.php:79
478
  msgid "Contact"
479
  msgstr ""
480
 
481
- #: ../pages/page-options-settings.php:246
482
- #: ../pages/page-options-subscribers.php:193 ../pages/page-options.php:81
 
 
 
 
 
483
  msgid "Donate"
484
  msgstr ""
485
 
@@ -521,14 +552,18 @@ msgstr ""
521
  msgid "CSV Export All"
522
  msgstr ""
523
 
524
- #: ../pages/page-options-subscribers.php:186
 
 
 
 
525
  msgid "Delete User?"
526
  msgstr ""
527
 
528
- #: ../pages/page-options.php:53
529
  msgid "Display"
530
  msgstr ""
531
 
532
- #: ../pages/page-options.php:54
533
  msgid "Content"
534
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy Pie Coming Soon Plugin\n"
4
+ "POT-Creation-Date: 2014-05-10 09:59-0700\n"
5
+ "PO-Revision-Date: 2014-05-10 10:00-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.5\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:53
19
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:65
20
  msgid "Coming soon"
21
  msgstr ""
22
 
23
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:54
24
  msgid "Our exciting new website is coming soon! Check back later."
25
  msgstr ""
26
 
27
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:55
28
  msgid "We won't spam you or sell your email address. Pinky swear."
29
  msgstr ""
30
 
31
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:56
32
  msgid "(C)2014 My Company LLC"
33
  msgstr ""
34
 
35
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:58
36
  msgid "Enter email"
37
  msgstr ""
38
 
39
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:59
40
  msgid "Enter name"
41
  msgstr ""
42
 
43
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:60
44
  msgid "Subscribe"
45
  msgstr ""
46
 
47
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:62
48
  msgid "Thank you!"
49
  msgstr ""
50
 
51
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:63
52
  msgid "You'll hear from us when we launch."
53
  msgstr ""
54
 
128
  msgid "Email address is not valid"
129
  msgstr ""
130
 
131
+ #: ../classes/Utilities/class-ezp-cs-utility.php:110
132
  msgid "Coming Soon is On"
133
  msgstr ""
134
 
135
+ #: ../classes/Utilities/class-ezp-cs-utility.php:113
136
  msgid "Coming Soon is Off"
137
  msgstr ""
138
 
139
+ #: ../classes/class-ezp-cs.php:467
140
  msgid "Easy Pie Coming Soon Template"
141
  msgstr ""
142
 
143
+ #: ../classes/class-ezp-cs.php:467 ../pages/page-options.php:44
144
  msgid "Template"
145
  msgstr ""
146
 
147
+ #: ../classes/class-ezp-cs.php:468
148
  msgid "Easy Pie Coming Soon Settings"
149
  msgstr ""
150
 
151
+ #: ../classes/class-ezp-cs.php:468 ../pages/page-options-settings.php:33
152
  msgid "Settings"
153
  msgstr ""
154
 
155
+ #: ../classes/class-ezp-cs.php:469
156
  msgid "Easy Pie Coming Soon Subscribers"
157
  msgstr ""
158
 
159
+ #: ../classes/class-ezp-cs.php:469 ../pages/page-options-subscribers.php:86
160
  msgid "Subscribers"
161
  msgstr ""
162
 
163
+ #: ../classes/class-ezp-cs.php:470
164
  msgid "Easy Pie Coming Soon Preview"
165
  msgstr ""
166
 
167
+ #: ../classes/class-ezp-cs.php:470 ../pages/page-preview.php:30
168
  msgid "Preview"
169
  msgstr ""
170
 
171
+ #: ../mini-themes/base-responsive/index.php:199
172
  #: ../pages/page-options-subscribers.php:143
173
  msgid "Name"
174
  msgstr ""
175
 
176
+ #: ../mini-themes/base-responsive/index.php:204
177
  #: ../pages/page-options-subscribers.php:144
178
  msgid "Email"
179
  msgstr ""
180
 
181
+ #: ../pages/page-options-content-tab.php:64
182
  #: ../pages/page-options-display-tab.php:89
183
+ #: ../pages/page-options-settings.php:77
184
  msgid "Errors present:"
185
  msgstr ""
186
 
187
+ #: ../pages/page-options-content-tab.php:68
188
  #: ../pages/page-options-display-tab.php:93
189
+ #: ../pages/page-options-settings.php:81
190
  msgid "Settings Saved."
191
  msgstr ""
192
 
193
+ #: ../pages/page-options-content-tab.php:68
194
  #: ../pages/page-options-display-tab.php:93
195
+ #: ../pages/page-options-settings.php:81
196
  msgid "If you have a caching plugin be sure to clear it."
197
  msgstr ""
198
 
199
+ #: ../pages/page-options-content-tab.php:73
200
  #: ../pages/page-options-display-tab.php:197
201
  msgid "Logo"
202
  msgstr ""
203
 
204
+ #: ../pages/page-options-content-tab.php:77
205
  #: ../pages/page-options-display-tab.php:121
206
  msgid "Image"
207
  msgstr ""
208
 
209
+ #: ../pages/page-options-content-tab.php:82
210
  #: ../pages/page-options-display-tab.php:170
211
  msgid "Upload"
212
  msgstr ""
213
 
 
214
  #: ../pages/page-options-content-tab.php:92
215
+ #: ../pages/page-options-content-tab.php:96
216
  msgid "Title"
217
  msgstr ""
218
 
219
+ #: ../pages/page-options-content-tab.php:110
220
  msgid "Main Text"
221
  msgstr ""
222
 
223
+ #: ../pages/page-options-content-tab.php:114
224
+ #: ../pages/page-options-content-tab.php:201
225
  msgid "Headline"
226
  msgstr ""
227
 
228
+ #: ../pages/page-options-content-tab.php:124
229
  msgid "Description"
230
  msgstr ""
231
 
232
+ #: ../pages/page-options-content-tab.php:134
233
  msgid "Disclaimer"
234
  msgstr ""
235
 
236
+ #: ../pages/page-options-content-tab.php:144
237
  msgid "Footer"
238
  msgstr ""
239
 
240
+ #: ../pages/page-options-content-tab.php:157
241
  msgid "Email Text"
242
  msgstr ""
243
 
244
+ #: ../pages/page-options-content-tab.php:162
245
  msgid "Email Placeholder"
246
  msgstr ""
247
 
248
+ #: ../pages/page-options-content-tab.php:172
249
  msgid "Name Placeholder"
250
  msgstr ""
251
 
252
+ #: ../pages/page-options-content-tab.php:182
253
  msgid "Button"
254
  msgstr ""
255
 
256
+ #: ../pages/page-options-content-tab.php:191
257
+ #: ../pages/page-options-content-tab.php:221
258
  msgid "Section relevant only if email collection is enabled in"
259
  msgstr ""
260
 
261
+ #: ../pages/page-options-content-tab.php:191
262
+ #: ../pages/page-options-content-tab.php:221
263
  msgid "settings"
264
  msgstr ""
265
 
266
+ #: ../pages/page-options-content-tab.php:197
267
  msgid "Thank You Text"
268
  msgstr ""
269
 
270
+ #: ../pages/page-options-content-tab.php:212
271
  #: ../pages/page-options-display-tab.php:261
272
  msgid "Text"
273
  msgstr ""
274
 
275
+ #: ../pages/page-options-content-tab.php:226
276
+ msgid "Countdown"
277
+ msgstr ""
278
+
279
+ #: ../pages/page-options-content-tab.php:230
280
+ msgid "Due Date"
281
+ msgstr ""
282
+
283
+ #: ../pages/page-options-content-tab.php:235
284
+ msgid "Countdown timer will display when populated"
285
+ msgstr ""
286
+
287
  #: ../pages/page-options-display-tab.php:99
288
  msgid "Display Template"
289
  msgstr ""
378
  msgid "If you have a caching plugin, be sure to clear the cache!"
379
  msgstr ""
380
 
381
+ #: ../pages/page-options-settings.php:86
382
  msgid "General"
383
  msgstr ""
384
 
385
+ #: ../pages/page-options-settings.php:90
386
  msgid "Status"
387
  msgstr ""
388
 
389
+ #: ../pages/page-options-settings.php:94
390
  msgid "On"
391
  msgstr ""
392
 
393
+ #: ../pages/page-options-settings.php:95
394
  msgid "Off"
395
  msgstr ""
396
 
397
+ #: ../pages/page-options-settings.php:105
398
  msgid "Collection"
399
  msgstr ""
400
 
401
+ #: ../pages/page-options-settings.php:109
402
  msgid "Collect Email"
403
  msgstr ""
404
 
405
+ #: ../pages/page-options-settings.php:114
406
+ #: ../pages/page-options-settings.php:125
407
  #: ../pages/page-options-subscribers.php:161
408
  msgid "Yes"
409
  msgstr ""
410
 
411
+ #: ../pages/page-options-settings.php:120
412
  msgid "Collect Name"
413
  msgstr ""
414
 
415
+ #: ../pages/page-options-settings.php:135
416
  msgid "HTTP"
417
  msgstr ""
418
 
419
+ #: ../pages/page-options-settings.php:139
420
  msgid "Return Code"
421
  msgstr ""
422
 
423
+ #: ../pages/page-options-settings.php:143
424
  msgid "200"
425
  msgstr ""
426
 
427
+ #: ../pages/page-options-settings.php:144
428
  msgid "503"
429
  msgstr ""
430
 
431
+ #: ../pages/page-options-settings.php:153
432
  msgid "Social"
433
  msgstr ""
434
 
435
+ #: ../pages/page-options-settings.php:157
436
  msgid "Facebook URL"
437
  msgstr ""
438
 
439
+ #: ../pages/page-options-settings.php:167
440
  msgid "Google Plus URL"
441
  msgstr ""
442
 
443
+ #: ../pages/page-options-settings.php:177
444
  msgid "Twitter URL"
445
  msgstr ""
446
 
447
+ #: ../pages/page-options-settings.php:191
448
  msgid "SEO"
449
  msgstr ""
450
 
451
+ #: ../pages/page-options-settings.php:195
452
  msgid "Author URL"
453
  msgstr ""
454
 
455
+ #: ../pages/page-options-settings.php:200
456
  msgid "Google+ or other identifying URL"
457
  msgstr ""
458
 
459
+ #: ../pages/page-options-settings.php:206
460
  msgid "Meta Description"
461
  msgstr ""
462
 
463
+ #: ../pages/page-options-settings.php:216
464
  msgid "Meta Keywords"
465
  msgstr ""
466
 
467
+ #: ../pages/page-options-settings.php:221
468
  msgid "Comma separated list"
469
  msgstr ""
470
 
471
+ #: ../pages/page-options-settings.php:227
472
  msgid "Analytics Code"
473
  msgstr ""
474
 
475
+ #: ../pages/page-options-settings.php:232
476
  msgid "Analytics tracking code"
477
  msgstr ""
478
 
479
+ #: ../pages/page-options-settings.php:232
480
  msgid "include"
481
  msgstr ""
482
 
483
  #: ../pages/page-options-settings.php:242
484
+ msgid "Filters"
485
+ msgstr ""
486
+
487
+ #: ../pages/page-options-settings.php:246
488
+ msgid "Unfiltered URLs"
489
+ msgstr ""
490
+
491
+ #: ../pages/page-options-settings.php:251
492
+ msgid ""
493
+ "Each line should contain a relative URL you don't want the page shown on (e."
494
+ "g. for http://mysite.com/mypage enter /mypage)"
495
+ msgstr ""
496
+
497
+ #: ../pages/page-options-settings.php:262
498
+ #: ../pages/page-options-subscribers.php:191 ../pages/page-options.php:74
499
  msgid "Plugin FAQ"
500
  msgstr ""
501
 
502
+ #: ../pages/page-options-settings.php:264
503
+ #: ../pages/page-options-subscribers.php:193 ../pages/page-options.php:76
504
  msgid "Contact"
505
  msgstr ""
506
 
507
+ #: ../pages/page-options-settings.php:266
508
+ #: ../pages/page-options-subscribers.php:195 ../pages/page-options.php:78
509
+ msgid "Rate Plugin"
510
+ msgstr ""
511
+
512
+ #: ../pages/page-options-settings.php:268
513
+ #: ../pages/page-options-subscribers.php:197 ../pages/page-options.php:80
514
  msgid "Donate"
515
  msgstr ""
516
 
552
  msgid "CSV Export All"
553
  msgstr ""
554
 
555
+ #: ../pages/page-options-subscribers.php:183
556
+ msgid "Create an email list from subscribers"
557
+ msgstr ""
558
+
559
+ #: ../pages/page-options-subscribers.php:188
560
  msgid "Delete User?"
561
  msgstr ""
562
 
563
+ #: ../pages/page-options.php:52
564
  msgid "Display"
565
  msgstr ""
566
 
567
+ #: ../pages/page-options.php:53
568
  msgid "Content"
569
  msgstr ""
mini-themes/base-responsive/css/style.css CHANGED
@@ -99,19 +99,19 @@ input::-webkit-input-placeholder{
99
 
100
  /* Backgrounds */
101
 
102
- .br-red{
103
  background:#f75353;
104
  }
105
 
106
- .br-green{
107
  background:#51d466;
108
  }
109
 
110
- .br-lblue{
111
  background:#32c8de;
112
  }
113
 
114
- .br-blue{
115
  background:#609cee;
116
  }
117
 
@@ -123,7 +123,7 @@ input::-webkit-input-placeholder{
123
  background:#eb76cb;
124
  }
125
 
126
- .br-orange{
127
  background:#f7a253;
128
  }
129
 
@@ -169,14 +169,14 @@ header p{
169
 
170
  /* Header Complete */
171
 
172
- /*-- Clock --*/
173
 
174
- #clock{
175
  margin-bottom:40px;
176
  text-align:center;
177
  }
178
 
179
- #clock div{
180
  display:inline-block;
181
  font-size:40px;
182
  height:120px;
@@ -187,14 +187,21 @@ header p{
187
  outline:5px solid rgba(0,0,0,0.2);
188
  }
189
 
190
- #clock div span{
 
 
 
 
 
 
 
191
  display:block;
192
  margin-top:15px;
193
  font-size:20px;
194
 
195
  }
196
 
197
- /*-- End Clock --*/
198
 
199
  /*-- Content Area --*/
200
 
@@ -289,17 +296,18 @@ header p{
289
  /* Responsive CSS */
290
 
291
  /* Mobile phones */
292
- @media (max-width: 480px){
293
 
294
- #clock div{
295
  font-size:20px !important;
296
- height:60px !important;
297
- width:60px !important;
298
- padding-top:8px !important;
 
299
 
300
  }
301
 
302
- #clock div span{
303
  margin-top:0px !important;
304
  font-size:14px !important;
305
 
@@ -308,8 +316,8 @@ header p{
308
  }
309
 
310
  /* Tablets */
311
- @media (max-width: 767px){
312
- #clock div{
313
  font-size:25px;
314
  height:80px;
315
  width:80px;
@@ -318,7 +326,7 @@ header p{
318
  margin-right:3px;
319
  }
320
 
321
- #clock div span{
322
  margin-top:8px;
323
  font-size:15px;
324
 
@@ -327,6 +335,6 @@ header p{
327
  }
328
 
329
  /* Desktop */
330
- @media (max-width: 991px){
331
 
332
- }
99
 
100
  /* Backgrounds */
101
 
102
+ .br-red, #countdown-hours {
103
  background:#f75353;
104
  }
105
 
106
+ .br-green, #countdown-days {
107
  background:#51d466;
108
  }
109
 
110
+ .br-lblue, #countdown-minutes {
111
  background:#32c8de;
112
  }
113
 
114
+ .br-blue {
115
  background:#609cee;
116
  }
117
 
123
  background:#eb76cb;
124
  }
125
 
126
+ .br-orange, #countdown-seconds {
127
  background:#f7a253;
128
  }
129
 
169
 
170
  /* Header Complete */
171
 
172
+ /*-- Countdown --*/
173
 
174
+ #countdown{
175
  margin-bottom:40px;
176
  text-align:center;
177
  }
178
 
179
+ #countdown div{
180
  display:inline-block;
181
  font-size:40px;
182
  height:120px;
187
  outline:5px solid rgba(0,0,0,0.2);
188
  }
189
 
190
+ /* Fix for FireFox - it doesn't like the outline */
191
+ @-moz-document url-prefix() {
192
+ #countdown div {
193
+ outline: 0px;
194
+ }
195
+ }
196
+
197
+ #countdown div span{
198
  display:block;
199
  margin-top:15px;
200
  font-size:20px;
201
 
202
  }
203
 
204
+ /*-- End Countdown --*/
205
 
206
  /*-- Content Area --*/
207
 
296
  /* Responsive CSS */
297
 
298
  /* Mobile phones */
299
+ @media (max-width: 540px){
300
 
301
+ #countdown div{
302
  font-size:20px !important;
303
+ height:65px !important;
304
+ width:65px !important;
305
+ padding-top:8px !important;
306
+ margin-bottom:8px !important;
307
 
308
  }
309
 
310
+ #countdown div span{
311
  margin-top:0px !important;
312
  font-size:14px !important;
313
 
316
  }
317
 
318
  /* Tablets */
319
+ @media (max-width: 1000px){
320
+ #countdown div{
321
  font-size:25px;
322
  height:80px;
323
  width:80px;
326
  margin-right:3px;
327
  }
328
 
329
+ #countdown div span{
330
  margin-top:8px;
331
  font-size:15px;
332
 
335
  }
336
 
337
  /* Desktop */
338
+ /*@media (max-width: 991px){
339
 
340
+ }*/
mini-themes/base-responsive/index.php CHANGED
@@ -1,54 +1,49 @@
1
  <?php
 
2
 
 
3
 
4
- $global = EZP_CS_Global_Entity::get_instance();
5
 
6
- $set_index = $global->active_set_index;
7
 
8
- $set = EZP_CS_Set_Entity::get_by_id($set_index);
9
 
10
- $display = EZP_CS_Display_Entity::get_by_id($set->display_index);
11
-
12
- $content = EZP_CS_Content_Entity::get_by_id($set->content_index);
13
-
14
- $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
15
-
16
- $error_display = 'none';
17
- $error_text = '';
18
-
19
- $js_thank_you = "var thankYouDisplayed=false;";
20
- if ($_SERVER['REQUEST_METHOD'] === 'POST') {
21
-
22
- $subscriber = new EZP_CS_Subscriber_Entity();
23
-
24
- $error_text = EZP_CS_Query_Utility::add_new_subscriber($_POST['name'], $_POST['email']);
25
-
26
- if($error_text == null) {
27
- $js_thank_you = "var thankYouDisplayed=true;";
28
- $initial_section_display = 'none';
29
- $thank_you_section_display = 'block';
30
- } else {
31
-
32
- $error_display = 'block';
33
- $initial_section_display = 'block';
34
- $thank_you_section_display = 'none';
35
- }
36
-
37
  } else {
38
-
 
39
  $initial_section_display = 'block';
40
- $thank_you_section_display = 'none';
41
  }
42
-
 
 
 
 
43
  ?>
44
  <!DOCTYPE html>
45
  <html>
46
  <head>
47
  <!-- Title here -->
48
  <title><?php echo $content->title; ?></title>
49
-
50
  <?php
51
-
52
  echo "
53
 
54
  <meta name='description' content='$config->meta_description'>
@@ -56,45 +51,43 @@
56
  <meta name='keywords' content='$config->meta_keywords'>
57
 
58
  <link rel='author' href='$config->author_url' />"
59
-
60
  ?>
61
 
62
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
63
 
64
  <!--Fonts-->
65
  <!-- SEtting: {font-link-list} - list of all fonts referenced in the template -->
66
- <!-- <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>-->
67
 
68
  <!-- Styles -->
69
 
70
  <!-- Bootstrap CSS -->
71
- <!-- <link href="<?php //echo $page_url . '/css/bootstrap.min.css' ?>" rel="stylesheet">-->
72
  <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
73
-
74
  <!-- Font awesome CSS -->
75
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
76
-
77
  <!-- Custom CSS -->
78
  <link href="<?php echo $page_url . '/css/style.css?' . EZP_CS_Constants::PLUGIN_VERSION ?>" rel="stylesheet">
79
 
80
  <style type="text/css">
81
- <?php
82
-
83
- list($bgr, $bgg, $bgb) = sscanf($display->content_box_color, "#%02x%02x%02x");
84
-
85
- $background_color = "background-color: $display->background_color;";
86
-
87
- if(trim($display->background_image_url) != '') {
88
-
89
- $background_color = "";
90
- }
91
-
92
- if($display->background_tiling_enabled == 'true') {
93
-
94
- $background_size_styles = "body { background-image: url('$display->background_image_url'); $background_color }";
95
- } else {
96
-
97
- $background_size_styles = "{ margin: 0; padding: 0; }
98
  body {
99
  background: url('$display->background_image_url') no-repeat center center fixed;
100
  $background_color
@@ -102,33 +95,41 @@
102
  -moz-background-size: cover;
103
  -o-background-size: cover;
104
  background-size: cover;
105
- }";
106
- }
107
-
108
- $email_display = EZP_CS_Render_Utility::get_display($config->collect_email, "block");
109
- $name_display = EZP_CS_Render_Utility::get_display($config->collect_name, "inline-block");
110
-
111
- $logo_display = EZP_CS_Render_Utility::get_display($content->logo_url, "inline");
112
-
113
- $background_image_url = $display->builtin_background_image == "" ? $display->background_image_url : EZP_CS_Utility::$PLUGIN_URL . "/images/backgrounds/" . $display->builtin_background_image;
114
-
115
- if(trim($display->logo_width) == "") {
116
-
117
- $logo_width_adjustment = "";
118
- } else {
119
-
120
- $logo_width_adjustment = "width: $display->logo_width;";
121
- }
122
-
123
- if(trim($display->logo_height) == "") {
124
-
125
- $logo_height_adjustment = "";
126
- } else {
127
-
128
- $logo_height_adjustment = "height: $display->logo_height;";
129
- }
130
-
131
- echo "
 
 
 
 
 
 
 
 
132
 
133
  $background_size_styles
134
  #content-area { background:rgba($bgr, $bgg, $bgb, $display->content_box_opacity); }
@@ -149,17 +150,21 @@
149
  #initial-section { display:$initial_section_display; }
150
  #thank-you-section { display: $thank_you_section_display; }
151
  #error-block { display: $error_display; color:red; margin-top:5px; }
 
152
 
153
 
154
  /* Custom CSS */
155
  $display->css
156
- ";?>
 
157
  </style>
158
-
159
  <script type="text/javascript">
160
- <?php echo $js_thank_you; ?>
 
 
161
  </script>
162
-
163
  <!-- Analytics Code -->
164
  <?php echo $config->analytics_code; ?>
165
  </head>
@@ -180,26 +185,32 @@
180
  <h1 id="headline"><?php echo $content->headline ?></h1>
181
 
182
  <!-- Setting: {{description}} -->
183
- <p id="description"><?php echo $content->description;?></p>
184
 
185
  <p id="custom-html" style="display:"><!--Setting: {{custom-html}} --></p>
186
  </header>
187
 
 
 
188
  <form id="email-collection-box" name="email-collection-box" class="form-inline" role="form" action="index.php" method="post">
189
 
190
  <!-- Setting: {{name-collection-on}}-->
191
  <div id="name-form-group" class="form-group">
192
- <label class="sr-only" for="name"><?php EZP_CS_Utility::_e("Name");?></label>
193
  <!-- Setting: {{name-placeholder}}-->
194
  <input id="name-input" name="name" type="text" class="form-control" placeholder="<?php echo $content->name_placeholder_text; ?>"/>
195
  </div>
196
  <div id="email-form-group" class="form-group">
197
- <label class="sr-only" for="email"><?php EZP_CS_Utility::_e("Email");?></label>
198
  <input id="email-input" name="email" type="email" class="form-control" placeholder="<?php echo $content->email_placeholder_text; ?>"/>
199
  </div>
200
 
201
- <button id="email-submit-button" form="email-collection-box" type="submit" class="btn btn-danger"><?php echo $content->email_button_text;?></button>
202
- <div id="error-block"><?php if($error_text != null) { echo $error_text;}?></div>
 
 
 
 
203
  <p id="disclaimer"><?php echo $content->disclaimer; ?></p>
204
  </form>
205
  </div>
@@ -217,10 +228,6 @@
217
 
218
  </div>
219
 
220
-
221
- <!-- Countdown Starts -->
222
- <!-- <div id="clock"></div>-->
223
-
224
  <!-- Social Networks -->
225
  <div id="social" class="text-center">
226
  <a target="_blank" href="<?php echo $config->facebook_url ?>" class="br-blue" style="display:<?php echo EZP_CS_Render_Utility::get_display($config->facebook_url, "inline-block"); ?>"><i class="fa fa-facebook"></i></a>
@@ -230,10 +237,7 @@
230
 
231
 
232
  <!-- Footer -->
233
- <!-- Setting {{footer-display}}
234
  <footer class="text-center">
235
- <!-- Setting {{footer-text}}-->
236
- <!--<p id="footer">&copy; Copyright 2013 Company Name.</p> -->
237
  <p id="footer"><?php echo $content->footer; ?> </p>
238
  </footer>
239
 
@@ -245,15 +249,15 @@
245
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
246
  <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
247
  <!-- Countdown Plugin-->
248
- <!-- <script src="<?php //echo $page_url .'/js/jquery.countdown.min.js'?>"></script>-->
249
  <!-- Slider backgrounds -->
250
  <!--<script src="js/jquery.vegas.min.js"></script>-->
251
  <!-- Respond JS for IE8 -->
252
- <script src="<?php echo $page_url .'/js/respond.min.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
253
  <!-- HTML5 Support for IE -->
254
- <script src="<?php echo $page_url . '/js/html5shiv.js?' . EZP_CS_Constants::PLUGIN_VERSION?>"></script>
255
  <!-- Custom JS -->
256
  <script src="<?php echo $page_url . '/js/custom.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
257
 
258
  </body>
259
- </html>
1
  <?php
2
+ $global = EZP_CS_Global_Entity::get_instance();
3
 
4
+ $set_index = $global->active_set_index;
5
 
6
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
7
 
8
+ $display = EZP_CS_Display_Entity::get_by_id($set->display_index);
9
 
10
+ $content = EZP_CS_Content_Entity::get_by_id($set->content_index);
11
 
12
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
13
+
14
+ $error_display = 'none';
15
+ $error_text = '';
16
+
17
+ $js_thank_you = "var thankYouDisplayed=false;";
18
+ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
19
+
20
+ $subscriber = new EZP_CS_Subscriber_Entity();
21
+
22
+ $error_text = EZP_CS_Query_Utility::add_new_subscriber($_POST['name'], $_POST['email']);
23
+
24
+ if ($error_text == null) {
25
+ $js_thank_you = "var thankYouDisplayed=true;";
26
+ $initial_section_display = 'none';
27
+ $thank_you_section_display = 'block';
 
 
 
 
 
 
 
 
 
 
 
28
  } else {
29
+
30
+ $error_display = 'block';
31
  $initial_section_display = 'block';
32
+ $thank_you_section_display = 'none';
33
  }
34
+ } else {
35
+
36
+ $initial_section_display = 'block';
37
+ $thank_you_section_display = 'none';
38
+ }
39
  ?>
40
  <!DOCTYPE html>
41
  <html>
42
  <head>
43
  <!-- Title here -->
44
  <title><?php echo $content->title; ?></title>
45
+
46
  <?php
 
47
  echo "
48
 
49
  <meta name='description' content='$config->meta_description'>
51
  <meta name='keywords' content='$config->meta_keywords'>
52
 
53
  <link rel='author' href='$config->author_url' />"
 
54
  ?>
55
 
56
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
57
 
58
  <!--Fonts-->
59
  <!-- SEtting: {font-link-list} - list of all fonts referenced in the template -->
60
+ <!-- <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>-->
61
 
62
  <!-- Styles -->
63
 
64
  <!-- Bootstrap CSS -->
65
+ <!-- <link href="<?php //echo $page_url . '/css/bootstrap.min.css' ?>" rel="stylesheet">-->
66
  <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
67
+
68
  <!-- Font awesome CSS -->
69
  <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
70
+
71
  <!-- Custom CSS -->
72
  <link href="<?php echo $page_url . '/css/style.css?' . EZP_CS_Constants::PLUGIN_VERSION ?>" rel="stylesheet">
73
 
74
  <style type="text/css">
75
+ <?php
76
+ list($bgr, $bgg, $bgb) = sscanf($display->content_box_color, "#%02x%02x%02x");
77
+
78
+ $background_color = "background-color: $display->background_color;";
79
+
80
+ if (trim($display->background_image_url) != '') {
81
+
82
+ $background_color = "";
83
+ }
84
+
85
+ if ($display->background_tiling_enabled == 'true') {
86
+
87
+ $background_size_styles = "body { background-image: url('$display->background_image_url'); $background_color }";
88
+ } else {
89
+
90
+ $background_size_styles = "{ margin: 0; padding: 0; }
 
91
  body {
92
  background: url('$display->background_image_url') no-repeat center center fixed;
93
  $background_color
95
  -moz-background-size: cover;
96
  -o-background-size: cover;
97
  background-size: cover;
98
+ }";
99
+ }
100
+
101
+ $email_display = EZP_CS_Render_Utility::get_display($config->collect_email, "block");
102
+ $name_display = EZP_CS_Render_Utility::get_display($config->collect_name, "inline-block");
103
+
104
+ $logo_display = EZP_CS_Render_Utility::get_display($content->logo_url, "inline");
105
+
106
+ $background_image_url = $display->builtin_background_image == "" ? $display->background_image_url : EZP_CS_Utility::$PLUGIN_URL . "/images/backgrounds/" . $display->builtin_background_image;
107
+
108
+ if (trim($display->logo_width) == "") {
109
+
110
+ $logo_width_adjustment = "";
111
+ } else {
112
+
113
+ $logo_width_adjustment = "width: $display->logo_width;";
114
+ }
115
+
116
+ if (trim($display->logo_height) == "") {
117
+
118
+ $logo_height_adjustment = "";
119
+ } else {
120
+
121
+ $logo_height_adjustment = "height: $display->logo_height;";
122
+ }
123
+
124
+ if(trim($content->countdown_due_date) == "") {
125
+
126
+ $countdown_display = "none";
127
+ } else {
128
+
129
+ $countdown_display = "block";
130
+ }
131
+
132
+ echo "
133
 
134
  $background_size_styles
135
  #content-area { background:rgba($bgr, $bgg, $bgb, $display->content_box_opacity); }
150
  #initial-section { display:$initial_section_display; }
151
  #thank-you-section { display: $thank_you_section_display; }
152
  #error-block { display: $error_display; color:red; margin-top:5px; }
153
+ #countdown { display: $countdown_display; }
154
 
155
 
156
  /* Custom CSS */
157
  $display->css
158
+ ";
159
+ ?>
160
  </style>
161
+
162
  <script type="text/javascript">
163
+ <?php echo $js_thank_you; ?>
164
+ //RSR TODO: Set up variable for clock
165
+ clockEndDate = "<?php echo $content->countdown_due_date; ?>"
166
  </script>
167
+
168
  <!-- Analytics Code -->
169
  <?php echo $config->analytics_code; ?>
170
  </head>
185
  <h1 id="headline"><?php echo $content->headline ?></h1>
186
 
187
  <!-- Setting: {{description}} -->
188
+ <p id="description"><?php echo $content->description; ?></p>
189
 
190
  <p id="custom-html" style="display:"><!--Setting: {{custom-html}} --></p>
191
  </header>
192
 
193
+ <div id="countdown"></div>
194
+
195
  <form id="email-collection-box" name="email-collection-box" class="form-inline" role="form" action="index.php" method="post">
196
 
197
  <!-- Setting: {{name-collection-on}}-->
198
  <div id="name-form-group" class="form-group">
199
+ <label class="sr-only" for="name"><?php EZP_CS_Utility::_e("Name"); ?></label>
200
  <!-- Setting: {{name-placeholder}}-->
201
  <input id="name-input" name="name" type="text" class="form-control" placeholder="<?php echo $content->name_placeholder_text; ?>"/>
202
  </div>
203
  <div id="email-form-group" class="form-group">
204
+ <label class="sr-only" for="email"><?php EZP_CS_Utility::_e("Email"); ?></label>
205
  <input id="email-input" name="email" type="email" class="form-control" placeholder="<?php echo $content->email_placeholder_text; ?>"/>
206
  </div>
207
 
208
+ <button id="email-submit-button" form="email-collection-box" type="submit" class="btn btn-danger"><?php echo $content->email_button_text; ?></button>
209
+ <div id="error-block"><?php
210
+ if ($error_text != null) {
211
+ echo $error_text;
212
+ }
213
+ ?></div>
214
  <p id="disclaimer"><?php echo $content->disclaimer; ?></p>
215
  </form>
216
  </div>
228
 
229
  </div>
230
 
 
 
 
 
231
  <!-- Social Networks -->
232
  <div id="social" class="text-center">
233
  <a target="_blank" href="<?php echo $config->facebook_url ?>" class="br-blue" style="display:<?php echo EZP_CS_Render_Utility::get_display($config->facebook_url, "inline-block"); ?>"><i class="fa fa-facebook"></i></a>
237
 
238
 
239
  <!-- Footer -->
 
240
  <footer class="text-center">
 
 
241
  <p id="footer"><?php echo $content->footer; ?> </p>
242
  </footer>
243
 
249
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
250
  <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
251
  <!-- Countdown Plugin-->
252
+ <script src="<?php echo $page_url . '/js/jquery.countdown.min.js' ?>"></script>
253
  <!-- Slider backgrounds -->
254
  <!--<script src="js/jquery.vegas.min.js"></script>-->
255
  <!-- Respond JS for IE8 -->
256
+ <script src="<?php echo $page_url . '/js/respond.min.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
257
  <!-- HTML5 Support for IE -->
258
+ <script src="<?php echo $page_url . '/js/html5shiv.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
259
  <!-- Custom JS -->
260
  <script src="<?php echo $page_url . '/js/custom.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
261
 
262
  </body>
263
+ </html>
mini-themes/base-responsive/js/custom.js CHANGED
@@ -1,13 +1,14 @@
1
- /* Count Down Timer */
2
 
3
- //$('#clock').countdown('2017/10/10', function(event) {
4
- // var $this = $(this).html(event.strftime(''
5
- // + '<div class="br-red">%Y <span>Years</span></div> '
6
- // + '<div class="br-blue">%d <span>Days</span></div> '
7
- // + '<div class="br-green">%H <span>Hrs</span></div> '
8
- // + '<div class="br-orange">%M <span>Min</span></div> '
9
- // + '<div class="br-lblue">%S <span>Sec</span></div> '));
10
- // });
 
11
 
12
  /* Slider Backgrounds */
13
 
1
+ /* Countdown Timer */
2
 
3
+ $('#countdown').countdown(clockEndDate, function(event) {
4
+
5
+ var $this = $(this).html(event.strftime(''
6
+
7
+ + '<div id="countdown-days" >%D <span>Days</span></div> '
8
+ + '<div id="countdown-hours" >%H <span>Hrs</span></div> '
9
+ + '<div id="countdown-minutes" >%M <span>Min</span></div> '
10
+ + '<div id="countdown-seconds" >%S <span>Sec</span></div> '));
11
+ });
12
 
13
  /* Slider Backgrounds */
14
 
pages/page-options-content-tab.php CHANGED
@@ -39,7 +39,8 @@ if (isset($_POST['action']) && $_POST['action'] == 'save') {
39
 
40
  check_admin_referer('easy-pie-coming-soon-save-content');
41
 
42
- // Artificially set the bools since they aren't part of the postback
 
43
  $error_string = $content->set_post_variables($_POST);
44
 
45
  if ($error_string == "") {
@@ -48,6 +49,9 @@ if (isset($_POST['action']) && $_POST['action'] == 'save') {
48
  }
49
  }
50
  ?>
 
 
 
51
 
52
  <?php wp_nonce_field('easy-pie-coming-soon-save-content'); ?>
53
  <input type="hidden" name="action" value="save"/>
@@ -215,4 +219,24 @@ if ($error_string != "") :
215
  </tr>
216
  </table>
217
  <div style="margin-top:17px"><span class="description"><?php echo '*' . EZP_CS_Utility::__('Section relevant only if email collection is enabled in') . ' <a href="' . admin_url() . 'admin.php?page=' . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . '">' . self::__('settings') . '</a>'; ?></span></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  </div></div>
39
 
40
  check_admin_referer('easy-pie-coming-soon-save-content');
41
 
42
+ // Artificially set the bools since they aren't part of the postback
43
+ // TODO
44
  $error_string = $content->set_post_variables($_POST);
45
 
46
  if ($error_string == "") {
49
  }
50
  }
51
  ?>
52
+ <script type="text/javascript">
53
+ ezp_cs_datepicker_date_format = "<?php echo EZP_CS_Render_Utility::get_datepicker_date_format(); ?>";
54
+ </script>
55
 
56
  <?php wp_nonce_field('easy-pie-coming-soon-save-content'); ?>
57
  <input type="hidden" name="action" value="save"/>
219
  </tr>
220
  </table>
221
  <div style="margin-top:17px"><span class="description"><?php echo '*' . EZP_CS_Utility::__('Section relevant only if email collection is enabled in') . ' <a href="' . admin_url() . 'admin.php?page=' . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . '">' . self::__('settings') . '</a>'; ?></span></div>
222
+ </div></div>
223
+
224
+ <div class="postbox" >
225
+ <div class="inside" >
226
+ <h3 ><?php EZP_CS_Utility::_e("Countdown") ?></h3>
227
+ <table class="form-table">
228
+ <tr>
229
+ <th scope="row">
230
+ <?php echo EZP_CS_Utility::_e("Due Date") ?>
231
+ </th>
232
+ <td>
233
+ <div class="compound-setting">
234
+ <input style="width:90px;" id="ezp-countdown-due-date" class="long-input" name="countdown_due_date" type="text" value="<?php EZP_CS_Utility::_he($content->countdown_due_date); ?>" />
235
+ <div><span class="description"><?php EZP_CS_Utility::_e('Countdown timer will display when populated'); ?></span></div>
236
+ </div>
237
+ </td>
238
+ </tr>
239
+
240
+
241
+ </table>
242
  </div></div>
pages/page-options-settings.php CHANGED
@@ -234,7 +234,26 @@
234
  </tr>
235
  </table>
236
  </div>
237
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
 
239
  <?php
240
  submit_button();
@@ -243,6 +262,8 @@
243
  |
244
  <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
245
  |
 
 
246
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
247
  </form>
248
  </div>
234
  </tr>
235
  </table>
236
  </div>
237
+ </div>
238
+
239
+ <div class="postbox" >
240
+ <div class="inside" >
241
+ <h3><?php EZP_CS_Utility::_e("Filters") ?></h3>
242
+ <table class="form-table">
243
+ <tr>
244
+ <th scope="row">
245
+ <?php echo EZP_CS_Utility::_e("Unfiltered URLs") ?>
246
+ </th>
247
+ <td>
248
+ <div class="compound-setting">
249
+ <textarea rows="5" cols="60" name="unfiltered_urls" type="text" ><?php echo $config->unfiltered_urls; ?></textarea>
250
+ <div><span class="description"><?php EZP_CS_Utility::_e('Each line should contain a relative URL you don\'t want the page shown on (e.g. for http://mysite.com/mypage enter /mypage)'); ?></span></div>
251
+ </div>
252
+ </td>
253
+ </tr>
254
+ </table>
255
+ </div>
256
+ </div>
257
 
258
  <?php
259
  submit_button();
262
  |
263
  <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
264
  |
265
+ <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
266
+ |
267
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
268
  </form>
269
  </div>
pages/page-options-subscribers.php CHANGED
@@ -86,9 +86,9 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
86
  <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Subscribers') ?></h2>
87
 
88
  <?php
89
- EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
90
  ?>
91
-
92
  <div id="easypie-cs-options" class="inside">
93
 
94
  <?php
@@ -179,7 +179,9 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
179
  </div>
180
 
181
 
182
-
 
 
183
  </div>
184
  </div>
185
  </div>
@@ -187,7 +189,9 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
187
  <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><span id='easy-pie-cs-delete-confirm-text'></span></p>
188
  </div>
189
  <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
190
- |
191
  <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
192
  |
 
 
193
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
86
  <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Subscribers') ?></h2>
87
 
88
  <?php
89
+ EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
90
  ?>
91
+
92
  <div id="easypie-cs-options" class="inside">
93
 
94
  <?php
179
  </div>
180
 
181
 
182
+ <div style="text-align:center; margin-top:20px;">
183
+ <a href='http://easypiewp.com/creating-mailing-list-coming-soon-page-subscribers/' target="_blank"><?php EZP_CS_Utility::_e('Create an email list from subscribers');?></a>
184
+ </div>
185
  </div>
186
  </div>
187
  </div>
189
  <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><span id='easy-pie-cs-delete-confirm-text'></span></p>
190
  </div>
191
  <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
192
+ |
193
  <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
194
  |
195
+ <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
196
+ |
197
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
pages/page-options.php CHANGED
@@ -21,17 +21,17 @@
21
  */
22
  ?>
23
  <?php
24
- if( isset( $_GET[ 'tab' ] ) ) {
25
-
26
- $active_tab = $_GET[ 'tab' ];
27
- } else {
28
-
29
- $active_tab = 'display';
30
- }
31
  ?>
32
 
33
  <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-options-$active_tab-tab.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
34
-
35
  <style lang="text/css">
36
  .compound-setting { line-height:20px;}
37
  .narrow-input { width:66px;}
@@ -46,41 +46,39 @@
46
  if (isset($_GET['settings-updated'])) {
47
  echo "<div class='updated'><p>" . EZP_CS_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
48
  }
49
-
50
  ?>
51
  <div id="easypie-cs-options" class="inside">
52
  <h2 class="nav-tab-wrapper">
53
- <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=display' ?>" class="nav-tab <?php echo $active_tab == 'display' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Display');?></a>
54
- <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=content' ?>" class="nav-tab <?php echo $active_tab == 'content' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Content');?></a>
55
  </h2>
56
- <form id="easy-pie-cs-main-form" method="post" action="<?php echo admin_url( 'admin.php?page=' . EZP_CS_Constants::PLUGIN_SLUG . '&tab=' . $active_tab ); ?>" >
57
  <?php
58
- // settings_fields(EZP_CS_Constants::MAIN_PAGE_KEY);
59
  //do_settings_sections(EZP_CS_Constants::MAIN_PAGE_KEY);
60
  ?>
61
  <div id='tab-holder'>
62
  <?php
63
- if($active_tab == 'display') {
64
  include 'page-options-display-tab.php';
65
- }
66
- else {
67
  include 'page-options-content-tab.php';
68
  }
69
-
70
  ?>
71
  </div>
72
-
73
- <?php
74
- submit_button();
75
- ?>
76
-
77
- <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ');?></a>
78
- |
79
- <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob';?></a>
80
- |
81
- <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
 
 
82
  </form>
83
  </div>
84
  </div>
85
-
86
-
21
  */
22
  ?>
23
  <?php
24
+ if (isset($_GET['tab'])) {
25
+
26
+ $active_tab = $_GET['tab'];
27
+ } else {
28
+
29
+ $active_tab = 'display';
30
+ }
31
  ?>
32
 
33
  <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-options-$active_tab-tab.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
34
+
35
  <style lang="text/css">
36
  .compound-setting { line-height:20px;}
37
  .narrow-input { width:66px;}
46
  if (isset($_GET['settings-updated'])) {
47
  echo "<div class='updated'><p>" . EZP_CS_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
48
  }
 
49
  ?>
50
  <div id="easypie-cs-options" class="inside">
51
  <h2 class="nav-tab-wrapper">
52
+ <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=display' ?>" class="nav-tab <?php echo $active_tab == 'display' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Display'); ?></a>
53
+ <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=content' ?>" class="nav-tab <?php echo $active_tab == 'content' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Content'); ?></a>
54
  </h2>
55
+ <form id="easy-pie-cs-main-form" method="post" action="<?php echo admin_url('admin.php?page=' . EZP_CS_Constants::PLUGIN_SLUG . '&tab=' . $active_tab); ?>" >
56
  <?php
57
+ // settings_fields(EZP_CS_Constants::MAIN_PAGE_KEY);
58
  //do_settings_sections(EZP_CS_Constants::MAIN_PAGE_KEY);
59
  ?>
60
  <div id='tab-holder'>
61
  <?php
62
+ if ($active_tab == 'display') {
63
  include 'page-options-display-tab.php';
64
+ } else {
 
65
  include 'page-options-content-tab.php';
66
  }
 
67
  ?>
68
  </div>
69
+
70
+ <?php
71
+ submit_button();
72
+ ?>
73
+
74
+ <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
75
+ |
76
+ <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
77
+ |
78
+ <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
79
+ |
80
+ <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
81
  </form>
82
  </div>
83
  </div>
84
+
 
pages/page-preview.php CHANGED
@@ -34,4 +34,4 @@ $global = EZP_CS_Global_Entity::get_instance();
34
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
35
  EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
36
  ?>
37
- <iframe style="margin-top:20px; margin-left: 15px; width:80%; height: 600px" src="<?php echo $page_url; ?>"/>
34
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
35
  EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
36
  ?>
37
+ <iframe style="margin-top:20px; margin-left: 15px; max-width:1200px; width:94%; height: 675px" src="<?php echo $page_url; ?>"/>
readme.txt CHANGED
@@ -3,36 +3,44 @@ Contributors: bobriley
3
  Donate link: http://easypiewp.com/donate/
4
  Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, offline, unavailable, under construction, underconstruction, wordpress coming soon, wordpress maintenance mode, wordpress under construction
5
  Requires at least: 3.5
6
- Tested up to: 3.9
7
- Stable tag: 0.5.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Coming Soon Page lets visitors know that your website is 'Coming Soon' while it collect emails!
12
 
13
  == Description ==
 
14
  Let your visitors know your site is Coming Soon while gathering their contact information.
15
 
16
  ### Basic Features
17
  * Professional look
18
  * Highly customizable
19
- * Collects Names and Emails
20
  * Fully Responsive
 
21
  * No HTML required
22
  * CSS customizable but not required
23
- * Use built in backgrounds or your own
24
  * Add your own logo
25
  * Preview from Admin panel
26
  * Subscriber list shows name and emails of visitors
 
27
  * Easily translatable
28
  * Facebook Support
29
  * Google+ Support
30
  * Twitter Support
31
-
 
32
 
33
  ### Advanced Features
34
  * Export email addresses gathered by Coming Soon Page to CSV for compatibility with **MailChimp**, **AWeber** and other major email providers.
35
 
 
 
 
 
 
36
  == Installation ==
37
 
38
  = Using The WordPress Dashboard =
@@ -71,6 +79,11 @@ For the FAQ on the Coming Soon Page please visit the [Easy Pie Website](http://e
71
 
72
  == Changelog ==
73
 
 
 
 
 
 
74
  = 0.5.2 =
75
  * Bugfix: Title of page can now be set.
76
  * Logo can now be set to take on native dimensions - no need to specify width/height if you don't want to.
@@ -86,6 +99,9 @@ For the FAQ on the Coming Soon Page please visit the [Easy Pie Website](http://e
86
 
87
  == Upgrade Notice ==
88
 
 
 
 
89
  = 0.5.2 =
90
  * Now you can change the title of your coming soon page. Also includes several usability improvements.
91
 
3
  Donate link: http://easypiewp.com/donate/
4
  Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, offline, unavailable, under construction, underconstruction, wordpress coming soon, wordpress maintenance mode, wordpress under construction
5
  Requires at least: 3.5
6
+ Tested up to: 3.9.1
7
+ Stable tag: 0.5.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Coming Soon Page lets visitors know that your website is 'Coming Soon' while it collects emails for you!
12
 
13
  == Description ==
14
+
15
  Let your visitors know your site is Coming Soon while gathering their contact information.
16
 
17
  ### Basic Features
18
  * Professional look
19
  * Highly customizable
 
20
  * Fully Responsive
21
+ * Optional countdown timer
22
  * No HTML required
23
  * CSS customizable but not required
24
+ * Use built in backgrounds or your own to give Coming Soon Page a great look
25
  * Add your own logo
26
  * Preview from Admin panel
27
  * Subscriber list shows name and emails of visitors
28
+ * Simple indicator easily lets you know when Coming Soon mode is on
29
  * Easily translatable
30
  * Facebook Support
31
  * Google+ Support
32
  * Twitter Support
33
+ * Choose either a 503 or 200 HTTP status when in Coming Soon mode
34
+ * Selectively disable Coming Soon Page on certain URLs
35
 
36
  ### Advanced Features
37
  * Export email addresses gathered by Coming Soon Page to CSV for compatibility with **MailChimp**, **AWeber** and other major email providers.
38
 
39
+ ### Overview
40
+ Coming Soon Page is a great way to let visitors know your site is Coming Soon. When Coming Soon Page is displayed it collects valuable emails from potential customers in a friendly and professional way. Coming Soon Page is also theme independent, having been confirmed to work well with top WordPress themes.
41
+
42
+ Finally, your visitors won't be just shown your web host's parked domain page, instead they'll know your site is truly 'Coming Soon'!
43
+
44
  == Installation ==
45
 
46
  = Using The WordPress Dashboard =
79
 
80
  == Changelog ==
81
 
82
+ = 0.5.4 =
83
+ * Added countdown timer.
84
+ * Can now disable Coming Soon for user-specified URLs.
85
+ * Minor tweaks.
86
+
87
  = 0.5.2 =
88
  * Bugfix: Title of page can now be set.
89
  * Logo can now be set to take on native dimensions - no need to specify width/height if you don't want to.
99
 
100
  == Upgrade Notice ==
101
 
102
+ = 0.5.4 =
103
+ Added countdown timer. Also added ability to disable Coming Soon Page for specific site URLs. Additionally, made a few minor tweaks.
104
+
105
  = 0.5.2 =
106
  * Now you can change the title of your coming soon page. Also includes several usability improvements.
107