EZP Coming Soon Page - Version 0.5.6

Version Description

  • Moved preview onto third template tab
  • Added save and preview button to improve page design speed
  • Improved workflow of subscriber list
Download this release

Release Info

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

Code changes from version 0.5.4 to 0.5.6

classes/Entities/admin/class-ezp-cs-display-entity.php CHANGED
@@ -38,7 +38,7 @@ if (!class_exists('EZP_CS_Display_Entity')) {
38
  public $background_color = "#00FF00";
39
  public $background_tiling_enabled = false;
40
 
41
- public $logo_width = "";
42
  public $logo_height = "";
43
 
44
  public $content_box_opacity = 0.4;
38
  public $background_color = "#00FF00";
39
  public $background_tiling_enabled = false;
40
 
41
+ public $logo_width = "15%";
42
  public $logo_height = "";
43
 
44
  public $content_box_opacity = 0.4;
classes/Utilities/class-ezp-cs-render-utility.php CHANGED
@@ -29,7 +29,7 @@ if (!class_exists('EZP_CS_Render_Utility')) {
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";
29
  */
30
  class EZP_CS_Render_Utility {
31
 
32
+ public static function get_display($value, $default) {
33
  if ((!isset($value)) || (trim($value) == "")) {
34
 
35
  return "none";
classes/Utilities/class-ezp-cs-utility.php CHANGED
@@ -256,7 +256,7 @@ if (!class_exists('EZP_CS_Utility')) {
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);
@@ -274,6 +274,33 @@ if (!class_exists('EZP_CS_Utility')) {
274
 
275
  return $is_unfiltered;
276
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  }
278
 
279
  EZP_CS_Utility::init();
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);
274
 
275
  return $is_unfiltered;
276
  }
277
+
278
+ public static function get_coupon_text()
279
+ {
280
+ $text = '';
281
+
282
+ if(time() < strtotime('8 July 2014'))
283
+ {
284
+ $r = rand(0, 1);
285
+
286
+ switch($r)
287
+ {
288
+ case 0:
289
+ $text = '$10 off coupon for upcoming Coming Soon Page Pro';
290
+ break;
291
+
292
+ case 1:
293
+ $text = 'Get a $10 off coupon for the upcoming Coming Soon Page Pro';
294
+ break;
295
+ }
296
+ }
297
+
298
+ if($text != '') {
299
+ $text = "<a target='_blank' style='margin-top:17px; display:block; text-align:center' href='http://easypiewp.com/get-coming-soon-page-pro-coupon/'>$text</p>";
300
+ }
301
+
302
+ return $text;
303
+ }
304
  }
305
 
306
  EZP_CS_Utility::init();
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.4"; // 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.6"; // RSR Version
36
 
37
 
38
 
classes/class-ezp-cs.php CHANGED
@@ -467,7 +467,7 @@ if (!class_exists('EZP_CS')) {
467
  $template_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Template'), $this->__('Template'), $perms, EZP_CS_Constants::$TEMPLATE_SUBMENU_SLUG, array($this, 'display_template_options_page'));
468
  $settings_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Settings'), $this->__('Settings'), $perms, EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG, array($this, 'display_settings_options_page'));
469
  $subscribers_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Subscribers'), $this->__('Subscribers'), $perms, EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG, array($this, 'display_subscribers_options_page'));
470
- $preview_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Preview'), $this->__('Preview'), $perms, EZP_CS_Constants::$PREVIEW_SUBMENU_SLUG, array($this, 'display_preview_page'));
471
 
472
  add_action('admin_print_scripts-' . $template_page_hook_suffix, array($this, 'enqueue_scripts'));
473
  add_action('admin_print_scripts-' . $settings_page_hook_suffix, array($this, 'enqueue_scripts'));
@@ -499,7 +499,7 @@ if (!class_exists('EZP_CS')) {
499
  }
500
 
501
  function display_subscribers_options_page() {
502
- $this->display_options_page('page-options-subscribers.php');
503
  }
504
 
505
  function display_preview_page() {
467
  $template_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Template'), $this->__('Template'), $perms, EZP_CS_Constants::$TEMPLATE_SUBMENU_SLUG, array($this, 'display_template_options_page'));
468
  $settings_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Settings'), $this->__('Settings'), $perms, EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG, array($this, 'display_settings_options_page'));
469
  $subscribers_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Subscribers'), $this->__('Subscribers'), $perms, EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG, array($this, 'display_subscribers_options_page'));
470
+ // $preview_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Preview'), $this->__('Preview'), $perms, EZP_CS_Constants::$PREVIEW_SUBMENU_SLUG, array($this, 'display_preview_page'));
471
 
472
  add_action('admin_print_scripts-' . $template_page_hook_suffix, array($this, 'enqueue_scripts'));
473
  add_action('admin_print_scripts-' . $settings_page_hook_suffix, array($this, 'enqueue_scripts'));
499
  }
500
 
501
  function display_subscribers_options_page() {
502
+ $this->display_options_page('page-subscribers.php');
503
  }
504
 
505
  function display_preview_page() {
easy-pie-coming-soon.php CHANGED
@@ -3,7 +3,7 @@
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
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.6
7
  Author: Bob Riley
8
  Author URI: http://www.easypiewp.com
9
  Text Domain: easy-pie-coming-soon
images/affiliates/aweber-200.png ADDED
Binary file
images/affiliates/getresponse-200.png ADDED
Binary file
images/affiliates/mad-mimi2-200.png ADDED
Binary file
images/affiliates/mailchimp-200.png ADDED
Binary file
js/page-options-preview-tab.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Easy Pie Coming Soon Plugin
3
+ Copyright (C) 2013, Synthetic Thought LLC
4
+ website: easypiewp.com contact: bob@easypiewp.com
5
+
6
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
7
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
8
+ St, Fifth Floor, Boston, MA 02110, USA
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
11
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
12
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
13
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
14
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
17
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
19
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20
+ */
21
+
22
+ easyPie = {};
23
+ easyPie.CS = {};
js/{page-options-subscribers.js → page-subscribers.js} RENAMED
File without changes
languages/easy-pie-coming-soon.mo CHANGED
Binary file
languages/easy-pie-coming-soon.po CHANGED
@@ -1,8 +1,8 @@
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"
@@ -156,43 +156,35 @@ msgstr ""
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
 
@@ -378,192 +370,201 @@ 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
 
517
- #: ../pages/page-options-subscribers.php:145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
518
  msgid "Date"
519
  msgstr ""
520
 
521
- #: ../pages/page-options-subscribers.php:146
522
- #: ../pages/page-options-subscribers.php:159
523
- #: ../pages/page-options-subscribers.php:163
524
  msgid "Delete"
525
  msgstr ""
526
 
527
- #: ../pages/page-options-subscribers.php:155
528
  msgid "unknown"
529
  msgstr ""
530
 
531
- #: ../pages/page-options-subscribers.php:162
532
  msgid "No"
533
  msgstr ""
534
 
535
- #: ../pages/page-options-subscribers.php:173
536
  msgid "Prev"
537
  msgstr ""
538
 
539
- #: ../pages/page-options-subscribers.php:174
540
  msgid "Page"
541
  msgstr ""
542
 
543
- #: ../pages/page-options-subscribers.php:174
544
  msgid "of"
545
  msgstr ""
546
 
547
- #: ../pages/page-options-subscribers.php:176
548
  msgid "Next"
549
  msgstr ""
550
 
551
- #: ../pages/page-options-subscribers.php:178
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 ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easy Pie Coming Soon Plugin\n"
4
+ "POT-Creation-Date: 2014-06-14 16:49-0700\n"
5
+ "PO-Revision-Date: 2014-06-14 16:49-0700\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
156
  msgid "Easy Pie Coming Soon Subscribers"
157
  msgstr ""
158
 
159
+ #: ../classes/class-ezp-cs.php:469 ../pages/page-subscribers.php:56
160
  msgid "Subscribers"
161
  msgstr ""
162
 
 
 
 
 
 
 
 
 
163
  #: ../mini-themes/base-responsive/index.php:199
164
+ #: ../pages/page-subscribers-list-tab.php:137
165
  msgid "Name"
166
  msgstr ""
167
 
168
  #: ../mini-themes/base-responsive/index.php:204
169
+ #: ../pages/page-subscribers-list-tab.php:138
170
  msgid "Email"
171
  msgstr ""
172
 
173
  #: ../pages/page-options-content-tab.php:64
174
  #: ../pages/page-options-display-tab.php:89
175
+ #: ../pages/page-options-settings.php:76
176
  msgid "Errors present:"
177
  msgstr ""
178
 
179
  #: ../pages/page-options-content-tab.php:68
180
  #: ../pages/page-options-display-tab.php:93
181
+ #: ../pages/page-options-settings.php:80
182
  msgid "Settings Saved."
183
  msgstr ""
184
 
185
  #: ../pages/page-options-content-tab.php:68
186
  #: ../pages/page-options-display-tab.php:93
187
+ #: ../pages/page-options-settings.php:80
188
  msgid "If you have a caching plugin be sure to clear it."
189
  msgstr ""
190
 
370
  msgid "If you have a caching plugin, be sure to clear the cache!"
371
  msgstr ""
372
 
373
+ #: ../pages/page-options-settings.php:85
374
  msgid "General"
375
  msgstr ""
376
 
377
+ #: ../pages/page-options-settings.php:89
378
  msgid "Status"
379
  msgstr ""
380
 
381
+ #: ../pages/page-options-settings.php:93
382
  msgid "On"
383
  msgstr ""
384
 
385
+ #: ../pages/page-options-settings.php:94
386
  msgid "Off"
387
  msgstr ""
388
 
389
+ #: ../pages/page-options-settings.php:104
390
  msgid "Collection"
391
  msgstr ""
392
 
393
+ #: ../pages/page-options-settings.php:108
394
  msgid "Collect Email"
395
  msgstr ""
396
 
397
+ #: ../pages/page-options-settings.php:113
398
+ #: ../pages/page-options-settings.php:124
399
+ #: ../pages/page-subscribers-list-tab.php:155
400
  msgid "Yes"
401
  msgstr ""
402
 
403
+ #: ../pages/page-options-settings.php:119
404
  msgid "Collect Name"
405
  msgstr ""
406
 
407
+ #: ../pages/page-options-settings.php:134
408
  msgid "HTTP"
409
  msgstr ""
410
 
411
+ #: ../pages/page-options-settings.php:138
412
  msgid "Return Code"
413
  msgstr ""
414
 
415
+ #: ../pages/page-options-settings.php:142
416
  msgid "200"
417
  msgstr ""
418
 
419
+ #: ../pages/page-options-settings.php:143
420
  msgid "503"
421
  msgstr ""
422
 
423
+ #: ../pages/page-options-settings.php:152
424
  msgid "Social"
425
  msgstr ""
426
 
427
+ #: ../pages/page-options-settings.php:156
428
  msgid "Facebook URL"
429
  msgstr ""
430
 
431
+ #: ../pages/page-options-settings.php:166
432
  msgid "Google Plus URL"
433
  msgstr ""
434
 
435
+ #: ../pages/page-options-settings.php:176
436
  msgid "Twitter URL"
437
  msgstr ""
438
 
439
+ #: ../pages/page-options-settings.php:190
440
  msgid "SEO"
441
  msgstr ""
442
 
443
+ #: ../pages/page-options-settings.php:194
444
  msgid "Author URL"
445
  msgstr ""
446
 
447
+ #: ../pages/page-options-settings.php:199
448
  msgid "Google+ or other identifying URL"
449
  msgstr ""
450
 
451
+ #: ../pages/page-options-settings.php:205
452
  msgid "Meta Description"
453
  msgstr ""
454
 
455
+ #: ../pages/page-options-settings.php:215
456
  msgid "Meta Keywords"
457
  msgstr ""
458
 
459
+ #: ../pages/page-options-settings.php:220
460
  msgid "Comma separated list"
461
  msgstr ""
462
 
463
+ #: ../pages/page-options-settings.php:226
464
  msgid "Analytics Code"
465
  msgstr ""
466
 
467
+ #: ../pages/page-options-settings.php:231
468
  msgid "Analytics tracking code"
469
  msgstr ""
470
 
471
+ #: ../pages/page-options-settings.php:231
472
  msgid "include"
473
  msgstr ""
474
 
475
+ #: ../pages/page-options-settings.php:241
476
  msgid "Filters"
477
  msgstr ""
478
 
479
+ #: ../pages/page-options-settings.php:245
480
  msgid "Unfiltered URLs"
481
  msgstr ""
482
 
483
+ #: ../pages/page-options-settings.php:250
484
  msgid ""
485
  "Each line should contain a relative URL you don't want the page shown on (e."
486
  "g. for http://mysite.com/mypage enter /mypage)"
487
  msgstr ""
488
 
489
+ #: ../pages/page-options-settings.php:261 ../pages/page-options.php:99
490
+ #: ../pages/page-subscribers.php:75
491
  msgid "Plugin FAQ"
492
  msgstr ""
493
 
494
+ #: ../pages/page-options-settings.php:263 ../pages/page-options.php:101
495
+ #: ../pages/page-subscribers.php:77
 
 
 
 
 
496
  msgid "Rate Plugin"
497
  msgstr ""
498
 
499
+ #: ../pages/page-options-settings.php:265 ../pages/page-options.php:103
500
+ #: ../pages/page-subscribers.php:79
501
  msgid "Donate"
502
  msgstr ""
503
 
504
+ #: ../pages/page-options-settings.php:267 ../pages/page-options.php:105
505
+ #: ../pages/page-subscribers.php:81
506
+ msgid "Feature Request"
507
+ msgstr ""
508
+
509
+ #: ../pages/page-options.php:59
510
+ msgid "Display"
511
+ msgstr ""
512
+
513
+ #: ../pages/page-options.php:60
514
+ msgid "Content"
515
+ msgstr ""
516
+
517
+ #: ../pages/page-options.php:61
518
+ msgid "Preview"
519
+ msgstr ""
520
+
521
+ #: ../pages/page-subscribers-list-tab.php:139
522
  msgid "Date"
523
  msgstr ""
524
 
525
+ #: ../pages/page-subscribers-list-tab.php:140
526
+ #: ../pages/page-subscribers-list-tab.php:153
527
+ #: ../pages/page-subscribers-list-tab.php:157
528
  msgid "Delete"
529
  msgstr ""
530
 
531
+ #: ../pages/page-subscribers-list-tab.php:149
532
  msgid "unknown"
533
  msgstr ""
534
 
535
+ #: ../pages/page-subscribers-list-tab.php:156
536
  msgid "No"
537
  msgstr ""
538
 
539
+ #: ../pages/page-subscribers-list-tab.php:167
540
  msgid "Prev"
541
  msgstr ""
542
 
543
+ #: ../pages/page-subscribers-list-tab.php:168
544
  msgid "Page"
545
  msgstr ""
546
 
547
+ #: ../pages/page-subscribers-list-tab.php:168
548
  msgid "of"
549
  msgstr ""
550
 
551
+ #: ../pages/page-subscribers-list-tab.php:170
552
  msgid "Next"
553
  msgstr ""
554
 
555
+ #: ../pages/page-subscribers-list-tab.php:178
556
+ #: ../pages/page-subscribers-newsletter-tab.php:84
557
+ msgid "Delete User?"
558
  msgstr ""
559
 
560
+ #: ../pages/page-subscribers-newsletter-tab.php:69
561
+ msgid "Save"
562
  msgstr ""
563
 
564
+ #: ../pages/page-subscribers.php:44
565
+ msgid "Subscriber Management"
566
  msgstr ""
567
 
568
+ #: ../pages/page-subscribers.php:57
569
+ msgid "Create Newsletter"
 
 
 
 
570
  msgstr ""
mini-themes/base-responsive/index.php CHANGED
@@ -19,7 +19,7 @@ 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;";
@@ -192,17 +192,17 @@ echo "
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>
19
 
20
  $subscriber = new EZP_CS_Subscriber_Entity();
21
 
22
+ $error_text = EZP_CS_Query_Utility::add_new_subscriber($_POST['ezp_cs_name'], $_POST['ezp_cs_email']);
23
 
24
  if ($error_text == null) {
25
  $js_thank_you = "var thankYouDisplayed=true;";
192
 
193
  <div id="countdown"></div>
194
 
195
+ <form id="email-collection-box" name="email-collection-box" class="form-inline" role="form" action="" method="post">
196
 
197
  <!-- Setting: {{name-collection-on}}-->
198
  <div id="name-form-group" class="form-group">
199
+ <label class="sr-only" for="ezp_cs_name"><?php EZP_CS_Utility::_e("Name"); ?></label>
200
  <!-- Setting: {{name-placeholder}}-->
201
+ <input id="name-input" name="ezp_cs_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="ezp_cs_email"><?php EZP_CS_Utility::_e("Email"); ?></label>
205
+ <input id="email-input" name="ezp_cs_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>
pages/page-options-content-tab.php CHANGED
@@ -57,7 +57,7 @@ if (isset($_POST['action']) && $_POST['action'] == 'save') {
57
  <input type="hidden" name="action" value="save"/>
58
 
59
  <?php
60
- EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
61
 
62
  if ($error_string != "") :
63
  ?>
57
  <input type="hidden" name="action" value="save"/>
58
 
59
  <?php
60
+ //EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
61
 
62
  if ($error_string != "") :
63
  ?>
pages/page-options-display-tab.php CHANGED
@@ -74,7 +74,7 @@ if (isset($_POST['action']) && $_POST['action'] == 'save') {
74
  if ($error_string == "") {
75
 
76
  $action_updated = $display->save();
77
- }
78
  }
79
  ?>
80
 
@@ -82,7 +82,7 @@ if (isset($_POST['action']) && $_POST['action'] == 'save') {
82
  <input type="hidden" name="action" value="save"/>
83
  <?php
84
 
85
- EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
86
 
87
  if ($error_string != "") :
88
  ?>
74
  if ($error_string == "") {
75
 
76
  $action_updated = $display->save();
77
+ }
78
  }
79
  ?>
80
 
82
  <input type="hidden" name="action" value="save"/>
83
  <?php
84
 
85
+ //EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
86
 
87
  if ($error_string != "") :
88
  ?>
pages/page-options-settings.php CHANGED
@@ -260,11 +260,11 @@
260
  ?>
261
  <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
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>
270
  </div>
260
  ?>
261
  <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
262
  |
 
 
263
  <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
264
+ |
265
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
266
+ |
267
+ <a href="http://easypiewp.com/about/" target="_blank"><?php EZP_CS_Utility::_e('Feature Request') ?></a>
268
  </form>
269
  </div>
270
  </div>
pages/page-options.php CHANGED
@@ -46,38 +46,63 @@ if (isset($_GET['tab'])) {
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>
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
+ $global = EZP_CS_Global_Entity::get_instance();
51
+
52
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
53
+
54
+ EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
55
  ?>
56
+
57
  <div id="easypie-cs-options" class="inside">
58
  <h2 class="nav-tab-wrapper">
59
  <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>
60
  <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>
61
+ <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=preview' ?>" class="nav-tab <?php echo $active_tab == 'preview' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Preview'); ?></a>
62
  </h2>
63
  <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); ?>" >
64
  <?php
65
  // settings_fields(EZP_CS_Constants::MAIN_PAGE_KEY);
66
+ //do_settings_sections(EZP_CS_Constants::MAIN_PAGE_KEY);
67
+
68
+ ?>
69
  <div id='tab-holder'>
70
  <?php
71
  if ($active_tab == 'display') {
72
  include 'page-options-display-tab.php';
73
+ } else if ($active_tab == 'content') {
74
  include 'page-options-content-tab.php';
75
+ } else {
76
+ include 'page-preview-tab.php';
77
  }
78
+
79
+ if (isset($_POST['ezp-cs-submit-type']) && ($_POST['ezp-cs-submit-type'] == 'preview') ){
80
+
81
+ $redirect_url = '?page=' . EZP_CS_Constants::PLUGIN_SLUG . '&tab=preview';
82
+
83
+ echo '<script>'
84
+ . 'window.location="' . $redirect_url . '";'
85
+ . '</script>';
86
+ }
87
+
88
  ?>
89
+ <!-- after redirect -->
90
  </div>
91
 
92
+ <input type="hidden" id="ezp-cs-submit-type" name="ezp-cs-submit-type" value="save"/>
93
+
94
+ <p>
95
+ <input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes" />
96
+ <input style="margin-left:15px" type="submit" name="submit" id="submit" class="button button-primary" value="Save & Preview" onclick="document.getElementById('ezp-cs-submit-type').value = 'preview';debugger;return true;"/>
97
+ </p>
98
 
99
  <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
100
  |
 
 
101
  <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
102
+ |
103
  <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
104
+ |
105
+ <a href="http://easypiewp.com/about/" target="_blank"><?php EZP_CS_Utility::_e('Feature Request') ?></a>
106
  </form>
107
  </div>
108
  </div>
pages/{page-preview.php → page-preview-tab.php} RENAMED
@@ -23,15 +23,14 @@ $relative_page_path = '/mini-themes/base-responsive/index.php';
23
 
24
  $__dir__ = dirname(__FILE__);
25
 
26
- $page_url = get_site_url() . '?ezp_cs_preview=true'
27
 
28
  //header( "Location: $page_url" ) ;
29
- ?>
30
- <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Preview') ?></h2>
31
- <?php
32
  $global = EZP_CS_Global_Entity::get_instance();
33
 
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; ?>"/>
 
23
 
24
  $__dir__ = dirname(__FILE__);
25
 
26
+ $page_url = get_site_url() . '?ezp_cs_preview=true';
27
 
28
  //header( "Location: $page_url" ) ;
29
+
 
 
30
  $global = EZP_CS_Global_Entity::get_instance();
31
 
32
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
33
+ //EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
34
  ?>
35
+
36
+ <iframe style="margin-top:20px; margin-left: 15px; max-width:1200px; width:94%; height: 670px" src="<?php echo $page_url; ?>"/>
pages/{page-options-subscribers.php → page-subscribers-list-tab.php} RENAMED
@@ -26,7 +26,7 @@ $global = EZP_CS_Global_Entity::get_instance();
26
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
27
  ?>
28
 
29
- <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-options-subscribers.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
30
 
31
  <style lang="text/css">
32
  .compound-setting { line-height:20px;}
@@ -82,13 +82,6 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
82
 
83
  <div class="wrap">
84
 
85
- <?php screen_icon(EZP_CS_Constants::PLUGIN_SLUG); ?>
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
@@ -138,6 +131,7 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
138
  <div class="postbox" style="margin-top:12px;" >
139
  <div class="inside" id="easy-pie-cs-postbox-inside" >
140
 
 
141
  <table id="easypie-cs-subscriber-table">
142
  <tr>
143
  <th><?php EZP_CS_Utility::_e('Name'); ?></th>
@@ -168,30 +162,19 @@ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
168
  }
169
  ?>
170
  </table>
171
- <div id="easy-pie-cs-subscriber-controls" style="display: <?php echo $controls_display; ?>">
172
  <button id="btn-prev" <?php echo $prev_disabled; ?> name="submit" type="submit" value="previous" onclick="window.location = '<?php echo $prev_url; ?>';
173
  return false;"><span style='float:left; margin-top:1px' class="ui-icon ui-icon-triangle-1-w"></span><?php EZP_CS_Utility::_e("Prev"); ?></button>
174
  <span ><?php echo EZP_CS_Utility::__('Page') . ' ' . ($current_page_idx + 1) . ' ' . EZP_CS_Utility::__('of') . ' ' . $num_pages; ?></span>
175
  <button id="btn-next" <?php echo $next_disabled; ?> name="submit" type="submit" value="next" onclick="window.location = '<?php echo $next_url; ?>';
176
  return false;"><?php EZP_CS_Utility::_e("Next"); ?><span style='float:right; margin-top:1px' class="ui-icon ui-icon-triangle-1-e"></span></button>
177
- <button id="btn-export" style='float:right' type="button" onclick="location.href = ajaxurl + '?action=EZP_CS_export_all_subscribers&_wpnonce=<?php echo $_wpnonce; ?>';
178
- return false;"><?php EZP_CS_Utility::_e('CSV Export All'); ?></button>
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>
188
  <div id="easy-pie-cs-delete-confirm" title="<?php EZP_CS_Utility::_e('Delete User?'); ?>" >
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>
26
  $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
27
  ?>
28
 
29
+ <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-subscribers.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
30
 
31
  <style lang="text/css">
32
  .compound-setting { line-height:20px;}
82
 
83
  <div class="wrap">
84
 
 
 
 
 
 
 
 
85
  <div id="easypie-cs-options" class="inside">
86
 
87
  <?php
131
  <div class="postbox" style="margin-top:12px;" >
132
  <div class="inside" id="easy-pie-cs-postbox-inside" >
133
 
134
+
135
  <table id="easypie-cs-subscriber-table">
136
  <tr>
137
  <th><?php EZP_CS_Utility::_e('Name'); ?></th>
162
  }
163
  ?>
164
  </table>
165
+ <div id="easy-pie-cs-subscriber-controls" style="display: <?php echo $controls_display; ?>; text-align:center;">
166
  <button id="btn-prev" <?php echo $prev_disabled; ?> name="submit" type="submit" value="previous" onclick="window.location = '<?php echo $prev_url; ?>';
167
  return false;"><span style='float:left; margin-top:1px' class="ui-icon ui-icon-triangle-1-w"></span><?php EZP_CS_Utility::_e("Prev"); ?></button>
168
  <span ><?php echo EZP_CS_Utility::__('Page') . ' ' . ($current_page_idx + 1) . ' ' . EZP_CS_Utility::__('of') . ' ' . $num_pages; ?></span>
169
  <button id="btn-next" <?php echo $next_disabled; ?> name="submit" type="submit" value="next" onclick="window.location = '<?php echo $next_url; ?>';
170
  return false;"><?php EZP_CS_Utility::_e("Next"); ?><span style='float:right; margin-top:1px' class="ui-icon ui-icon-triangle-1-e"></span></button>
 
 
 
 
171
 
 
 
172
  </div>
173
+ <!-- RSR TODO: time box; TODO: random wording -->
174
+ <?php echo EZP_CS_Utility::get_coupon_text(); ?>
175
  </div>
176
  </div>
177
  </div>
178
  <div id="easy-pie-cs-delete-confirm" title="<?php EZP_CS_Utility::_e('Delete User?'); ?>" >
179
  <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>
180
+ </div>
 
 
 
 
 
 
 
pages/page-subscribers-newsletter-tab.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+ <?php
24
+ $global = EZP_CS_Global_Entity::get_instance();
25
+
26
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
27
+ ?>
28
+
29
+ <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-subscribers.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
30
+
31
+ <style lang="text/css">
32
+ .compound-setting { line-height:20px;}
33
+ .narrow-input { width:66px;}
34
+ .long-input { width: 345px;}
35
+
36
+ #easy-pie-cs-postbox-inside { /* width: 550px;*/ }
37
+ #easy-pie-cs-postbox-inside h3 { font-size: 16px }
38
+
39
+ #easy-pie-cs-delete-confirm { display:none; }
40
+ .ezp-cs-mail-provider { margin:0px 15px 10px 15px; float:left; }
41
+ .ezp-cs-mail-provider a { text-decoration:none;}
42
+ .ezp-cs-mail-provider img { width:155px; border: 1px solid lightgray;border-radius: 5px; box-shadow: 1px 7px 36px -5px rgba(34,34,34,1);}
43
+
44
+ </style>
45
+
46
+ <div class="wrap">
47
+
48
+ <div id="easypie-cs-options" class="inside">
49
+
50
+ <?php
51
+ $_wpnonce = wp_create_nonce('easy-pie-cs-change-subscribers');
52
+ $current_page_idx = 0;
53
+ $prev_page_idx = 0;
54
+ $next_page_idx = 1;
55
+
56
+ if (isset($_GET['page_idx'])) {
57
+
58
+ $current_page_idx = $_GET['page_idx'];
59
+ $prev_page_idx = $current_page_idx > 0 ? $current_page_idx - 1 : 0;
60
+ $next_page_idx = $current_page_idx + 1;
61
+ }
62
+
63
+ $subscribers = EZP_CS_Query_Utility::get_subscriber_list($current_page_idx);
64
+ ?>
65
+ <div class="postbox" style="margin-top:12px;" >
66
+ <div class="inside" id="easy-pie-cs-postbox-inside" >
67
+ <h2>Create a newsletter using your subscriber list</h2>
68
+ <h3 style="margin-top:25px; margin-bottom:10px;">Step 1. Save subscriber list as a CSV file to your local hard drive.</h3>
69
+ <button style="margin:0px; font-size:1.1em; font-weight:bold;" id="btn-export" type="button" onclick="location.href = ajaxurl + '?action=EZP_CS_export_all_subscribers&_wpnonce=<?php echo $_wpnonce; ?>';
70
+ return false;"><?php EZP_CS_Utility::_e('Save'); ?></button>
71
+ <h3 style="margin-top:40px;margin-bottom:10px;">Step 2. Import CSV file into an email marketing service.</h3>
72
+ <p>Import the saved CSV file into one of the following providers or use your own.</p>
73
+ <div style="height:100px">
74
+ <div class='ezp-cs-mail-provider' style="margin-left:0px;"><a href="http://easypiewp.com/aweber" target="_blank"><img src="<?php echo EZP_CS_Utility::$PLUGIN_URL . '/images/affiliates/aweber-200.png'?> "/></a></div>
75
+ <div class='ezp-cs-mail-provider'><a href="http://easypiewp.com/getresponse" target="_blank"><img src="<?php echo EZP_CS_Utility::$PLUGIN_URL . '/images/affiliates/getresponse-200.png'?> "/></a></div>
76
+ <div class='ezp-cs-mail-provider'><a href="http://easypiewp.com/MadMimi" target="_blank"><img src="<?php echo EZP_CS_Utility::$PLUGIN_URL . '/images/affiliates/mad-mimi2-200.png'?> "/></a></div>
77
+ <div class='ezp-cs-mail-provider' style="clear:right"><a href="http://easypiewp.com/mailchimp" target="_blank"><img src="<?php echo EZP_CS_Utility::$PLUGIN_URL . '/images/affiliates/mailchimp-200.png'?> "/></a></div>
78
+ </div>
79
+ </div>
80
+ <p style="margin-left:8px;margin-top:10px;font-style:italic; clear:both">
81
+ *Some of the above are 'affiliate links'. These do not affect the price of paid options.
82
+ </p>
83
+ </div>
84
+ </div>
85
+ <div id="easy-pie-cs-delete-confirm" title="<?php EZP_CS_Utility::_e('Delete User?'); ?>" >
86
+ <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>
87
+ </div>
pages/page-subscribers.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+ <?php
24
+ if (isset($_GET['tab'])) {
25
+
26
+ $active_tab = $_GET['tab'];
27
+ } else {
28
+
29
+ $active_tab = 'list';
30
+ }
31
+ ?>
32
+
33
+ <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-subscribers-$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;}
38
+ .long-input { width: 345px;}
39
+ </style>
40
+
41
+ <div class="wrap">
42
+
43
+ <?php screen_icon(EZP_CS_Constants::PLUGIN_SLUG); ?>
44
+ <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Subscriber Management'); ?></h2>
45
+ <?php
46
+
47
+ $global = EZP_CS_Global_Entity::get_instance();
48
+
49
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
50
+
51
+ EZP_CS_Utility::display_admin_notice($config->coming_soon_mode_on);
52
+ ?>
53
+
54
+ <div id="easypie-cs-options" class="inside">
55
+ <h2 class="nav-tab-wrapper">
56
+ <a href="?page=<?php echo EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG . '&tab=list' ?>" class="nav-tab <?php echo $active_tab == 'list' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Subscribers'); ?></a>
57
+ <a href="?page=<?php echo EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG . '&tab=newsletter' ?>" class="nav-tab <?php echo $active_tab == 'newsletter' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Create Newsletter'); ?></a>
58
+ </h2>
59
+ <form id="easy-pie-cs-main-form" method="post" action="<?php echo admin_url('admin.php?page=' . EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG . '&tab=' . $active_tab); ?>" >
60
+ <?php
61
+ // settings_fields(EZP_CS_Constants::MAIN_PAGE_KEY);
62
+ //do_settings_sections(EZP_CS_Constants::MAIN_PAGE_KEY);
63
+
64
+ ?>
65
+ <div id='tab-holder'>
66
+ <?php
67
+ if ($active_tab == 'list') {
68
+ include 'page-subscribers-list-tab.php';
69
+ } else {
70
+ include 'page-subscribers-newsletter-tab.php';
71
+ }
72
+ ?>
73
+ </div>
74
+
75
+ <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
76
+ |
77
+ <a href="http://wordpress.org/support/view/plugin-reviews/easy-pie-coming-soon" target="_blank"><?php echo EZP_CS_Utility::__('Rate Plugin'); ?></a>
78
+ |
79
+ <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
80
+ |
81
+ <a href="http://easypiewp.com/about/" target="_blank"><?php EZP_CS_Utility::_e('Feature Request') ?></a>
82
+ </form>
83
+ </div>
84
+ </div>
85
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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
 
@@ -79,6 +79,11 @@ For the FAQ on the Coming Soon Page please visit the [Easy Pie Website](http://e
79
 
80
  == Changelog ==
81
 
 
 
 
 
 
82
  = 0.5.4 =
83
  * Added countdown timer.
84
  * Can now disable Coming Soon for user-specified URLs.
@@ -99,6 +104,9 @@ For the FAQ on the Coming Soon Page please visit the [Easy Pie Website](http://e
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
 
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.6
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
79
 
80
  == Changelog ==
81
 
82
+ = 0.5.6 =
83
+ * Moved preview onto third template tab
84
+ * Added save and preview button to improve page design speed
85
+ * Improved workflow of subscriber list
86
+
87
  = 0.5.4 =
88
  * Added countdown timer.
89
  * Can now disable Coming Soon for user-specified URLs.
104
 
105
  == Upgrade Notice ==
106
 
107
+ = 0.5.6 =
108
+ Includes minor bug fixes and usability improvements. Note that Coming Soon Page preview has been moved to the third template tab.
109
+
110
  = 0.5.4 =
111
  Added countdown timer. Also added ability to disable Coming Soon Page for specific site URLs. Additionally, made a few minor tweaks.
112