Version Description
- Initial release
=
Download this release
Release Info
Developer | bobriley |
Plugin | EZP Maintenance Mode |
Version | 0.5 |
Comparing to | |
See all releases |
Version 0.5
- classes/class-easy-pie-maintenance-mode.php +489 -0
- classes/class-easy-pie-plugin-base.php +32 -0
- classes/class-easy-pie-utility.php +33 -0
- easy-pie-maintenance-mode.php +44 -0
- images/easy-pie-mm-logo32.png +0 -0
- js/functions.js +47 -0
- js/jquery.bxslider.min.js +10 -0
- languages/easy-pie-maintenance-mode.mo +0 -0
- languages/easy-pie-maintenance-mode.po +73 -0
- license.txt +281 -0
- mini-themes/plain/css/reset.css +2 -0
- mini-themes/plain/css/style.css +15 -0
- mini-themes/plain/images/screenshot.png +0 -0
- mini-themes/plain/manifest.json +17 -0
- mini-themes/plain/page.html +38 -0
- mini-themes/sawhorse-black/css/reset.css +2 -0
- mini-themes/sawhorse-black/css/style.css +140 -0
- mini-themes/sawhorse-black/images/logo.png +0 -0
- mini-themes/sawhorse-black/images/maintenance.png +0 -0
- mini-themes/sawhorse-black/images/pattern.png +0 -0
- mini-themes/sawhorse-black/images/screenshot.png +0 -0
- mini-themes/sawhorse-black/manifest.json +17 -0
- mini-themes/sawhorse-black/page.html +76 -0
- mini-themes/sawhorse-yellow/css/reset.css +2 -0
- mini-themes/sawhorse-yellow/css/style.css +164 -0
- mini-themes/sawhorse-yellow/images/alert.png +0 -0
- mini-themes/sawhorse-yellow/images/logo.png +0 -0
- mini-themes/sawhorse-yellow/images/maintenance.png +0 -0
- mini-themes/sawhorse-yellow/images/pattern.png +0 -0
- mini-themes/sawhorse-yellow/images/screenshot.png +0 -0
- mini-themes/sawhorse-yellow/manifest.json +17 -0
- mini-themes/sawhorse-yellow/page.html +79 -0
- mini-themes/temporarily-closed/css/reset.css +2 -0
- mini-themes/temporarily-closed/css/style.css +231 -0
- mini-themes/temporarily-closed/images/background.jpg +0 -0
- mini-themes/temporarily-closed/images/container.png +0 -0
- mini-themes/temporarily-closed/images/screenshot.png +0 -0
- mini-themes/temporarily-closed/manifest.json +17 -0
- mini-themes/temporarily-closed/page.html +69 -0
- pages/page-options.php +27 -0
- readme.txt +64 -0
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- styles/easy-pie-styles.css +36 -0
- styles/jquery.bxslider.css +197 -0
- uninstall.php +11 -0
classes/class-easy-pie-maintenance-mode.php
ADDED
@@ -0,0 +1,489 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
require_once("class-easy-pie-utility.php");
|
3 |
+
require_once("class-easy-pie-plugin-base.php");
|
4 |
+
|
5 |
+
if (!class_exists('Easy_Pie_Maintenance_Mode')) {
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Main class of Easy Pie Maintenance Mode plugin
|
9 |
+
*
|
10 |
+
* @author Bob Riley
|
11 |
+
*/
|
12 |
+
class Easy_Pie_Maintenance_Mode extends Easy_Pie_Plugin_Base {
|
13 |
+
// Constants
|
14 |
+
|
15 |
+
const OPTIONS_GROUP_NAME = 'easy-pie-mm-options-group';
|
16 |
+
const OPTION_NAME = 'easy-pie-mm-options';
|
17 |
+
const PAGE_KEY = 'easy-pie-mm';
|
18 |
+
const PLUGIN_SLUG = 'easy-pie-maintenance-mode';
|
19 |
+
const PLUGIN_VERSION = 0.5;
|
20 |
+
|
21 |
+
// Variables
|
22 |
+
private $options;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Constructor
|
26 |
+
*/
|
27 |
+
function __construct() {
|
28 |
+
|
29 |
+
parent::__construct(Easy_Pie_Maintenance_Mode::PLUGIN_SLUG);
|
30 |
+
|
31 |
+
$this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
|
32 |
+
|
33 |
+
// RSR TODO Bug - is_admin just says if admin panel is attempting to be displayed - NOT to see if someone is an admin
|
34 |
+
if (is_admin() == true) {
|
35 |
+
|
36 |
+
//- Hook Handlers
|
37 |
+
register_activation_hook(__FILE__, array('Easy_Pie_Maintenance_Mode', 'activate'));
|
38 |
+
register_deactivation_hook(__FILE__, array('Easy_Pie_Maintenance_Mode', 'deactivate'));
|
39 |
+
register_uninstall_hook(__FILE__, array('Easy_Pie_Maintenance_Mode', 'uninstall'));
|
40 |
+
|
41 |
+
//- Actions
|
42 |
+
$this->add_class_action('admin_init', 'admin_init_handler');
|
43 |
+
$this->add_class_action('admin_menu', 'add_to_admin_menu');
|
44 |
+
} else if ($this->get_option_value("enabled") == true) {
|
45 |
+
|
46 |
+
$this->add_class_action('template_redirect', 'display_maintenance_page');
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
function add_class_action($tag, $method_name) {
|
51 |
+
|
52 |
+
return add_action($tag, array($this, $method_name));
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Display the maintenance page
|
57 |
+
*/
|
58 |
+
public function display_maintenance_page() {
|
59 |
+
|
60 |
+
// For now
|
61 |
+
if (!is_user_logged_in()) {
|
62 |
+
|
63 |
+
header('HTTP/1.1 503 Service Temporarily Unavailable');
|
64 |
+
header('Status: 503 Service Temporarily Unavailable');
|
65 |
+
header('Retry-After: 86400'); // RSR TODO: Put in the retry time later
|
66 |
+
|
67 |
+
$key = $this->get_option_value("page_template_key");
|
68 |
+
$dir = $this->get_template_path($key);
|
69 |
+
$filename = $dir . "/page.html";
|
70 |
+
|
71 |
+
$template_url = plugins_url() . "/easy-pie-maintenance-mode/mini-themes/" . $key;
|
72 |
+
|
73 |
+
$contents = file_get_contents($filename);
|
74 |
+
$contents = $this->replace_page_template_fields($contents, $template_url);
|
75 |
+
|
76 |
+
if ($contents != false) {
|
77 |
+
|
78 |
+
echo $contents;
|
79 |
+
} else {
|
80 |
+
|
81 |
+
$this->debug(__("Problem reading template ", Easy_Pie_Maintenance_Mode::PLUGIN_SLUG) . $key);
|
82 |
+
}
|
83 |
+
|
84 |
+
exit();
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
private function replace_page_template_fields($contents, $template_url) {
|
89 |
+
|
90 |
+
// rsr todo replace value per http://stackoverflow.com/questions/7980741/efficient-way-to-replace-placeholders-with-variables
|
91 |
+
$option_array = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
92 |
+
|
93 |
+
$headline = $option_array['headline'];
|
94 |
+
$header = $option_array['header'];
|
95 |
+
$message = $option_array['message'];
|
96 |
+
$title = $option_array['title'];
|
97 |
+
$logo_url = $option_array['logo_url'];
|
98 |
+
|
99 |
+
$values = array(
|
100 |
+
'{{headline}}' => $headline,
|
101 |
+
'{{header}}' => $header,
|
102 |
+
'{{message}}' => $message,
|
103 |
+
'{{title}}' => $title,
|
104 |
+
'{{logo_url}}' => $logo_url,
|
105 |
+
'./' => $template_url . "/"
|
106 |
+
);
|
107 |
+
|
108 |
+
return strtr($contents, $values);
|
109 |
+
}
|
110 |
+
|
111 |
+
// <editor-fold defaultstate="collapsed" desc="Hook Handlers">
|
112 |
+
public static function activate() {
|
113 |
+
|
114 |
+
// RSR TODO: Do initial setup of database/configuration
|
115 |
+
}
|
116 |
+
|
117 |
+
public static function deactivate() {
|
118 |
+
//No actions needed yet
|
119 |
+
}
|
120 |
+
|
121 |
+
public static function uninstall() {
|
122 |
+
|
123 |
+
}
|
124 |
+
|
125 |
+
// </editor-fold>
|
126 |
+
|
127 |
+
public function enqueue_scripts() {
|
128 |
+
|
129 |
+
$jsRoot = plugins_url("/../js", __FILE__);
|
130 |
+
|
131 |
+
wp_enqueue_script('jquery');
|
132 |
+
wp_enqueue_script('jquery.bxslider', $jsRoot . "/jquery.bxslider.min.js", array("jquery"));
|
133 |
+
wp_enqueue_script("easy_pie_mm_functions", $jsRoot . "/functions.js", array("jquery", "jquery.bxslider"));
|
134 |
+
|
135 |
+
wp_enqueue_media();
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* enqueue_styles
|
140 |
+
* Loads the required css links only for this plugin */
|
141 |
+
public function enqueue_styles() {
|
142 |
+
$styleRoot = plugins_url("/../styles", __FILE__);
|
143 |
+
|
144 |
+
wp_register_style('jquery.bxslider.css', $styleRoot . '/jquery.bxslider.css');
|
145 |
+
wp_enqueue_style('jquery.bxslider.css');
|
146 |
+
|
147 |
+
wp_register_style('easy-pie-styles.css', $styleRoot . '/easy-pie-styles.css');
|
148 |
+
wp_enqueue_style('easy-pie-styles.css');
|
149 |
+
}
|
150 |
+
|
151 |
+
// <editor-fold defaultstate="collapsed" desc=" Action Handlers ">
|
152 |
+
public function plugins_loaded_handler() {
|
153 |
+
|
154 |
+
$this->init_localization();
|
155 |
+
$this->upgrade_processing();
|
156 |
+
$this->init_options();
|
157 |
+
}
|
158 |
+
|
159 |
+
public function init_localization() {
|
160 |
+
|
161 |
+
load_plugin_textdomain(Easy_Pie_Maintenance_Mode::PLUGIN_SLUG, FALSE, Easy_Pie_Maintenance_Mode::PLUGIN_SLUG . '/languages/');
|
162 |
+
}
|
163 |
+
|
164 |
+
public function admin_init_handler() {
|
165 |
+
|
166 |
+
register_setting(Easy_Pie_Maintenance_Mode::OPTIONS_GROUP_NAME, Easy_Pie_Maintenance_Mode::OPTION_NAME, array($this, 'validate_options'));
|
167 |
+
|
168 |
+
$this->add_settings_sections();
|
169 |
+
$this->add_filters();
|
170 |
+
}
|
171 |
+
|
172 |
+
private function add_filters() {
|
173 |
+
|
174 |
+
add_filter('plugin_action_links', array($this, 'get_action_links'), 10, 2);
|
175 |
+
}
|
176 |
+
|
177 |
+
function get_action_links($links, $file) {
|
178 |
+
|
179 |
+
if ($file == "easy-pie-maintenance-mode/easy-pie-maintenance-mode.php") {
|
180 |
+
|
181 |
+
// the anchor tag and href to the URL we want. For a "Settings" link, this needs to be the url of your settings page
|
182 |
+
$settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=easy-pie-mm">Settings</a>';
|
183 |
+
// add the link to the list
|
184 |
+
array_unshift($links, $settings_link);
|
185 |
+
}
|
186 |
+
|
187 |
+
return $links;
|
188 |
+
}
|
189 |
+
|
190 |
+
private function get_option_value($subkey) {
|
191 |
+
|
192 |
+
$optionArray = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
193 |
+
|
194 |
+
return $optionArray[strtolower($subkey)];
|
195 |
+
}
|
196 |
+
|
197 |
+
// <editor-fold defaultstate="collapsed" desc=" Settings Logic ">
|
198 |
+
|
199 |
+
function upgrade_processing() {
|
200 |
+
// RSR: In future versions compare where we are at with what's in the system and take action
|
201 |
+
}
|
202 |
+
|
203 |
+
function init_options() {
|
204 |
+
|
205 |
+
$this->options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
206 |
+
|
207 |
+
if ($this->options == false) {
|
208 |
+
|
209 |
+
$this->options = array();
|
210 |
+
}
|
211 |
+
|
212 |
+
Easy_Pie_Utility::set_option($this->options, 'plugin_version', Easy_Pie_Maintenance_Mode::PLUGIN_VERSION);
|
213 |
+
|
214 |
+
Easy_Pie_Utility::set_default_option($this->options, 'enabled', false);
|
215 |
+
Easy_Pie_Utility::set_default_option($this->options, 'page_template_key', "plain");
|
216 |
+
Easy_Pie_Utility::set_default_option($this->options, 'title', null);
|
217 |
+
Easy_Pie_Utility::set_default_option($this->options, 'header', null);
|
218 |
+
Easy_Pie_Utility::set_default_option($this->options, 'headline', null);
|
219 |
+
Easy_Pie_Utility::set_default_option($this->options, 'message', null);
|
220 |
+
Easy_Pie_Utility::set_default_option($this->options, 'logo_url', null);
|
221 |
+
|
222 |
+
update_option(Easy_Pie_Maintenance_Mode::OPTION_NAME, $this->options);
|
223 |
+
}
|
224 |
+
|
225 |
+
public function add_settings_sections() {
|
226 |
+
|
227 |
+
$section_id = 'easy-pie-mm-control-section';
|
228 |
+
add_settings_section($section_id, 'Control', array($this, 'render_control_section'), Easy_Pie_Maintenance_Mode::PAGE_KEY);
|
229 |
+
add_settings_field('easy-pie-mm-mode-on', __('Enabled', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_checkbox_field'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-mode-on', 'subkey' => 'enabled'));
|
230 |
+
|
231 |
+
$section_id = 'easy-pie-mm-theme-section';
|
232 |
+
add_settings_section($section_id, __('Visuals', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_theme_section'), Easy_Pie_Maintenance_Mode::PAGE_KEY);
|
233 |
+
add_settings_field('easy-pie-mm-theme', __('Page', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_active_theme_selector'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-theme', 'subkey' => 'page_template_key'));
|
234 |
+
|
235 |
+
$section_id = 'easy-pie-mm-template_fields-section';
|
236 |
+
add_settings_section($section_id, __('Fields', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_template_fields_section'), Easy_Pie_Maintenance_Mode::PAGE_KEY);
|
237 |
+
add_settings_field('easy-pie-mm-field-title', __('Title', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_text_field'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-title', 'subkey' => 'title'));
|
238 |
+
add_settings_field('easy-pie-mm-field-header', __('Header', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_text_field'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-header', 'subkey' => 'header'));
|
239 |
+
add_settings_field('easy-pie-mm-field-headline', __('Headline', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_text_field'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-headline', 'subkey' => 'headline'));
|
240 |
+
add_settings_field('easy-pie-mm-field-message', __('Message', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_text_area'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-message', 'subkey' => 'message', 'size' => 80));
|
241 |
+
add_settings_field('easy-pie-mm-field-logo', __('Logo', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG), array($this, 'render_logo_field'), Easy_Pie_Maintenance_Mode::PAGE_KEY, $section_id, array('id' => 'easy-pie-mm-field-logo', 'subkey' => 'logo_url'));
|
242 |
+
}
|
243 |
+
|
244 |
+
public function render_text_field($args) {
|
245 |
+
$options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
246 |
+
$subkey = $args['subkey'];
|
247 |
+
$id = $args['id'];
|
248 |
+
$optionExpression = Easy_Pie_Maintenance_Mode::OPTION_NAME . "[" . $subkey . "]";
|
249 |
+
$currentValue = $options[$subkey];
|
250 |
+
$size = 50;
|
251 |
+
|
252 |
+
if(array_key_exists('size', $args)) {
|
253 |
+
$size = $args['size'];
|
254 |
+
}
|
255 |
+
|
256 |
+
?>
|
257 |
+
<div>
|
258 |
+
<input id="<?php echo $id; ?>" name='<?php echo $optionExpression; ?>' size="<?php echo $size; ?>" value="<?php echo $currentValue; ?>"/>
|
259 |
+
</div>
|
260 |
+
<?php
|
261 |
+
}
|
262 |
+
|
263 |
+
public function render_text_area($args) {
|
264 |
+
$options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
265 |
+
$subkey = $args['subkey'];
|
266 |
+
$id = $args['id'];
|
267 |
+
$optionExpression = Easy_Pie_Maintenance_Mode::OPTION_NAME . "[" . $subkey . "]";
|
268 |
+
$currentValue = $options[$subkey];
|
269 |
+
?>
|
270 |
+
<div>
|
271 |
+
<textarea cols="53" rows="5" id="<?php echo $id; ?>" name='<?php echo $optionExpression; ?>'><?php echo $currentValue; ?></textarea>
|
272 |
+
<p><small><?php _e("HTML tags are allowed. e.g. Add <br/> for break.", Easy_Pie_Maintenance_Mode::PLUGIN_SLUG); ?></small></p>
|
273 |
+
</div>
|
274 |
+
<?php
|
275 |
+
}
|
276 |
+
|
277 |
+
|
278 |
+
// RSR: Why the hell do we need to set value to 1?
|
279 |
+
public function render_checkbox_field($args) {
|
280 |
+
$options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
281 |
+
$subkey = $args['subkey'];
|
282 |
+
$id = $args['id'];
|
283 |
+
|
284 |
+
if (array_key_exists('small_text', $args)) {
|
285 |
+
|
286 |
+
$small_text = $args['small_text'];
|
287 |
+
}
|
288 |
+
|
289 |
+
|
290 |
+
$optionExpression = Easy_Pie_Maintenance_Mode::OPTION_NAME . "[" . $subkey . "]";
|
291 |
+
$currentValue = $options[$subkey];
|
292 |
+
|
293 |
+
$checkedText = checked(1, $options[$subkey], false);
|
294 |
+
?>
|
295 |
+
<div>
|
296 |
+
<input style="margin-right:5px;" value="1" id="<?php echo $id; ?>" type="checkbox" name="<?php echo $optionExpression; ?>" <?php echo $checkedText; ?> >Yes</input>
|
297 |
+
<?php
|
298 |
+
if (isset($small_text)) {
|
299 |
+
echo "<p><small>" . $small_text . "</small></p>";
|
300 |
+
}
|
301 |
+
?>
|
302 |
+
</div>
|
303 |
+
<?php
|
304 |
+
}
|
305 |
+
|
306 |
+
public function render_logo_field() {
|
307 |
+
$options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
308 |
+
$optionExpression = Easy_Pie_Maintenance_Mode::OPTION_NAME . "[logo_url]";
|
309 |
+
$currentValue = $options["logo_url"];
|
310 |
+
?>
|
311 |
+
|
312 |
+
<div>
|
313 |
+
<input id="easy-pie-mm-field-logo" type="text" name="<?php echo $optionExpression; ?>" size="40" value="<?php echo $currentValue; ?>" />
|
314 |
+
<input id="easy-pie-mm-upload-logo-button" type="button" value="Upload" />
|
315 |
+
|
316 |
+
<?php
|
317 |
+
if (empty($currentValue)) {
|
318 |
+
$displayModifier = "display:none;";
|
319 |
+
} else {
|
320 |
+
$displayModifier = "";
|
321 |
+
}
|
322 |
+
?>
|
323 |
+
|
324 |
+
<div >
|
325 |
+
<img id="easy-pie-mm-field-logo-preview" src="<?php echo $currentValue; ?>" style="<?php echo $displayModifier; ?>max-height:170px;max-width:170px;box-shadow: 1px 7px 20px -4px rgba(34,34,34,1);padding: 5px;border: black solid 1px;margin-top: 14px;"/>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
|
329 |
+
<?php
|
330 |
+
}
|
331 |
+
|
332 |
+
public function render_control_section() {
|
333 |
+
// echo 'TODO: Theme is used to change what is displayed. Blah blah blah..';
|
334 |
+
}
|
335 |
+
|
336 |
+
public function render_theme_section() {
|
337 |
+
// echo 'TODO: Theme is used to change what is displayed. Blah blah blah..';
|
338 |
+
}
|
339 |
+
|
340 |
+
public function render_template_fields_section() {
|
341 |
+
// echo 'TODO: Theme is used to change what is displayed. Blah blah blah..';
|
342 |
+
echo '<small >' . __("All fields are optional", Easy_Pie_Maintenance_Mode::PLUGIN_SLUG) . '</small>';
|
343 |
+
}
|
344 |
+
|
345 |
+
private function get_template_path($page_template_key) {
|
346 |
+
|
347 |
+
return __DIR__ . "/../mini-themes/" . $page_template_key;
|
348 |
+
}
|
349 |
+
|
350 |
+
public function render_active_theme_selector($args) {
|
351 |
+
|
352 |
+
$path = __DIR__ . "/../mini-themes/";
|
353 |
+
|
354 |
+
$dirs = glob($path . "*", GLOB_ONLYDIR);
|
355 |
+
|
356 |
+
$options = get_option(Easy_Pie_Maintenance_Mode::OPTION_NAME);
|
357 |
+
$subkey = $args['subkey'];
|
358 |
+
$id = $args['id'];
|
359 |
+
$optionExpression = Easy_Pie_Maintenance_Mode::OPTION_NAME . "[" . $subkey . "]";
|
360 |
+
$currentValue = $options[$subkey];
|
361 |
+
?>
|
362 |
+
|
363 |
+
<ul id="easy-pie-mm-bxslider">
|
364 |
+
|
365 |
+
<?php
|
366 |
+
$displayIndex = 0;
|
367 |
+
$startingIndex = 0;
|
368 |
+
|
369 |
+
$manifests = $this->get_manifests();
|
370 |
+
|
371 |
+
foreach ($manifests as $manifest) {
|
372 |
+
$slidePath = plugins_url("../mini-themes/" . $manifest->key . "/" . $manifest->screenshot, __FILE__);
|
373 |
+
|
374 |
+
if ($manifest->key == $currentValue) {
|
375 |
+
$startingIndex = $displayIndex;
|
376 |
+
}
|
377 |
+
?>
|
378 |
+
<li>
|
379 |
+
<img idx="<?php echo $displayIndex; ?>" src="<?php echo $slidePath ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
|
380 |
+
</li>
|
381 |
+
<?php
|
382 |
+
$displayIndex++;
|
383 |
+
}
|
384 |
+
?>
|
385 |
+
<!-- ... (repeat for every image in the gallery)-->
|
386 |
+
</ul>
|
387 |
+
|
388 |
+
<div id="easy-pie-mm-bxpager">
|
389 |
+
<!-- <a data-slide-index="0" href=""><img src="/images/thumbs/tree_root.jpg" /></a>
|
390 |
+
<a data-slide-index="1" href=""><img src="/images/thumbs/houses.jpg" /></a>
|
391 |
+
<a data-slide-index="2" href=""><img src="/images/thumbs/hill_fence.jpg" /></a>-->
|
392 |
+
<?php
|
393 |
+
$displayIndex = 0;
|
394 |
+
foreach ($manifests as $manifest) {
|
395 |
+
$slidePath = plugins_url("../mini-themes/" . $manifest->key . "/" . $manifest->screenshot, __FILE__);
|
396 |
+
?>
|
397 |
+
|
398 |
+
<a data-slide-index="<?php echo $displayIndex; ?>" href="">
|
399 |
+
<img src="<?php echo $slidePath ?>" onclick="jQuery('#<?php echo $id; ?>').attr('value', '<?php echo $manifest->key; ?>');" />
|
400 |
+
</a>
|
401 |
+
<?php
|
402 |
+
$displayIndex++;
|
403 |
+
}
|
404 |
+
?>
|
405 |
+
</div>
|
406 |
+
|
407 |
+
<input displayIndex="<?php echo $startingIndex; ?>" style="visibility:hidden" id="<?php echo $id; ?>" name="<?php echo $optionExpression; ?>" value="<?php echo $currentValue; ?>"/>
|
408 |
+
<?php
|
409 |
+
}
|
410 |
+
|
411 |
+
public function validate_options($raw_input_array) {
|
412 |
+
|
413 |
+
// Create our array for storing the validated options
|
414 |
+
$output = array();
|
415 |
+
|
416 |
+
$this->scrub_checkbox_value($raw_input_array, 'enabled');
|
417 |
+
$this->scrub_checkbox_value($raw_input_array, '503_redirect');
|
418 |
+
|
419 |
+
// Loop through each of the incoming options
|
420 |
+
foreach ($raw_input_array as $key => $value) {
|
421 |
+
|
422 |
+
// Check to see if the current option has a value. If so, process it.
|
423 |
+
if (isset($raw_input_array[$key])) {
|
424 |
+
|
425 |
+
// Strip all HTML and PHP tags and properly handle quoted strings
|
426 |
+
//$output[$key] = strip_tags(stripslashes($raw_input_array[$key]));
|
427 |
+
$output[$key] = $raw_input_array[$key];
|
428 |
+
}
|
429 |
+
}
|
430 |
+
|
431 |
+
return apply_filters(Easy_Pie_Maintenance_Mode::PAGE_KEY, $output, $raw_input_array);
|
432 |
+
}
|
433 |
+
|
434 |
+
private function scrub_checkbox_value(&$array, $key) {
|
435 |
+
|
436 |
+
if (!array_key_exists($key, $array)) {
|
437 |
+
|
438 |
+
$array[$key] = false;
|
439 |
+
}
|
440 |
+
}
|
441 |
+
|
442 |
+
// </editor-fold>
|
443 |
+
|
444 |
+
public function add_to_admin_menu() {
|
445 |
+
|
446 |
+
// RSR TODO: Localize main page title and menu entry
|
447 |
+
$page_hook_suffix = add_options_page("Easy Pie Maintenance Mode", "Maintenance Mode", "manage_options", Easy_Pie_Maintenance_Mode::PAGE_KEY, array($this, 'display_options_page'));
|
448 |
+
|
449 |
+
add_action('admin_print_scripts-' . $page_hook_suffix, array($this, 'enqueue_scripts'));
|
450 |
+
|
451 |
+
//Apply Styles
|
452 |
+
add_action('admin_print_styles-' . $page_hook_suffix, array($this, 'enqueue_styles'));
|
453 |
+
}
|
454 |
+
|
455 |
+
// </editor-fold>
|
456 |
+
|
457 |
+
function display_options_page() {
|
458 |
+
|
459 |
+
include(__DIR__ . '/../pages/page-options.php');
|
460 |
+
}
|
461 |
+
|
462 |
+
private function get_manifests() {
|
463 |
+
|
464 |
+
$manifest_array = array();
|
465 |
+
$path = __DIR__ . "/../mini-themes/";
|
466 |
+
$dirs = glob($path . "*", GLOB_ONLYDIR);
|
467 |
+
|
468 |
+
sort($dirs);
|
469 |
+
foreach ($dirs as $dir) {
|
470 |
+
|
471 |
+
// rsr put this as a helper function in the manifest class $slidePath = plugins_url("../mini-themes/" . $themeKey . "/screenshot.jpg", __FILE__);
|
472 |
+
|
473 |
+
$manifest_text = file_get_contents($dir . "/manifest.json");
|
474 |
+
|
475 |
+
if ($manifest_text != false) {
|
476 |
+
|
477 |
+
$manifest = json_decode($manifest_text);
|
478 |
+
|
479 |
+
array_push($manifest_array, $manifest);
|
480 |
+
} else {
|
481 |
+
|
482 |
+
$this->debug(__("problem reading manifest in ", Easy_Pie_Maintenance_Mode::PLUGIN_SLUG) . $dir . "(" . $dirs . ")");
|
483 |
+
}
|
484 |
+
}
|
485 |
+
|
486 |
+
return $manifest_array;
|
487 |
+
}
|
488 |
+
}
|
489 |
+
}
|
classes/class-easy-pie-plugin-base.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!class_exists('Easy_Pie_Plugin_Base')) {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Base class of Easy Pie Plugins
|
7 |
+
*
|
8 |
+
* @author Bob Riley
|
9 |
+
*/
|
10 |
+
class Easy_Pie_Plugin_Base {
|
11 |
+
|
12 |
+
protected $prefix;
|
13 |
+
|
14 |
+
function __construct($prefix) {
|
15 |
+
|
16 |
+
$this->prefix = $prefix;
|
17 |
+
}
|
18 |
+
//Use WordPress Debugging log file. file is written to wp-content/debug.log
|
19 |
+
//trace with tail command to see real-time issues.
|
20 |
+
function debug($message) {
|
21 |
+
|
22 |
+
if (WP_DEBUG === true) {
|
23 |
+
if (is_array($message) || is_object($message)) {
|
24 |
+
error_log($this->prefix . ":" . print_r($message, true));
|
25 |
+
} else {
|
26 |
+
error_log($this->prefix . ":" . $message);
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
32 |
+
?>
|
classes/class-easy-pie-utility.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
if (!class_exists('Easy_Pie_Utility')) {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Simple utility class
|
11 |
+
*
|
12 |
+
* @author Bob Riley
|
13 |
+
*/
|
14 |
+
class Easy_Pie_Utility {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Set option value if it isn't already set
|
18 |
+
*/
|
19 |
+
public static function set_default_option(&$option_array, $key, $value) {
|
20 |
+
if (!array_key_exists($key, $option_array)) {
|
21 |
+
$option_array[$key] = $value;
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Sets an option in option array
|
27 |
+
*/
|
28 |
+
public static function set_option(&$option_array, $key, $value) {
|
29 |
+
$option_array[$key] = $value;
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
33 |
+
?>
|
easy-pie-maintenance-mode.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Easy Pie Maintenance Mode
|
4 |
+
Plugin URI: http://easypiewp.com/easy-pie-maintenance-mode-plugin/
|
5 |
+
Description: Lets people know that your site is temporarily down.
|
6 |
+
Version: 0.5
|
7 |
+
Author: Bob Riley
|
8 |
+
Author URI: http://www.easypiewp.com
|
9 |
+
Text Domain: easy-pie-maintenance-mode
|
10 |
+
License: GPLv2 or later
|
11 |
+
*/
|
12 |
+
|
13 |
+
/* ================================================================================
|
14 |
+
Copyright 2013 Synthetic Thought LLC
|
15 |
+
|
16 |
+
This program is free software; you can redistribute it and/or modify
|
17 |
+
it under the terms of the GNU General Public License, version 2, as
|
18 |
+
published by the Free Software Foundation.
|
19 |
+
|
20 |
+
This program is distributed in the hope that it will be useful,
|
21 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
22 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
23 |
+
GNU General Public License for more details.
|
24 |
+
|
25 |
+
You should have received a copy of the GNU General Public License
|
26 |
+
along with this program; if not, write to the Free Software
|
27 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
28 |
+
|
29 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
30 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
31 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
32 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
33 |
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
34 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
35 |
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
36 |
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
37 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
38 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
39 |
+
================================================================================ */
|
40 |
+
|
41 |
+
require_once("classes/class-easy-pie-maintenance-mode.php");
|
42 |
+
|
43 |
+
$easy_pie_mm = new Easy_Pie_Maintenance_Mode();
|
44 |
+
?>
|
images/easy-pie-mm-logo32.png
ADDED
Binary file
|
js/functions.js
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
var displayIndex = $("#easy-pie-mm-theme").attr("displayIndex");
|
3 |
+
|
4 |
+
$('#easy-pie-mm-bxslider').bxSlider(
|
5 |
+
{
|
6 |
+
controls: false,
|
7 |
+
pagerCustom: "#easy-pie-mm-bxpager",
|
8 |
+
slideWidth: 550,
|
9 |
+
startSlide: displayIndex
|
10 |
+
});
|
11 |
+
|
12 |
+
// New Media uploader logic
|
13 |
+
var custom_uploader;
|
14 |
+
|
15 |
+
$('#easy-pie-mm-upload-logo-button').click(function(e) {
|
16 |
+
|
17 |
+
e.preventDefault();
|
18 |
+
|
19 |
+
//If the uploader object has already been created, reopen the dialog
|
20 |
+
if (custom_uploader) {
|
21 |
+
custom_uploader.open();
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
+
//Extend the wp.media object
|
26 |
+
custom_uploader = wp.media.frames.file_frame = wp.media({
|
27 |
+
title: 'Choose Image',
|
28 |
+
button: {
|
29 |
+
text: 'Choose Image'
|
30 |
+
},
|
31 |
+
multiple: false
|
32 |
+
});
|
33 |
+
|
34 |
+
//When a file is selected, grab the URL and set it as the text field's value
|
35 |
+
custom_uploader.on('select', function() {
|
36 |
+
attachment = custom_uploader.state().get('selection').first().toJSON();
|
37 |
+
$('#easy-pie-mm-field-logo').val(attachment.url);
|
38 |
+
$('#easy-pie-mm-field-logo-preview').css("display", "block");
|
39 |
+
$('#easy-pie-mm-field-logo-preview').attr("src", attachment.url);
|
40 |
+
});
|
41 |
+
|
42 |
+
//Open the uploader dialog
|
43 |
+
custom_uploader.open();
|
44 |
+
|
45 |
+
});
|
46 |
+
});
|
47 |
+
|
js/jquery.bxslider.min.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* BxSlider v4.1.1 - Fully loaded, responsive content slider
|
3 |
+
* http://bxslider.com
|
4 |
+
*
|
5 |
+
* Copyright 2013, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
|
6 |
+
* Written while drinking Belgian ales and listening to jazz
|
7 |
+
*
|
8 |
+
* Released under the MIT license - http://opensource.org/licenses/MIT
|
9 |
+
*/
|
10 |
+
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(p()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",B),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&I(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},p=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},v=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.delegate("a","click",q)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.delegate(".bx-start","click",k),o.controls.autoEl.delegate(".bx-stop","click",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},q=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},I=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),"horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0)}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},B=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider())};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&I(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",51).fadeIn(o.settings.speed,function(){t(this).css("zIndex",50),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",p()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),I(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",B))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);
|
languages/easy-pie-maintenance-mode.mo
ADDED
Binary file
|
languages/easy-pie-maintenance-mode.po
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Easy Pie Maintenance Mode\n"
|
4 |
+
"POT-Creation-Date: 2013-10-20 07:33-0700\n"
|
5 |
+
"PO-Revision-Date: 2013-10-20 14:59-0700\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Easy Pie WP <bob@easypiewp.com>\n"
|
8 |
+
"Language: English\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.5.7\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: J:\\xampp\\htdocs\\ezp\\bobstuff\\plugins\\easy-pie-"
|
17 |
+
"maintenance-mode\n"
|
18 |
+
|
19 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:81
|
20 |
+
msgid "Problem reading template "
|
21 |
+
msgstr "Problem reading template "
|
22 |
+
|
23 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:229
|
24 |
+
msgid "Enabled"
|
25 |
+
msgstr "Enabled"
|
26 |
+
|
27 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:232
|
28 |
+
msgid "Visuals"
|
29 |
+
msgstr "Visuals"
|
30 |
+
|
31 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:233
|
32 |
+
msgid "Page"
|
33 |
+
msgstr "Page"
|
34 |
+
|
35 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:236
|
36 |
+
msgid "Fields"
|
37 |
+
msgstr "Fields"
|
38 |
+
|
39 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:237
|
40 |
+
msgid "Title"
|
41 |
+
msgstr "Title"
|
42 |
+
|
43 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:238
|
44 |
+
msgid "Header"
|
45 |
+
msgstr "Header"
|
46 |
+
|
47 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:239
|
48 |
+
msgid "Headline"
|
49 |
+
msgstr "Headline"
|
50 |
+
|
51 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:240
|
52 |
+
msgid "Message"
|
53 |
+
msgstr "Message"
|
54 |
+
|
55 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:241
|
56 |
+
msgid "Logo"
|
57 |
+
msgstr "Logo"
|
58 |
+
|
59 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:272
|
60 |
+
msgid "HTML tags are allowed. e.g. Add <br/> for break."
|
61 |
+
msgstr "HTML tags are allowed. e.g. Add <br/> for break."
|
62 |
+
|
63 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:342
|
64 |
+
msgid "All fields are optional"
|
65 |
+
msgstr "All fields are optional"
|
66 |
+
|
67 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/classes/class-easy-pie-maintenance-mode.php:482
|
68 |
+
msgid "problem reading manifest in "
|
69 |
+
msgstr "Logo"
|
70 |
+
|
71 |
+
#: J:\xampp\htdocs\ezp\bobstuff\plugins\easy-pie-maintenance-mode/pages/page-options.php:14
|
72 |
+
msgid "If you have a caching plugin, be sure to clear the cache!"
|
73 |
+
msgstr "If you have a caching plugin, be sure to clear the cache!"
|
license.txt
ADDED
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
5 |
+
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
6 |
+
|
7 |
+
Everyone is permitted to copy and distribute verbatim copies
|
8 |
+
of this license document, but changing it is not allowed.
|
9 |
+
|
10 |
+
Preamble
|
11 |
+
|
12 |
+
The licenses for most software are designed to take away your
|
13 |
+
freedom to share and change it. By contrast, the GNU General Public
|
14 |
+
License is intended to guarantee your freedom to share and change free
|
15 |
+
software--to make sure the software is free for all its users. This
|
16 |
+
General Public License applies to most of the Free Software
|
17 |
+
Foundation's software and to any other program whose authors commit to
|
18 |
+
using it. (Some other Free Software Foundation software is covered by
|
19 |
+
the GNU Library General Public License instead.) You can apply it to
|
20 |
+
your programs, too.
|
21 |
+
|
22 |
+
When we speak of free software, we are referring to freedom, not
|
23 |
+
price. Our General Public Licenses are designed to make sure that you
|
24 |
+
have the freedom to distribute copies of free software (and charge for
|
25 |
+
this service if you wish), that you receive source code or can get it
|
26 |
+
if you want it, that you can change the software or use pieces of it
|
27 |
+
in new free programs; and that you know you can do these things.
|
28 |
+
|
29 |
+
To protect your rights, we need to make restrictions that forbid
|
30 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
31 |
+
These restrictions translate to certain responsibilities for you if you
|
32 |
+
distribute copies of the software, or if you modify it.
|
33 |
+
|
34 |
+
For example, if you distribute copies of such a program, whether
|
35 |
+
gratis or for a fee, you must give the recipients all the rights that
|
36 |
+
you have. You must make sure that they, too, receive or can get the
|
37 |
+
source code. And you must show them these terms so they know their
|
38 |
+
rights.
|
39 |
+
|
40 |
+
We protect your rights with two steps: (1) copyright the software, and
|
41 |
+
(2) offer you this license which gives you legal permission to copy,
|
42 |
+
distribute and/or modify the software.
|
43 |
+
|
44 |
+
Also, for each author's protection and ours, we want to make certain
|
45 |
+
that everyone understands that there is no warranty for this free
|
46 |
+
software. If the software is modified by someone else and passed on, we
|
47 |
+
want its recipients to know that what they have is not the original, so
|
48 |
+
that any problems introduced by others will not reflect on the original
|
49 |
+
authors' reputations.
|
50 |
+
|
51 |
+
Finally, any free program is threatened constantly by software
|
52 |
+
patents. We wish to avoid the danger that redistributors of a free
|
53 |
+
program will individually obtain patent licenses, in effect making the
|
54 |
+
program proprietary. To prevent this, we have made it clear that any
|
55 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
56 |
+
|
57 |
+
The precise terms and conditions for copying, distribution and
|
58 |
+
modification follow.
|
59 |
+
|
60 |
+
GNU GENERAL PUBLIC LICENSE
|
61 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
62 |
+
|
63 |
+
0. This License applies to any program or other work which contains
|
64 |
+
a notice placed by the copyright holder saying it may be distributed
|
65 |
+
under the terms of this General Public License. The "Program", below,
|
66 |
+
refers to any such program or work, and a "work based on the Program"
|
67 |
+
means either the Program or any derivative work under copyright law:
|
68 |
+
that is to say, a work containing the Program or a portion of it,
|
69 |
+
either verbatim or with modifications and/or translated into another
|
70 |
+
language. (Hereinafter, translation is included without limitation in
|
71 |
+
the term "modification".) Each licensee is addressed as "you".
|
72 |
+
|
73 |
+
Activities other than copying, distribution and modification are not
|
74 |
+
covered by this License; they are outside its scope. The act of
|
75 |
+
running the Program is not restricted, and the output from the Program
|
76 |
+
is covered only if its contents constitute a work based on the
|
77 |
+
Program (independent of having been made by running the Program).
|
78 |
+
Whether that is true depends on what the Program does.
|
79 |
+
|
80 |
+
1. You may copy and distribute verbatim copies of the Program's
|
81 |
+
source code as you receive it, in any medium, provided that you
|
82 |
+
conspicuously and appropriately publish on each copy an appropriate
|
83 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
84 |
+
notices that refer to this License and to the absence of any warranty;
|
85 |
+
and give any other recipients of the Program a copy of this License
|
86 |
+
along with the Program.
|
87 |
+
|
88 |
+
You may charge a fee for the physical act of transferring a copy, and
|
89 |
+
you may at your option offer warranty protection in exchange for a fee.
|
90 |
+
|
91 |
+
2. You may modify your copy or copies of the Program or any portion
|
92 |
+
of it, thus forming a work based on the Program, and copy and
|
93 |
+
distribute such modifications or work under the terms of Section 1
|
94 |
+
above, provided that you also meet all of these conditions:
|
95 |
+
|
96 |
+
a) You must cause the modified files to carry prominent notices
|
97 |
+
stating that you changed the files and the date of any change.
|
98 |
+
|
99 |
+
b) You must cause any work that you distribute or publish, that in
|
100 |
+
whole or in part contains or is derived from the Program or any
|
101 |
+
part thereof, to be licensed as a whole at no charge to all third
|
102 |
+
parties under the terms of this License.
|
103 |
+
|
104 |
+
c) If the modified program normally reads commands interactively
|
105 |
+
when run, you must cause it, when started running for such
|
106 |
+
interactive use in the most ordinary way, to print or display an
|
107 |
+
announcement including an appropriate copyright notice and a
|
108 |
+
notice that there is no warranty (or else, saying that you provide
|
109 |
+
a warranty) and that users may redistribute the program under
|
110 |
+
these conditions, and telling the user how to view a copy of this
|
111 |
+
License. (Exception: if the Program itself is interactive but
|
112 |
+
does not normally print such an announcement, your work based on
|
113 |
+
the Program is not required to print an announcement.)
|
114 |
+
|
115 |
+
These requirements apply to the modified work as a whole. If
|
116 |
+
identifiable sections of that work are not derived from the Program,
|
117 |
+
and can be reasonably considered independent and separate works in
|
118 |
+
themselves, then this License, and its terms, do not apply to those
|
119 |
+
sections when you distribute them as separate works. But when you
|
120 |
+
distribute the same sections as part of a whole which is a work based
|
121 |
+
on the Program, the distribution of the whole must be on the terms of
|
122 |
+
this License, whose permissions for other licensees extend to the
|
123 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
mini-themes/plain/css/reset.css
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* reset5 © 2011 opensource.736cs.com MIT */
|
2 |
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0!important;padding:0!important;}input,select,a img{vertical-align:middle;}
|
mini-themes/plain/css/style.css
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(reset.css);
|
2 |
+
|
3 |
+
body { font-family: 'Droid Serif', serif; font-color:black; }
|
4 |
+
|
5 |
+
#logo { max-width:100%;}
|
6 |
+
|
7 |
+
#header { text-align: center; border-bottom: 1px solid #999; }
|
8 |
+
|
9 |
+
#header p { margin:5px 0px; }
|
10 |
+
|
11 |
+
#content { margin:0 auto; padding: 8% 0; text-align: center; }
|
12 |
+
|
13 |
+
#headline { font-family:'Oswald', sans-serif; font-size: 300%; margin-top:5px; margin-bottom:5px;}
|
14 |
+
|
15 |
+
|
mini-themes/plain/images/screenshot.png
ADDED
Binary file
|
mini-themes/plain/manifest.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "plain",
|
3 |
+
"title": "Plain",
|
4 |
+
"description": "Very plain theme.",
|
5 |
+
"author_name": "Easy Pie",
|
6 |
+
"website_url": "http://easypiewp.com",
|
7 |
+
"screenshot": "images/screenshot.png",
|
8 |
+
"category_id": 1,
|
9 |
+
"google_plus_author_url": "https://plus.google.com/u/0/105719454610818515859/posts",
|
10 |
+
"original_release_date": "2013/10/20",
|
11 |
+
"latest_version_date": "2013/10/20",
|
12 |
+
"version": "1.0.0",
|
13 |
+
"release_notes": "Initial release",
|
14 |
+
"autodownload" : true,
|
15 |
+
"responsive" : true,
|
16 |
+
"downloaded": false
|
17 |
+
}
|
mini-themes/plain/page.html
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2 |
+
<head>
|
3 |
+
<title>{{title}}</title>
|
4 |
+
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Oswald|Droid+Serif"></link>
|
5 |
+
<link rel="stylesheet" type="text/css" href="./css/style.css" />
|
6 |
+
</head>
|
7 |
+
<body>
|
8 |
+
|
9 |
+
<div id="header">
|
10 |
+
<p>{{header}}</p>
|
11 |
+
</div>
|
12 |
+
|
13 |
+
<div id="content">
|
14 |
+
<img id="logo-img" src="{{logo_url}}" />
|
15 |
+
<h1 id="headline">{{headline}}</h1>
|
16 |
+
|
17 |
+
<p id="message">{{message}}</p>
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<script type="text/javascript">
|
21 |
+
|
22 |
+
var image = document.getElementById("logo-img");
|
23 |
+
|
24 |
+
function ezp_hideImage() {
|
25 |
+
image.style.display = "none";
|
26 |
+
}
|
27 |
+
|
28 |
+
if(image.getAttribute('src') == '') {
|
29 |
+
|
30 |
+
ezp_hideImage();
|
31 |
+
}
|
32 |
+
|
33 |
+
image.addEventListener('error', ezp_hideImage, true);
|
34 |
+
|
35 |
+
</script>
|
36 |
+
</body>
|
37 |
+
</html>
|
38 |
+
|
mini-themes/sawhorse-black/css/reset.css
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* reset5 © 2011 opensource.736cs.com MIT */
|
2 |
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0!important;padding:0!important;}input,select,a img{vertical-align:middle;}
|
mini-themes/sawhorse-black/css/style.css
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(reset.css);
|
2 |
+
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700);
|
3 |
+
|
4 |
+
|
5 |
+
body
|
6 |
+
{
|
7 |
+
background: url(../images/pattern.png) repeat center center #202020;
|
8 |
+
font-family: 'Roboto', sans-serif;
|
9 |
+
color:#fff;
|
10 |
+
}
|
11 |
+
|
12 |
+
.wrapper
|
13 |
+
{
|
14 |
+
max-width:715px;
|
15 |
+
/* max-width:900px;*/
|
16 |
+
width:100%;
|
17 |
+
margin:22px auto 0 auto;
|
18 |
+
}
|
19 |
+
|
20 |
+
|
21 |
+
.wrapper .wrapper-content
|
22 |
+
{
|
23 |
+
width:86.01398601398601%;
|
24 |
+
background:url(../images/pattern.png) repeat center center #0b0b0b;
|
25 |
+
border-radius:45px;
|
26 |
+
-moz-border-radius:45px;
|
27 |
+
-webkit-border-radius:45px;
|
28 |
+
padding:15px 6.993006993006993%;
|
29 |
+
}
|
30 |
+
|
31 |
+
.wrapper .wrapper-content .header h1
|
32 |
+
{
|
33 |
+
color:#fede00;
|
34 |
+
font-size:13px;
|
35 |
+
text-align:center;
|
36 |
+
font-weight:normal;
|
37 |
+
}
|
38 |
+
|
39 |
+
.wrapper .wrapper-content .image-logo
|
40 |
+
{
|
41 |
+
margin-top:20px;
|
42 |
+
position:relative;
|
43 |
+
}
|
44 |
+
|
45 |
+
.wrapper .wrapper-content .image-logo .toLeft
|
46 |
+
{
|
47 |
+
width:41.6260162601626%;
|
48 |
+
margin-left:-125px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.wrapper .wrapper-content .image-logo .toLeft img
|
52 |
+
{
|
53 |
+
max-width:256px;
|
54 |
+
width:100%;
|
55 |
+
}
|
56 |
+
|
57 |
+
.wrapper .wrapper-content .image-logo .toMiddle
|
58 |
+
{
|
59 |
+
text-align:right;
|
60 |
+
}
|
61 |
+
|
62 |
+
|
63 |
+
.wrapper .wrapper-content .image-logo .toMiddle img
|
64 |
+
{
|
65 |
+
margin-top:26px;
|
66 |
+
width:auto;
|
67 |
+
height:78px;
|
68 |
+
}
|
69 |
+
|
70 |
+
@media screen and (max-width:600px)
|
71 |
+
{
|
72 |
+
|
73 |
+
.wrapper
|
74 |
+
{
|
75 |
+
margin-bottom:22px;
|
76 |
+
}
|
77 |
+
|
78 |
+
.wrapper .wrapper-content .image-logo .toLeft
|
79 |
+
{
|
80 |
+
display:none;
|
81 |
+
}
|
82 |
+
|
83 |
+
.wrapper .wrapper-content .image-logo .toMiddle
|
84 |
+
{
|
85 |
+
width:100%;
|
86 |
+
text-align:center;
|
87 |
+
}
|
88 |
+
}
|
89 |
+
|
90 |
+
|
91 |
+
.wrapper .wrapper-content .content-wrapper .title
|
92 |
+
{
|
93 |
+
font-size:50px;
|
94 |
+
font-weight:700;
|
95 |
+
text-align:center;
|
96 |
+
color:#fede00;
|
97 |
+
margin-top:23px;
|
98 |
+
margin-bottom:40px;
|
99 |
+
}
|
100 |
+
|
101 |
+
.wrapper .wrapper-content .content-wrapper .content
|
102 |
+
{
|
103 |
+
font-size:18px;
|
104 |
+
text-align:center;
|
105 |
+
line-height:20px;
|
106 |
+
font-weight:300;
|
107 |
+
}
|
108 |
+
|
109 |
+
|
110 |
+
.wrapper .wrapper-content .footer
|
111 |
+
{
|
112 |
+
margin-top:50px;
|
113 |
+
text-align:center;
|
114 |
+
color:#fede00;
|
115 |
+
font-size:13px;
|
116 |
+
}
|
117 |
+
|
118 |
+
.wrapper .wrapper-content .footer a
|
119 |
+
{
|
120 |
+
color:#fede00;
|
121 |
+
text-decoration:none;
|
122 |
+
}
|
123 |
+
|
124 |
+
.toLeft
|
125 |
+
{
|
126 |
+
float:left;
|
127 |
+
}
|
128 |
+
|
129 |
+
.toRight
|
130 |
+
{
|
131 |
+
float:right;
|
132 |
+
text-align:right;
|
133 |
+
}
|
134 |
+
|
135 |
+
.clear
|
136 |
+
{
|
137 |
+
clear:both;
|
138 |
+
}
|
139 |
+
|
140 |
+
|
mini-themes/sawhorse-black/images/logo.png
ADDED
Binary file
|
mini-themes/sawhorse-black/images/maintenance.png
ADDED
Binary file
|
mini-themes/sawhorse-black/images/pattern.png
ADDED
Binary file
|
mini-themes/sawhorse-black/images/screenshot.png
ADDED
Binary file
|
mini-themes/sawhorse-black/manifest.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "sawhorse-black",
|
3 |
+
"title": "Black Sawhorse",
|
4 |
+
"description": "Simple sign showing your site is temporarily down.",
|
5 |
+
"screenshot": "images/screenshot.png",
|
6 |
+
"author_name": "Easy Pie",
|
7 |
+
"website_url": "http://easypiewp.com",
|
8 |
+
"category_id": 1,
|
9 |
+
"google_plus_author_url": "https://plus.google.com/u/0/105719454610818515859/posts",
|
10 |
+
"original_release_date": "2013/10/20",
|
11 |
+
"latest_version_date": "2013/10/20",
|
12 |
+
"version": "1.0.0",
|
13 |
+
"release_notes": "Initial release",
|
14 |
+
"autodownload" : true,
|
15 |
+
"responsive" : true,
|
16 |
+
"downloaded": false
|
17 |
+
}
|
mini-themes/sawhorse-black/page.html
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5 |
+
<title>{{title}}</title>
|
6 |
+
|
7 |
+
<link href="./css/style.css" media="all" rel="stylesheet" type="text/css" />
|
8 |
+
|
9 |
+
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
|
14 |
+
|
15 |
+
<div class="wrapper">
|
16 |
+
|
17 |
+
<div class="wrapper-content">
|
18 |
+
|
19 |
+
<div class="header">
|
20 |
+
<h1>
|
21 |
+
{{header}}
|
22 |
+
</h1>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
<div class="image-logo">
|
26 |
+
<div class="toLeft">
|
27 |
+
<img src="./images/maintenance.png" />
|
28 |
+
</div>
|
29 |
+
<div class="toMiddle">
|
30 |
+
<img id="logo-img" src="{{logo_url}}" />
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<div class="clear"></div>
|
34 |
+
</div>
|
35 |
+
|
36 |
+
<div class="content-wrapper">
|
37 |
+
<div class="title">
|
38 |
+
{{headline}}
|
39 |
+
</div>
|
40 |
+
<div class="content">
|
41 |
+
{{message}}
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<!-- <div class="footer">
|
46 |
+
© 2013 Synthetic Thought LLC. All Rights Reserved. <a href="http://easypiewp.com" target="_blank">Designd by: Easy Pie WP</a>
|
47 |
+
</div>-->
|
48 |
+
</div>
|
49 |
+
|
50 |
+
</div>
|
51 |
+
|
52 |
+
<script type="text/javascript">
|
53 |
+
if(navigator.appName == 'Microsoft Internet Explorer') {
|
54 |
+
|
55 |
+
|
56 |
+
var body = document.getElementsByTagName('body');
|
57 |
+
|
58 |
+
body[0].style.background = "#202020";
|
59 |
+
|
60 |
+
|
61 |
+
var image = document.getElementById("logo-img");
|
62 |
+
|
63 |
+
function ezp_hideImage() {
|
64 |
+
image.style.display = "none";
|
65 |
+
}
|
66 |
+
|
67 |
+
if(image.getAttribute('src') == '') {
|
68 |
+
|
69 |
+
ezp_hideImage();
|
70 |
+
}
|
71 |
+
|
72 |
+
image.addEventListener('error', ezp_hideImage, true); }
|
73 |
+
</script>
|
74 |
+
|
75 |
+
</body>
|
76 |
+
</html>
|
mini-themes/sawhorse-yellow/css/reset.css
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* reset5 © 2011 opensource.736cs.com MIT */
|
2 |
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0!important;padding:0!important;}input,select,a img{vertical-align:middle;}
|
mini-themes/sawhorse-yellow/css/style.css
ADDED
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(reset.css);
|
2 |
+
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700);
|
3 |
+
|
4 |
+
body
|
5 |
+
{
|
6 |
+
background:url(../images/pattern.png) repeat center center #aac822;
|
7 |
+
font-family: 'Roboto', sans-serif;
|
8 |
+
color:#000000;
|
9 |
+
}
|
10 |
+
|
11 |
+
|
12 |
+
.wrapper
|
13 |
+
{
|
14 |
+
max-width:715px;
|
15 |
+
width:100%;
|
16 |
+
/*RSR margin:22px auto 0 auto;*/
|
17 |
+
margin: 22px auto 22px auto;
|
18 |
+
}
|
19 |
+
|
20 |
+
|
21 |
+
.wrapper .wrapper-content
|
22 |
+
{
|
23 |
+
width:86.01398601398601%;
|
24 |
+
background:#fbfcf4;
|
25 |
+
border-radius:45px;
|
26 |
+
-moz-border-radius:45px;
|
27 |
+
-webkit-border-radius:45px;
|
28 |
+
padding:15px 6.993006993006993%;
|
29 |
+
display:table:cell;
|
30 |
+
}
|
31 |
+
|
32 |
+
.wrapper .wrapper-content .header h1
|
33 |
+
{
|
34 |
+
color:#000000;
|
35 |
+
font-size:13px;
|
36 |
+
text-align:center;
|
37 |
+
font-weight:normal;
|
38 |
+
}
|
39 |
+
|
40 |
+
.wrapper .wrapper-content .image-logo
|
41 |
+
{
|
42 |
+
margin-top:20px;
|
43 |
+
position:relative;
|
44 |
+
}
|
45 |
+
|
46 |
+
.wrapper .wrapper-content .image-logo .toLeft.first
|
47 |
+
{
|
48 |
+
width:41.6260162601626%;
|
49 |
+
margin-left:-125px;
|
50 |
+
}
|
51 |
+
|
52 |
+
.wrapper .wrapper-content .image-logo .toLeft.first img
|
53 |
+
{
|
54 |
+
max-width:256px;
|
55 |
+
width:100%;
|
56 |
+
|
57 |
+
}
|
58 |
+
|
59 |
+
.wrapper .wrapper-content .image-logo .toLeft.second
|
60 |
+
{
|
61 |
+
margin-top:26px;
|
62 |
+
/*width:52.03252032520325%;*/
|
63 |
+
text-align:center;
|
64 |
+
width:65%;
|
65 |
+
}
|
66 |
+
|
67 |
+
.wrapper .wrapper-content .image-logo .toLeft.second img
|
68 |
+
{
|
69 |
+
max-width:320px;
|
70 |
+
height: 71px;
|
71 |
+
width:auto;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wrapper .wrapper-content .image-logo .toRight
|
75 |
+
{
|
76 |
+
margin-top:26px;
|
77 |
+
width:35.44715447154472%;
|
78 |
+
text-align:right;
|
79 |
+
margin-right:-140px;
|
80 |
+
}
|
81 |
+
|
82 |
+
.wrapper .wrapper-content .image-logo .toRight img
|
83 |
+
{
|
84 |
+
max-width:218px;
|
85 |
+
width:100%;
|
86 |
+
}
|
87 |
+
|
88 |
+
|
89 |
+
@media screen and (max-width:600px)
|
90 |
+
{
|
91 |
+
|
92 |
+
.wrapper
|
93 |
+
{
|
94 |
+
margin-bottom:22px;
|
95 |
+
}
|
96 |
+
|
97 |
+
.wrapper .wrapper-content .image-logo .toLeft.first
|
98 |
+
{
|
99 |
+
display:none;
|
100 |
+
}
|
101 |
+
|
102 |
+
.wrapper .wrapper-content .image-logo .toLeft.second
|
103 |
+
{
|
104 |
+
width:100%;
|
105 |
+
text-align:center;
|
106 |
+
}
|
107 |
+
|
108 |
+
.wrapper .wrapper-content .image-logo .toRight
|
109 |
+
{
|
110 |
+
display:none;
|
111 |
+
}
|
112 |
+
}
|
113 |
+
|
114 |
+
|
115 |
+
.wrapper .wrapper-content .content-wrapper .title
|
116 |
+
{
|
117 |
+
font-size:50px;
|
118 |
+
font-weight:700;
|
119 |
+
text-align:center;
|
120 |
+
color:#000000;
|
121 |
+
margin-top:23px;
|
122 |
+
margin-bottom:40px;
|
123 |
+
}
|
124 |
+
|
125 |
+
.wrapper .wrapper-content .content-wrapper .content
|
126 |
+
{
|
127 |
+
font-size:18px;
|
128 |
+
text-align:center;
|
129 |
+
line-height:20px;
|
130 |
+
font-weight:300;
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
.wrapper .wrapper-content .footer
|
135 |
+
{
|
136 |
+
margin-top:50px;
|
137 |
+
text-align:center;
|
138 |
+
color:#000000;
|
139 |
+
font-size:13px;
|
140 |
+
}
|
141 |
+
|
142 |
+
.wrapper .wrapper-content .footer a
|
143 |
+
{
|
144 |
+
color:#000000;
|
145 |
+
text-decoration:none;
|
146 |
+
}
|
147 |
+
|
148 |
+
.toLeft
|
149 |
+
{
|
150 |
+
float:left;
|
151 |
+
}
|
152 |
+
|
153 |
+
.toRight
|
154 |
+
{
|
155 |
+
float:right;
|
156 |
+
text-align:right;
|
157 |
+
}
|
158 |
+
|
159 |
+
.clear
|
160 |
+
{
|
161 |
+
clear:both;
|
162 |
+
}
|
163 |
+
|
164 |
+
|
mini-themes/sawhorse-yellow/images/alert.png
ADDED
Binary file
|
mini-themes/sawhorse-yellow/images/logo.png
ADDED
Binary file
|
mini-themes/sawhorse-yellow/images/maintenance.png
ADDED
Binary file
|
mini-themes/sawhorse-yellow/images/pattern.png
ADDED
Binary file
|
mini-themes/sawhorse-yellow/images/screenshot.png
ADDED
Binary file
|
mini-themes/sawhorse-yellow/manifest.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "sawhorse-yellow",
|
3 |
+
"title": "Yellow Sawhorse",
|
4 |
+
"description": "Simple sign showing your site is temporarily down.",
|
5 |
+
"screenshot": "images/screenshot.png",
|
6 |
+
"author_name": "Easy Pie",
|
7 |
+
"website_url": "http://easypiewp.com",
|
8 |
+
"category_id": 1,
|
9 |
+
"google_plus_author_url": "https://plus.google.com/u/0/105719454610818515859/posts",
|
10 |
+
"original_release_date": "2013/10/20",
|
11 |
+
"latest_version_date": "2013/10/20",
|
12 |
+
"version": "1.0.0",
|
13 |
+
"release_notes": "Initial release",
|
14 |
+
"autodownload" : true,
|
15 |
+
"responsive" : true,
|
16 |
+
"downloaded": false
|
17 |
+
}
|
mini-themes/sawhorse-yellow/page.html
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5 |
+
<title>{{title}}</title>
|
6 |
+
|
7 |
+
<link href="./css/style.css" media="all" rel="stylesheet" type="text/css" />
|
8 |
+
|
9 |
+
</head>
|
10 |
+
|
11 |
+
<body>
|
12 |
+
|
13 |
+
|
14 |
+
<div class="wrapper">
|
15 |
+
|
16 |
+
<div class="wrapper-content">
|
17 |
+
|
18 |
+
<div class="header">
|
19 |
+
<h1>
|
20 |
+
{{header}}
|
21 |
+
</h1>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<div class="image-logo">
|
25 |
+
<div class="toLeft first">
|
26 |
+
<img src="./images/maintenance.png" />
|
27 |
+
</div>
|
28 |
+
<div class="toLeft second">
|
29 |
+
<!-- <a href="#"><img src="./images/logo.png" /></a>-->
|
30 |
+
<a href="#"><img id="logo-img" src="{{logo_url}}" /></a>
|
31 |
+
</div>
|
32 |
+
<div class="toRight">
|
33 |
+
<a href="#"><img src="./images/alert.png" /></a>
|
34 |
+
</div>
|
35 |
+
<div class="clear"></div>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div class="content-wrapper">
|
39 |
+
<div class="title">
|
40 |
+
{{headline}}
|
41 |
+
</div>
|
42 |
+
<div class="content">
|
43 |
+
{{message}}
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<!-- <div class="footer">
|
48 |
+
© 2013 Synthetic Thought LLC. All Rights Reserved. <a href="http://easypiewp.com" target="_blank">Designd by: Easy Pie WP</a>
|
49 |
+
</div>-->
|
50 |
+
</div>
|
51 |
+
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<script type="text/javascript">
|
55 |
+
if(navigator.appName == 'Microsoft Internet Explorer') {
|
56 |
+
|
57 |
+
|
58 |
+
var body = document.getElementsByTagName('body');
|
59 |
+
|
60 |
+
body[0].style.background = "#aac822";
|
61 |
+
}
|
62 |
+
|
63 |
+
var image = document.getElementById("logo-img");
|
64 |
+
|
65 |
+
function ezp_hideImage() {
|
66 |
+
image.style.display = "none";
|
67 |
+
}
|
68 |
+
|
69 |
+
if(image.getAttribute('src') == '') {
|
70 |
+
|
71 |
+
ezp_hideImage();
|
72 |
+
}
|
73 |
+
|
74 |
+
image.addEventListener('error', ezp_hideImage, true);
|
75 |
+
|
76 |
+
</script>
|
77 |
+
|
78 |
+
</body>
|
79 |
+
</html>
|
mini-themes/temporarily-closed/css/reset.css
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* reset5 © 2011 opensource.736cs.com MIT */
|
2 |
+
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0!important;padding:0!important;}input,select,a img{vertical-align:middle;}
|
mini-themes/temporarily-closed/css/style.css
ADDED
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import url(reset.css);
|
2 |
+
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,100);
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
body
|
9 |
+
{
|
10 |
+
/* background:url(../images/background.jpg) no-repeat center center #fff;
|
11 |
+
background-attachment:fixed;
|
12 |
+
-webkit-background-size: cover;
|
13 |
+
-moz-background-size: cover;
|
14 |
+
-o-background-size: cover;
|
15 |
+
background-size: cover;*/
|
16 |
+
background-color: #EEE;
|
17 |
+
font-family: 'Roboto', sans-serif;
|
18 |
+
color:#262626;
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
.header-text
|
23 |
+
{
|
24 |
+
max-width:932px;
|
25 |
+
width:100%;
|
26 |
+
margin:0 auto;
|
27 |
+
}
|
28 |
+
|
29 |
+
.header-text h1
|
30 |
+
{
|
31 |
+
font-size:20px;
|
32 |
+
padding:15px 0;
|
33 |
+
text-align:center;
|
34 |
+
font-weight:300;
|
35 |
+
}
|
36 |
+
|
37 |
+
.content
|
38 |
+
{
|
39 |
+
background:url(../images/container.png) no-repeat top center;
|
40 |
+
background-size:100%;
|
41 |
+
min-height:539px;
|
42 |
+
max-width:932px;
|
43 |
+
width:100%;
|
44 |
+
margin: 0 auto;
|
45 |
+
}
|
46 |
+
|
47 |
+
|
48 |
+
.content .logo
|
49 |
+
{
|
50 |
+
/* width:26.82403433476395%;*/
|
51 |
+
|
52 |
+
margin:0 auto;
|
53 |
+
padding-top:70px;
|
54 |
+
text-align:center;
|
55 |
+
height: 66px;
|
56 |
+
|
57 |
+
}
|
58 |
+
|
59 |
+
#logo-img
|
60 |
+
{
|
61 |
+
height: 66px;
|
62 |
+
}
|
63 |
+
|
64 |
+
|
65 |
+
.content .top
|
66 |
+
{
|
67 |
+
font-size:50px;
|
68 |
+
font-weight:100;
|
69 |
+
color:#fff;
|
70 |
+
padding-top:45px;
|
71 |
+
text-align:center;
|
72 |
+
min-height:50px;
|
73 |
+
-webkit-transform: rotate(3deg);
|
74 |
+
-moz-transform: rotate(3deg);
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
+
.content .bottom
|
79 |
+
{
|
80 |
+
margin-top:50px;
|
81 |
+
font-size:20px;
|
82 |
+
line-height:25px;
|
83 |
+
padding:20px 6.437768240343348% 20px 5.579399141630901%;
|
84 |
+
-webkit-transform: rotate(3deg);
|
85 |
+
-moz-transform: rotate(3deg);
|
86 |
+
font-weight:300;
|
87 |
+
text-align:center;
|
88 |
+
}
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
.footer
|
93 |
+
{
|
94 |
+
width:100%;
|
95 |
+
background:#fff;
|
96 |
+
margin-top:40px;
|
97 |
+
padding:22px 0;
|
98 |
+
}
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
.footer .footer-content
|
104 |
+
{
|
105 |
+
max-width:932px;
|
106 |
+
width:100%;
|
107 |
+
margin:0 auto;
|
108 |
+
font-size:13px;
|
109 |
+
}
|
110 |
+
|
111 |
+
.footer .footer-content a
|
112 |
+
{
|
113 |
+
color:#262626;
|
114 |
+
text-decoration:none;
|
115 |
+
}
|
116 |
+
|
117 |
+
.footer .footer-content .toLeft, .footer .footer-content .toRight
|
118 |
+
{
|
119 |
+
}
|
120 |
+
|
121 |
+
.footer .footer-content .toLeft
|
122 |
+
{
|
123 |
+
width:75%;
|
124 |
+
}
|
125 |
+
.footer .footer-content .toRight
|
126 |
+
{
|
127 |
+
width:25%;
|
128 |
+
}
|
129 |
+
|
130 |
+
.toLeft
|
131 |
+
{
|
132 |
+
float:left;
|
133 |
+
}
|
134 |
+
|
135 |
+
.toRight
|
136 |
+
{
|
137 |
+
float:right;
|
138 |
+
text-align:right;
|
139 |
+
}
|
140 |
+
|
141 |
+
.clear
|
142 |
+
{
|
143 |
+
clear:both;
|
144 |
+
}
|
145 |
+
|
146 |
+
|
147 |
+
@media screen and (max-width:800px)
|
148 |
+
{
|
149 |
+
|
150 |
+
.header-text h1
|
151 |
+
{
|
152 |
+
font-size:16px;
|
153 |
+
}
|
154 |
+
|
155 |
+
|
156 |
+
.content .logo
|
157 |
+
{
|
158 |
+
padding-top:55px;
|
159 |
+
}
|
160 |
+
|
161 |
+
.content .top
|
162 |
+
{
|
163 |
+
font-size:40px;
|
164 |
+
padding-top:60px;
|
165 |
+
}
|
166 |
+
|
167 |
+
.content .bottom
|
168 |
+
{
|
169 |
+
margin-top:20px;
|
170 |
+
font-size:18px;
|
171 |
+
}
|
172 |
+
}
|
173 |
+
|
174 |
+
|
175 |
+
@media screen and (max-width:700px)
|
176 |
+
{
|
177 |
+
.content .top
|
178 |
+
{
|
179 |
+
font-size:30px;
|
180 |
+
padding-top:45px;
|
181 |
+
}
|
182 |
+
|
183 |
+
.content .bottom
|
184 |
+
{
|
185 |
+
margin-top:10px;
|
186 |
+
font-size:12px;
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
|
191 |
+
@media screen and (max-width:601px)
|
192 |
+
{
|
193 |
+
.header-text h1
|
194 |
+
{
|
195 |
+
font-size:12px;
|
196 |
+
}
|
197 |
+
|
198 |
+
.content .logo
|
199 |
+
{
|
200 |
+
width:26.82403433476395%;
|
201 |
+
margin:0 auto;
|
202 |
+
padding-top:30px;
|
203 |
+
padding-bottom:30px;
|
204 |
+
}
|
205 |
+
|
206 |
+
|
207 |
+
.content
|
208 |
+
{
|
209 |
+
background:transparent;
|
210 |
+
}
|
211 |
+
|
212 |
+
.content .top
|
213 |
+
{
|
214 |
+
font-size:30px;
|
215 |
+
background:#c66363;
|
216 |
+
line-height:50px;
|
217 |
+
padding-top:0px;
|
218 |
+
}
|
219 |
+
|
220 |
+
.content .bottom
|
221 |
+
{
|
222 |
+
margin-top:0px;
|
223 |
+
font-size:12px;
|
224 |
+
background:#fff;
|
225 |
+
}
|
226 |
+
|
227 |
+
.footer
|
228 |
+
{
|
229 |
+
margin-top:0px;
|
230 |
+
}
|
231 |
+
}
|
mini-themes/temporarily-closed/images/background.jpg
ADDED
Binary file
|
mini-themes/temporarily-closed/images/container.png
ADDED
Binary file
|
mini-themes/temporarily-closed/images/screenshot.png
ADDED
Binary file
|
mini-themes/temporarily-closed/manifest.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "temporarily-closed",
|
3 |
+
"title": "Temporarily Closed",
|
4 |
+
"description": "Simple sign showing your site is temporarily down.",
|
5 |
+
"author_name": "Easy Pie",
|
6 |
+
"website_url": "http://easypiewp.com",
|
7 |
+
"screenshot": "images/screenshot.png",
|
8 |
+
"category_id": 1,
|
9 |
+
"google_plus_author_url": "https://plus.google.com/u/0/105719454610818515859/posts",
|
10 |
+
"original_release_date": "2013/10/20",
|
11 |
+
"latest_version_date": "2013/10/20",
|
12 |
+
"version": "1.0.0",
|
13 |
+
"release_notes": "Initial release",
|
14 |
+
"autodownload" : true,
|
15 |
+
"responsive" : true,
|
16 |
+
"downloaded": false
|
17 |
+
}
|
mini-themes/temporarily-closed/page.html
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
+
<head>
|
4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5 |
+
<title>{{title}}</title>
|
6 |
+
|
7 |
+
<link href="./css/style.css" media="all" rel="stylesheet" type="text/css" />
|
8 |
+
|
9 |
+
</head>
|
10 |
+
|
11 |
+
<body>
|
12 |
+
|
13 |
+
<div class="header-text">
|
14 |
+
<h1>
|
15 |
+
{{header}}
|
16 |
+
</h1>
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<div class="content">
|
20 |
+
|
21 |
+
|
22 |
+
<div class="logo">
|
23 |
+
<!-- <a href="#"><img src="./images/logo.png" /></a>-->
|
24 |
+
<a href="#"><img id="logo-img" src="{{logo_url}}" /></a>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<div class="top">
|
28 |
+
{{headline}}
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<div class="bottom">
|
32 |
+
{{message}}
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<div class="push"></div>
|
36 |
+
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<!-- <div class="footer">
|
40 |
+
<div class="footer-content">
|
41 |
+
<div class="toLeft">
|
42 |
+
© 2013 Easy Pie. All Rights Reserved.
|
43 |
+
</div>
|
44 |
+
<div class="toRight">
|
45 |
+
<a href="http://easypiewp.com" target="_blank">Designd by: Easy Pie</a>
|
46 |
+
</div>
|
47 |
+
<div class="clear"></div>
|
48 |
+
</div>
|
49 |
+
</div>-->
|
50 |
+
|
51 |
+
|
52 |
+
<script type="text/javascript">
|
53 |
+
|
54 |
+
var image = document.getElementById("logo-img");
|
55 |
+
|
56 |
+
function ezp_hideImage() {
|
57 |
+
image.style.display = "none";
|
58 |
+
}
|
59 |
+
|
60 |
+
if(image.getAttribute('src') == '') {
|
61 |
+
ezp_hideImage();
|
62 |
+
}
|
63 |
+
|
64 |
+
image.addEventListener('error', ezp_hideImage, true);
|
65 |
+
|
66 |
+
</script>
|
67 |
+
|
68 |
+
</body>
|
69 |
+
</html>
|
pages/page-options.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* To change this template, choose Tools | Templates
|
4 |
+
* and open the template in the editor.
|
5 |
+
*/
|
6 |
+
?>
|
7 |
+
|
8 |
+
<div class="wrap">
|
9 |
+
|
10 |
+
<?php screen_icon(Easy_Pie_Maintenance_Mode::PAGE_KEY); ?>
|
11 |
+
<h2>Easy Pie Maintenance Mode</h2>
|
12 |
+
<?php
|
13 |
+
if (isset($_GET['settings-updated'])) {
|
14 |
+
echo "<div class='updated'><p>" . __('If you have a caching plugin, be sure to clear the cache!', Easy_Pie_Maintenance_Mode::PLUGIN_SLUG) . "</p></div>";
|
15 |
+
}
|
16 |
+
?>
|
17 |
+
<div class="inside">
|
18 |
+
<form method="post" action="options.php">
|
19 |
+
<?php
|
20 |
+
settings_fields(Easy_Pie_Maintenance_Mode::OPTIONS_GROUP_NAME);
|
21 |
+
do_settings_sections(Easy_Pie_Maintenance_Mode::PAGE_KEY);
|
22 |
+
|
23 |
+
submit_button();
|
24 |
+
?>
|
25 |
+
</form>
|
26 |
+
</div>
|
27 |
+
</div>
|
readme.txt
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Easy Pie Maintenance Mode ===
|
2 |
+
Contributors: bobriley
|
3 |
+
Donate link: http://easypiewp.com
|
4 |
+
Tags: maintenance, admin, administration, construction, under construction, maintenance mode, offline, unavailable, launch
|
5 |
+
Requires at least: 3.5
|
6 |
+
Tested up to: 3.7
|
7 |
+
Stable tag: 0.5
|
8 |
+
License: GPLv2
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
|
11 |
+
Let website visitors know your site is temporarily down while you're working on it.
|
12 |
+
|
13 |
+
== Description ==
|
14 |
+
Need to let your visitors know your site is temporarily down or is under construction? The Easy Pie maintenance mode plugin makes it easy.
|
15 |
+
|
16 |
+
### Features
|
17 |
+
* **Simple.** No confusing options or complex setup
|
18 |
+
* **Mini themes.** Includes four professionally-designed, responsive mini-themes
|
19 |
+
* **Pre-styled text.** Title, header, headline and message text gets styled without requiring HTML or CSS
|
20 |
+
* **Add your own logo.** Easily add your own logo using the WordPress Media Library.
|
21 |
+
* **Expandable.** Modular architecture allows for easy addition of future mini-themes.
|
22 |
+
|
23 |
+
Thanks to the developers of [bxSlider](http://bxslider.com) for their cool image viewer.
|
24 |
+
== Installation ==
|
25 |
+
|
26 |
+
1. Click Plugins/Add New from the WordPress admin panel
|
27 |
+
1. Search for "easy pie maintenance mode" and install
|
28 |
+
|
29 |
+
-or-
|
30 |
+
|
31 |
+
1. Download the .zip package
|
32 |
+
1. Unzip into the subdirectory "easy-pie-maintenance-mode" within your local WordPress plugins directory
|
33 |
+
1. Refresh plugin page and activate plugin
|
34 |
+
1. Configure plugin using *settings* link under plugin name or by going to Settings/Maintenance mode
|
35 |
+
|
36 |
+
== Frequently Asked Questions ==
|
37 |
+
|
38 |
+
= Why doesn't the plugin work for me? =
|
39 |
+
Unfortunately I recently discovered that the plugin isn't compatible with PHP 5.2. To verify this is the problem go to your [host's CPanel interface](http://www.inmotionhosting.com/support/edu/cpanel/getting-started-cpanel/how-to-view-your-php-version-in-cpanel) to check your PHP version.
|
40 |
+
|
41 |
+
If you have PHP 5.2.x, then you will have to wait until the next release for the fix. However, if you are running PHP 5.3 or later, that means something else is wrong. If you are interested in working through the problem please [email me](mailto:bob@easypiewp.com). Thanks.
|
42 |
+
|
43 |
+
= What happens if a search engine hits my site while it's in maintenance mode? =
|
44 |
+
The plugin returns a '503' status with 'retry later' HTTP header when in maintenance mode. This lets search engines know that your site is temporarily down and to come back 24 hours later.
|
45 |
+
|
46 |
+
= Can I create my own mini-theme? =
|
47 |
+
In version 0.5, there are ways of doing it, but it's not easy for a beginner. I recommend waiting till the next release.
|
48 |
+
|
49 |
+
If by chance, you have manage to hack a theme, please be aware that since the themes for v0.5 reside in the plugins directory that all themes will be wiped and reinstalled during the next upgrade. Therefore make sure you create a backup of your hacked theme before performing the next upgrade. The next version will not have this problem - user mini-themes are fully supported and will be retained between updates.
|
50 |
+
|
51 |
+
== Screenshots ==
|
52 |
+
|
53 |
+
1. Plugin configuration
|
54 |
+
2. Site in maintenance mode when using the 'temporarily closed' mini-theme.
|
55 |
+
|
56 |
+
== Changelog ==
|
57 |
+
|
58 |
+
= 0.5 =
|
59 |
+
* Initial release
|
60 |
+
|
61 |
+
== Upgrade Notice ==
|
62 |
+
|
63 |
+
= 0.5 =
|
64 |
+
* Initial release
|
screenshot-1.png
ADDED
Binary file
|
screenshot-2.png
ADDED
Binary file
|
styles/easy-pie-styles.css
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Document : styles.css
|
3 |
+
Created on : Oct 3, 2013, 8:40:59 AM
|
4 |
+
Author : Play
|
5 |
+
Description:
|
6 |
+
Purpose of the stylesheet follows.
|
7 |
+
*/
|
8 |
+
|
9 |
+
#icon-easy-pie-mm {
|
10 |
+
background: transparent url( '../images/easy-pie-mm-logo32.png' ) no-repeat;
|
11 |
+
}
|
12 |
+
|
13 |
+
.bx-wrapper { margin: 0 0 60px 0 }
|
14 |
+
|
15 |
+
#easy-pie-mm-bxpager {
|
16 |
+
/*text-align: center;*/
|
17 |
+
max-width: 100%;
|
18 |
+
margin-top: -44px;
|
19 |
+
}
|
20 |
+
|
21 |
+
#easy-pie-mm-bxpager a {
|
22 |
+
margin: 0 3px;
|
23 |
+
}
|
24 |
+
|
25 |
+
#easy-pie-mm-bxpager a img {
|
26 |
+
padding: 3px;
|
27 |
+
border: solid #ccc 2px;
|
28 |
+
width: 120px;
|
29 |
+
height: 80px;
|
30 |
+
}
|
31 |
+
|
32 |
+
#easy-pie-mm-bxpager a:hover img,
|
33 |
+
#easy-pie-mm-bxpager a.active img {
|
34 |
+
border: solid #5280DD 2px;
|
35 |
+
}
|
36 |
+
|
styles/jquery.bxslider.css
ADDED
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* BxSlider v4.0 - Fully loaded, responsive content slider
|
3 |
+
* http://bxslider.com
|
4 |
+
*
|
5 |
+
* Written by: Steven Wanderski, 2012
|
6 |
+
* http://stevenwanderski.com
|
7 |
+
* (while drinking Belgian ales and listening to jazz)
|
8 |
+
*
|
9 |
+
* CEO and founder of bxCreative, LTD
|
10 |
+
* http://bxcreative.com
|
11 |
+
*/
|
12 |
+
|
13 |
+
|
14 |
+
/** RESET AND LAYOUT
|
15 |
+
===================================*/
|
16 |
+
|
17 |
+
.bx-wrapper {
|
18 |
+
position: relative;
|
19 |
+
margin: 0 auto 60px;
|
20 |
+
padding: 0;
|
21 |
+
*zoom: 1;
|
22 |
+
}
|
23 |
+
|
24 |
+
.bx-wrapper img {
|
25 |
+
max-width: 100%;
|
26 |
+
display: block;
|
27 |
+
}
|
28 |
+
|
29 |
+
/** THEME
|
30 |
+
===================================*/
|
31 |
+
|
32 |
+
.bx-wrapper .bx-viewport {
|
33 |
+
-moz-box-shadow: 0 0 5px #ccc;
|
34 |
+
-webkit-box-shadow: 0 0 5px #ccc;
|
35 |
+
box-shadow: 0 0 5px #ccc;
|
36 |
+
border: solid #fff 5px;
|
37 |
+
left: -5px;
|
38 |
+
background: #fff;
|
39 |
+
}
|
40 |
+
|
41 |
+
.bx-wrapper .bx-pager,
|
42 |
+
.bx-wrapper .bx-controls-auto {
|
43 |
+
position: absolute;
|
44 |
+
bottom: -30px;
|
45 |
+
width: 100%;
|
46 |
+
}
|
47 |
+
|
48 |
+
/* LOADER */
|
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;
|
56 |
+
top: 0;
|
57 |
+
left: 0;
|
58 |
+
z-index: 2000;
|
59 |
+
}
|
60 |
+
|
61 |
+
/* PAGER */
|
62 |
+
|
63 |
+
.bx-wrapper .bx-pager {
|
64 |
+
text-align: center;
|
65 |
+
font-size: .85em;
|
66 |
+
font-family: Arial;
|
67 |
+
font-weight: bold;
|
68 |
+
color: #666;
|
69 |
+
padding-top: 20px;
|
70 |
+
}
|
71 |
+
|
72 |
+
.bx-wrapper .bx-pager .bx-pager-item,
|
73 |
+
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
|
74 |
+
display: inline-block;
|
75 |
+
*zoom: 1;
|
76 |
+
*display: inline;
|
77 |
+
}
|
78 |
+
|
79 |
+
.bx-wrapper .bx-pager.bx-default-pager a {
|
80 |
+
background: #666;
|
81 |
+
text-indent: -9999px;
|
82 |
+
display: block;
|
83 |
+
width: 10px;
|
84 |
+
height: 10px;
|
85 |
+
margin: 0 5px;
|
86 |
+
outline: 0;
|
87 |
+
-moz-border-radius: 5px;
|
88 |
+
-webkit-border-radius: 5px;
|
89 |
+
border-radius: 5px;
|
90 |
+
}
|
91 |
+
|
92 |
+
.bx-wrapper .bx-pager.bx-default-pager a:hover,
|
93 |
+
.bx-wrapper .bx-pager.bx-default-pager a.active {
|
94 |
+
background: #000;
|
95 |
+
}
|
96 |
+
|
97 |
+
/* DIRECTION CONTROLS (NEXT / PREV) */
|
98 |
+
|
99 |
+
.bx-wrapper .bx-prev {
|
100 |
+
left: 10px;
|
101 |
+
background: url(images/controls.png) no-repeat 0 -32px;
|
102 |
+
}
|
103 |
+
|
104 |
+
.bx-wrapper .bx-next {
|
105 |
+
right: 10px;
|
106 |
+
background: url(images/controls.png) no-repeat -43px -32px;
|
107 |
+
}
|
108 |
+
|
109 |
+
.bx-wrapper .bx-prev:hover {
|
110 |
+
background-position: 0 0;
|
111 |
+
}
|
112 |
+
|
113 |
+
.bx-wrapper .bx-next:hover {
|
114 |
+
background-position: -43px 0;
|
115 |
+
}
|
116 |
+
|
117 |
+
.bx-wrapper .bx-controls-direction a {
|
118 |
+
position: absolute;
|
119 |
+
top: 50%;
|
120 |
+
margin-top: -16px;
|
121 |
+
outline: 0;
|
122 |
+
width: 32px;
|
123 |
+
height: 32px;
|
124 |
+
text-indent: -9999px;
|
125 |
+
z-index: 9999;
|
126 |
+
}
|
127 |
+
|
128 |
+
.bx-wrapper .bx-controls-direction a.disabled {
|
129 |
+
display: none;
|
130 |
+
}
|
131 |
+
|
132 |
+
/* AUTO CONTROLS (START / STOP) */
|
133 |
+
|
134 |
+
.bx-wrapper .bx-controls-auto {
|
135 |
+
text-align: center;
|
136 |
+
}
|
137 |
+
|
138 |
+
.bx-wrapper .bx-controls-auto .bx-start {
|
139 |
+
display: block;
|
140 |
+
text-indent: -9999px;
|
141 |
+
width: 10px;
|
142 |
+
height: 11px;
|
143 |
+
outline: 0;
|
144 |
+
background: url(images/controls.png) -86px -11px no-repeat;
|
145 |
+
margin: 0 3px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.bx-wrapper .bx-controls-auto .bx-start:hover,
|
149 |
+
.bx-wrapper .bx-controls-auto .bx-start.active {
|
150 |
+
background-position: -86px 0;
|
151 |
+
}
|
152 |
+
|
153 |
+
.bx-wrapper .bx-controls-auto .bx-stop {
|
154 |
+
display: block;
|
155 |
+
text-indent: -9999px;
|
156 |
+
width: 9px;
|
157 |
+
height: 11px;
|
158 |
+
outline: 0;
|
159 |
+
background: url(images/controls.png) -86px -44px no-repeat;
|
160 |
+
margin: 0 3px;
|
161 |
+
}
|
162 |
+
|
163 |
+
.bx-wrapper .bx-controls-auto .bx-stop:hover,
|
164 |
+
.bx-wrapper .bx-controls-auto .bx-stop.active {
|
165 |
+
background-position: -86px -33px;
|
166 |
+
}
|
167 |
+
|
168 |
+
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
|
169 |
+
|
170 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
|
171 |
+
text-align: left;
|
172 |
+
width: 80%;
|
173 |
+
}
|
174 |
+
|
175 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
|
176 |
+
right: 0;
|
177 |
+
width: 35px;
|
178 |
+
}
|
179 |
+
|
180 |
+
/* IMAGE CAPTIONS */
|
181 |
+
|
182 |
+
.bx-wrapper .bx-caption {
|
183 |
+
position: absolute;
|
184 |
+
bottom: 0;
|
185 |
+
left: 0;
|
186 |
+
background: #666\9;
|
187 |
+
background: rgba(80, 80, 80, 0.75);
|
188 |
+
width: 100%;
|
189 |
+
}
|
190 |
+
|
191 |
+
.bx-wrapper .bx-caption span {
|
192 |
+
color: #fff;
|
193 |
+
font-family: Arial;
|
194 |
+
display: block;
|
195 |
+
font-size: .85em;
|
196 |
+
padding: 10px;
|
197 |
+
}
|
uninstall.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
if(defined('WP_UNINSTALL_PLUGIN')) {
|
8 |
+
|
9 |
+
delete_option("easy-pie-mm-options");
|
10 |
+
}
|
11 |
+
?>
|