Version Description
- New: Google fonts subsets
- New: WP Super Cache support
- New: WP Total Cache support
- New: Retina logo
- New: Logo width and height fields
- New: uninstal.php
- Update: WordPress 4.4.2 support
- Improvements: Responsive version
- Improvements: Time format
- Bug fix: Maintenance not working on French Language
Download this release
Release Info
Developer | fruitfulcode |
Plugin | Maintenance |
Version | 2.7 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.7
- css/admin.css +3 -1
- includes/admin.php +5 -1
- includes/functions.php +69 -29
- js/init.min.js +1 -1
- languages/maintenance-cs_CZ.mo +0 -0
- languages/maintenance-cs_CZ.po +3 -3
- languages/maintenance-de_DE.mo +0 -0
- languages/maintenance-de_DE.po +3 -3
- languages/maintenance-es_ES.mo +0 -0
- languages/maintenance-es_ES.po +4 -4
- languages/maintenance-fa-IR.mo +0 -0
- languages/maintenance-fa-IR.po +3 -3
- languages/maintenance-fi_FI.mo +0 -0
- languages/maintenance-fi_FI.po +3 -4
- languages/maintenance-fr_FR.mo +0 -0
- languages/maintenance-fr_FR.po +3 -3
- languages/maintenance-it_IT.mo +0 -0
- languages/maintenance-it_IT.po +3 -3
- languages/maintenance-nl_NL.mo +0 -0
- languages/maintenance-nl_NL.po +3 -3
- languages/maintenance-pt_BR.mo +0 -0
- languages/maintenance-pt_BR.po +4 -3
- languages/maintenance-ru_RU.mo +0 -0
- languages/maintenance-ru_RU.po +3 -3
- languages/maintenance-tr_TR.mo +0 -0
- languages/maintenance-tr_TR.mo.mo +0 -0
- languages/maintenance-tr_TR.po +3 -3
- languages/maintenance-uk_UA.mo +0 -0
- languages/maintenance-uk_UA.po +3 -3
- languages/maintenance-zh_CN.mo +0 -0
- languages/maintenance-zh_CN.po +3 -3
- load/functions.php +38 -11
- load/index.php +1 -1
- load/js/jquery.frontend.js +11 -11
- load/js/jquery.frontend.min.js +1 -1
- load/style.css +145 -182
- maintenance.php +7 -5
- readme.txt +17 -4
- screenshot-1.png +0 -0
- uninstall.php +9 -0
css/admin.css
CHANGED
@@ -35,7 +35,9 @@
|
|
35 |
#maintenance-options input#heading,
|
36 |
#maintenance-options textarea,
|
37 |
#maintenance-options input#subscribe_form_title,
|
38 |
-
#maintenance-options input#footer_text
|
|
|
|
|
39 |
#maintenance-options input.social-input {width:50%;}
|
40 |
#maintenance-options input[type="checkbox"] { margin:0 5px 0 0; }
|
41 |
#maintenance-options #poststuff .metabox-holder .postbox-container.column-1 {float: left; width: 65%;}
|
35 |
#maintenance-options input#heading,
|
36 |
#maintenance-options textarea,
|
37 |
#maintenance-options input#subscribe_form_title,
|
38 |
+
#maintenance-options input#footer_text,
|
39 |
+
#maintenance-options input#logo_width,
|
40 |
+
#maintenance-options input#logo_height { width:100%; }
|
41 |
#maintenance-options input.social-input {width:50%;}
|
42 |
#maintenance-options input[type="checkbox"] { margin:0 5px 0 0; }
|
43 |
#maintenance-options #poststuff .metabox-holder .postbox-container.column-1 {float: left; width: 65%;}
|
includes/admin.php
CHANGED
@@ -17,6 +17,7 @@
|
|
17 |
}
|
18 |
|
19 |
function mt_register_settings() {
|
|
|
20 |
if ( !empty($_POST['lib_options']) && check_admin_referer('maintenance_edit_post','maintenance_nonce') ) {
|
21 |
if (!isset($_POST['lib_options']['state'])) { $_POST['lib_options']['state'] = 0; }
|
22 |
else { $_POST['lib_options']['state'] = 1; }
|
@@ -27,6 +28,7 @@
|
|
27 |
|
28 |
if (isset($_POST['lib_options'])) {
|
29 |
update_option( 'maintenance_options', $_POST['lib_options']);
|
|
|
30 |
}
|
31 |
}
|
32 |
}
|
@@ -51,7 +53,9 @@
|
|
51 |
wp_enqueue_style ('select2', MAINTENANCE_URI .'js/select2/select2.css' );
|
52 |
|
53 |
wp_enqueue_script ('uplaods_', MAINTENANCE_URI .'js/uploads_.min.js' );
|
54 |
-
|
|
|
|
|
55 |
wp_enqueue_style ('maintenance', MAINTENANCE_URI .'css/admin.css' );
|
56 |
}
|
57 |
|
17 |
}
|
18 |
|
19 |
function mt_register_settings() {
|
20 |
+
global $maintenance;
|
21 |
if ( !empty($_POST['lib_options']) && check_admin_referer('maintenance_edit_post','maintenance_nonce') ) {
|
22 |
if (!isset($_POST['lib_options']['state'])) { $_POST['lib_options']['state'] = 0; }
|
23 |
else { $_POST['lib_options']['state'] = 1; }
|
28 |
|
29 |
if (isset($_POST['lib_options'])) {
|
30 |
update_option( 'maintenance_options', $_POST['lib_options']);
|
31 |
+
$maintenance->mt_clear_cache();
|
32 |
}
|
33 |
}
|
34 |
}
|
53 |
wp_enqueue_style ('select2', MAINTENANCE_URI .'js/select2/select2.css' );
|
54 |
|
55 |
wp_enqueue_script ('uplaods_', MAINTENANCE_URI .'js/uploads_.min.js' );
|
56 |
+
wp_register_script ('maintenance', MAINTENANCE_URI .'js/init.min.js', array( 'wp-color-picker' ), false, true );
|
57 |
+
wp_localize_script( 'maintenance', 'maintenance', array( 'path' => MAINTENANCE_URI) );
|
58 |
+
wp_enqueue_script ('maintenance');
|
59 |
wp_enqueue_style ('maintenance', MAINTENANCE_URI .'css/admin.css' );
|
60 |
}
|
61 |
|
includes/functions.php
CHANGED
@@ -21,18 +21,8 @@
|
|
21 |
);
|
22 |
|
23 |
|
24 |
-
function mt_get_plugin_options(
|
25 |
-
|
26 |
-
if (!$is_current) {
|
27 |
-
$defaults = mt_get_default_array();
|
28 |
-
$defaults = apply_filters('mt_plugin_default_options', $defaults );
|
29 |
-
$options = wp_parse_args($saved, $defaults );
|
30 |
-
$options = array_intersect_key( $options, $defaults );
|
31 |
-
} else {
|
32 |
-
$options = $saved;
|
33 |
-
}
|
34 |
-
|
35 |
-
return $options;
|
36 |
}
|
37 |
|
38 |
function generate_input_filed($title, $id, $name, $value, $placeholder = '') {
|
@@ -47,7 +37,19 @@
|
|
47 |
$out_filed .= '</tr>';
|
48 |
echo $out_filed;
|
49 |
}
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
function generate_textarea_filed($title, $id, $name, $value) {
|
53 |
$out_filed = '';
|
@@ -180,7 +182,38 @@
|
|
180 |
$out_filed .= '</td>';
|
181 |
$out_filed .= '</tr>';
|
182 |
return $out_filed;
|
183 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
|
185 |
function maintenance_page_create_meta_boxes() {
|
186 |
global $maintenance_variable;
|
@@ -220,13 +253,15 @@
|
|
220 |
$is_blur = false;
|
221 |
|
222 |
/*Deafult Variable*/
|
223 |
-
$page_title = $heading = $description = '';
|
224 |
|
225 |
|
226 |
if (isset($mt_option['page_title'])) $page_title = wp_kses_post($mt_option['page_title']);
|
227 |
if (isset($mt_option['heading'])) $heading = wp_kses_post($mt_option['heading']);
|
228 |
if (isset($mt_option['description'])) $description = wp_kses_post($mt_option['description']);
|
229 |
if (isset($mt_option['footer_text'])) $footer_text = wp_kses_post($mt_option['footer_text']);
|
|
|
|
|
230 |
|
231 |
?>
|
232 |
<table class="form-table">
|
@@ -236,12 +271,15 @@
|
|
236 |
generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
|
237 |
generate_textarea_filed(__('Description', 'maintenance'), 'description', 'description', $description);
|
238 |
generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
|
|
|
|
|
239 |
generate_image_filed(__('Logo', 'maintenance'), 'logo', 'logo', intval($mt_option['logo']), 'boxes box-logo', __('Upload Logo', 'maintenance'), 'upload_logo upload_btn button');
|
|
|
240 |
do_action('maintenance_background_field');
|
241 |
do_action('maintenance_color_fields');
|
242 |
do_action('maintenance_font_fields');
|
243 |
generate_check_filed(__('Admin bar', 'maintenance'), __('Show admin bar', 'maintenance'), 'admin_bar_enabled', 'admin_bar_enabled', isset($mt_option['admin_bar_enabled']));
|
244 |
-
generate_check_filed(__('503', 'maintenance'), __('Service temporarily unavailable', 'maintenance'), '503_enabled', '503_enabled', isset($mt_option['503_enabled']));
|
245 |
|
246 |
$gg_analytics_id = '';
|
247 |
if (!empty($mt_option['gg_analytics_id'])) {
|
@@ -358,6 +396,7 @@
|
|
358 |
function get_font_fileds_action() {
|
359 |
$mt_option = mt_get_plugin_options(true);
|
360 |
echo get_fonts_field(__('Font family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family']));
|
|
|
361 |
}
|
362 |
add_action ('maintenance_font_fields', 'get_font_fileds_action', 10);
|
363 |
|
@@ -486,8 +525,8 @@
|
|
486 |
$vCurrDate_start = $vCurrDate_end = $vCurrTime = '';
|
487 |
|
488 |
$vdate_start = $vdate_end = date_i18n( 'Y-m-d', strtotime( current_time('mysql', 0) ));
|
489 |
-
$vtime_start = date_i18n( 'h:i
|
490 |
-
$vtime_end = date_i18n( 'h:i
|
491 |
|
492 |
|
493 |
$mt_options = mt_get_plugin_options(true);
|
@@ -505,15 +544,14 @@
|
|
505 |
$vtime_end = $mt_options['expiry_time_end'];
|
506 |
|
507 |
$vCurrTime = strtotime(current_time('mysql', 0));
|
|
|
508 |
$vCurrDate_start = strtotime($vdate_start . ' ' . $vtime_start);
|
509 |
$vCurrDate_end = strtotime($vdate_end . ' ' . $vtime_end);
|
510 |
|
511 |
if (mtCheckExclude()) return true;
|
512 |
|
513 |
-
if ($vCurrTime
|
514 |
-
if ($vCurrTime >= $vCurrDate_end) {
|
515 |
if (!empty($mt_options['is_down'])) return true;
|
516 |
-
}
|
517 |
|
518 |
} else {
|
519 |
return true;
|
@@ -523,8 +561,6 @@
|
|
523 |
include_once MAINTENANCE_LOAD . 'index.php';
|
524 |
exit;
|
525 |
}
|
526 |
-
|
527 |
-
|
528 |
}
|
529 |
}
|
530 |
|
@@ -615,19 +651,22 @@
|
|
615 |
}
|
616 |
}
|
617 |
|
618 |
-
|
619 |
function mt_get_default_array() {
|
620 |
-
|
621 |
'state' => true,
|
622 |
-
'page_title'
|
623 |
'heading' => __('Maintenance mode is on', 'maintenance'),
|
624 |
-
'description'
|
625 |
'footer_text' => '© ' . get_bloginfo( 'name' ) . ' ' . date('Y'),
|
|
|
|
|
626 |
'logo' => '',
|
|
|
627 |
'body_bg' => mt_insert_attach_sample_files(),
|
628 |
-
'body_bg_color'
|
629 |
'font_color' => '#ffffff',
|
630 |
'body_font_family' => 'Open Sans',
|
|
|
631 |
'is_blur' => false,
|
632 |
'blur_intensity' => 5,
|
633 |
'admin_bar_enabled' => true,
|
@@ -637,4 +676,5 @@
|
|
637 |
'custom_css' => '',
|
638 |
'exclude_pages' => ''
|
639 |
);
|
640 |
-
|
|
21 |
);
|
22 |
|
23 |
|
24 |
+
function mt_get_plugin_options() {
|
25 |
+
return wp_parse_args(get_option('maintenance_options', array()), mt_get_default_array());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
|
28 |
function generate_input_filed($title, $id, $name, $value, $placeholder = '') {
|
37 |
$out_filed .= '</tr>';
|
38 |
echo $out_filed;
|
39 |
}
|
40 |
+
|
41 |
+
function generate_number_filed($title, $id, $name, $value, $placeholder = '') {
|
42 |
+
$out_filed = '';
|
43 |
+
$out_filed .= '<tr valign="top">';
|
44 |
+
$out_filed .= '<th scope="row">' . esc_attr($title) .'</th>';
|
45 |
+
$out_filed .= '<td>';
|
46 |
+
$out_filed .= '<filedset>';
|
47 |
+
$out_filed .= '<input type="number" min="0" step="1" pattern="[0-9]{10}" id="'.esc_attr($id).'" name="lib_options['.$name.']" value="'. wp_kses_post(stripslashes($value)) .'" placeholder="'.$placeholder.'"/>';
|
48 |
+
$out_filed .= '</filedset>';
|
49 |
+
$out_filed .= '</td>';
|
50 |
+
$out_filed .= '</tr>';
|
51 |
+
echo $out_filed;
|
52 |
+
}
|
53 |
|
54 |
function generate_textarea_filed($title, $id, $name, $value) {
|
55 |
$out_filed = '';
|
182 |
$out_filed .= '</td>';
|
183 |
$out_filed .= '</tr>';
|
184 |
return $out_filed;
|
185 |
+
}
|
186 |
+
|
187 |
+
function get_fonts_subsets($title, $id, $name, $value) {
|
188 |
+
global $standart_fonts;
|
189 |
+
$out_items = $gg_fonts = $curr_font = $mt_option = '';
|
190 |
+
$mt_option = mt_get_plugin_options(true);
|
191 |
+
$curr_font = esc_attr($mt_option['body_font_family']);
|
192 |
+
$vars = "subsets";
|
193 |
+
|
194 |
+
if (file_exists(MAINTENANCE_INCLUDES .'fonts/googlefonts.json')) {
|
195 |
+
$gg_fonts = json_decode(file_get_contents(MAINTENANCE_INCLUDES .'fonts/googlefonts.json'), true);
|
196 |
+
}
|
197 |
+
|
198 |
+
if (!empty($gg_fonts)) {
|
199 |
+
|
200 |
+
$out_filed = '';
|
201 |
+
$out_filed .= '<tr valign="top">';
|
202 |
+
$out_filed .= '<th scope="row">'. esc_attr($title) .'</th>';
|
203 |
+
$out_filed .= '<td>';
|
204 |
+
$out_filed .= '<filedset>';
|
205 |
+
$out_filed .= '<select class="select2_customize" name="lib_options['.$name.']" id="'.esc_attr($id).'">';
|
206 |
+
foreach ($gg_fonts[$curr_font][$vars] as $key) {
|
207 |
+
$out_filed .= '<option value="'.$key['id'] .'" '. selected( $value, $key['id'], false ) .'>'.$key['name'].'</option>';
|
208 |
+
}
|
209 |
+
$out_filed .= '</select>';
|
210 |
+
|
211 |
+
$out_filed .= '<filedset>';
|
212 |
+
$out_filed .= '</td>';
|
213 |
+
$out_filed .= '</tr>';
|
214 |
+
}
|
215 |
+
return $out_filed;
|
216 |
+
}
|
217 |
|
218 |
function maintenance_page_create_meta_boxes() {
|
219 |
global $maintenance_variable;
|
253 |
$is_blur = false;
|
254 |
|
255 |
/*Deafult Variable*/
|
256 |
+
$page_title = $heading = $description = $logo_width = $logo_height = '';
|
257 |
|
258 |
|
259 |
if (isset($mt_option['page_title'])) $page_title = wp_kses_post($mt_option['page_title']);
|
260 |
if (isset($mt_option['heading'])) $heading = wp_kses_post($mt_option['heading']);
|
261 |
if (isset($mt_option['description'])) $description = wp_kses_post($mt_option['description']);
|
262 |
if (isset($mt_option['footer_text'])) $footer_text = wp_kses_post($mt_option['footer_text']);
|
263 |
+
if (isset($mt_option['logo_width'])) $logo_width = wp_kses_post($mt_option['logo_width']);
|
264 |
+
if (isset($mt_option['logo_height'])) $logo_height = wp_kses_post($mt_option['logo_height']);
|
265 |
|
266 |
?>
|
267 |
<table class="form-table">
|
271 |
generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
|
272 |
generate_textarea_filed(__('Description', 'maintenance'), 'description', 'description', $description);
|
273 |
generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
|
274 |
+
generate_number_filed(__('Logo width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
|
275 |
+
generate_number_filed(__('Logo height', 'maintenance'), 'logo_height', 'logo_height', $logo_height);
|
276 |
generate_image_filed(__('Logo', 'maintenance'), 'logo', 'logo', intval($mt_option['logo']), 'boxes box-logo', __('Upload Logo', 'maintenance'), 'upload_logo upload_btn button');
|
277 |
+
generate_image_filed(__('Retina logo', 'maintenance'), 'retina_logo', 'retina_logo', intval($mt_option['retina_logo']), 'boxes box-logo', __('Upload Retina Logo', 'maintenance'), 'upload_logo upload_btn button');
|
278 |
do_action('maintenance_background_field');
|
279 |
do_action('maintenance_color_fields');
|
280 |
do_action('maintenance_font_fields');
|
281 |
generate_check_filed(__('Admin bar', 'maintenance'), __('Show admin bar', 'maintenance'), 'admin_bar_enabled', 'admin_bar_enabled', isset($mt_option['admin_bar_enabled']));
|
282 |
+
generate_check_filed(__('503', 'maintenance'), __('Service temporarily unavailable, Google analytics will be disable.', 'maintenance'), '503_enabled', '503_enabled', isset($mt_option['503_enabled']));
|
283 |
|
284 |
$gg_analytics_id = '';
|
285 |
if (!empty($mt_option['gg_analytics_id'])) {
|
396 |
function get_font_fileds_action() {
|
397 |
$mt_option = mt_get_plugin_options(true);
|
398 |
echo get_fonts_field(__('Font family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family']));
|
399 |
+
echo get_fonts_subsets(__('Subsets', 'maintenance'), 'body_font_subset', 'body_font_subset', esc_attr($mt_option['body_font_subset']));
|
400 |
}
|
401 |
add_action ('maintenance_font_fields', 'get_font_fileds_action', 10);
|
402 |
|
525 |
$vCurrDate_start = $vCurrDate_end = $vCurrTime = '';
|
526 |
|
527 |
$vdate_start = $vdate_end = date_i18n( 'Y-m-d', strtotime( current_time('mysql', 0) ));
|
528 |
+
$vtime_start = date_i18n( 'h:i:s A', strtotime( '01:00:00 am'));
|
529 |
+
$vtime_end = date_i18n( 'h:i:s A', strtotime( '12:59:59 pm'));
|
530 |
|
531 |
|
532 |
$mt_options = mt_get_plugin_options(true);
|
544 |
$vtime_end = $mt_options['expiry_time_end'];
|
545 |
|
546 |
$vCurrTime = strtotime(current_time('mysql', 0));
|
547 |
+
|
548 |
$vCurrDate_start = strtotime($vdate_start . ' ' . $vtime_start);
|
549 |
$vCurrDate_end = strtotime($vdate_end . ' ' . $vtime_end);
|
550 |
|
551 |
if (mtCheckExclude()) return true;
|
552 |
|
553 |
+
if (($vCurrTime > $vCurrDate_start) && ($vCurrTime > $vCurrDate_end))
|
|
|
554 |
if (!empty($mt_options['is_down'])) return true;
|
|
|
555 |
|
556 |
} else {
|
557 |
return true;
|
561 |
include_once MAINTENANCE_LOAD . 'index.php';
|
562 |
exit;
|
563 |
}
|
|
|
|
|
564 |
}
|
565 |
}
|
566 |
|
651 |
}
|
652 |
}
|
653 |
|
|
|
654 |
function mt_get_default_array() {
|
655 |
+
$defaults = array(
|
656 |
'state' => true,
|
657 |
+
'page_title' => __('Website is under construction', 'maintenance'),
|
658 |
'heading' => __('Maintenance mode is on', 'maintenance'),
|
659 |
+
'description' => __('Website will be available soon', 'maintenance'),
|
660 |
'footer_text' => '© ' . get_bloginfo( 'name' ) . ' ' . date('Y'),
|
661 |
+
'logo_width' => 220,
|
662 |
+
'logo_height' => '',
|
663 |
'logo' => '',
|
664 |
+
'retina_logo' => '',
|
665 |
'body_bg' => mt_insert_attach_sample_files(),
|
666 |
+
'body_bg_color' => '#111111',
|
667 |
'font_color' => '#ffffff',
|
668 |
'body_font_family' => 'Open Sans',
|
669 |
+
'body_font_subset' => 'Latin',
|
670 |
'is_blur' => false,
|
671 |
'blur_intensity' => 5,
|
672 |
'admin_bar_enabled' => true,
|
676 |
'custom_css' => '',
|
677 |
'exclude_pages' => ''
|
678 |
);
|
679 |
+
return apply_filters( 'mt_get_default_array', $defaults );
|
680 |
+
}
|
js/init.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(window).ready(function(){jQuery.fn.tzCheckbox=function(
|
1 |
+
var path=maintenance.path;jQuery(window).ready(function(){jQuery.fn.tzCheckbox=function(e){return e=jQuery.extend({labels:["ON","OFF"]},e),this.each(function(){var t=jQuery(this),n=[];t.data("on")?(n[0]=t.data("on"),n[1]=t.data("off")):n=e.labels;var o=jQuery("<span>");o.addClass(this.checked?" tzCheckBox checked":"tzCheckBox"),o.prepend('<span class="tzCBContent">'+n[this.checked?0:1]+'</span><span class="tzCBPart"></span>'),o.insertAfter(t.hide()),o.click(function(){o.toggleClass("checked");var e=o.hasClass("checked");t.attr("checked",e),o.find(".tzCBContent").html(n[e?0:1])}),t.bind("change",function(){o.click()})})},jQuery("#state").tzCheckbox({labels:["On","Off"]});var e={defaultColor:!1,change:function(e,t){},clear:function(){},hide:!0,palettes:!0};jQuery("#body_bg_color, #font_color, #body_bg_blur_color").wpColorPicker(e),jQuery(".select2_customize, .multiple-select-mt").length>0&&jQuery(".select2_customize, .multiple-select-mt").select2({}),jQuery("#503_enabled").length>0&&(jQuery("#503_enabled").prop("checked")?jQuery("#gg_analytics_id").prop("disabled",!0):jQuery("#gg_analytics_id").prop("disabled",!1)),jQuery("#503_enabled").on("change",function(){jQuery(this).prop("checked")?jQuery("#gg_analytics_id").prop("disabled",!0):jQuery("#gg_analytics_id").prop("disabled",!1)});var t=null,t=jQuery.getJSON(path+"includes/fonts/googlefonts.json");jQuery("#body_font_family").on("change",function(){var e=jQuery(this).val();n(e)});var n=function(e){jQuery("#body_font_subset").html(""),jQuery("#s2id_body_font_subset .select2-choice .select2-chosen").empty(),font=JSON.parse(t.responseText);for(var n in font)if(n==e)for(var o=0;o<font[n].subsets.length;o++)0==o&&jQuery("#s2id_body_font_subset .select2-choice .select2-chosen").append(font[n].subsets[o].name),jQuery("#body_font_subset").append("<option>"+font[n].subsets[o].name+"</option>")}});
|
languages/maintenance-cs_CZ.mo
CHANGED
Binary file
|
languages/maintenance-cs_CZ.po
CHANGED
@@ -2,14 +2,14 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Maintenance\n"
|
4 |
"POT-Creation-Date: 2015-08-30 00:14+0100\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Petr Rohan <rohan@infinitymedia.cz>\n"
|
7 |
"Language-Team: Petr Rohan <rohan@infinitymedia.cz>\n"
|
8 |
"Language: cs_CZ\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.7
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
@@ -92,7 +92,7 @@ msgid "503"
|
|
92 |
msgstr "503"
|
93 |
|
94 |
#: includes/functions.php:238
|
95 |
-
msgid "Service temporarily unavailable"
|
96 |
msgstr "Služba je dočasně nedostupná"
|
97 |
|
98 |
#: includes/functions.php:245
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Maintenance\n"
|
4 |
"POT-Creation-Date: 2015-08-30 00:14+0100\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: Petr Rohan <rohan@infinitymedia.cz>\n"
|
7 |
"Language-Team: Petr Rohan <rohan@infinitymedia.cz>\n"
|
8 |
"Language: cs_CZ\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.7\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
92 |
msgstr "503"
|
93 |
|
94 |
#: includes/functions.php:238
|
95 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
96 |
msgstr "Služba je dočasně nedostupná"
|
97 |
|
98 |
#: includes/functions.php:245
|
languages/maintenance-de_DE.mo
CHANGED
Binary file
|
languages/maintenance-de_DE.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -64,7 +64,7 @@ msgid "503"
|
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
-
msgid "Service temporarily unavailable"
|
68 |
msgstr "Service zurzeit nicht verfügbar"
|
69 |
|
70 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "Service zurzeit nicht verfügbar"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-es_ES.mo
CHANGED
Binary file
|
languages/maintenance-es_ES.po
CHANGED
@@ -3,18 +3,18 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Maintenance v2.3\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Digital03.net <info@digital03.net>\n"
|
8 |
"Language-Team: Digital03.net <info@digital03.net>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
-
"X-Generator: Poedit 1.
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
-
"X-Poedit-Basepath:
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
"Language: es_ES\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
@@ -81,7 +81,7 @@ msgstr "503"
|
|
81 |
|
82 |
# @ maintenance
|
83 |
#: includes/functions.php:227
|
84 |
-
msgid "Service temporarily unavailable"
|
85 |
msgstr "Servicio temporalmente no disponible"
|
86 |
|
87 |
# @ maintenance
|
3 |
"Project-Id-Version: Maintenance v2.3\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
7 |
"Last-Translator: Digital03.net <info@digital03.net>\n"
|
8 |
"Language-Team: Digital03.net <info@digital03.net>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: Poedit 1.8.7\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Poedit-Basepath: ..\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
"Language: es_ES\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
81 |
|
82 |
# @ maintenance
|
83 |
#: includes/functions.php:227
|
84 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
85 |
msgstr "Servicio temporalmente no disponible"
|
86 |
|
87 |
# @ maintenance
|
languages/maintenance-fa-IR.mo
CHANGED
Binary file
|
languages/maintenance-fa-IR.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: EWORX.IR <info@eworx.ir>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.8.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -64,7 +64,7 @@ msgid "503"
|
|
64 |
msgstr ""
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
-
msgid "Service temporarily unavailable"
|
68 |
msgstr "سرویس موقتا در دسترس نیست"
|
69 |
|
70 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: EWORX.IR <info@eworx.ir>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
64 |
msgstr ""
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "سرویس موقتا در دسترس نیست"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-fi_FI.mo
CHANGED
Binary file
|
languages/maintenance-fi_FI.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Antti Kuosmanen <antti@seravo.fi>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -63,7 +63,7 @@ msgid "503"
|
|
63 |
msgstr "503"
|
64 |
|
65 |
#: /includes/functions.php:131
|
66 |
-
msgid "Service temporarily unavailable"
|
67 |
msgstr "Palvelu ei ole käytettävissä"
|
68 |
|
69 |
#: /includes/functions.php:132
|
@@ -244,4 +244,3 @@ msgstr "Kirjaudu"
|
|
244 |
|
245 |
#~ msgid "Choose users access permissions in maintenance mode."
|
246 |
#~ msgstr "Выберите права доступа пользователей в режиме обслуживания."
|
247 |
-
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: Antti Kuosmanen <antti@seravo.fi>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
63 |
msgstr "503"
|
64 |
|
65 |
#: /includes/functions.php:131
|
66 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
67 |
msgstr "Palvelu ei ole käytettävissä"
|
68 |
|
69 |
#: /includes/functions.php:132
|
244 |
|
245 |
#~ msgid "Choose users access permissions in maintenance mode."
|
246 |
#~ msgstr "Выберите права доступа пользователей в режиме обслуживания."
|
|
languages/maintenance-fr_FR.mo
CHANGED
Binary file
|
languages/maintenance-fr_FR.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: Massimo Pacifici <pacifici@eumed.it>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.8.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -64,7 +64,7 @@ msgid "503"
|
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
-
msgid "Service temporarily unavailable"
|
68 |
msgstr "Site temporairement indisponible"
|
69 |
|
70 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: Massimo Pacifici <pacifici@eumed.it>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "Site temporairement indisponible"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-it_IT.mo
CHANGED
Binary file
|
languages/maintenance-it_IT.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: Massimo Pacifici <pacifici@eumed.it>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -64,7 +64,7 @@ msgid "503"
|
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
-
msgid "Service temporarily unavailable"
|
68 |
msgstr "Servizio temporaneamente non disponibile"
|
69 |
|
70 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
"Language-Team: Massimo Pacifici <pacifici@eumed.it>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "Servizio temporaneamente non disponibile"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-nl_NL.mo
CHANGED
Binary file
|
languages/maintenance-nl_NL.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Pieter de Jong <pieter@de-formatie.nl>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -64,7 +64,7 @@ msgid "503"
|
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
-
msgid "Service temporarily unavailable"
|
68 |
msgstr "Service momenteel niet beschikbaar"
|
69 |
|
70 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:41+0200\n"
|
6 |
"Last-Translator: Pieter de Jong <pieter@de-formatie.nl>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
64 |
msgstr "503"
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "Service momenteel niet beschikbaar"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-pt_BR.mo
CHANGED
Binary file
|
languages/maintenance-pt_BR.po
CHANGED
@@ -2,16 +2,17 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
|
|
15 |
|
16 |
#: /includes/admin.php:84
|
17 |
msgid "Save changes"
|
@@ -63,7 +64,7 @@ msgid "503"
|
|
63 |
msgstr ""
|
64 |
|
65 |
#: /includes/functions.php:131
|
66 |
-
msgid "Service temporarily unavailable"
|
67 |
msgstr "Serviço temporariamente indisponível"
|
68 |
|
69 |
#: /includes/functions.php:132
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:42+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Language: pt_BR\n"
|
16 |
|
17 |
#: /includes/admin.php:84
|
18 |
msgid "Save changes"
|
64 |
msgstr ""
|
65 |
|
66 |
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
68 |
msgstr "Serviço temporariamente indisponível"
|
69 |
|
70 |
#: /includes/functions.php:132
|
languages/maintenance-ru_RU.mo
CHANGED
Binary file
|
languages/maintenance-ru_RU.po
CHANGED
@@ -2,14 +2,14 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-07-08 11:10+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: fruitfulcode <mail@fruitfulcode.com>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"Language: ru_RU\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.7
|
13 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -75,7 +75,7 @@ msgid "503"
|
|
75 |
msgstr "Ошибка 503"
|
76 |
|
77 |
#: includes/functions.php:216
|
78 |
-
msgid "Service temporarily unavailable"
|
79 |
msgstr "Сервис врменно недоступен"
|
80 |
|
81 |
#: includes/functions.php:222
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-07-08 11:10+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:42+0200\n"
|
6 |
"Last-Translator: fruitfulcode <mail@fruitfulcode.com>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"Language: ru_RU\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.7\n"
|
13 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
75 |
msgstr "Ошибка 503"
|
76 |
|
77 |
#: includes/functions.php:216
|
78 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
79 |
msgstr "Сервис врменно недоступен"
|
80 |
|
81 |
#: includes/functions.php:222
|
languages/maintenance-tr_TR.mo
ADDED
Binary file
|
languages/maintenance-tr_TR.mo.mo
CHANGED
Binary file
|
languages/maintenance-tr_TR.po
CHANGED
@@ -3,14 +3,14 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Maintenance v2.3\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Digital03.net <info@digital03.net>\n"
|
8 |
"Language-Team: Digital03.net <info@digital03.net>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
@@ -81,7 +81,7 @@ msgstr "503"
|
|
81 |
|
82 |
# @ maintenance
|
83 |
#: includes/functions.php:227
|
84 |
-
msgid "Service temporarily unavailable"
|
85 |
msgstr "Servis geçici olarak mevcut değil"
|
86 |
|
87 |
# @ maintenance
|
3 |
"Project-Id-Version: Maintenance v2.3\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2016-02-18 18:42+0200\n"
|
7 |
"Last-Translator: Digital03.net <info@digital03.net>\n"
|
8 |
"Language-Team: Digital03.net <info@digital03.net>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: Poedit 1.8.7\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
81 |
|
82 |
# @ maintenance
|
83 |
#: includes/functions.php:227
|
84 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
85 |
msgstr "Servis geçici olarak mevcut değil"
|
86 |
|
87 |
# @ maintenance
|
languages/maintenance-uk_UA.mo
CHANGED
Binary file
|
languages/maintenance-uk_UA.po
CHANGED
@@ -2,13 +2,13 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-07-08 11:10+0200\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: fruitfulcode <mail@fruitfulcode.com>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.7
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -77,7 +77,7 @@ msgid "503"
|
|
77 |
msgstr "503"
|
78 |
|
79 |
#: includes/functions.php:216
|
80 |
-
msgid "Service temporarily unavailable"
|
81 |
msgstr "Сервіс тимчасово недоступний"
|
82 |
|
83 |
#: includes/functions.php:222
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: maintenance\n"
|
4 |
"POT-Creation-Date: 2014-07-08 11:10+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:42+0200\n"
|
6 |
"Last-Translator: fruitfulcode <mail@fruitfulcode.com>\n"
|
7 |
"Language-Team: fruitfulcode\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.7\n"
|
12 |
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
77 |
msgstr "503"
|
78 |
|
79 |
#: includes/functions.php:216
|
80 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
81 |
msgstr "Сервіс тимчасово недоступний"
|
82 |
|
83 |
#: includes/functions.php:222
|
languages/maintenance-zh_CN.mo
CHANGED
Binary file
|
languages/maintenance-zh_CN.po
CHANGED
@@ -2,14 +2,14 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Maintenance\n"
|
4 |
"POT-Creation-Date: 2015-12-14 21:40+0800\n"
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: zh_CN\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.8.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-WPHeader: maintenance.php\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
@@ -98,7 +98,7 @@ msgid "503"
|
|
98 |
msgstr "503"
|
99 |
|
100 |
#: includes/functions.php:238
|
101 |
-
msgid "Service temporarily unavailable"
|
102 |
msgstr "服务器暂时不可用"
|
103 |
|
104 |
#: includes/functions.php:245
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Maintenance\n"
|
4 |
"POT-Creation-Date: 2015-12-14 21:40+0800\n"
|
5 |
+
"PO-Revision-Date: 2016-02-18 18:42+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: zh_CN\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.7\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-WPHeader: maintenance.php\n"
|
15 |
"Plural-Forms: nplurals=1; plural=0;\n"
|
98 |
msgstr "503"
|
99 |
|
100 |
#: includes/functions.php:238
|
101 |
+
msgid "Service temporarily unavailable, Google analytics will be disable"
|
102 |
msgstr "服务器暂时不可用"
|
103 |
|
104 |
#: includes/functions.php:245
|
load/functions.php
CHANGED
@@ -76,6 +76,8 @@ function get_custom_login_code() {
|
|
76 |
if (!empty($mt_options['body_font_family'])) {
|
77 |
$font_link = '';
|
78 |
$font_link = mt_get_google_font(esc_attr($mt_options['body_font_family']));
|
|
|
|
|
79 |
if ($font_link != '') {
|
80 |
wp_register_style('_custom_fonts', $font_link);
|
81 |
$wp_styles->do_items('_custom_fonts');
|
@@ -97,12 +99,21 @@ function get_custom_login_code() {
|
|
97 |
wp_register_script( '_backstretch', MAINTENANCE_URI .'load/js/jquery.backstretch.min.js', 'jquery');
|
98 |
wp_register_script( '_frontend', MAINTENANCE_URI .'load/js/jquery.frontend.min.js', 'jquery');
|
99 |
wp_register_script( '_blur', MAINTENANCE_URI .'load/js/jquery.blur.min.js', 'jquery');
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
$wp_scripts->do_items('jquery');
|
102 |
$wp_scripts->do_items('_placeholder');
|
103 |
$wp_scripts->do_items('_backstretch');
|
104 |
$wp_scripts->do_items('_blur');
|
105 |
$wp_scripts->do_items('_frontend');
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
|
108 |
add_action ('load_custom_scripts', 'add_custom_style', 5);
|
@@ -140,7 +151,7 @@ function get_custom_login_code() {
|
|
140 |
|
141 |
if ( !empty($mt_options['font_color']) ) {
|
142 |
$font_color = esc_attr($mt_options['font_color']);
|
143 |
-
$options_style .= '.site-title, .preloader i, .login-form, .login-form a.lost-pass, .btn-open-login-form, .site-content, .user-content-wrapper, .user-content, footer {color: '. $font_color .';} ';
|
144 |
$options_style .= '.ie7 .login-form input[type="text"], .ie7 .login-form input[type="password"], .ie7 .login-form input[type="submit"] {color: '. $font_color .'} ';
|
145 |
$options_style .= 'a.close-user-content, #mailchimp-box form input[type="submit"], .login-form input#submit.button {border-color:'. $font_color .'} ';
|
146 |
$options_style .= '.ie7 .company-name {color: '. $font_color .'} ';
|
@@ -156,20 +167,36 @@ function get_custom_login_code() {
|
|
156 |
|
157 |
function get_logo_box() {
|
158 |
$mt_options = mt_get_plugin_options(true);
|
159 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
|
161 |
-
if ( !empty($mt_options['logo']) ) {
|
162 |
-
$logo = wp_get_attachment_image_src( $mt_options['logo'], 'full');
|
163 |
-
$out_html = '<a class="logo" rel="home" href="'.esc_url(site_url('')) .'" style="width:'.$logo[1].'px">';
|
164 |
-
$out_html .= '<img src="'. esc_url($logo[0]) .'" alt="logo"/>';
|
165 |
-
$out_html .= '</a>';
|
166 |
} else {
|
167 |
-
|
168 |
-
|
169 |
}
|
170 |
-
$out_html .= '</a>';
|
171 |
|
172 |
-
echo $out_html;
|
173 |
}
|
174 |
add_action ('logo_box', 'get_logo_box', 10);
|
175 |
|
76 |
if (!empty($mt_options['body_font_family'])) {
|
77 |
$font_link = '';
|
78 |
$font_link = mt_get_google_font(esc_attr($mt_options['body_font_family']));
|
79 |
+
$font_subset = esc_attr($mt_options['body_font_subset']);
|
80 |
+
$font_link .= "&subset=".$font_subset."";
|
81 |
if ($font_link != '') {
|
82 |
wp_register_style('_custom_fonts', $font_link);
|
83 |
$wp_styles->do_items('_custom_fonts');
|
99 |
wp_register_script( '_backstretch', MAINTENANCE_URI .'load/js/jquery.backstretch.min.js', 'jquery');
|
100 |
wp_register_script( '_frontend', MAINTENANCE_URI .'load/js/jquery.frontend.min.js', 'jquery');
|
101 |
wp_register_script( '_blur', MAINTENANCE_URI .'load/js/jquery.blur.min.js', 'jquery');
|
102 |
+
if(class_exists('WPCF7')) {
|
103 |
+
wp_register_script( '_cf7form', MAINTENANCE_URI .'../contact-form-7/includes/js/jquery.form.min.js', 'jquery');
|
104 |
+
wp_register_script( '_cf7scripts', MAINTENANCE_URI .'../contact-form-7/includes/js/scripts.js', 'jquery');
|
105 |
+
}
|
106 |
+
|
107 |
|
108 |
$wp_scripts->do_items('jquery');
|
109 |
$wp_scripts->do_items('_placeholder');
|
110 |
$wp_scripts->do_items('_backstretch');
|
111 |
$wp_scripts->do_items('_blur');
|
112 |
$wp_scripts->do_items('_frontend');
|
113 |
+
if(class_exists('WPCF7')) {
|
114 |
+
$wp_scripts->do_items('_cf7form');
|
115 |
+
$wp_scripts->do_items('_cf7scripts');
|
116 |
+
}
|
117 |
}
|
118 |
|
119 |
add_action ('load_custom_scripts', 'add_custom_style', 5);
|
151 |
|
152 |
if ( !empty($mt_options['font_color']) ) {
|
153 |
$font_color = esc_attr($mt_options['font_color']);
|
154 |
+
$options_style .= '.site-title, .preloader i, .login-form, .login-form a.lost-pass, .btn-open-login-form, .site-content, .user-content-wrapper, .user-content, footer, .maintenance a {color: '. $font_color .';} ';
|
155 |
$options_style .= '.ie7 .login-form input[type="text"], .ie7 .login-form input[type="password"], .ie7 .login-form input[type="submit"] {color: '. $font_color .'} ';
|
156 |
$options_style .= 'a.close-user-content, #mailchimp-box form input[type="submit"], .login-form input#submit.button {border-color:'. $font_color .'} ';
|
157 |
$options_style .= '.ie7 .company-name {color: '. $font_color .'} ';
|
167 |
|
168 |
function get_logo_box() {
|
169 |
$mt_options = mt_get_plugin_options(true);
|
170 |
+
$logo_w = $logo_h = '';
|
171 |
+
|
172 |
+
if ( !empty($mt_options['logo_width']) ) { $logo_w = $mt_options['logo_width']; }
|
173 |
+
if ( !empty($mt_options['logo_height']) ) { $logo_h = $mt_options['logo_height']; }
|
174 |
+
if ( !empty($mt_options['logo']) || !empty($mt_options['retina_logo']) ) {
|
175 |
+
$logo = wp_get_attachment_image_src( $mt_options['logo'], 'full');
|
176 |
+
$retina_logo = wp_get_attachment_image_src( $mt_options['retina_logo'], 'full');
|
177 |
+
if (!empty($logo)) {
|
178 |
+
$image_link = esc_url_raw($logo[0]);
|
179 |
+
}
|
180 |
+
else {
|
181 |
+
$image_link = $mt_options['logo'];
|
182 |
+
}
|
183 |
+
if (!empty($retina_logo)) {
|
184 |
+
$image_link_retina = esc_url_raw($retina_logo[0]);
|
185 |
+
}
|
186 |
+
else {
|
187 |
+
$image_link_retina = $mt_options['retina_logo'];
|
188 |
+
}
|
189 |
+
|
190 |
+
if (!empty($mt_options['logo'])) echo '<div class="logo-box" rel="home"><img class="logo" width="'.$logo_w.'" height="'.$logo_h.'" src="'. esc_url($logo[0]) .'" alt="logo"/></div>';
|
191 |
+
if (!empty($mt_options['retina_logo'])) echo '<div class="logo-box-retina" rel="home"><img class="logo-retina" width="'.$logo_w.'" height="'.$logo_h.'" src="'. esc_url($retina_logo[0]) .'" alt="logo"/></div>';
|
192 |
+
if (!empty($mt_options['logo']) && empty($mt_options['retina_logo'])) echo '<div class="logo-box-retina" rel="home"><img class="logo-retina" width="'.$logo_w.'" height="'.$logo_h.'" src="'. esc_url($logo[0]) .'" alt="logo"/></div>';
|
193 |
+
if (empty($mt_options['logo']) && !empty($mt_options['retina_logo'])) echo '<div class="logo-box" rel="home"><img class="logo" width="'.$logo_w.'" height="'.$logo_h.'" src="'. esc_url($retina_logo[0]) .'" alt="logo"/></div>';
|
194 |
|
|
|
|
|
|
|
|
|
|
|
195 |
} else {
|
196 |
+
echo '<div class="logo-box istext" rel="home" href="'.esc_url(site_url('')) .'"><h1 class="site-title">'. get_bloginfo( 'name' ) .'</h1></div>';
|
197 |
+
echo '<div class="logo-box-retina istext" rel="home" href="'.esc_url(site_url('')) .'"><h1 class="site-title">'. get_bloginfo( 'name' ) .'</h1></div>';
|
198 |
}
|
|
|
199 |
|
|
|
200 |
}
|
201 |
add_action ('logo_box', 'get_logo_box', 10);
|
202 |
|
load/index.php
CHANGED
@@ -35,7 +35,7 @@
|
|
35 |
<div class="main-container">
|
36 |
<?php do_action('before_content_section'); ?>
|
37 |
<div id="wrapper">
|
38 |
-
<div class="center">
|
39 |
<header>
|
40 |
<?php do_action('logo_box'); ?>
|
41 |
</header>
|
35 |
<div class="main-container">
|
36 |
<?php do_action('before_content_section'); ?>
|
37 |
<div id="wrapper">
|
38 |
+
<div class="center logotype">
|
39 |
<header>
|
40 |
<?php do_action('logo_box'); ?>
|
41 |
</header>
|
load/js/jquery.frontend.js
CHANGED
@@ -29,13 +29,8 @@ jQuery(document).ready(function() {
|
|
29 |
});
|
30 |
|
31 |
jQuery(window).load(function() {
|
32 |
-
|
33 |
-
var isiPad = /ipad/i.test(navigator.userAgent.toLowerCase());
|
34 |
|
35 |
-
if (!isiPhone && !isiPad) {
|
36 |
-
jQuery('#content').center();
|
37 |
-
}
|
38 |
-
|
39 |
jQuery('.main-container > div:not(".preloader")').each(function() {
|
40 |
jQuery(this).css({'visibility': 'visible'});
|
41 |
});
|
@@ -46,18 +41,23 @@ jQuery(window).load(function() {
|
|
46 |
});
|
47 |
|
48 |
jQuery(window).resize(function() {
|
49 |
-
|
50 |
-
var
|
51 |
-
|
|
|
52 |
});
|
53 |
|
54 |
jQuery.fn.center = function () {
|
55 |
-
|
|
|
|
|
56 |
this.css("position","absolute");
|
57 |
-
this.css("top",
|
|
|
58 |
} else {
|
59 |
this.css("position","relative");
|
60 |
this.css("top","0");
|
|
|
61 |
}
|
62 |
return this;
|
63 |
}
|
29 |
});
|
30 |
|
31 |
jQuery(window).load(function() {
|
32 |
+
jQuery('#content').center();
|
|
|
33 |
|
|
|
|
|
|
|
|
|
34 |
jQuery('.main-container > div:not(".preloader")').each(function() {
|
35 |
jQuery(this).css({'visibility': 'visible'});
|
36 |
});
|
41 |
});
|
42 |
|
43 |
jQuery(window).resize(function() {
|
44 |
+
jQuery('#content').center();
|
45 |
+
var window_w = jQuery('.logotype').width();
|
46 |
+
jQuery('.logo').css("max-width", window_w + "px" );
|
47 |
+
jQuery('.logo-retina').css("max-width", window_w + "px" );
|
48 |
});
|
49 |
|
50 |
jQuery.fn.center = function () {
|
51 |
+
var window_h = Math.max(0, ((jQuery(window).height() - jQuery(this).outerHeight()) / 2 ) + jQuery(window).scrollTop());
|
52 |
+
var content_h = jQuery('.logotype').height();
|
53 |
+
if ( window_h > content_h ) {
|
54 |
this.css("position","absolute");
|
55 |
+
this.css("top", window_h + "px");
|
56 |
+
|
57 |
} else {
|
58 |
this.css("position","relative");
|
59 |
this.css("top","0");
|
60 |
+
|
61 |
}
|
62 |
return this;
|
63 |
}
|
load/js/jquery.frontend.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
!function(e){jQuery.browser.mobile=/android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))}(navigator.userAgent||navigator.vendor||window.opera),jQuery(document).ready(function(){jQuery("input[placeholder], textarea[placeholder]").placeholder(),jQuery(window).resize(),jQuery('.main-container > div:not(".preloader")').each(function(){jQuery(this).css({visibility:"hidden"})}),jQuery("#btn-open-login-form").length>0&&jQuery("#btn-open-login-form").on("click",function(){jQuery("body").toggleClass("open-login-form"),jQuery(this).find("i").hasClass("foundicon-lock")?(jQuery(this).find("i").removeClass(),jQuery(this).find("i").addClass("foundicon-unlock")):(jQuery(this).find("i").removeClass(),jQuery(this).find("i").addClass("foundicon-lock"))})}),jQuery(window).load(function(){jQuery("#content").center(),jQuery('.main-container > div:not(".preloader")').each(function(){jQuery(this).css({visibility:"visible"})}),setTimeout(function(){jQuery(".main-container > .preloader").fadeOut(300,function(){jQuery(".login-form-container").fadeIn(600)})},1e3)}),jQuery(window).resize(function(){jQuery("#content").center();var e=jQuery(".logotype").width();jQuery(".logo").css("max-width",e+"px"),jQuery(".logo-retina").css("max-width",e+"px")}),jQuery.fn.center=function(){var e=Math.max(0,(jQuery(window).height()-jQuery(this).outerHeight())/2+jQuery(window).scrollTop()),i=jQuery(".logotype").height();return e>i?(this.css("position","absolute"),this.css("top",e+"px")):(this.css("position","relative"),this.css("top","0")),this};
|
load/style.css
CHANGED
@@ -10,23 +10,23 @@ html {
|
|
10 |
body {
|
11 |
height:100%;
|
12 |
box-sizing: border-box;
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
margin:0;
|
18 |
padding:0;
|
19 |
overflow: hidden;
|
20 |
}
|
21 |
|
22 |
input:-webkit-autofill {
|
23 |
-
|
24 |
-
|
25 |
}
|
26 |
|
27 |
input:-webkit-autofill:focus {
|
28 |
-
|
29 |
-
|
30 |
}
|
31 |
|
32 |
body > #wrapper {
|
@@ -39,14 +39,15 @@ body > #wrapper {
|
|
39 |
body > .main-container {
|
40 |
height: 100%;
|
41 |
min-height: 100%;
|
42 |
-
|
43 |
transition: all .6s ease-in-out;
|
44 |
-webkit-transition: all .6s ease-in-out;
|
45 |
-moz-transition: all .6s ease-in-out;
|
46 |
-o-transition: all .6s ease-in-out;
|
47 |
z-index:0;
|
48 |
overflow:hidden;
|
49 |
-
position:
|
|
|
50 |
}
|
51 |
|
52 |
body > .login-form-container {
|
@@ -73,7 +74,7 @@ body > .login-form-container {
|
|
73 |
body.open-login-form > .login-form-container {
|
74 |
right: 0;
|
75 |
}
|
76 |
-
|
77 |
body.open-login-form > .main-container {
|
78 |
-webkit-perspective: 1000px;
|
79 |
perspective: 1000px;
|
@@ -83,9 +84,8 @@ body.open-login-form > .main-container {
|
|
83 |
-webkit-transform-origin: 0 50%;
|
84 |
transform-origin: 0 50%;
|
85 |
-ms-transform: perspective(1920px) rotate3d(0, 1, 0, 9deg);
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-webkit-backface-visibility: hidden;
|
90 |
-moz-backface-visibility: hidden;
|
91 |
-ms-backface-visibility: hidden;
|
@@ -108,28 +108,28 @@ body.open-login-form > .main-container {
|
|
108 |
border-bottom-left-radius: 4px;
|
109 |
cursor:pointer;
|
110 |
}
|
111 |
-
|
112 |
body.error .btn-open-login-form {
|
113 |
color:red;
|
114 |
}
|
115 |
|
116 |
.center {
|
117 |
clear: both;
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
padding:0 10px;
|
|
|
124 |
}
|
125 |
|
126 |
#wrapper {
|
127 |
width:100%;
|
128 |
-
height:
|
129 |
position:relative;
|
130 |
display: inline-block;
|
131 |
}
|
132 |
-
|
133 |
header {
|
134 |
position:relative;
|
135 |
display:inline-block;
|
@@ -173,13 +173,16 @@ header {
|
|
173 |
|
174 |
footer {
|
175 |
position: relative;
|
176 |
-
top:
|
177 |
-
height: 100px;
|
178 |
display:inline-block;
|
179 |
width:100%;
|
180 |
color:#fff;
|
181 |
}
|
182 |
|
|
|
|
|
|
|
|
|
183 |
.company-name {
|
184 |
width:100%;
|
185 |
display:block;
|
@@ -189,17 +192,23 @@ footer {
|
|
189 |
color:inherit;
|
190 |
font-size:16px;
|
191 |
text-align:center;
|
|
|
192 |
}
|
193 |
|
194 |
-
.logo {
|
195 |
font-family: inherit;
|
196 |
font-weight:normal;
|
197 |
text-decoration:none;
|
198 |
-
max-width: 220px;
|
199 |
margin-left:auto;
|
200 |
margin-right:auto;
|
201 |
display: block;
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
|
205 |
.logo.istext {
|
@@ -207,25 +216,19 @@ footer {
|
|
207 |
padding: 30px 60px;
|
208 |
}
|
209 |
|
210 |
-
|
211 |
-
.logo img {
|
212 |
-
height:100%;
|
213 |
-
width:100%;
|
214 |
-
}
|
215 |
-
|
216 |
.site-title {
|
217 |
font-family: inherit;
|
218 |
font-weight:lighter;
|
219 |
text-align:center;
|
220 |
-
padding:20px 0;
|
221 |
vertical-align:middle;
|
222 |
}
|
223 |
|
224 |
|
225 |
.login-form {
|
226 |
display: inline-block;
|
227 |
-
|
228 |
-
|
229 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
230 |
filter: alpha(opacity=50);
|
231 |
-moz-opacity: .5;
|
@@ -242,16 +245,16 @@ footer {
|
|
242 |
.login-form input[type="password"] {
|
243 |
color:inherit;
|
244 |
background-color: rgba(113,113,113, 0.6);
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
display:block;
|
256 |
line-height: 28px;
|
257 |
outline:none;
|
@@ -265,12 +268,12 @@ footer {
|
|
265 |
}
|
266 |
|
267 |
.wpcf7 .screen-reader-response {
|
268 |
-
padding: 10px 5px;
|
269 |
}
|
270 |
|
271 |
.wpcf7 .screen-reader-response ul {
|
272 |
-
font-size: 14px;
|
273 |
-
padding: 0px 0px 0px 20px;
|
274 |
}
|
275 |
|
276 |
.wpcf7 .wpcf7-not-valid-tip
|
@@ -329,7 +332,7 @@ padding: 0px 0px 0px 20px;
|
|
329 |
.ie7 .login-form .licon:before {
|
330 |
*zoom: expression(this.runtimeStyle['zoom'] = "1", this.innerHTML = "");
|
331 |
}
|
332 |
-
|
333 |
|
334 |
.login-form .picon:before {
|
335 |
content: "\f01b";
|
@@ -369,14 +372,14 @@ padding: 0px 0px 0px 20px;
|
|
369 |
font-family: inherit;
|
370 |
background:none;
|
371 |
font-weight:bold;
|
372 |
-
|
373 |
cursor:pointer;
|
374 |
border:2px solid #fff;
|
375 |
padding:5px 10px;
|
376 |
font-weight: bold;
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
float:right;
|
381 |
display:inline-block;
|
382 |
}
|
@@ -385,9 +388,9 @@ input[type="submit"] {
|
|
385 |
border:2px solid #fff;
|
386 |
padding:5px 10px;
|
387 |
font-weight: bold;
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
font-size:20px;
|
392 |
font-family: inherit;
|
393 |
background:none;
|
@@ -403,40 +406,40 @@ input[type="submit"] {
|
|
403 |
}
|
404 |
|
405 |
.preloader {
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
}
|
412 |
|
413 |
.preloader i {
|
414 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
|
423 |
-webkit-animation-name: spin;
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
}
|
441 |
|
442 |
.preloader i:before {
|
@@ -459,29 +462,37 @@ input[type="submit"] {
|
|
459 |
.preloader i:before {
|
460 |
content: "\f000";
|
461 |
font-family: "GeneralFoundicons";
|
462 |
-
|
463 |
-
|
464 |
}
|
465 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466 |
@-ms-keyframes spin {
|
467 |
-
|
468 |
-
|
469 |
}
|
470 |
@-moz-keyframes spin {
|
471 |
-
|
472 |
-
|
473 |
}
|
474 |
@-webkit-keyframes spin {
|
475 |
-
|
476 |
-
|
477 |
}
|
478 |
@keyframes spin {
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
}
|
486 |
|
487 |
::-webkit-input-placeholder { /* WebKit browsers */
|
@@ -536,12 +547,6 @@ and (orientation : landscape) {
|
|
536 |
overflow-y:scroll !important;
|
537 |
}
|
538 |
|
539 |
-
footer {
|
540 |
-
top:0;
|
541 |
-
bottom:0;
|
542 |
-
margin: 40px 0 0 0;
|
543 |
-
}
|
544 |
-
|
545 |
.center {
|
546 |
max-width:1004px;
|
547 |
}
|
@@ -558,52 +563,25 @@ and (orientation : landscape) {
|
|
558 |
-webkit-transform: rotateY(0deg);
|
559 |
transform: rotateY(0deg);
|
560 |
}
|
561 |
-
|
562 |
-
|
563 |
-
|
|
|
|
|
564 |
}
|
565 |
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
margin: 40px 0 0 0;
|
570 |
}
|
571 |
|
572 |
-
|
573 |
-
|
574 |
}
|
575 |
-
|
576 |
-
}
|
577 |
-
|
578 |
-
|
579 |
-
@media screen and (min-width: 320px) and (max-width: 640px) and (orientation: landscape) {
|
580 |
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
#countdown .digits {
|
586 |
-
height:120px;
|
587 |
-
min-width:80px;
|
588 |
-
}
|
589 |
-
|
590 |
-
#wrapper {
|
591 |
-
height:auto;
|
592 |
-
}
|
593 |
-
|
594 |
-
#mailchimp-box {
|
595 |
-
margin:40px 0 0 0;
|
596 |
-
}
|
597 |
-
|
598 |
-
footer {
|
599 |
-
top:0;
|
600 |
-
bottom:0;
|
601 |
-
margin: 10px 0 30px 0;
|
602 |
-
}
|
603 |
-
|
604 |
-
footer .social {
|
605 |
-
text-align:center;
|
606 |
-
}
|
607 |
}
|
608 |
|
609 |
@media screen and (max-width: 480px) {
|
@@ -615,10 +593,6 @@ and (orientation : landscape) {
|
|
615 |
body > .login-form-container {
|
616 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 1);
|
617 |
}
|
618 |
-
|
619 |
-
#wrapper {
|
620 |
-
height:auto;
|
621 |
-
}
|
622 |
|
623 |
.center {
|
624 |
max-width:460px;
|
@@ -630,39 +604,26 @@ and (orientation : landscape) {
|
|
630 |
.site-content h3.description {
|
631 |
font-size: 18px;
|
632 |
}
|
633 |
-
|
634 |
-
.logo {
|
635 |
-
max-width:100px;
|
636 |
-
max-height:100px;
|
637 |
-
}
|
638 |
-
|
639 |
.btn-open-login-form {
|
640 |
top:10%;
|
641 |
font-size: 20px;
|
642 |
left: -44px;
|
643 |
}
|
644 |
-
|
645 |
body > .login-form-container {
|
646 |
min-width: 266px;
|
647 |
max-width: 266px;
|
648 |
right:-266px;
|
649 |
}
|
650 |
-
|
651 |
.login-form input[type="text"],
|
652 |
.login-form input[type="password"] {
|
653 |
max-width: 170px;
|
654 |
}
|
655 |
-
|
656 |
-
footer {
|
657 |
-
top:0;
|
658 |
-
bottom:0;
|
659 |
-
margin: 10px 0 30px 0;
|
660 |
-
}
|
661 |
-
|
662 |
footer .social {
|
663 |
text-align:center;
|
664 |
}
|
665 |
-
|
666 |
}
|
667 |
|
668 |
@media screen and (max-width: 360px) {
|
@@ -681,33 +642,35 @@ and (orientation : landscape) {
|
|
681 |
.site-content h3.description {
|
682 |
font-size: 18px;
|
683 |
}
|
684 |
-
|
685 |
-
.logo {
|
686 |
-
max-width:100px;
|
687 |
-
max-height:100px;
|
688 |
-
padding:20px 0;
|
689 |
-
}
|
690 |
-
|
691 |
.btn-open-login-form {
|
692 |
top:10%;
|
693 |
font-size: 20px;
|
694 |
left: -44px;
|
695 |
}
|
696 |
-
|
697 |
body > .login-form-container {
|
698 |
min-width: 266px;
|
699 |
max-width: 266px;
|
700 |
right:-266px;
|
701 |
}
|
702 |
-
|
703 |
.login-form input[type="text"],
|
704 |
.login-form input[type="password"] {
|
705 |
max-width: 170px;
|
706 |
}
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
body {
|
11 |
height:100%;
|
12 |
box-sizing: border-box;
|
13 |
+
min-height: 100%;
|
14 |
+
min-width: 100%;
|
15 |
+
position: relative;
|
16 |
+
z-index: 1;
|
17 |
margin:0;
|
18 |
padding:0;
|
19 |
overflow: hidden;
|
20 |
}
|
21 |
|
22 |
input:-webkit-autofill {
|
23 |
+
-webkit-box-shadow:0 0 0 50px #292b2c inset; /* Change the color to your own background color */
|
24 |
+
-webkit-text-fill-color: #fff;
|
25 |
}
|
26 |
|
27 |
input:-webkit-autofill:focus {
|
28 |
+
-webkit-box-shadow: /*your box-shadow*/,0 0 0 50px #48494a inset;
|
29 |
+
-webkit-text-fill-color: #fff;
|
30 |
}
|
31 |
|
32 |
body > #wrapper {
|
39 |
body > .main-container {
|
40 |
height: 100%;
|
41 |
min-height: 100%;
|
42 |
+
min-width: 100%;
|
43 |
transition: all .6s ease-in-out;
|
44 |
-webkit-transition: all .6s ease-in-out;
|
45 |
-moz-transition: all .6s ease-in-out;
|
46 |
-o-transition: all .6s ease-in-out;
|
47 |
z-index:0;
|
48 |
overflow:hidden;
|
49 |
+
position: initial !important;
|
50 |
+
overflow-y: auto;
|
51 |
}
|
52 |
|
53 |
body > .login-form-container {
|
74 |
body.open-login-form > .login-form-container {
|
75 |
right: 0;
|
76 |
}
|
77 |
+
|
78 |
body.open-login-form > .main-container {
|
79 |
-webkit-perspective: 1000px;
|
80 |
perspective: 1000px;
|
84 |
-webkit-transform-origin: 0 50%;
|
85 |
transform-origin: 0 50%;
|
86 |
-ms-transform: perspective(1920px) rotate3d(0, 1, 0, 9deg);
|
87 |
+
-webkit-transform: perspective(1920px) rotate3d(0, 1, 0, 9deg);
|
88 |
+
transform: perspective(1920px) rotate3d(0, 1, 0, 9deg);
|
|
|
89 |
-webkit-backface-visibility: hidden;
|
90 |
-moz-backface-visibility: hidden;
|
91 |
-ms-backface-visibility: hidden;
|
108 |
border-bottom-left-radius: 4px;
|
109 |
cursor:pointer;
|
110 |
}
|
111 |
+
|
112 |
body.error .btn-open-login-form {
|
113 |
color:red;
|
114 |
}
|
115 |
|
116 |
.center {
|
117 |
clear: both;
|
118 |
+
content: "";
|
119 |
+
display: block;
|
120 |
+
margin: 0 auto;
|
121 |
+
max-width: 100%;
|
122 |
+
width: 100%;
|
123 |
padding:0 10px;
|
124 |
+
box-sizing: border-box;
|
125 |
}
|
126 |
|
127 |
#wrapper {
|
128 |
width:100%;
|
129 |
+
height:90%;
|
130 |
position:relative;
|
131 |
display: inline-block;
|
132 |
}
|
|
|
133 |
header {
|
134 |
position:relative;
|
135 |
display:inline-block;
|
173 |
|
174 |
footer {
|
175 |
position: relative;
|
176 |
+
top: 0px;
|
|
|
177 |
display:inline-block;
|
178 |
width:100%;
|
179 |
color:#fff;
|
180 |
}
|
181 |
|
182 |
+
footer .center {
|
183 |
+
padding:0;
|
184 |
+
}
|
185 |
+
|
186 |
.company-name {
|
187 |
width:100%;
|
188 |
display:block;
|
192 |
color:inherit;
|
193 |
font-size:16px;
|
194 |
text-align:center;
|
195 |
+
margin: 20px 0px;
|
196 |
}
|
197 |
|
198 |
+
.logo, .logo-retina {
|
199 |
font-family: inherit;
|
200 |
font-weight:normal;
|
201 |
text-decoration:none;
|
|
|
202 |
margin-left:auto;
|
203 |
margin-right:auto;
|
204 |
display: block;
|
205 |
+
}
|
206 |
+
.logo-box {
|
207 |
+
padding: 50px 0 30px 0;
|
208 |
+
}
|
209 |
+
|
210 |
+
.logo-box-retina {
|
211 |
+
display: none;
|
212 |
}
|
213 |
|
214 |
.logo.istext {
|
216 |
padding: 30px 60px;
|
217 |
}
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
.site-title {
|
220 |
font-family: inherit;
|
221 |
font-weight:lighter;
|
222 |
text-align:center;
|
223 |
+
padding:0 0 20px 0;
|
224 |
vertical-align:middle;
|
225 |
}
|
226 |
|
227 |
|
228 |
.login-form {
|
229 |
display: inline-block;
|
230 |
+
margin: 25px 0 0;
|
231 |
+
padding: 20px;
|
232 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
233 |
filter: alpha(opacity=50);
|
234 |
-moz-opacity: .5;
|
245 |
.login-form input[type="password"] {
|
246 |
color:inherit;
|
247 |
background-color: rgba(113,113,113, 0.6);
|
248 |
+
background-position: 14px center;
|
249 |
+
background-repeat: no-repeat;
|
250 |
+
float: left;
|
251 |
+
font-family: inherit;
|
252 |
+
font-size: 20px;
|
253 |
+
font-weight: 400;
|
254 |
+
line-height: 20px;
|
255 |
+
margin: 0 0 10px 0;
|
256 |
+
padding: 5px 16px 5px 40px;
|
257 |
+
width: 100%;
|
258 |
display:block;
|
259 |
line-height: 28px;
|
260 |
outline:none;
|
268 |
}
|
269 |
|
270 |
.wpcf7 .screen-reader-response {
|
271 |
+
padding: 10px 5px;
|
272 |
}
|
273 |
|
274 |
.wpcf7 .screen-reader-response ul {
|
275 |
+
font-size: 14px;
|
276 |
+
padding: 0px 0px 0px 20px;
|
277 |
}
|
278 |
|
279 |
.wpcf7 .wpcf7-not-valid-tip
|
332 |
.ie7 .login-form .licon:before {
|
333 |
*zoom: expression(this.runtimeStyle['zoom'] = "1", this.innerHTML = "");
|
334 |
}
|
335 |
+
|
336 |
|
337 |
.login-form .picon:before {
|
338 |
content: "\f01b";
|
372 |
font-family: inherit;
|
373 |
background:none;
|
374 |
font-weight:bold;
|
375 |
+
float: left;
|
376 |
cursor:pointer;
|
377 |
border:2px solid #fff;
|
378 |
padding:5px 10px;
|
379 |
font-weight: bold;
|
380 |
+
margin: 10px 0 0;
|
381 |
+
padding: 5px 10px;
|
382 |
+
text-align: center;
|
383 |
float:right;
|
384 |
display:inline-block;
|
385 |
}
|
388 |
border:2px solid #fff;
|
389 |
padding:5px 10px;
|
390 |
font-weight: bold;
|
391 |
+
margin: 10px 0 0;
|
392 |
+
padding: 5px 10px;
|
393 |
+
color:inherit;
|
394 |
font-size:20px;
|
395 |
font-family: inherit;
|
396 |
background:none;
|
406 |
}
|
407 |
|
408 |
.preloader {
|
409 |
+
display: block;
|
410 |
+
height: 100%;
|
411 |
+
position: absolute;
|
412 |
+
width: 100%;
|
413 |
+
z-index: 99999991;
|
414 |
}
|
415 |
|
416 |
.preloader i {
|
417 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
|
418 |
+
display: block;
|
419 |
+
height: 58px;
|
420 |
+
left: 50%;
|
421 |
+
margin: -29px 0 0 -25px;
|
422 |
+
position: absolute;
|
423 |
+
top: 50%;
|
424 |
+
width: 50px;
|
425 |
|
426 |
-webkit-animation-name: spin;
|
427 |
+
-webkit-animation-duration: 2200ms;
|
428 |
+
-webkit-animation-iteration-count: infinite;
|
429 |
+
-webkit-animation-timing-function: linear;
|
430 |
+
-moz-animation-name: spin;
|
431 |
+
-moz-animation-duration: 2200ms;
|
432 |
+
-moz-animation-iteration-count: infinite;
|
433 |
+
-moz-animation-timing-function: linear;
|
434 |
+
-ms-animation-name: spin;
|
435 |
+
-ms-animation-duration: 2200ms;
|
436 |
+
-ms-animation-iteration-count: infinite;
|
437 |
+
-ms-animation-timing-function: linear;
|
438 |
+
|
439 |
+
animation-name: spin;
|
440 |
+
animation-duration: 2200ms;
|
441 |
+
animation-iteration-count: infinite;
|
442 |
+
animation-timing-function: linear;
|
443 |
}
|
444 |
|
445 |
.preloader i:before {
|
462 |
.preloader i:before {
|
463 |
content: "\f000";
|
464 |
font-family: "GeneralFoundicons";
|
|
|
|
|
465 |
}
|
466 |
+
|
467 |
+
.wpcf7 {
|
468 |
+
max-width: 400px;
|
469 |
+
margin: 0 auto;
|
470 |
+
}
|
471 |
+
|
472 |
+
.wpcf7 input, .wpcf7 textarea {
|
473 |
+
width: 100%;
|
474 |
+
padding: 10px;
|
475 |
+
}
|
476 |
+
|
477 |
@-ms-keyframes spin {
|
478 |
+
from { -ms-transform: rotate(0deg); }
|
479 |
+
to { -ms-transform: rotate(360deg); }
|
480 |
}
|
481 |
@-moz-keyframes spin {
|
482 |
+
from { -moz-transform: rotate(0deg); }
|
483 |
+
to { -moz-transform: rotate(360deg); }
|
484 |
}
|
485 |
@-webkit-keyframes spin {
|
486 |
+
from { -webkit-transform: rotate(0deg); }
|
487 |
+
to { -webkit-transform: rotate(360deg); }
|
488 |
}
|
489 |
@keyframes spin {
|
490 |
+
from {
|
491 |
+
transform:rotate(0deg);
|
492 |
+
}
|
493 |
+
to {
|
494 |
+
transform:rotate(360deg);
|
495 |
+
}
|
496 |
}
|
497 |
|
498 |
::-webkit-input-placeholder { /* WebKit browsers */
|
547 |
overflow-y:scroll !important;
|
548 |
}
|
549 |
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
.center {
|
551 |
max-width:1004px;
|
552 |
}
|
563 |
-webkit-transform: rotateY(0deg);
|
564 |
transform: rotateY(0deg);
|
565 |
}
|
566 |
+
}
|
567 |
+
@media screen and (min-width: 320px) and (max-width: 640px) and (orientation: landscape) {
|
568 |
+
|
569 |
+
#countdown .box-digits {
|
570 |
+
padding:30px 16px;
|
571 |
}
|
572 |
|
573 |
+
#countdown .digits {
|
574 |
+
height:120px;
|
575 |
+
min-width:80px;
|
|
|
576 |
}
|
577 |
|
578 |
+
#mailchimp-box {
|
579 |
+
margin:40px 0 0 0;
|
580 |
}
|
|
|
|
|
|
|
|
|
|
|
581 |
|
582 |
+
footer .social {
|
583 |
+
text-align:center;
|
584 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
}
|
586 |
|
587 |
@media screen and (max-width: 480px) {
|
593 |
body > .login-form-container {
|
594 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 1);
|
595 |
}
|
|
|
|
|
|
|
|
|
596 |
|
597 |
.center {
|
598 |
max-width:460px;
|
604 |
.site-content h3.description {
|
605 |
font-size: 18px;
|
606 |
}
|
607 |
+
|
|
|
|
|
|
|
|
|
|
|
608 |
.btn-open-login-form {
|
609 |
top:10%;
|
610 |
font-size: 20px;
|
611 |
left: -44px;
|
612 |
}
|
613 |
+
|
614 |
body > .login-form-container {
|
615 |
min-width: 266px;
|
616 |
max-width: 266px;
|
617 |
right:-266px;
|
618 |
}
|
619 |
+
|
620 |
.login-form input[type="text"],
|
621 |
.login-form input[type="password"] {
|
622 |
max-width: 170px;
|
623 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
footer .social {
|
625 |
text-align:center;
|
626 |
}
|
|
|
627 |
}
|
628 |
|
629 |
@media screen and (max-width: 360px) {
|
642 |
.site-content h3.description {
|
643 |
font-size: 18px;
|
644 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
645 |
.btn-open-login-form {
|
646 |
top:10%;
|
647 |
font-size: 20px;
|
648 |
left: -44px;
|
649 |
}
|
650 |
+
|
651 |
body > .login-form-container {
|
652 |
min-width: 266px;
|
653 |
max-width: 266px;
|
654 |
right:-266px;
|
655 |
}
|
656 |
+
|
657 |
.login-form input[type="text"],
|
658 |
.login-form input[type="password"] {
|
659 |
max-width: 170px;
|
660 |
}
|
661 |
+
}
|
662 |
+
|
663 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 2),
|
664 |
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
665 |
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
666 |
+
only screen and ( min-device-pixel-ratio: 2),
|
667 |
+
only screen and ( min-resolution: 192dpi),
|
668 |
+
only screen and ( min-resolution: 2dppx) {
|
669 |
+
.logo-box {display: none;}
|
670 |
+
.logo-box-retina {display:block; width:100%; margin:50px auto 10px auto;}
|
671 |
+
}
|
672 |
+
|
673 |
+
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
|
674 |
+
.logo-box {display: none;}
|
675 |
+
.logo-box-retina {display:block; width:100%; margin:50px auto 10px auto;}
|
676 |
+
}
|
maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
-
Version: 2.
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
@@ -37,7 +37,6 @@ class maintenance {
|
|
37 |
|
38 |
register_activation_hook ( __FILE__, array( &$this, 'mt_activation' ));
|
39 |
register_deactivation_hook( __FILE__, array( &$this, 'mt_deactivation') );
|
40 |
-
register_uninstall_hook ( 'maintenance', 'mt_uninstall');
|
41 |
|
42 |
add_action('wp', array( &$this, 'mt_template_redirect'), 1);
|
43 |
add_action('wp_logout', array( &$this, 'mt_user_logout'));
|
@@ -72,15 +71,18 @@ class maintenance {
|
|
72 |
|
73 |
function mt_activation() {
|
74 |
/*Activation Plugin*/
|
|
|
75 |
}
|
76 |
|
77 |
function mt_deactivation() {
|
78 |
/*Deactivation Plugin*/
|
|
|
79 |
}
|
80 |
|
81 |
-
public static function
|
82 |
-
|
83 |
-
|
|
|
84 |
}
|
85 |
|
86 |
function mt_user_logout() {
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
+
Version: 2.7
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
37 |
|
38 |
register_activation_hook ( __FILE__, array( &$this, 'mt_activation' ));
|
39 |
register_deactivation_hook( __FILE__, array( &$this, 'mt_deactivation') );
|
|
|
40 |
|
41 |
add_action('wp', array( &$this, 'mt_template_redirect'), 1);
|
42 |
add_action('wp_logout', array( &$this, 'mt_user_logout'));
|
71 |
|
72 |
function mt_activation() {
|
73 |
/*Activation Plugin*/
|
74 |
+
self::mt_clear_cache();
|
75 |
}
|
76 |
|
77 |
function mt_deactivation() {
|
78 |
/*Deactivation Plugin*/
|
79 |
+
self::mt_clear_cache();
|
80 |
}
|
81 |
|
82 |
+
public static function mt_clear_cache() {
|
83 |
+
global $file_prefix;
|
84 |
+
if ( function_exists( 'w3tc_pgcache_flush' ) ) w3tc_pgcache_flush();
|
85 |
+
if ( function_exists( 'wp_cache_clean_cache' ) ) wp_cache_clean_cache( $file_prefix, true );
|
86 |
}
|
87 |
|
88 |
function mt_user_logout() {
|
readme.txt
CHANGED
@@ -3,12 +3,12 @@ Contributors: fruitfulcode
|
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, maintenance mode, coming soon, splash page, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.4
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Maintenance - easy configure and customize coming soon, under construction page when site have updates or
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -21,7 +21,7 @@ https://www.youtube.com/watch?v=Z5v9Ju52nmg
|
|
21 |
<li>Html/CSS layout without images (retina ready) </li>
|
22 |
<li>Fullscreen background (<a target="_blank" href="https://github.com/srobbin/jquery-backstretch">Backstretch</a>)</li>
|
23 |
<li>Blur background effect</li>
|
24 |
-
<li>Upload own logo</li>
|
25 |
<li>Configurable colors: fonts, icons, background</li>
|
26 |
<li>Add your title, headline, text</li>
|
27 |
<li>User login with validation</li>
|
@@ -120,6 +120,19 @@ You can check <a href="http://wordpress.org/support/plugin/maintenance">support
|
|
120 |
|
121 |
== Change log ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
= 2.6 =
|
124 |
* Update: WordPress 4.4 support
|
125 |
* Update: translation files
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, maintenance mode, coming soon, splash page, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.4.2
|
7 |
+
Stable tag: 2.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Maintenance - easy configure and customize coming soon, under construction page when site have updates, changes or in development process.
|
12 |
|
13 |
== Description ==
|
14 |
|
21 |
<li>Html/CSS layout without images (retina ready) </li>
|
22 |
<li>Fullscreen background (<a target="_blank" href="https://github.com/srobbin/jquery-backstretch">Backstretch</a>)</li>
|
23 |
<li>Blur background effect</li>
|
24 |
+
<li>Upload own logo and retina</li>
|
25 |
<li>Configurable colors: fonts, icons, background</li>
|
26 |
<li>Add your title, headline, text</li>
|
27 |
<li>User login with validation</li>
|
120 |
|
121 |
== Change log ==
|
122 |
|
123 |
+
= 2.7 =
|
124 |
+
* New: Google fonts subsets
|
125 |
+
* New: WP Super Cache support
|
126 |
+
* New: WP Total Cache support
|
127 |
+
* New: Retina logo
|
128 |
+
* New: Logo width and height fields
|
129 |
+
* New: uninstal.php
|
130 |
+
* Update: WordPress 4.4.2 support
|
131 |
+
* Improvements: Responsive version
|
132 |
+
* Improvements: Time format
|
133 |
+
* Bug fix: Maintenance not working on French Language
|
134 |
+
|
135 |
+
|
136 |
= 2.6 =
|
137 |
* Update: WordPress 4.4 support
|
138 |
* Update: translation files
|
screenshot-1.png
CHANGED
Binary file
|
uninstall.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) )
|
4 |
+
exit();
|
5 |
+
|
6 |
+
delete_option('maintenance_options');
|
7 |
+
delete_option('maintenance_db_version');
|
8 |
+
|
9 |
+
?>
|