EZP Maintenance Mode - Version 1.0.1

Version Description

  • UI overhaul
  • Added preview capability
Download this release

Release Info

Developer bobriley
Plugin Icon 128x128 EZP Maintenance Mode
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

classes/class-easy-pie-mm-constants.php CHANGED
@@ -36,7 +36,7 @@ if (!class_exists('Easy_Pie_MM_Constants')) {
36
  const OPTION_NAME = 'easy-pie-mm-options';
37
  const MAIN_PAGE_KEY = 'easy-pie-mm-main-page';
38
  const PLUGIN_SLUG = 'easy-pie-maintenance-mode';
39
- const PLUGIN_VERSION = "1.0.0"; // RSR Version
40
 
41
  /* Pseudo constants */
42
 
36
  const OPTION_NAME = 'easy-pie-mm-options';
37
  const MAIN_PAGE_KEY = 'easy-pie-mm-main-page';
38
  const PLUGIN_SLUG = 'easy-pie-maintenance-mode';
39
+ const PLUGIN_VERSION = "1.0.1"; // RSR Version
40
 
41
  /* Pseudo constants */
42
 
classes/class-easy-pie-mm.php CHANGED
@@ -45,12 +45,14 @@ if (!class_exists('Easy_Pie_MM')) {
45
 
46
  parent::__construct(Easy_Pie_MM_Constants::PLUGIN_SLUG);
47
 
 
 
48
  // Pseudo-constant intialization
49
 
50
  $this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
51
 
52
  // RSR TODO - is_admin() just says if admin panel is attempting to be displayed - NOT to see if someone is an admin
53
- if (is_admin() == true) {
54
 
55
  if ($this->get_option_value("enabled") == true) {
56
 
@@ -65,7 +67,7 @@ if (!class_exists('Easy_Pie_MM')) {
65
  //- Actions
66
  $this->add_class_action('admin_init', 'admin_init_handler');
67
  $this->add_class_action('admin_menu', 'add_to_admin_menu');
68
- } else if ($this->get_option_value("enabled") == true) {
69
 
70
  $this->add_class_action('template_redirect', 'display_maintenance_page');
71
  }
@@ -85,11 +87,12 @@ if (!class_exists('Easy_Pie_MM')) {
85
  * Display the maintenance page
86
  */
87
  public function display_maintenance_page() {
88
-
 
 
89
  if ((!defined('EASY_PIE_MM_DISABLE') || (EASY_PIE_MM_DISABLE == false))) {
90
-
91
- // For now
92
- if (!is_user_logged_in()) {
93
 
94
  header('HTTP/1.1 503 Service Temporarily Unavailable');
95
  header('Status: 503 Service Temporarily Unavailable');
@@ -106,7 +109,7 @@ if (!class_exists('Easy_Pie_MM')) {
106
  if ($manifest != null) {
107
 
108
  $active_manifest_path = $manifest->manifest_path;
109
- Easy_Pie_Utility::set_option($this->options, 'active_manifest_path', $active_manifest_path);
110
  } else {
111
 
112
  $this->debug("Couldn't find manifest for key " . $key);
@@ -193,7 +196,7 @@ if (!class_exists('Easy_Pie_MM')) {
193
  * enqueue_styles
194
  * Loads the required css links only for this plugin */
195
  public function enqueue_styles() {
196
-
197
  $styleRoot = plugins_url() . "/" . Easy_Pie_MM_Constants::PLUGIN_SLUG . "/styles";
198
 
199
  wp_register_style('jquery.bxslider.css', $styleRoot . '/jquery.bxslider.css', array(), Easy_Pie_MM_Constants::PLUGIN_VERSION);
@@ -201,6 +204,7 @@ if (!class_exists('Easy_Pie_MM')) {
201
 
202
  wp_register_style('easy-pie-styles.css', $styleRoot . '/easy-pie-styles.css', array(), Easy_Pie_MM_Constants::PLUGIN_VERSION);
203
  wp_enqueue_style('easy-pie-styles.css');
 
204
  }
205
 
206
  // <editor-fold defaultstate="collapsed" desc=" Action Handlers ">
@@ -274,17 +278,17 @@ if (!class_exists('Easy_Pie_MM')) {
274
  $this->options = array();
275
  }
276
 
277
- Easy_Pie_Utility::set_option($this->options, 'plugin_version', Easy_Pie_MM_Constants::PLUGIN_VERSION);
278
 
279
- Easy_Pie_Utility::set_default_option($this->options, 'enabled', false);
280
- Easy_Pie_Utility::set_default_option($this->options, 'page_template_key', "plain");
281
- Easy_Pie_Utility::set_default_option($this->options, 'title', null);
282
- Easy_Pie_Utility::set_default_option($this->options, 'header', null);
283
- Easy_Pie_Utility::set_default_option($this->options, 'headline', null);
284
- Easy_Pie_Utility::set_default_option($this->options, 'message', null);
285
- Easy_Pie_Utility::set_default_option($this->options, 'logo_url', null);
286
- Easy_Pie_Utility::set_default_option($this->options, 'active_manifest_path', null);
287
- Easy_Pie_Utility::set_default_option($this->options, 'css', null);
288
 
289
  update_option(Easy_Pie_MM_Constants::OPTION_NAME, $this->options);
290
  }
@@ -292,20 +296,21 @@ if (!class_exists('Easy_Pie_MM')) {
292
  public function add_settings_sections() {
293
 
294
  $section_id = 'easy-pie-mm-control-section';
295
- add_settings_section($section_id, 'Control', array($this, 'render_control_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
296
- add_settings_field('easy-pie-mm-mode-on', $this->__('Enabled'), array($this, 'render_checkbox_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-mode-on', 'subkey' => 'enabled'));
297
 
298
  $section_id = 'easy-pie-mm-theme-section';
299
- add_settings_section($section_id, $this->__('Visuals'), array($this, 'render_theme_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
300
  add_settings_field('easy-pie-mm-theme', $this->__('Mini-theme'), array($this, 'render_active_theme_selector'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-theme', 'subkey' => 'page_template_key'));
301
 
302
  $section_id = 'easy-pie-mm-template_fields-section';
303
- add_settings_section($section_id, $this->__('Fields'), array($this, 'render_template_fields_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
304
- add_settings_field('easy-pie-mm-field-title', $this->__('Title'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-title', 'subkey' => 'title'));
 
305
  add_settings_field('easy-pie-mm-field-header', $this->__('Header'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-header', 'subkey' => 'header'));
306
  add_settings_field('easy-pie-mm-field-headline', $this->__('Headline'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-headline', 'subkey' => 'headline'));
307
  add_settings_field('easy-pie-mm-field-message', $this->__('Message'), array($this, 'render_text_area'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-message', 'subkey' => 'message', 'size' => 80));
308
- add_settings_field('easy-pie-mm-field-logo', $this->__('Logo'), array($this, 'render_logo_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-logo', 'subkey' => 'logo_url'));
309
  }
310
 
311
  public function render_text_field($args) {
@@ -340,6 +345,23 @@ if (!class_exists('Easy_Pie_MM')) {
340
  <?php
341
  }
342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  // RSR: Why the hell do we need to set value to 1?
344
  public function render_checkbox_field($args) {
345
  $options = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
45
 
46
  parent::__construct(Easy_Pie_MM_Constants::PLUGIN_SLUG);
47
 
48
+ $in_preview_mode = isset($_GET['ezp_mm_preview']);
49
+
50
  // Pseudo-constant intialization
51
 
52
  $this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
53
 
54
  // RSR TODO - is_admin() just says if admin panel is attempting to be displayed - NOT to see if someone is an admin
55
+ if (is_admin()) {
56
 
57
  if ($this->get_option_value("enabled") == true) {
58
 
67
  //- Actions
68
  $this->add_class_action('admin_init', 'admin_init_handler');
69
  $this->add_class_action('admin_menu', 'add_to_admin_menu');
70
+ } else if (($this->get_option_value("enabled") == true) || $in_preview_mode) {
71
 
72
  $this->add_class_action('template_redirect', 'display_maintenance_page');
73
  }
87
  * Display the maintenance page
88
  */
89
  public function display_maintenance_page() {
90
+
91
+ $in_preview_mode = isset($_GET['ezp_mm_preview']);
92
+
93
  if ((!defined('EASY_PIE_MM_DISABLE') || (EASY_PIE_MM_DISABLE == false))) {
94
+
95
+ if (!is_user_logged_in() || $in_preview_mode) {
 
96
 
97
  header('HTTP/1.1 503 Service Temporarily Unavailable');
98
  header('Status: 503 Service Temporarily Unavailable');
109
  if ($manifest != null) {
110
 
111
  $active_manifest_path = $manifest->manifest_path;
112
+ EZP_MM_U::set_option($this->options, 'active_manifest_path', $active_manifest_path);
113
  } else {
114
 
115
  $this->debug("Couldn't find manifest for key " . $key);
196
  * enqueue_styles
197
  * Loads the required css links only for this plugin */
198
  public function enqueue_styles() {
199
+
200
  $styleRoot = plugins_url() . "/" . Easy_Pie_MM_Constants::PLUGIN_SLUG . "/styles";
201
 
202
  wp_register_style('jquery.bxslider.css', $styleRoot . '/jquery.bxslider.css', array(), Easy_Pie_MM_Constants::PLUGIN_VERSION);
204
 
205
  wp_register_style('easy-pie-styles.css', $styleRoot . '/easy-pie-styles.css', array(), Easy_Pie_MM_Constants::PLUGIN_VERSION);
206
  wp_enqueue_style('easy-pie-styles.css');
207
+
208
  }
209
 
210
  // <editor-fold defaultstate="collapsed" desc=" Action Handlers ">
278
  $this->options = array();
279
  }
280
 
281
+ EZP_MM_U::set_option($this->options, 'plugin_version', Easy_Pie_MM_Constants::PLUGIN_VERSION);
282
 
283
+ EZP_MM_U::set_default_option($this->options, 'enabled', false);
284
+ EZP_MM_U::set_default_option($this->options, 'page_template_key', "plain");
285
+ EZP_MM_U::set_default_option($this->options, 'title', null);
286
+ EZP_MM_U::set_default_option($this->options, 'header', null);
287
+ EZP_MM_U::set_default_option($this->options, 'headline', null);
288
+ EZP_MM_U::set_default_option($this->options, 'message', null);
289
+ EZP_MM_U::set_default_option($this->options, 'logo_url', null);
290
+ EZP_MM_U::set_default_option($this->options, 'active_manifest_path', null);
291
+ EZP_MM_U::set_default_option($this->options, 'css', null);
292
 
293
  update_option(Easy_Pie_MM_Constants::OPTION_NAME, $this->options);
294
  }
296
  public function add_settings_sections() {
297
 
298
  $section_id = 'easy-pie-mm-control-section';
299
+ add_settings_section($section_id, 'CONTROL', array($this, 'render_control_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
300
+ add_settings_field('easy-pie-mm-mode-on', $this->__('Enabled'), array($this, 'render_enabled_checkbox'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id);
301
 
302
  $section_id = 'easy-pie-mm-theme-section';
303
+ add_settings_section($section_id, $this->__('BACKGROUND'), array($this, 'render_theme_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
304
  add_settings_field('easy-pie-mm-theme', $this->__('Mini-theme'), array($this, 'render_active_theme_selector'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-theme', 'subkey' => 'page_template_key'));
305
 
306
  $section_id = 'easy-pie-mm-template_fields-section';
307
+ add_settings_section($section_id, $this->__('FIELDS'), array($this, 'render_template_fields_section'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
308
+ add_settings_field('easy-pie-mm-field-logo', $this->__('Logo'), array($this, 'render_logo_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-logo', 'subkey' => 'logo_url'));
309
+ add_settings_field('easy-pie-mm-field-title', $this->__('Title'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-title', 'subkey' => 'title'));
310
  add_settings_field('easy-pie-mm-field-header', $this->__('Header'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-header', 'subkey' => 'header'));
311
  add_settings_field('easy-pie-mm-field-headline', $this->__('Headline'), array($this, 'render_text_field'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-headline', 'subkey' => 'headline'));
312
  add_settings_field('easy-pie-mm-field-message', $this->__('Message'), array($this, 'render_text_area'), Easy_Pie_MM_Constants::MAIN_PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-message', 'subkey' => 'message', 'size' => 80));
313
+
314
  }
315
 
316
  public function render_text_field($args) {
345
  <?php
346
  }
347
 
348
+ public function render_enabled_checkbox($args) {
349
+ $options = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
350
+
351
+ $subkey = 'enabled';
352
+ $id = 'easy-pie-mm-mode-on';
353
+
354
+ $optionExpression = Easy_Pie_MM_Constants::OPTION_NAME . "[" . $subkey . "]";
355
+ $currentValue = $options[$subkey];
356
+
357
+ $checkedText = checked(1, $options[$subkey], false);
358
+ ?>
359
+ <div>
360
+ <input style="margin-right:5px;" value="1" id="<?php echo $id; ?>" type="checkbox" name="<?php echo $optionExpression; ?>" <?php echo $checkedText; ?> >Yes</input>
361
+ </div>
362
+ <?php
363
+ }
364
+
365
  // RSR: Why the hell do we need to set value to 1?
366
  public function render_checkbox_field($args) {
367
  $options = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
classes/class-easy-pie-utility.php CHANGED
@@ -29,7 +29,7 @@ if (!class_exists('Easy_Pie_Utility')) {
29
  * @author Snap Creek Software <support@snapcreek.com>
30
  * @copyright 2013 Synthetic Thought LLC
31
  */
32
- class Easy_Pie_Utility {
33
  /**
34
  * Set option value if it isn't already set
35
  */
@@ -44,6 +44,12 @@ if (!class_exists('Easy_Pie_Utility')) {
44
  */
45
  public static function set_option(&$option_array, $key, $value) {
46
  $option_array[$key] = $value;
 
 
 
 
 
 
47
  }
48
  }
49
  }
29
  * @author Snap Creek Software <support@snapcreek.com>
30
  * @copyright 2013 Synthetic Thought LLC
31
  */
32
+ class EZP_MM_U {
33
  /**
34
  * Set option value if it isn't already set
35
  */
44
  */
45
  public static function set_option(&$option_array, $key, $value) {
46
  $option_array[$key] = $value;
47
+ }
48
+
49
+ public static function get_option_value($subkey) {
50
+ $optionArray = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
51
+
52
+ return $optionArray[strtolower($subkey)];
53
  }
54
  }
55
  }
easy-pie-maintenance-mode.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: EZP Maintenance Mode
4
  Plugin URI: https://snapcreek.com/ezp-coming-soon/docs/faq-maintenance-mode/
5
  Description: Lets people know that your site is temporarily down.
6
- Version: 1.0.0
7
  Author: Snap Creek Software
8
  Author URI: https://snapcreek.com
9
  Text Domain: easy-pie-maintenance-mode
3
  Plugin Name: EZP Maintenance Mode
4
  Plugin URI: https://snapcreek.com/ezp-coming-soon/docs/faq-maintenance-mode/
5
  Description: Lets people know that your site is temporarily down.
6
+ Version: 1.0.1
7
  Author: Snap Creek Software
8
  Author URI: https://snapcreek.com
9
  Text Domain: easy-pie-maintenance-mode
languages/easy-pie-maintenance-mode.po CHANGED
@@ -1,142 +1,142 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: EZP Maintenance Mode\n"
4
- "POT-Creation-Date: 2016-09-14 10:06-0700\n"
5
- "PO-Revision-Date: 2016-09-14 10:06-0700\n"
6
- "Last-Translator: Snap Creek Software <support@snapcreek.com>\n"
7
- "Language-Team: EZP WP <support@snapcreek.com>\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.8.9\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: ..\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
-
18
- #: classes/class-easy-pie-mm-utility.php:131
19
- msgid "problem reading manifest in "
20
- msgstr "Logo"
21
-
22
- #: classes/class-easy-pie-mm.php:81
23
- msgid "Maintenance Mode is On"
24
- msgstr "Maintenance Mode is On"
25
-
26
- #: classes/class-easy-pie-mm.php:129
27
- msgid "Problem reading template "
28
- msgstr "Problem reading template "
29
-
30
- #: classes/class-easy-pie-mm.php:258
31
- msgid "Tried to create "
32
- msgstr "Tried to create "
33
-
34
- #: classes/class-easy-pie-mm.php:296
35
- msgid "Enabled"
36
- msgstr "Enabled"
37
-
38
- #: classes/class-easy-pie-mm.php:299
39
- msgid "Visuals"
40
- msgstr "Visuals"
41
-
42
- #: classes/class-easy-pie-mm.php:300
43
- msgid "Mini-theme"
44
- msgstr "Mini-theme"
45
-
46
- #: classes/class-easy-pie-mm.php:303
47
- msgid "Fields"
48
- msgstr "Fields"
49
-
50
- #: classes/class-easy-pie-mm.php:304
51
- msgid "Title"
52
- msgstr "Title"
53
-
54
- #: classes/class-easy-pie-mm.php:305
55
- msgid "Header"
56
- msgstr "Header"
57
-
58
- #: classes/class-easy-pie-mm.php:306
59
- msgid "Headline"
60
- msgstr "Headline"
61
-
62
- #: classes/class-easy-pie-mm.php:307
63
- msgid "Message"
64
- msgstr "Message"
65
-
66
- #: classes/class-easy-pie-mm.php:308
67
- msgid "Logo"
68
- msgstr "Logo"
69
-
70
- #: classes/class-easy-pie-mm.php:338
71
- msgid "HTML tags are allowed. e.g. Add &lt;br/&gt; for break."
72
- msgstr "HTML tags are allowed. e.g. Add &lt;br/&gt; for break."
73
-
74
- #: classes/class-easy-pie-mm.php:409
75
- msgid "All fields are optional"
76
- msgstr "All fields are optional"
77
-
78
- #: classes/class-easy-pie-mm.php:444
79
- msgid "User Defined:"
80
- msgstr "User Defined:"
81
-
82
- #: classes/class-easy-pie-mm.php:447
83
- msgid "by"
84
- msgstr "by"
85
-
86
- #: pages/page-options.php:17
87
- msgid "If you have a caching plugin, be sure to clear the cache!"
88
- msgstr "If you have a caching plugin, be sure to clear the cache!"
89
-
90
- #: pages/page-options.php:30
91
- msgid "Advanced Settings"
92
- msgstr "Advanced Settings"
93
-
94
- #: pages/page-options.php:33
95
- msgid "Custom CSS"
96
- msgstr "Custom CSS"
97
-
98
- #: pages/page-options.php:36
99
- msgid "Page styling varies greatly. "
100
- msgstr "Page styling varies greatly. "
101
-
102
- #: pages/page-options.php:36
103
- msgid "Update custom CSS when switching mini-themes."
104
- msgstr "Update custom CSS when switching mini-themes."
105
-
106
- #: pages/page-options.php:50
107
- msgid "Plugin FAQ"
108
- msgstr "Plugin FAQ"
109
-
110
- #: pages/page-options.php:52
111
- msgid "Contact"
112
- msgstr ""
113
-
114
- #~ msgid "How to create a mini-theme for yourself or the community"
115
- #~ msgstr "How to create a mini-theme for yourself or the community"
116
-
117
- #~ msgid "Feature Request"
118
- #~ msgstr "Feature Request"
119
-
120
- #~ msgid "Report Bug"
121
- #~ msgstr "Report Bug"
122
-
123
- #~ msgid "Write Review"
124
- #~ msgstr "Write Review"
125
-
126
- #~ msgid "Contact Bob"
127
- #~ msgstr "Contact Bob"
128
-
129
- #~ msgid "Comment or question?"
130
- #~ msgstr "Comment or question?"
131
-
132
- #~ msgid "Email"
133
- #~ msgstr "Email"
134
-
135
- #~ msgid "or stop by"
136
- #~ msgstr "or stop by"
137
-
138
- #~ msgid "Create your own mini-theme. Even distribute it!"
139
- #~ msgstr "Create your own mini-theme. Even distribute it!"
140
-
141
- #~ msgid "Page"
142
- #~ msgstr "Page"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: EZP Maintenance Mode\n"
4
+ "POT-Creation-Date: 2016-09-14 10:06-0700\n"
5
+ "PO-Revision-Date: 2016-09-14 10:06-0700\n"
6
+ "Last-Translator: Snap Creek Software <support@snapcreek.com>\n"
7
+ "Language-Team: EZP WP <support@snapcreek.com>\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.8.9\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: classes/class-easy-pie-mm-utility.php:131
19
+ msgid "problem reading manifest in "
20
+ msgstr "Logo"
21
+
22
+ #: classes/class-easy-pie-mm.php:81
23
+ msgid "Maintenance Mode is On"
24
+ msgstr "Maintenance Mode is On"
25
+
26
+ #: classes/class-easy-pie-mm.php:129
27
+ msgid "Problem reading template "
28
+ msgstr "Problem reading template "
29
+
30
+ #: classes/class-easy-pie-mm.php:258
31
+ msgid "Tried to create "
32
+ msgstr "Tried to create "
33
+
34
+ #: classes/class-easy-pie-mm.php:296
35
+ msgid "Enabled"
36
+ msgstr "Enabled"
37
+
38
+ #: classes/class-easy-pie-mm.php:299
39
+ msgid "Visuals"
40
+ msgstr "Visuals"
41
+
42
+ #: classes/class-easy-pie-mm.php:300
43
+ msgid "Mini-theme"
44
+ msgstr "Mini-theme"
45
+
46
+ #: classes/class-easy-pie-mm.php:303
47
+ msgid "Fields"
48
+ msgstr "Fields"
49
+
50
+ #: classes/class-easy-pie-mm.php:304
51
+ msgid "Title"
52
+ msgstr "Title"
53
+
54
+ #: classes/class-easy-pie-mm.php:305
55
+ msgid "Header"
56
+ msgstr "Header"
57
+
58
+ #: classes/class-easy-pie-mm.php:306
59
+ msgid "Headline"
60
+ msgstr "Headline"
61
+
62
+ #: classes/class-easy-pie-mm.php:307
63
+ msgid "Message"
64
+ msgstr "Message"
65
+
66
+ #: classes/class-easy-pie-mm.php:308
67
+ msgid "Logo"
68
+ msgstr "Logo"
69
+
70
+ #: classes/class-easy-pie-mm.php:338
71
+ msgid "HTML tags are allowed. e.g. Add &lt;br/&gt; for break."
72
+ msgstr "HTML tags are allowed. e.g. Add &lt;br/&gt; for break."
73
+
74
+ #: classes/class-easy-pie-mm.php:409
75
+ msgid "All fields are optional"
76
+ msgstr "All fields are optional"
77
+
78
+ #: classes/class-easy-pie-mm.php:444
79
+ msgid "User Defined:"
80
+ msgstr "User Defined:"
81
+
82
+ #: classes/class-easy-pie-mm.php:447
83
+ msgid "by"
84
+ msgstr "by"
85
+
86
+ #: pages/page-options.php:17
87
+ msgid "If you have a caching plugin, be sure to clear the cache!"
88
+ msgstr "If you have a caching plugin, be sure to clear the cache!"
89
+
90
+ #: pages/page-options.php:30
91
+ msgid "Advanced Settings"
92
+ msgstr "Advanced Settings"
93
+
94
+ #: pages/page-options.php:33
95
+ msgid "Custom CSS"
96
+ msgstr "Custom CSS"
97
+
98
+ #: pages/page-options.php:36
99
+ msgid "Page styling varies greatly. "
100
+ msgstr "Page styling varies greatly. "
101
+
102
+ #: pages/page-options.php:36
103
+ msgid "Update custom CSS when switching mini-themes."
104
+ msgstr "Update custom CSS when switching mini-themes."
105
+
106
+ #: pages/page-options.php:50
107
+ msgid "Plugin FAQ"
108
+ msgstr "Plugin FAQ"
109
+
110
+ #: pages/page-options.php:52
111
+ msgid "Contact"
112
+ msgstr ""
113
+
114
+ #~ msgid "How to create a mini-theme for yourself or the community"
115
+ #~ msgstr "How to create a mini-theme for yourself or the community"
116
+
117
+ #~ msgid "Feature Request"
118
+ #~ msgstr "Feature Request"
119
+
120
+ #~ msgid "Report Bug"
121
+ #~ msgstr "Report Bug"
122
+
123
+ #~ msgid "Write Review"
124
+ #~ msgstr "Write Review"
125
+
126
+ #~ msgid "Contact Bob"
127
+ #~ msgstr "Contact Bob"
128
+
129
+ #~ msgid "Comment or question?"
130
+ #~ msgstr "Comment or question?"
131
+
132
+ #~ msgid "Email"
133
+ #~ msgstr "Email"
134
+
135
+ #~ msgid "or stop by"
136
+ #~ msgstr "or stop by"
137
+
138
+ #~ msgid "Create your own mini-theme. Even distribute it!"
139
+ #~ msgstr "Create your own mini-theme. Even distribute it!"
140
+
141
+ #~ msgid "Page"
142
+ #~ msgstr "Page"
pages/page-options.php CHANGED
@@ -3,53 +3,233 @@
3
  * To change this template, choose Tools | Templates
4
  * and open the template in the editor.
5
  */
 
 
 
 
 
 
 
 
 
 
 
 
6
  ?>
7
  <style>
8
  p.submit { padding-bottom: 12px!important; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  </style>
10
 
11
  <div class="wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
- <?php screen_icon(Easy_Pie_MM_Constants::PLUGIN_SLUG); ?>
14
- <h2>EZP Maintenance Mode</h2>
15
- <?php
16
- if (isset($_GET['settings-updated'])) {
17
- echo "<div class='updated'><p>" . Easy_Pie_MM_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
18
- }
19
-
20
- $option_array = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
21
- ?>
22
- <div class="inside">
23
- <form method="post" action="options.php">
24
- <?php
25
- settings_fields(Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
26
- do_settings_sections(Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
27
- ?>
28
- <div style="margin-top: 25px; width:784px" class="postbox easy-pie-mm-toggle">
29
- <div class="handlediv" title="Click to toggle" onclick="easyPie.MM.toggleAdvancedBox();"><br></div>
30
- <h3 style="cursor:pointer; height:25px; margin-bottom:0px; padding-left: 10px; padding-top:0px;" class="hndl" onclick="easyPie.MM.toggleAdvancedBox();"><span style="font-weight:bold"><?php Easy_Pie_MM_Utility::_e('Advanced Settings'); ?><span></h3>
31
- <table id="easy-pie-mm-advanced" style="display:none" class="form-table">
32
- <tr valign="top">
33
- <th scope="row" style="padding-left:9px;"><?php Easy_Pie_MM_Utility::_e("Custom CSS") ?></th><td>
34
- <div>
35
- <textarea cols="67" rows="9" id="easy-pie-mm-field-junk" name="easy-pie-mm-options[css]"><?php echo $option_array["css"]; ?></textarea>
36
- <p><small><strong><?php Easy_Pie_MM_Utility::_e("Page styling varies greatly. ")?></strong><?php Easy_Pie_MM_Utility::_e("Update custom CSS when switching mini-themes."); ?></small></p>
37
- </div>
38
- </td>
39
- </tr>
40
- </table>
41
- </div>
42
-
43
- <div style="margin-top:30px; margin-bottom:25px; border-radius:4px; box-shadow: 1px 6px 36px -5px rgba(34,34,34,1);width: 694px; color: rgb(200, 22, 22); background-color: white;font-weight: bold;border: red solid 1px;padding: 5px;">Set custom backgrounds, collect emails, grant site access, add social media links and more <a href="https://snapcreek.com/ezp-coming-soon/" target="_blank">in our Pro product!</a>
44
- </div>
45
-
46
- <?php
47
- submit_button();
48
- ?>
49
-
50
- <a href="https://snapcreek.com/ezp-coming-soon/docs/faq-maintenance-mode/" target="_blank"><?php $this->_e('Plugin FAQ'); ?></a>
51
- |
52
- <a href="mailto:support@snapcreek.com" target="_blank"><?php $this->_e('Contact'); ?></a>
53
- </form>
54
- </div>
55
- </div>
3
  * To change this template, choose Tools | Templates
4
  * and open the template in the editor.
5
  */
6
+
7
+ //$spawn_preview_window = false;
8
+
9
+ //print_r($_GET);
10
+ //if(isset($_GET['do_preview']))
11
+ //{
12
+ // $spawn_preview_window = true;
13
+ //}
14
+
15
+ require_once(dirname(__FILE__) . "/../classes/class-easy-pie-utility.php");
16
+
17
+ $active = EZP_MM_U::get_option_value("enabled");
18
  ?>
19
  <style>
20
  p.submit { padding-bottom: 12px!important; }
21
+ .postbox .inside {margin-bottom: 6px}
22
+ .form-table th{padding: 8px 8px 8px 25px}
23
+ .form-table th[scope=row]{width: 150px}
24
+ .form-table td{padding: 3px 0 3px 0}
25
+
26
+ /*Section Titles*/
27
+ h3.ezp-mm-subtitle {border-bottom: 1px solid #dfdfdf; padding:0 0 6px 8px; margin:-3px 0 0 -10px; font-size:17px; font-weight: bold }
28
+ form#easy-pie-mm-advanced-form h2 { font-weight: bold; font-size:15px; margin-top:15px; }
29
+ div.bx-wrapper {max-width:400px; width:400px}
30
+ div.bx-controls {max-width:400px; width:400px}
31
+ div#major-publishing-actions p.submit {text-align: right !important; padding:0 5px}
32
+ div#major-publishing-actions {margin: 10px -12px -24px -12px; padding:0}
33
+
34
+ #ezp-mm-container {width: 100%; margin: 0 auto; }
35
+ #ezp-mm-content {width: 100%; }
36
+ #ezp-mm-sidebar {width: 100%;}
37
+ #ezp-mm-sidebar-pad {padding:0}
38
+
39
+ /*Window: Above 1200px*/
40
+ @media only screen and (min-width:1200px) {
41
+ #ezp-mm-content {width:68%; float:left; }
42
+ #ezp-mm-sidebar {width:32%; float:right; min-width:280px; }
43
+ #ezp-mm-sidebar-pad {margin:0 5px 0 10px;}
44
+ }
45
+ /*Window: Above 1400px*/
46
+ @media only screen and (min-width:1400px) {
47
+ #ezp-mm-content {width:70%; float:left; }
48
+ #ezp-mm-sidebar {width:30%; float:right; min-width:280px; }
49
+ }
50
+ /*Window: Above 1600px*/
51
+ @media only screen and (min-width:1600px) {
52
+ #ezp-mm-content {width:75%; float:left; }
53
+ #ezp-mm-sidebar {width:25%; float:right; min-width:280px; }
54
+ }
55
+ /*Window: Above 1800px*/
56
+ @media only screen and (min-width:1800px) {
57
+ #ezp-mm-content {width:80%; float:left; }
58
+ #ezp-mm-sidebar {width:20%; float:right; min-width:280px; }
59
+ }
60
  </style>
61
 
62
  <div class="wrap">
63
+ <?php screen_icon(Easy_Pie_MM_Constants::PLUGIN_SLUG); ?>
64
+ <h2><?php Easy_Pie_MM_Utility::_e('EZP Maintenance Mode'); ?></h2>
65
+ <?php
66
+ if (isset($_GET['settings-updated'])) {
67
+ echo "<div class='updated'><p>" . Easy_Pie_MM_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
68
+ }
69
+ $option_array = get_option(Easy_Pie_MM_Constants::OPTION_NAME);
70
+ ?>
71
+ <form method="post" action="options.php" id="easy-pie-mm-advanced-form">
72
+ <input type="hidden" id="ezp-action" name="ezp-action" value=""/>
73
+ <div id="ezp-mm-container">
74
+ <div id="ezp-mm-content">
75
+ <!-- ===================================
76
+ BASIC -->
77
+ <div class="postbox" style="margin-top:10px;">
78
+ <div class="inside">
79
+ <h3 class="ezp-mm-subtitle"><?php Easy_Pie_MM_Utility::_e("Basic") ?></h3>
80
+ <?php
81
+ settings_fields(Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
82
+ do_settings_sections(Easy_Pie_MM_Constants::MAIN_PAGE_KEY);
83
+ ?>
84
+ </div>
85
+ </div>
86
+
87
+ <!-- ===================================
88
+ ADVANCED -->
89
+ <div class="postbox" style="margin-top:10px;">
90
+ <div class="inside">
91
+ <h3 style="cursor:pointer" onclick="easyPie.MM.toggleAdvancedBox()" class="ezp-mm-subtitle"><?php Easy_Pie_MM_Utility::_e("ADVANCED") ?></h3>
92
+ <table id="easy-pie-mm-advanced" style="display:none" class="form-table">
93
+ <tr valign="top">
94
+ <th scope="row"><?php Easy_Pie_MM_Utility::_e("Custom CSS") ?></th>
95
+ <td>
96
+ <textarea cols="67" rows="9" id="easy-pie-mm-field-junk" name="easy-pie-mm-options[css]"><?php echo $option_array["css"]; ?></textarea>
97
+ <p>
98
+ <small><strong><?php Easy_Pie_MM_Utility::_e("Page styling varies greatly. ")?></strong>
99
+ <?php Easy_Pie_MM_Utility::_e("Update custom CSS when switching mini-themes."); ?></small>
100
+ </p>
101
+ </td>
102
+ </tr>
103
+ </table>
104
+ </div>
105
+ </div>
106
+ </div>
107
+
108
+ <div id="ezp-mm-sidebar" >
109
+ <div id="ezp-mm-sidebar-pad">
110
+ <!-- ===================================
111
+ GO PRO -->
112
+ <div class="postbox" style="margin-top:10px;">
113
+ <div class="inside" style="line-height:25px">
114
+ <h3 class="ezp-mm-subtitle"><?php Easy_Pie_MM_Utility::_e("Publish") ?></h3>
115
+ <div style="text-align:right; margin:10px 0">
116
+ <button class="button" onclick="EZP.MM.saveAndPreview(); return false; ">Preview Changes</button>
117
+ </div>
118
+
119
+ <?php if ($active) :?>
120
+ <b><?php Easy_Pie_MM_Utility::_e("Status") ?>:</b> <span style="color:red">Active</span> <br/>
121
+ <!-- <b><?php Easy_Pie_MM_Utility::_e("Active On") ?>:</b> Mar 10, 2016 @ 17:01-->
122
+ <?php else :?>
123
+ <b><?php Easy_Pie_MM_Utility::_e("Status") ?>:</b> <span style="color:green">Inactive</span> <br/>
124
+ <!-- <b><?php Easy_Pie_MM_Utility::_e("Inactive On") ?>:</b> Mar 10, 2016 @ 17:01-->
125
+ <?php endif;?>
126
+ <br/><br/>
127
+
128
+ <div id="major-publishing-actions" class="ezp-mm-pub-save">
129
+ <?php submit_button(); ?>
130
+ </div>
131
+
132
+ </div>
133
+ </div>
134
+ <!-- ===================================
135
+ GO PRO -->
136
+ <div class="postbox" style="margin-top:10px;">
137
+ <div class="inside">
138
+ <h3 class="ezp-mm-subtitle"><?php Easy_Pie_MM_Utility::_e("Go Professional") ?></h3>
139
+ <div style="text-align:center; font-style: italic; margin:10px 0 -5px 0">
140
+ <?php Easy_Pie_MM_Utility::_e("With Coming Soon Elite!") ?>
141
+ </div>
142
+
143
+ <ul style="font-size:15px">
144
+ <li>Custom Backgrounds</li>
145
+ <li>Collect Emails</li>
146
+ <li>MailChimp Autosync</li>
147
+ <li>Grant Site Access</li>
148
+ <li>Social Media Links </li>
149
+ <li>Video Backgrounds</li>
150
+ <li>Countdown Timer</li>
151
+ <li>Fully Responsive</li>
152
+ <li><a href="https://snapcreek.com/ezp-coming-soon/" target="_blank">And much more!</a></li>
153
+ </ul>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- ===================================
158
+ RATE -->
159
+ <div class="postbox" style="margin-top:10px;">
160
+ <div class="inside">
161
+ <h3 class="ezp-mm-subtitle"><?php Easy_Pie_MM_Utility::_e("Rate Maintenance Mode") ?></h3>
162
+ <div style="padding: 8px">
163
+ <?php Easy_Pie_MM_Utility::_e("If you have benefited from this plugin please consider leaving us a 5 star review!") ?><br/>
164
+ <a target="_blank" href="https://wordpress.org/support/plugin/easy-pie-maintenance-mode/reviews/">Rate Us Here!</a>
165
+ <br/><br/>
166
+ <?php Easy_Pie_MM_Utility::_e("Cheers~") ?>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+
173
+ <br style="clear:both"/>
174
+ <?php //submit_button(); ?>
175
+
176
+ <a href="https://snapcreek.com/ezp-coming-soon/docs/faq-maintenance-mode/" target="_blank"><?php $this->_e('Plugin FAQ'); ?></a> |
177
+ <a href="mailto:support@snapcreek.com" target="_blank"><?php $this->_e('Contact'); ?></a>
178
+ </div>
179
+
180
+ <script>
181
+ EZP = { };
182
+ EZP.MM = { };
183
+
184
+ jQuery(document).ready(function ($) {
185
+
186
+ EZP.MM.getCookie = function(cname) {
187
+
188
+ var name = cname + "=";
189
+ var ca = document.cookie.split(';');
190
+ for(var i = 0; i <ca.length; i++) {
191
+ var c = ca[i];
192
+ while (c.charAt(0)==' ') {
193
+ c = c.substring(1);
194
+ }
195
+ if (c.indexOf(name) == 0) {
196
+ return c.substring(name.length,c.length);
197
+ }
198
+ }
199
+
200
+ return "";
201
+ };
202
+
203
+ EZP.MM.setCookie = function (cname, cvalue, exdays) {
204
+
205
+ var d = new Date();
206
+ d.setTime(d.getTime() + (exdays*24*60*60*1000));
207
+ var expires = "expires="+ d.toUTCString();
208
+ document.cookie = cname + "=" + cvalue + "; " + expires;
209
+ };
210
+
211
+
212
+ EZP.MM.saveAndPreview = function() {
213
+
214
+ EZP.MM.setCookie("ezp_mm_preview", "true", 1);
215
+
216
+ $("#submit").trigger("click");
217
+ };
218
+
219
+ var previewCookie = EZP.MM.getCookie("ezp_mm_preview") === "true";
220
+
221
+ if (previewCookie)
222
+ {
223
+ EZP.MM.setCookie("ezp_mm_preview", "false", 3650);
224
+
225
+ window.open('<?php echo get_site_url() . "?ezp_mm_preview=true" ?>').focus();
226
+ }
227
+ });
228
+
229
+
230
+ </script>
231
+ </form>
232
+ </div>
233
+
234
 
235
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === EZP Maintenance Mode ===
2
- Contributors: bobriley
3
  Donate link: http://easypiewp.com/donate/
4
  Tags: maintenance, admin, administration, construction, under construction, maintenance mode, offline, unavailable, launch, wordpress maintenance mode, site maintenance
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
- Stable tag: 1.0.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -15,8 +15,8 @@ Easily let website visitors know your site is undergoing maintenance.
15
  Need to let your visitors know your site is undergoing maintenance? EZP Maintenance Mode makes it easy!
16
 
17
  ### Maintenance Mode Basic Features
18
- * **Simple.** No confusing options or complex setup.
19
- * **Mini themes.** Choose between four professionally-designed, responsive mini-themes to display when in Maintenance Mode.
20
  * **Pre-styled text.** Title, header, headline and message text gets styled without requiring HTML or CSS.
21
  * **Add your own logo.** Add your own logo using the WordPress Media Library to give Maintenance Mode a personal touch.
22
 
@@ -25,7 +25,7 @@ Need to let your visitors know your site is undergoing maintenance? EZP Maintena
25
  * **User Mini Themes.** Greatly customize Maintenance Mode by creating your own mini-theme.
26
 
27
  ### Overview
28
- EZP Maintenance Mode was designed to let you get to the important work of improving your site while visitors know you are performing maintenance in the shortest time possible. We've supplied four very nice looking themes to display when your site is undergoing maintenance. Additionally, you can easily cator these to your tastes using CSS. For the advanced users, you can create your own mini theme to be displayed when the site is undergoing maintenance.
29
 
30
  In this way, both beginners and pros will find EZP Maintenance Mode not only easy to use but highly flexible as well.
31
 
@@ -79,6 +79,9 @@ Afterward either uninstall or reconfigure the conflicting plugins.
79
 
80
  If you aren't comfortable doing this or are unsure how to do this, [please contact me](mailto:support@snapcreek.com) and I'll be happy to walk you through the process.
81
 
 
 
 
82
  = How do I report a bug? =
83
 
84
  Please capture as much information you can about your system, specifically use the error log to gather new information if you are comfortable. The [EZP Error Log Guide](http://easypiewp.com/quickly-diagnose-wordpress-problems-using-error-log/) outlines how to do this.
@@ -87,10 +90,16 @@ Then, please [let me know](mailto:support@snapcreek.com) what's going on, with a
87
  == Screenshots ==
88
 
89
  1. Plugin configuration
90
- 2. Site in maintenance mode when using the 'temporarily closed' mini-theme.
 
 
91
 
92
  == Changelog ==
93
 
 
 
 
 
94
  = 1.0.0 =
95
  * Small UI tweaks
96
  * Renamed to EZP Maintenance Mode
@@ -135,6 +144,9 @@ Then, please [let me know](mailto:support@snapcreek.com) what's going on, with a
135
 
136
  == Upgrade Notice ==
137
 
 
 
 
138
  = 1.0.0 =
139
  Small UI tweaks, renamed to EZP Maintenance Mode, changed references to Snap Creek Software
140
 
1
  === EZP Maintenance Mode ===
2
+ Contributors: bobriley, corylamleorg
3
  Donate link: http://easypiewp.com/donate/
4
  Tags: maintenance, admin, administration, construction, under construction, maintenance mode, offline, unavailable, launch, wordpress maintenance mode, site maintenance
5
  Requires at least: 3.5
6
  Tested up to: 4.1.1
7
+ Stable tag: 1.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
15
  Need to let your visitors know your site is undergoing maintenance? EZP Maintenance Mode makes it easy!
16
 
17
  ### Maintenance Mode Basic Features
18
+ * **Very Simple.** No confusing options or complex setup.
19
+ * **Mini themes.** Choose which professionally-designed, responsive mini-theme to display when in Maintenance Mode.
20
  * **Pre-styled text.** Title, header, headline and message text gets styled without requiring HTML or CSS.
21
  * **Add your own logo.** Add your own logo using the WordPress Media Library to give Maintenance Mode a personal touch.
22
 
25
  * **User Mini Themes.** Greatly customize Maintenance Mode by creating your own mini-theme.
26
 
27
  ### Overview
28
+ EZP Maintenance Mode was designed to let you get to the important work of improving your site while visitors know you are performing maintenance in the shortest time possible. We've supplied four very nice looking themes to display when your site is undergoing maintenance. Additionally, you can easily cator these to your tastes using CSS.
29
 
30
  In this way, both beginners and pros will find EZP Maintenance Mode not only easy to use but highly flexible as well.
31
 
79
 
80
  If you aren't comfortable doing this or are unsure how to do this, [please contact me](mailto:support@snapcreek.com) and I'll be happy to walk you through the process.
81
 
82
+ = Why isn't the Preview Changes button working? =
83
+ This is most likely due to your browser's popup blocker. Click on the Preview Changes button and look for an indication in your browser's control bar that a popup has been blocked. Click on this indication to allow future popups to go through then retry.
84
+
85
  = How do I report a bug? =
86
 
87
  Please capture as much information you can about your system, specifically use the error log to gather new information if you are comfortable. The [EZP Error Log Guide](http://easypiewp.com/quickly-diagnose-wordpress-problems-using-error-log/) outlines how to do this.
90
  == Screenshots ==
91
 
92
  1. Plugin configuration
93
+ 2. Site in maintenance mode when using the 'Temporarily Closed' mini-theme.
94
+ 3. Site in maintenance mode when using the 'Plain Jane' mini-theme.
95
+ 4. Site in maintenance mode when using the 'Black Sawhorse' mini-theme.
96
 
97
  == Changelog ==
98
 
99
+ = 1.0.1 =
100
+ * UI overhaul
101
+ * Added preview capability
102
+
103
  = 1.0.0 =
104
  * Small UI tweaks
105
  * Renamed to EZP Maintenance Mode
144
 
145
  == Upgrade Notice ==
146
 
147
+ = 1.0.1 =
148
+ UI overhaul, added preview capability
149
+
150
  = 1.0.0 =
151
  Small UI tweaks, renamed to EZP Maintenance Mode, changed references to Snap Creek Software
152
 
styles/jquery.bxslider.css CHANGED
@@ -49,7 +49,7 @@
49
 
50
  .bx-wrapper .bx-loading {
51
  min-height: 50px;
52
- background: url(images/bx_loader.gif) center center no-repeat #fff;
53
  height: 100%;
54
  width: 100%;
55
  position: absolute;
49
 
50
  .bx-wrapper .bx-loading {
51
  min-height: 50px;
52
+ /*background: url(images/bx_loader.gif) center center no-repeat #fff;*/
53
  height: 100%;
54
  width: 100%;
55
  position: absolute;