Maintenance - Version 3.6.1

Version Description

  • Improvement: setting max width logo size
  • Bug fix: Change template_include hook priority
  • Bug fix: Fix container height
  • Bug fix: logo size cropping
  • Bug fix: fonts subsets fix
Download this release

Release Info

Developer fruitfulcode
Plugin Icon 128x128 Maintenance
Version 3.6.1
Comparing to
See all releases

Code changes from version 3.6 to 3.6.1

Files changed (50) hide show
  1. css/admin.css +1 -1
  2. includes/admin.php +11 -6
  3. includes/functions.php +1 -1
  4. load/css/style.css +16 -5
  5. load/functions.php +51 -31
  6. load/index.php +6 -9
  7. load/js/b_jquery.backstretch.min.js +0 -10
  8. load/js/b_jquery.blur.min.js +0 -5
  9. load/js/b_jquery.frontend.ie.js +0 -3
  10. load/js/b_jquery.placeholder.js +0 -1
  11. load/js/outdatedbrowser/lang/ar.html +0 -3
  12. load/js/outdatedbrowser/lang/cs.html +0 -3
  13. load/js/outdatedbrowser/lang/da.html +0 -3
  14. load/js/outdatedbrowser/lang/de.html +0 -3
  15. load/js/outdatedbrowser/lang/el.html +0 -3
  16. load/js/outdatedbrowser/lang/en.html +0 -3
  17. load/js/outdatedbrowser/lang/es-pe.html +0 -3
  18. load/js/outdatedbrowser/lang/es.html +0 -3
  19. load/js/outdatedbrowser/lang/et.html +0 -3
  20. load/js/outdatedbrowser/lang/fa.html +0 -3
  21. load/js/outdatedbrowser/lang/fi.html +0 -3
  22. load/js/outdatedbrowser/lang/fr.html +0 -3
  23. load/js/outdatedbrowser/lang/hr.html +0 -3
  24. load/js/outdatedbrowser/lang/hu.html +0 -3
  25. load/js/outdatedbrowser/lang/id.html +0 -3
  26. load/js/outdatedbrowser/lang/it.html +0 -3
  27. load/js/outdatedbrowser/lang/ja.html +0 -3
  28. load/js/outdatedbrowser/lang/ko.html +0 -3
  29. load/js/outdatedbrowser/lang/lt.html +0 -3
  30. load/js/outdatedbrowser/lang/nb.html +0 -4
  31. load/js/outdatedbrowser/lang/nl.html +0 -3
  32. load/js/outdatedbrowser/lang/pl.html +0 -3
  33. load/js/outdatedbrowser/lang/pt-br.html +0 -3
  34. load/js/outdatedbrowser/lang/pt.html +0 -3
  35. load/js/outdatedbrowser/lang/ro.html +0 -3
  36. load/js/outdatedbrowser/lang/ru.html +0 -3
  37. load/js/outdatedbrowser/lang/sk.html +0 -3
  38. load/js/outdatedbrowser/lang/sl.html +0 -3
  39. load/js/outdatedbrowser/lang/sv.html +0 -3
  40. load/js/outdatedbrowser/lang/tr.html +0 -3
  41. load/js/outdatedbrowser/lang/uk.html +0 -3
  42. load/js/outdatedbrowser/lang/zh-cn.html +0 -3
  43. load/js/outdatedbrowser/lang/zh-tw.html +0 -3
  44. load/js/outdatedbrowser/outdatedbrowser.css +0 -26
  45. load/js/outdatedbrowser/outdatedbrowser.js +0 -247
  46. load/js/outdatedbrowser/outdatedbrowser.min.css +0 -8
  47. load/js/outdatedbrowser/outdatedbrowser.min.js +0 -8
  48. load/js/outdatedbrowser/outdatedbrowser.scss +0 -69
  49. maintenance.php +3 -4
  50. readme.txt +9 -3
css/admin.css CHANGED
@@ -3,7 +3,7 @@
3
  #maintenance-options input.upload_btn { clear: left; display: block; float: left; margin: 20px 0; padding: 5px; text-align: center; width: 100%; }
4
  #wpbody-content .metabox-holder {float:left; width:100%;}
5
  .form-table th {font-weight: normal}
6
-
7
  .thumbnail { margin:0; padding:0; line-height:inherit; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border:0 none; background-color:inherit; display:inherit; }
8
 
9
  /*Checkbox*/
3
  #maintenance-options input.upload_btn { clear: left; display: block; float: left; margin: 20px 0; padding: 5px; text-align: center; width: 100%; }
4
  #wpbody-content .metabox-holder {float:left; width:100%;}
5
  .form-table th {font-weight: normal}
6
+ #body_font_subset {min-width:115px}
7
  .thumbnail { margin:0; padding:0; line-height:inherit; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border:0 none; background-color:inherit; display:inherit; }
8
 
9
  /*Checkbox*/
includes/admin.php CHANGED
@@ -4,12 +4,12 @@
4
  function maintenance_admin_setup() {
5
  global $maintenance_variable;
6
  $maintenance_variable->options_page = add_menu_page( __( 'Maintenance', 'maintenance' ), __( 'Maintenance', 'maintenance' ), 'manage_options', 'maintenance', 'manage_options', MAINTENANCE_URI . '/images/icon-small.png');
 
7
  add_action( "admin_init", 'mt_register_settings');
8
  add_action( "admin_head-{$maintenance_variable->options_page}", 'maintenance_metaboxes_scripts' );
9
  add_action( "admin_print_styles-{$maintenance_variable->options_page}", 'admin_print_custom_styles');
10
  add_action( "load-{$maintenance_variable->options_page}", 'maintenance_page_add_meta_boxes' );
11
- add_action( "admin_enqueue_scripts", 'load_later_scripts', 98);
12
-
13
  }
14
 
15
  function maintenance_page_add_meta_boxes() {
@@ -60,10 +60,15 @@
60
 
61
  function load_later_scripts() {
62
  // fix a bug with WooCommerce 3.2.2
63
- wp_dequeue_script ('select2' );
64
- wp_dequeue_style ('select2' );
65
- wp_enqueue_script ('select2', MAINTENANCE_URI .'js/select2/select2.min.js' );
66
- wp_enqueue_style ('select2', MAINTENANCE_URI .'js/select2/select2.css' );
 
 
 
 
 
67
  }
68
 
69
  function manage_options() {
4
  function maintenance_admin_setup() {
5
  global $maintenance_variable;
6
  $maintenance_variable->options_page = add_menu_page( __( 'Maintenance', 'maintenance' ), __( 'Maintenance', 'maintenance' ), 'manage_options', 'maintenance', 'manage_options', MAINTENANCE_URI . '/images/icon-small.png');
7
+
8
  add_action( "admin_init", 'mt_register_settings');
9
  add_action( "admin_head-{$maintenance_variable->options_page}", 'maintenance_metaboxes_scripts' );
10
  add_action( "admin_print_styles-{$maintenance_variable->options_page}", 'admin_print_custom_styles');
11
  add_action( "load-{$maintenance_variable->options_page}", 'maintenance_page_add_meta_boxes' );
12
+ add_action( "admin_enqueue_scripts", 'load_later_scripts', 1);
 
13
  }
14
 
15
  function maintenance_page_add_meta_boxes() {
60
 
61
  function load_later_scripts() {
62
  // fix a bug with WooCommerce 3.2.2
63
+ global $current_screen;
64
+ if ( !empty($current_screen->id) && $current_screen->id === 'toplevel_page_maintenance') {
65
+ wp_deregister_script ('select2' );
66
+ wp_deregister_style ('select2' );
67
+ wp_dequeue_script ('select2' );
68
+ wp_dequeue_style ('select2' );
69
+ wp_enqueue_script ('select2', MAINTENANCE_URI .'js/select2/select2.min.js' );
70
+ wp_enqueue_style ('select2', MAINTENANCE_URI .'js/select2/select2.css' );
71
+ }
72
  }
73
 
74
  function manage_options() {
includes/functions.php CHANGED
@@ -380,7 +380,7 @@ function add_exclude_pages_fields() {
380
  $out_filed .= '<filedset>';
381
  $out_filed .= '<td>';
382
 
383
- $out_filed .= '<select id="exclude-pages" name="lib_options[exclude_pages]['.$post_slug.'][]" style="width:100%;" class="exclude-pages multiple-select-mt" multiple="multiple">';
384
 
385
  foreach ($posts_array as $post_values) {
386
  $current = null;
380
  $out_filed .= '<filedset>';
381
  $out_filed .= '<td>';
382
 
383
+ $out_filed .= '<select id="exclude-pages-'.$post_slug.'" name="lib_options[exclude_pages]['.$post_slug.'][]" style="width:100%;" class="exclude-pages multiple-select-mt" multiple="multiple">';
384
 
385
  foreach ($posts_array as $post_values) {
386
  $current = null;
load/css/style.css CHANGED
@@ -129,7 +129,8 @@ body.open-login-form > .main-container {
129
  -webkit-backface-visibility: hidden;
130
  -moz-backface-visibility: hidden;
131
  -ms-backface-visibility: hidden;
132
- backface-visibility: hidden
 
133
  }
134
 
135
  .btn-open-login-form {
@@ -181,7 +182,7 @@ body.error .btn-open-login-form {
181
 
182
  #wrapper {
183
  width: 100%;
184
- height: 90%;
185
  position: relative;
186
  display: inline-block
187
  }
@@ -311,6 +312,9 @@ footer .center {
311
  .logo-box {
312
  padding: 50px 0 30px
313
  }
 
 
 
314
 
315
  /*.logo-box-retina {*/
316
  /*display: none*/
@@ -527,7 +531,8 @@ input[type="submit"]:hover{
527
 
528
  .wpcf7 input,.wpcf7 textarea {
529
  width: 100%;
530
- padding: 10px
 
531
  }
532
  .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{
533
  color: #ffffff;
@@ -694,7 +699,7 @@ input[type="submit"]:hover{
694
  }
695
 
696
  footer {
697
- padding: 0 0 20px
698
  }
699
  }
700
 
@@ -806,7 +811,8 @@ website: http://www.burocratik.com
806
  * @preserve
807
  -----------------------------------------------------------------------*/
808
  #outdated{
809
- position: fixed; top: 0; left: 0; width: 100%; height: 170px;
 
810
  text-align: center; text-transform: uppercase; z-index:1500;
811
  background-color: #f25648; color: #ffffff;
812
  }
@@ -834,4 +840,9 @@ website: http://www.burocratik.com
834
  #outdated {
835
  display: none;
836
  }
 
 
 
 
 
837
  }
129
  -webkit-backface-visibility: hidden;
130
  -moz-backface-visibility: hidden;
131
  -ms-backface-visibility: hidden;
132
+ backface-visibility: hidden;
133
+ overflow: hidden;
134
  }
135
 
136
  .btn-open-login-form {
182
 
183
  #wrapper {
184
  width: 100%;
185
+ height: calc(100% - 72px);
186
  position: relative;
187
  display: inline-block
188
  }
312
  .logo-box {
313
  padding: 50px 0 30px
314
  }
315
+ .logo-box img {
316
+ max-width: 100%;
317
+ }
318
 
319
  /*.logo-box-retina {*/
320
  /*display: none*/
531
 
532
  .wpcf7 input,.wpcf7 textarea {
533
  width: 100%;
534
+ padding: 10px;
535
+ box-sizing: border-box;
536
  }
537
  .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{
538
  color: #ffffff;
699
  }
700
 
701
  footer {
702
+ /*padding: 0 0 20px*/
703
  }
704
  }
705
 
811
  * @preserve
812
  -----------------------------------------------------------------------*/
813
  #outdated{
814
+ position: fixed; top: 0; left: 0; width: 100%; padding: 10px 0;
815
+ opacity: 0.7;
816
  text-align: center; text-transform: uppercase; z-index:1500;
817
  background-color: #f25648; color: #ffffff;
818
  }
840
  #outdated {
841
  display: none;
842
  }
843
+ }
844
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
845
+ #outdated {
846
+ display: none;
847
+ }
848
  }
load/functions.php CHANGED
@@ -116,35 +116,39 @@ function add_custom_scripts() {
116
  $mt_options = mt_get_plugin_options(true);
117
  $js_options = array('body_bg' => '', 'gallery_array' => array(), 'blur_intensity' => 0, 'font_link' => '');
118
 
119
- // wp_register_script( '_backstretch', MAINTENANCE_URI .'load/js/jquery.backstretch.min.js', 'jquery');
120
  wp_register_script( '_frontend', MAINTENANCE_URI .'load/js/jquery.frontend.js', 'jquery');
121
- // wp_register_script( '_blur', MAINTENANCE_URI .'load/js/jquery.blur.min.js', 'jquery');
122
 
123
  // IE scripts
124
  wp_register_script( 'jquery_ie', $wp_scripts->registered['jquery-core']->src);
125
- // wp_register_script( 'jquery_migrate_ie', $wp_scripts->registered['/jquery-migrate']->src);
126
- // wp_register_script( '_placeholder_ie', MAINTENANCE_URI .'load/js/jquery.placeholder.js');
127
- // wp_register_script( '_frontend_ie', MAINTENANCE_URI .'load/js/jquery.frontend.ie.js');
128
 
129
  wp_script_add_data('jquery_ie', 'conditional', 'lte IE 10');
130
- // wp_script_add_data('jquery_migrate_ie', 'conditional', 'lte IE 10');
131
- // wp_script_add_data('_placeholder_ie', 'conditional', 'lte IE 10');
132
- // wp_script_add_data('_frontend_ie', 'conditional', 'lte IE 10');
133
 
134
  if(class_exists('WPCF7')) {
135
  wp_register_script( '_cf7scripts', MAINTENANCE_URI .'../contact-form-7/includes/js/scripts.js');
136
- $_wpcf7 = array(
 
 
 
 
137
  'recaptcha' => array(
138
  'messages' => array(
139
- 'empty' => __( 'Please verify that you are not a robot.',
140
- 'contact-form-7' ) ) ) );
 
 
 
 
141
  if ( defined( 'WP_CACHE' ) && WP_CACHE ) {
142
- $_wpcf7['cached'] = 1;
143
  }
 
144
  if ( wpcf7_support_html5_fallback() ) {
145
- $_wpcf7['jqueryUi'] = 1;
146
  }
147
- wp_localize_script( '_cf7scripts', '_wpcf7', $_wpcf7 );
 
 
 
148
  }
149
 
150
 
@@ -204,11 +208,8 @@ function get_page_title($error_message = null) {
204
  $options_title = strip_tags(stripslashes($mt_options['page_title']));
205
  }
206
 
207
- // if ($error_message != '') {
208
- // $title = $options_title . ' - ' . $error_message;
209
- // } else {
210
- $title = $options_title;
211
- // }
212
  echo "<title>$title</title>";
213
  }
214
 
@@ -277,8 +278,8 @@ function get_logo_box() {
277
  if ( !empty($mt_options['logo_width']) ) { $logo_w = $mt_options['logo_width']; }
278
  if ( !empty($mt_options['logo_height']) ) { $logo_h = $mt_options['logo_height']; }
279
  if ( !empty($mt_options['logo']) || !empty($mt_options['retina_logo']) ) {
280
- $logo = wp_get_attachment_image_src( $mt_options['logo']);
281
- $retina_logo = wp_get_attachment_image_src( $mt_options['retina_logo']);
282
  if (!empty($logo)) {
283
  $image_link = esc_url_raw($logo[0]);
284
  }
@@ -299,12 +300,6 @@ function get_logo_box() {
299
  ?>
300
  <div class="logo-box" rel="home">
301
  <img src="<?php echo $image_link; ?>" srcset="<?php echo $image_link_retina; ?> 2x" width="<?php echo $logo_w; ?>" <?php echo (!empty($logo_h))?'height="'.$logo_h.'"':''; ?> alt="logo">
302
- <!-- <picture class="logo">-->
303
- <!-- --><?php //if($image_link_retina) { ?>
304
- <!-- <source srcset="--><?php //echo $image_link_retina; ?><!-- 2x" width="--><?php //echo $logo_w; ?><!--" --><?php //echo (!empty($logo_h))?'height="'.$logo_h.'"':''; ?><!-->
305
- <!-- --><?php //} ?>
306
- <!-- <img src="--><?php //echo $image_link; ?><!--" width="--><?php //echo $logo_w; ?><!--" --><?php //echo (!empty($logo_h))?'height="'.$logo_h.'"':''; ?><!-- alt="logo">-->
307
- <!-- </picture>-->
308
  </div>
309
  <?php
310
  } else {
@@ -316,17 +311,29 @@ add_action ('logo_box', 'get_logo_box', 10);
316
 
317
  function get_content_section() {
318
  $mt_options = mt_get_plugin_options(true);
 
 
 
 
 
 
 
 
 
 
 
 
319
  $out_content = null;
320
  if (!empty($mt_options['heading'])) {
321
- $out_content .= '<h2 class="heading font-center">' . wp_kses_post(stripslashes($mt_options['heading'])) .'</h2>';
322
  }
323
 
324
  if (!empty($mt_options['description'])) {
325
  $description_content = wpautop(wp_kses_post(stripslashes($mt_options['description'])), true);
326
- $out_content .= '<div class="description">' . $description_content .'</div>';
327
  } else {
328
  $site_description = get_bloginfo('description');
329
- $out_content .= '<div class="description"><h3>' . $site_description .'</h3></div>';
330
  }
331
 
332
  echo $out_content;
@@ -335,10 +342,23 @@ add_action('content_section', 'get_content_section', 10);
335
 
336
  function get_footer_section() {
337
  $mt_options = mt_get_plugin_options(true);
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  $out_ftext = null;
339
 
340
  if (isset($mt_options['footer_text']) && !empty($mt_options['footer_text'])) {
341
- $out_ftext .= wp_kses_post(stripslashes($mt_options['footer_text']));
342
  }
343
  echo $out_ftext;
344
  }
116
  $mt_options = mt_get_plugin_options(true);
117
  $js_options = array('body_bg' => '', 'gallery_array' => array(), 'blur_intensity' => 0, 'font_link' => '');
118
 
 
119
  wp_register_script( '_frontend', MAINTENANCE_URI .'load/js/jquery.frontend.js', 'jquery');
 
120
 
121
  // IE scripts
122
  wp_register_script( 'jquery_ie', $wp_scripts->registered['jquery-core']->src);
 
 
 
123
 
124
  wp_script_add_data('jquery_ie', 'conditional', 'lte IE 10');
 
 
 
125
 
126
  if(class_exists('WPCF7')) {
127
  wp_register_script( '_cf7scripts', MAINTENANCE_URI .'../contact-form-7/includes/js/scripts.js');
128
+ $wpcf7 = array(
129
+ 'apiSettings' => array(
130
+ 'root' => esc_url_raw( rest_url( 'contact-form-7/v1' ) ),
131
+ 'namespace' => 'contact-form-7/v1',
132
+ ),
133
  'recaptcha' => array(
134
  'messages' => array(
135
+ 'empty' =>
136
+ __( 'Please verify that you are not a robot.', 'contact-form-7' ),
137
+ ),
138
+ ),
139
+ );
140
+
141
  if ( defined( 'WP_CACHE' ) && WP_CACHE ) {
142
+ $wpcf7['cached'] = 1;
143
  }
144
+
145
  if ( wpcf7_support_html5_fallback() ) {
146
+ $wpcf7['jqueryUi'] = 1;
147
  }
148
+
149
+ wp_localize_script( '_cf7scripts', 'wpcf7', $wpcf7 );
150
+
151
+ // do_action( 'wpcf7_enqueue_scripts' );
152
  }
153
 
154
 
208
  $options_title = strip_tags(stripslashes($mt_options['page_title']));
209
  }
210
 
211
+ $title = $options_title;
212
+
 
 
 
213
  echo "<title>$title</title>";
214
  }
215
 
278
  if ( !empty($mt_options['logo_width']) ) { $logo_w = $mt_options['logo_width']; }
279
  if ( !empty($mt_options['logo_height']) ) { $logo_h = $mt_options['logo_height']; }
280
  if ( !empty($mt_options['logo']) || !empty($mt_options['retina_logo']) ) {
281
+ $logo = wp_get_attachment_image_src( $mt_options['logo'], 'full', true);
282
+ $retina_logo = wp_get_attachment_image_src( $mt_options['retina_logo'], 'full', true);
283
  if (!empty($logo)) {
284
  $image_link = esc_url_raw($logo[0]);
285
  }
300
  ?>
301
  <div class="logo-box" rel="home">
302
  <img src="<?php echo $image_link; ?>" srcset="<?php echo $image_link_retina; ?> 2x" width="<?php echo $logo_w; ?>" <?php echo (!empty($logo_h))?'height="'.$logo_h.'"':''; ?> alt="logo">
 
 
 
 
 
 
303
  </div>
304
  <?php
305
  } else {
311
 
312
  function get_content_section() {
313
  $mt_options = mt_get_plugin_options(true);
314
+ if (!empty($mt_options['body_font_subset'])) {
315
+ $current_subset = esc_attr($mt_options['body_font_subset']);
316
+ $font_weight = (string)((int)$current_subset);
317
+ $font_style = str_replace($font_weight, '', $current_subset);
318
+ }
319
+
320
+ if (empty($font_style) || $font_style == 'regular') {
321
+ $font_style = 'normal';
322
+ }
323
+ if (empty($font_weight)) {
324
+ $font_weight = 'normal';
325
+ }
326
  $out_content = null;
327
  if (!empty($mt_options['heading'])) {
328
+ $out_content .= '<h2 class="heading font-center" style="font-weight:'.$font_weight.';font-style:'.$font_style.'">' . wp_kses_post(stripslashes($mt_options['heading'])) .'</h2>';
329
  }
330
 
331
  if (!empty($mt_options['description'])) {
332
  $description_content = wpautop(wp_kses_post(stripslashes($mt_options['description'])), true);
333
+ $out_content .= '<div class="description" style="font-weight:'.$font_weight.';font-style:'.$font_style.'">' . $description_content .'</div>';
334
  } else {
335
  $site_description = get_bloginfo('description');
336
+ $out_content .= '<div class="description" style="font-weight:'.$font_weight.';font-style:'.$font_style.'"><h3>' . $site_description .'</h3></div>';
337
  }
338
 
339
  echo $out_content;
342
 
343
  function get_footer_section() {
344
  $mt_options = mt_get_plugin_options(true);
345
+ if (!empty($mt_options['body_font_subset'])) {
346
+ $current_subset = esc_attr($mt_options['body_font_subset']);
347
+ $font_weight = (string)((int)$current_subset);
348
+ $font_style = str_replace($font_weight, '', $current_subset);
349
+ }
350
+
351
+ if (empty($font_style) || $font_style == 'regular') {
352
+ $font_style = 'normal';
353
+ }
354
+ if (empty($font_weight)) {
355
+ $font_weight = 'normal';
356
+ }
357
+
358
  $out_ftext = null;
359
 
360
  if (isset($mt_options['footer_text']) && !empty($mt_options['footer_text'])) {
361
+ $out_ftext .= '<div style="font-weight:'.$font_weight.';font-style:'.$font_style.'">' . wp_kses_post(stripslashes($mt_options['footer_text'])) . '</div>';
362
  }
363
  echo $out_ftext;
364
  }
load/index.php CHANGED
@@ -68,7 +68,11 @@ $google_fonts = mt_add_google_fonts();
68
  </style>
69
  <script type="text/javascript" src="<?php echo MAINTENANCE_URI.'load/js/jquery.backstretch.min.js'; ?>"></script>
70
  <![endif]-->
71
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=<?php echo $google_fonts[0].'+'.$google_fonts[1]; ?>">
 
 
 
 
72
  </head>
73
 
74
  <body <?php body_class('maintenance ' . $ebody_class); ?>>
@@ -116,14 +120,7 @@ $google_fonts = mt_add_google_fonts();
116
  <?php } ?>
117
  <?php do_action('load_options_style'); ?>
118
  <?php do_action('load_custom_scripts'); ?>
119
- <div id="outdated">
120
- <h1><?php _e('Your browser is outdated.', 'maintenance') ?></h1>
121
- <h4>
122
- <?php _e('For a better experience, keep your browser up to date. Check ', 'maintenance');
123
- echo '<a target="_blank" href="http://outdatedbrowser.com/">'.__('here', 'maintenance').'</a>';
124
- _e(' for latest versions.', 'maintenance'); ?>
125
- </h4>
126
- </div>
127
 
128
 
129
  </body>
68
  </style>
69
  <script type="text/javascript" src="<?php echo MAINTENANCE_URI.'load/js/jquery.backstretch.min.js'; ?>"></script>
70
  <![endif]-->
71
+ <?php if ( !empty($google_fonts[1]) ) {
72
+ echo '<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=' . $google_fonts[1] . '|' . $google_fonts[0] . '">';
73
+ }
74
+ else echo '<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=' . $google_fonts[0] . '">';
75
+ ?>
76
  </head>
77
 
78
  <body <?php body_class('maintenance ' . $ebody_class); ?>>
120
  <?php } ?>
121
  <?php do_action('load_options_style'); ?>
122
  <?php do_action('load_custom_scripts'); ?>
123
+
 
 
 
 
 
 
 
124
 
125
 
126
  </body>
load/js/b_jquery.backstretch.min.js DELETED
@@ -1,10 +0,0 @@
1
- (function($,window,undefined){$.fn.backstretch=function(images,options){if(images===undefined||images.length===0)$.error("No images were supplied for Backstretch");if($(window).scrollTop()===0)window.scrollTo(0,0);return this.each(function(){var $this=$(this),obj=$this.data("backstretch");if(obj){options=$.extend(obj.options,options);obj.destroy(true)}obj=new Backstretch(this,images,options);$this.data("backstretch",obj)})};$.backstretch=function(images,options){return $("body").backstretch(images,
2
- options).data("backstretch")};$.expr[":"].backstretch=function(elem){return $(elem).data("backstretch")!==undefined};$.fn.backstretch.defaults={centeredX:true,centeredY:true,duration:5E3,fade:0};var styles={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},img:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxWidth:"none",zIndex:-999999}};var Backstretch=function(container,images,options){this.options=
3
- $.extend({},$.fn.backstretch.defaults,options||{});this.images=$.isArray(images)?images:[images];$.each(this.images,function(){$("<img />")[0].src=this});this.isBody=container===document.body;this.$container=$(container);this.$root=this.isBody?supportsFixedPosition?$(window):$(document):this.$container;var $existing=this.$container.children(".backstretch").first();this.$wrap=$existing.length?$existing:$('<div class="backstretch"></div>').css(styles.wrap).appendTo(this.$container);if(!this.isBody){var position=
4
- this.$container.css("position"),zIndex=this.$container.css("zIndex");this.$container.css({position:position==="static"?"relative":position,zIndex:zIndex==="auto"?0:zIndex,background:"none"});this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&supportsFixedPosition?"fixed":"absolute"});this.index=0;this.show(this.index);$(window).on("resize.backstretch",$.proxy(this.resize,this)).on("orientationchange.backstretch",$.proxy(function(){if(this.isBody&&window.pageYOffset===0){window.scrollTo(0,
5
- 1);this.resize()}},this))};Backstretch.prototype={resize:function(){try{var bgCSS={left:0,top:0},rootWidth=this.isBody?this.$root.width():this.$root.innerWidth(),bgWidth=rootWidth,rootHeight=this.isBody?window.innerHeight?window.innerHeight:this.$root.height():this.$root.innerHeight(),bgHeight=bgWidth/this.$img.data("ratio"),bgOffset;if(bgHeight>=rootHeight){bgOffset=(bgHeight-rootHeight)/2;if(this.options.centeredY)bgCSS.top="-"+bgOffset+"px"}else{bgHeight=rootHeight;bgWidth=bgHeight*this.$img.data("ratio");
6
- bgOffset=(bgWidth-rootWidth)/2;if(this.options.centeredX)bgCSS.left="-"+bgOffset+"px"}this.$wrap.css({width:rootWidth,height:rootHeight}).find("img:not(.deleteable)").css({width:bgWidth,height:bgHeight}).css(bgCSS)}catch(err){}return this},show:function(index){if(Math.abs(index)>this.images.length-1)return;else this.index=index;var self=this,oldImage=self.$wrap.find("img").addClass("deleteable"),evt=$.Event("backstretch.show",{relatedTarget:self.$container[0]});clearInterval(self.interval);self.$img=
7
- $("<img />").css(styles.img).bind("load",function(e){var imgWidth=this.width||$(e.target).width(),imgHeight=this.height||$(e.target).height();$(this).data("ratio",imgWidth/imgHeight);$(this).fadeIn(self.options.speed||self.options.fade,function(){oldImage.remove();if(!self.paused)self.cycle();self.$container.trigger(evt,self)});self.resize()}).appendTo(self.$wrap);self.$img.attr("src",self.images[index]);return self},next:function(){return this.show(this.index<this.images.length-1?this.index+1:0)},
8
- prev:function(){return this.show(this.index===0?this.images.length-1:this.index-1)},pause:function(){this.paused=true;return this},resume:function(){this.paused=false;this.next();return this},cycle:function(){if(this.images.length>1){clearInterval(this.interval);this.interval=setInterval($.proxy(function(){if(!this.paused)this.next()},this),this.options.duration)}return this},destroy:function(preserveBackground){$(window).off("resize.backstretch orientationchange.backstretch");clearInterval(this.interval);
9
- if(!preserveBackground)this.$wrap.remove();this.$container.removeData("backstretch")}};var supportsFixedPosition=function(){var ua=navigator.userAgent,platform=navigator.platform,wkmatch=ua.match(/AppleWebKit\/([0-9]+)/),wkversion=!!wkmatch&&wkmatch[1],ffmatch=ua.match(/Fennec\/([0-9]+)/),ffversion=!!ffmatch&&ffmatch[1],operammobilematch=ua.match(/Opera Mobi\/([0-9]+)/),omversion=!!operammobilematch&&operammobilematch[1],iematch=ua.match(/MSIE ([0-9]+)/),ieversion=!!iematch&&iematch[1];return!((platform.indexOf("iPhone")>
10
- -1||(platform.indexOf("iPad")>-1||platform.indexOf("iPod")>-1))&&(wkversion&&wkversion<534)||(window.operamini&&{}.toString.call(window.operamini)==="[object OperaMini]"||(operammobilematch&&omversion<7458||(ua.indexOf("Android")>-1&&(wkversion&&wkversion<533)||(ffversion&&ffversion<6||("palmGetResource"in window&&(wkversion&&wkversion<534)||(ua.indexOf("MeeGo")>-1&&ua.indexOf("NokiaBrowser/8.5.0")>-1||ieversion&&ieversion<=6)))))))}()})(jQuery,window);
 
 
 
 
 
 
 
 
 
 
load/js/b_jquery.blur.min.js DELETED
@@ -1,5 +0,0 @@
1
- (function(window,document,$){var cache={filterId:0};var Vague=function(elm,customOptions){var defaultOptions={intensity:5},options=$.extend(defaultOptions,customOptions);this.$elm=elm instanceof $?elm:$(elm);var blurred=false;var browserPrefixes=" -webkit- -moz- -o- -ms- ".split(" ");var cssPrefixString={};var cssPrefix=function(property){if(cssPrefixString[property]||cssPrefixString[property]==="")return cssPrefixString[property]+property;var e=document.createElement("div");var prefixes=["","Moz",
2
- "Webkit","O","ms","Khtml"];for(var i in prefixes)if(typeof e.style[prefixes[i]+property]!=="undefined"){cssPrefixString[property]=prefixes[i];return prefixes[i]+property}return property.toLowerCase()};var cssfilters=function(){var el=document.createElement("div");el.style.cssText=browserPrefixes.join("filter"+":blur(2px); ");return!!el.style.length&&(document.documentMode===undefined||document.documentMode>9)}();var svgfilters=function(){var result=false;try{result=typeof SVGFEColorMatrixElement!==
3
- undefined&&SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE==2}catch(e){}return result}();var appendSVGFilter=function(){var filterMarkup="<svg id='vague-svg-blur'>"+"<filter id='blur-effect-id-"+cache.filterId+"'>"+"<feGaussianBlur stdDeviation='"+options.intensity+"' />"+"</filter>"+"</svg>";$("body").append(filterMarkup)};this.init=function(){if(svgfilters)appendSVGFilter();this.$elm.data("vague-filter-id",cache.filterId);cache.filterId++};this.blur=function(){var filterValue,filterId=this.$elm.data("vague-filter-id"),
4
- cssProp={};if(cssfilters)filterValue="blur("+options.intensity+"px)";else if(svgfilters)filterValue="url(#blur-effect-id-"+filterId+")";else filterValue="progid:DXImageTransform.Microsoft.Blur(pixelradius="+options.intensity+")";cssProp[cssPrefix("Filter")]=filterValue;this.$elm.css(cssProp);blurred=true};this.unblur=function(){var cssProp={};cssProp[cssPrefix("Filter")]="none";this.$elm.css(cssProp);blurred=false};this.toggleblur=function(){if(blurred)this.unblur();else this.blur()};this.destroy=
5
- function(){if(svgfilters)$("filter#blur-effect-id-"+this.$elm.data("vague-filter-id")).parent().remove();this.unblur()};return this.init()};$.fn.Vague=function(options){return new Vague(this,options)};window.Vague=Vague})(window,document,jQuery);
 
 
 
 
 
load/js/b_jquery.frontend.ie.js DELETED
@@ -1,3 +0,0 @@
1
- jQuery(document).ready(function() {
2
- jQuery('input[placeholder], textarea[placeholder]').placeholder();
3
- });
 
 
 
load/js/b_jquery.placeholder.js DELETED
@@ -1 +0,0 @@
1
- !function(a){function b(b){this.input=b,"password"==b.attr("type")&&this.handlePassword(),a(b[0].form).submit(function(){b.hasClass("placeholder")&&b[0].value==b.attr("placeholder")&&(b[0].value="")})}b.prototype={show:function(a){if(""===this.input[0].value||a&&this.valueIsPlaceholder()){if(this.isPassword)try{this.input[0].setAttribute("type","text")}catch(a){this.input.before(this.fakePassword.show()).hide()}this.input.addClass("placeholder"),this.input[0].value=this.input.attr("placeholder")}},hide:function(){if(this.valueIsPlaceholder()&&this.input.hasClass("placeholder")&&(this.input.removeClass("placeholder"),this.input[0].value="",this.isPassword)){try{this.input[0].setAttribute("type","password")}catch(a){}this.input.show(),this.input[0].focus()}},valueIsPlaceholder:function(){return this.input[0].value==this.input.attr("placeholder")},handlePassword:function(){var b=this.input;if(b.attr("realType","password"),this.isPassword=!0,a.browser.msie&&b[0].outerHTML){var c=a(b[0].outerHTML.replace(/type=(['"])?password\1/gi,"type=$1text$1"));this.fakePassword=c.val(b.attr("placeholder")).addClass("placeholder").focus(function(){b.trigger("focus"),a(this).hide()}),a(b[0].form).submit(function(){c.remove(),b.show()})}}};var c=!!("placeholder"in document.createElement("input"));a.fn.placeholder=function(){return c?this:this.each(function(){var c=a(this),d=new b(c);d.show(!0),c.focus(function(){d.hide()}),c.blur(function(){d.show(!1)}),a.browser.msie&&(a(window).load(function(){c.val()&&c.removeClass("placeholder"),d.show(!0)}),c.focus(function(){if(""==this.value){var a=this.createTextRange();a.collapse(!0),a.moveStart("character",0),a.select()}}))})}}(jQuery);
 
load/js/outdatedbrowser/lang/ar.html DELETED
@@ -1,3 +0,0 @@
1
- <h6 dir="rtl">متصفحك يحتاج تحديث!</h6>
2
- <p dir="rtl">الرجاء تحديث متصفحك لمشاهدة الموقع بشكل جيد۔ <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/ar">تحديث المتصفح الآن </a></p>
3
- <p class="last" dir="rtl"><a href="#" id="btnCloseUpdateBrowser" title="إغلاق">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/cs.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Váš prohlížeč je zastaralý!</h6>
2
- <p>Pro správné zobrazení těchto stránek aktualizujte svůj prohlížeč. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/cs">Aktualizovat prohlížeč nyní</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Zavřít">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/da.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Din browser er forældet!</h6>
2
- <p>Opdatér din browser for at få vist denne hjemmeside ordentligt. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/da">Opdater min browser nu </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/de.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Ihr Browser ist veraltet!</h6>
2
- <p>Bitte aktualisieren Sie Ihren Browser, um diese Website korrekt darzustellen. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/de">Den Browser jetzt aktualisieren </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Schließen">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/el.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Το προγραμμα περιηγησης (φυλλομετρητης/browser) που χρησιμοποιεις για το internet δεν ειναι ενημερωμενο!</h6>
2
- <p>Ενημερωσε το προγραμμα περιηγησης για να δεις αυτη την ιστοσελιδα σωστα. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/el">Ενημερωση του προγραμματος περιηγησης τωρα</a> </p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/en.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Your browser is out of date!</h6>
2
- <p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/es-pe.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>¡Tu navegador no está actualizado!</h6>
2
- <p>Actualiza tu navegador para visualizar esta página correctamente. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/es">Actualizar mi navegador ahora! </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Cerrar">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/es.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>¡Tu navegador está obsoleto!</h6>
2
- <p>Actualiza tu navegador para ver esta página correctamente. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/es">Actualizar mi navegador ahora</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Cerrar">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/et.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Sinu veebilehitseja on vananenud!</h6>
2
- <p>Palun uuenda oma veebilehitsejat, et näha lehekülge korrektselt. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/et">Uuenda oma veebilehitsejat kohe</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Sulge">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/fa.html DELETED
@@ -1,3 +0,0 @@
1
- <h6 dir="rtl">مرورگر شما منسوخ شده است!</h6>
2
- <p dir="rtl">جهت مشاهده صحیح این وبسایت، مرورگرتان را بروز رسانی نمایید. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">همین حالا مرورگرم را بروز کن </a></p>
3
- <p dir="rtl" class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/fi.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Selaimesi on vanhentunut!</h6>
2
- <p>Lataa ajantasainen selain n&auml;hd&auml;ksesi t&auml;m&auml;n sivun oikein. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/fi">P&auml;ivit&auml; selaimeni nyt </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Sulje">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/fr.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Votre navigateur est obsolète!</h6>
2
- <p>Mettez à jour votre navigateur pour afficher correctement ce site Web. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/fr">Mettre à jour maintenant </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Fermer">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/hr.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Vaš Internet preglednik nije ažuriran!</h6>
2
- <p>Ažurirajte Vaš preglednik za ispravan prikaz ove stranice. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Ažuriraj odmah </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Zatvori">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/hu.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>A böngészője elavult!</h6>
2
- <p>Frissítse vagy cserélje le a böngészőjét. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/hu">A böngészőm frissítése </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/id.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Browser yang Anda gunakan sudah ketinggalan zaman!</h6>
2
- <p>Perbaharuilah browser Anda agar bisa menjelajahi website ini dengan nyaman. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Perbaharui browser sekarang </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/it.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Il tuo browser non &egrave; aggiornato!</h6>
2
- <p>Aggiornalo per vedere questo sito correttamente. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/it">Aggiorna ora</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Chiudi">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/ja.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>あなたのブラウザはもう古いです</h6>
2
- <p>こちらのサイトを閲覧するためには、ブラウザをアップグレードしてください。 <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/ja">ブラウザをアップグレードする</a></p>
3
- <p class="last"> <a href="#" id="btnCloseUpdateBrowser" title="閉じる"> &times; </a></p>
 
 
 
load/js/outdatedbrowser/lang/ko.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>브라우저가 오래되었습니다!</h6>
2
- <p>이 웹 페이지가 현재 브라우저에서는 정상적으로 보이지 않을 수 있습니다. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/ko">지금 브라우저를 업그레이드하세요! </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/lt.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Jūsų naršyklės versija yra pasenusi!</h6>
2
- <p>Atnaujinkite savo naršyklę, kad galėtumėte peržiūrėti šią svetainę tinkamai. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Atnaujinti naršyklę </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/nb.html DELETED
@@ -1,4 +0,0 @@
1
- <h6>Nettleseren din er avleggs!</h6>
2
- <p>Oppdater nettleseren din for å oppleve nettstedet riktig. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com">Oppdater nettleseren min nå</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Lukk">&times;</a></p>
4
-
 
 
 
 
load/js/outdatedbrowser/lang/nl.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Je gebruikt een verouderde browser!</h6>
2
- <p>Update je browser om deze website correct te bekijken. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/nl">Update mijn browser nu </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Sluiten">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/pl.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Twoja przeglądarka jest przestarzała!</h6>
2
- <p>Zaktualizuj swoją przeglądarkę, aby poprawnie wyświetlić tę stronę. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/pl">Zaktualizuj przeglądarkę już teraz </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/pt-br.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>O seu navegador est&aacute; desatualizado!</h6>
2
- <p>Atualize o seu navegador para ter uma melhor experi&ecirc;ncia e visualiza&ccedil;&atilde;o deste site. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/pt-br">Atualize o seu navegador agora</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Fechar">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/pt.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>O seu browser est&aacute; desatualizado!</h6>
2
- <p>Atualize o seu browser para ter uma melhor experi&ecirc;ncia e visualiza&ccedil;&atilde;o deste site. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/pt">Atualize o seu browser agora</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Fechar">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/ro.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Navigatorul este învechit!</h6>
2
- <p>Actualizați navigatorul pentru a vizualiza corect acest site. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Actualizați navigatorul acum!</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/ru.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Ваш браузер устарел!</h6>
2
- <p>Обновите ваш браузер для правильного отображения этого сайта. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/ru">Обновить мой браузер</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Закрыть">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/sk.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Váš prehliadač je zastaraný!</h6>
2
- <p>Pre správne zobrazenie tejto webstránky aktualizujte svoj prehliadač. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/sk">Aktualizovať prehliadač teraz</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Zavrieť">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/sl.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Vaš brskalnik je zastarel!</h6>
2
- <p>Za pravilen prikaz spletne strani posodobite vaš brskalnik. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/sl">Posodobi brskalnik </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Zapri">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/sv.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Din webbläsare stödjs ej längre!</h6>
2
- <p>Uppdatera din webbläsare för att webbplatsen ska visas korrekt. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Uppdatera min webbläsare nu</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Stäng">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/tr.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Tarayıcınız güncel değil!</h6>
2
- <p>Web sitemizi düzgün görüntülemek için tarayıcınızı güncelleyin.<a id="btnUpdateBrowser" href="http://outdatedbrowser.com/tr">Şimdi güncelle </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Kapat">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/uk.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>Ваш браузер застарів!</h6>
2
- <p>Оновіть ваш браузер для правильного відображення цього сайта. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/uk">Оновити мій браузер </a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/zh-cn.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>您的浏览器已过时</h6>
2
- <p>要正常浏览本网站请升级您的浏览器。<a id="btnUpdateBrowser" href="http://outdatedbrowser.com/zh-cn">现在升级</a></p>
3
- <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="关闭">&times;</a></p>
 
 
 
load/js/outdatedbrowser/lang/zh-tw.html DELETED
@@ -1,3 +0,0 @@
1
- <h6>您的瀏覽器已過時</h6>
2
- <p>要正常瀏覽本網站請升級您的瀏覽器。 <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/zh-tw">現在升級​​</a></p>
3
- <p class="last"> <a href="#" id="btnCloseUpdateBrowser" title="關閉"> &times; </a> </p>
 
 
 
load/js/outdatedbrowser/outdatedbrowser.css DELETED
@@ -1,26 +0,0 @@
1
- /*!--------------------------------------------------------------------
2
- STYLES "Outdated Browser"
3
- Version: 1.1.2 - 2015
4
- author: Burocratik
5
- website: http://www.burocratik.com
6
- * @preserve
7
- -----------------------------------------------------------------------*/
8
- #outdated{
9
- display: none; position: fixed; top: 0; left: 0; width: 100%; height: 170px;
10
- text-align: center; text-transform: uppercase; z-index:1500;
11
- background-color: #f25648; color: #ffffff;
12
- }
13
- * html #outdated{position: absolute;}
14
- #outdated h6{font-size: 25px; line-height: 25px; margin: 30px 0 10px;}
15
- #outdated p{font-size: 12px; line-height: 12px; margin: 0;}
16
- #outdated #btnUpdateBrowser{
17
- display: block; position: relative; padding: 10px 20px; margin: 30px auto 0; width: 230px; /*need for IE*/
18
- color: #ffffff; text-decoration: none; border: 2px solid #ffffff; cursor: pointer;
19
- }
20
- #outdated #btnUpdateBrowser:hover{color: #f25648; background-color:#ffffff;}
21
- #outdated .last{position: absolute; top: 10px; right: 25px; width: 20px; height: 20px;}
22
- #outdated .last[dir='rtl']{right: auto !important; left: 25px !important;}
23
- #outdated #btnCloseUpdateBrowser{
24
- display: block; position: relative; width: 100%; height: 100%;
25
- text-decoration: none; color: #ffffff; font-size: 36px; line-height: 36px;
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
load/js/outdatedbrowser/outdatedbrowser.js DELETED
@@ -1,247 +0,0 @@
1
- /*!--------------------------------------------------------------------
2
- JAVASCRIPT "Outdated Browser"
3
- Version: 1.1.2 - 2015
4
- author: Burocratik
5
- website: http://www.burocratik.com
6
- * @preserve
7
- -----------------------------------------------------------------------*/
8
- var outdatedBrowser = function(options) {
9
-
10
- //Variable definition (before ajax)
11
- var outdated = document.getElementById("outdated");
12
-
13
- // Default settings
14
- this.defaultOpts = {
15
- bgColor: '#f25648',
16
- color: '#ffffff',
17
- lowerThan: 'transform',
18
- languagePath: '../outdatedbrowser/lang/en.html'
19
- }
20
-
21
-
22
- if (options) {
23
- //assign css3 property or js property to IE browser version
24
- if (options.lowerThan == 'IE8' || options.lowerThan == 'borderSpacing') {
25
- options.lowerThan = 'borderSpacing';
26
- } else if (options.lowerThan == 'IE9' || options.lowerThan == 'boxShadow') {
27
- options.lowerThan = 'boxShadow';
28
- } else if (options.lowerThan == 'IE10' || options.lowerThan == 'transform' || options.lowerThan == '' || typeof options.lowerThan === "undefined") {
29
- options.lowerThan = 'transform';
30
- } else if (options.lowerThan == 'IE11' || options.lowerThan == 'borderImage') {
31
- options.lowerThan = 'borderImage';
32
- } else if (options.lowerThan == 'Edge' || options.lowerThan == 'js:Promise') {
33
- options.lowerThan = 'js:Promise';
34
- }
35
-
36
- //all properties
37
- this.defaultOpts.bgColor = options.bgColor;
38
- this.defaultOpts.color = options.color;
39
- this.defaultOpts.lowerThan = options.lowerThan;
40
- this.defaultOpts.languagePath = options.languagePath;
41
-
42
- bkgColor = this.defaultOpts.bgColor;
43
- txtColor = this.defaultOpts.color;
44
- cssProp = this.defaultOpts.lowerThan;
45
- languagePath = this.defaultOpts.languagePath;
46
- } else {
47
- bkgColor = this.defaultOpts.bgColor;
48
- txtColor = this.defaultOpts.color;
49
- cssProp = this.defaultOpts.lowerThan;
50
- languagePath = this.defaultOpts.languagePath;
51
- } //end if options
52
-
53
-
54
-
55
- //Define opacity and fadeIn/fadeOut functions
56
- var done = true;
57
-
58
- function function_opacity(opacity_value) {
59
- outdated.style.opacity = opacity_value / 100;
60
- outdated.style.filter = 'alpha(opacity=' + opacity_value + ')';
61
- }
62
-
63
- // function function_fade_out(opacity_value) {
64
- // function_opacity(opacity_value);
65
- // if (opacity_value == 1) {
66
- // outdated.style.display = 'none';
67
- // done = true;
68
- // }
69
- // }
70
-
71
- function function_fade_in(opacity_value) {
72
- function_opacity(opacity_value);
73
- if (opacity_value == 1) {
74
- outdated.style.display = 'block';
75
- }
76
- if (opacity_value == 100) {
77
- done = true;
78
- }
79
- }
80
-
81
- //check if element has a particular class
82
- // function hasClass(element, cls) {
83
- // return (' ' + element.className + ' ').indexOf(' ' + cls + ' ') > -1;
84
- // }
85
-
86
- var supports = ( function() {
87
- var div = document.createElement('div');
88
- var vendors = 'Khtml Ms O Moz Webkit'.split(' ');
89
- var len = vendors.length;
90
-
91
- return function(prop) {
92
- if (prop in div.style) return true;
93
-
94
- prop = prop.replace(/^[a-z]/, function(val) {
95
- return val.toUpperCase();
96
- });
97
-
98
- while (len--) {
99
- if (vendors[len] + prop in div.style) {
100
- return true;
101
- }
102
- }
103
- return false;
104
- };
105
- } )();
106
-
107
- var validBrowser = false;
108
-
109
- // browser check by js props
110
- if(/^js:+/g.test(cssProp)) {
111
- var jsProp = cssProp.split(':')[1];
112
- if(!jsProp)
113
- return;
114
-
115
- switch (jsProp) {
116
- case 'Promise':
117
- validBrowser = window.Promise !== undefined && window.Promise !== null && Object.prototype.toString.call(window.Promise.resolve()) === '[object Promise]';
118
- break;
119
- default:
120
- validBrowser = false;
121
- }
122
- } else {
123
- // check by css3 property (transform=default)
124
- validBrowser = supports('' + cssProp + '');
125
- }
126
-
127
-
128
- if (!validBrowser) {
129
- if (done && outdated.style.opacity !== '1') {
130
- done = false;
131
- for (var i = 1; i <= 100; i++) {
132
- setTimeout((function (x) {
133
- return function () {
134
- function_fade_in(x);
135
- };
136
- })(i), i * 8);
137
- }
138
- }
139
- } else {
140
- return;
141
- } //end if
142
-
143
-
144
- //Check AJAX Options: if languagePath == '' > use no Ajax way, html is needed inside <div id="outdated">
145
- if (languagePath === ' ' || languagePath.length == 0) {
146
- startStylesAndEvents();
147
- } else {
148
- grabFile(languagePath);
149
- }
150
-
151
- //events and colors
152
- function startStylesAndEvents() {
153
- var btnClose = document.getElementById("btnCloseUpdateBrowser");
154
- var btnUpdate = document.getElementById("btnUpdateBrowser");
155
-
156
- //check settings attributes
157
- outdated.style.backgroundColor = bkgColor;
158
- //way too hard to put !important on IE6
159
- outdated.style.color = txtColor;
160
- outdated.children[0].style.color = txtColor;
161
- outdated.children[1].style.color = txtColor;
162
-
163
- //check settings attributes
164
- btnUpdate.style.color = txtColor;
165
- // btnUpdate.style.borderColor = txtColor;
166
- if (btnUpdate.style.borderColor) {
167
- btnUpdate.style.borderColor = txtColor;
168
- }
169
- btnClose.style.color = txtColor;
170
-
171
- //close button
172
- btnClose.onmousedown = function() {
173
- outdated.style.display = 'none';
174
- return false;
175
- };
176
-
177
- //Override the update button color to match the background color
178
- btnUpdate.onmouseover = function() {
179
- this.style.color = bkgColor;
180
- this.style.backgroundColor = txtColor;
181
- };
182
- btnUpdate.onmouseout = function() {
183
- this.style.color = txtColor;
184
- this.style.backgroundColor = bkgColor;
185
- };
186
- } //end styles and events
187
-
188
-
189
- // IF AJAX with request ERROR > insert english default
190
- var ajaxEnglishDefault = '<h6>Your browser is out-of-date!</h6>'
191
- + '<p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p>'
192
- + '<p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>';
193
-
194
-
195
- //** AJAX FUNCTIONS - Bulletproof Ajax by Jeremy Keith **
196
- function getHTTPObject() {
197
- var xhr = false;
198
- if (window.XMLHttpRequest) {
199
- xhr = new XMLHttpRequest();
200
- } else if (window.ActiveXObject) {
201
- try {
202
- xhr = new ActiveXObject("Msxml2.XMLHTTP");
203
- } catch ( e ) {
204
- try {
205
- xhr = new ActiveXObject("Microsoft.XMLHTTP");
206
- } catch ( e ) {
207
- xhr = false;
208
- }
209
- }
210
- }
211
- return xhr;
212
- }//end function
213
-
214
- function grabFile(file) {
215
- var request = getHTTPObject();
216
- if (request) {
217
- request.onreadystatechange = function() {
218
- displayResponse(request);
219
- };
220
- request.open("GET", file, true);
221
- request.send(null);
222
- }
223
- return false;
224
- } //end grabFile
225
-
226
- function displayResponse(request) {
227
- var insertContentHere = document.getElementById("outdated");
228
- if (request.readyState == 4) {
229
- if (request.status == 200 || request.status == 304) {
230
- insertContentHere.innerHTML = request.responseText;
231
- } else {
232
- insertContentHere.innerHTML = ajaxEnglishDefault;
233
- }
234
- startStylesAndEvents();
235
- }
236
- return false;
237
- }//end displayResponse
238
-
239
- ////////END of outdatedBrowser function
240
- };
241
-
242
-
243
-
244
-
245
-
246
-
247
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
load/js/outdatedbrowser/outdatedbrowser.min.css DELETED
@@ -1,8 +0,0 @@
1
- /*!--------------------------------------------------------------------
2
- STYLES "Outdated Browser"
3
- Version: 1.1.2 - 2015
4
- author: Burocratik
5
- website: http://www.burocratik.com
6
- * @preserve
7
- -----------------------------------------------------------------------*/
8
- #outdated{display:none;position:fixed;top:0;left:0;width:100%;height:170px;text-align:center;text-transform:uppercase;z-index:1500;background-color:#f25648;color:#fff}* html #outdated{position:absolute}#outdated h6{font-size:25px;line-height:25px;margin:30px 0 10px}#outdated p{font-size:12px;line-height:12px;margin:0}#outdated #btnUpdateBrowser{display:block;position:relative;padding:10px 20px;margin:30px auto 0;width:230px;color:#fff;text-decoration:none;border:2px solid #fff;cursor:pointer}#outdated #btnUpdateBrowser:hover{color:#f25648;background-color:#fff}#outdated .last{position:absolute;top:10px;right:25px;width:20px;height:20px}#outdated #btnCloseUpdateBrowser{display:block;position:relative;width:100%;height:100%;text-decoration:none;color:#fff;font-size:36px;line-height:36px}
 
 
 
 
 
 
 
 
load/js/outdatedbrowser/outdatedbrowser.min.js DELETED
@@ -1,8 +0,0 @@
1
- /*!--------------------------------------------------------------------
2
- JAVASCRIPT "Outdated Browser"
3
- Version: 1.1.2 - 2015
4
- author: Burocratik
5
- website: http://www.burocratik.com
6
- * @preserve
7
- -----------------------------------------------------------------------*/
8
- var outdatedBrowser=function(t){function o(t){s.style.opacity=t/100,s.style.filter="alpha(opacity="+t+")"}function e(t){o(t),1==t&&(s.style.display="block"),100==t&&(u=!0)}function r(){var t=document.getElementById("btnCloseUpdateBrowser"),o=document.getElementById("btnUpdateBrowser");s.style.backgroundColor=bkgColor,s.style.color=txtColor,s.children[0].style.color=txtColor,s.children[1].style.color=txtColor,o.style.color=txtColor,o.style.borderColor&&(o.style.borderColor=txtColor),t.style.color=txtColor,t.onmousedown=function(){return s.style.display="none",!1},o.onmouseover=function(){this.style.color=bkgColor,this.style.backgroundColor=txtColor},o.onmouseout=function(){this.style.color=txtColor,this.style.backgroundColor=bkgColor}}function l(){var t=!1;if(window.XMLHttpRequest)t=new XMLHttpRequest;else if(window.ActiveXObject)try{t=new ActiveXObject("Msxml2.XMLHTTP")}catch(o){try{t=new ActiveXObject("Microsoft.XMLHTTP")}catch(o){t=!1}}return t}function a(t){var o=l();return o&&(o.onreadystatechange=function(){n(o)},o.open("GET",t,!0),o.send(null)),!1}function n(t){var o=document.getElementById("outdated");return 4==t.readyState&&(o.innerHTML=200==t.status||304==t.status?t.responseText:d,r()),!1}var s=document.getElementById("outdated");this.defaultOpts={bgColor:"#f25648",color:"#ffffff",lowerThan:"transform",languagePath:"../outdatedbrowser/lang/en.html"},t?("IE8"==t.lowerThan||"borderSpacing"==t.lowerThan?t.lowerThan="borderSpacing":"IE9"==t.lowerThan||"boxShadow"==t.lowerThan?t.lowerThan="boxShadow":"IE10"==t.lowerThan||"transform"==t.lowerThan||""==t.lowerThan||"undefined"==typeof t.lowerThan?t.lowerThan="transform":("IE11"==t.lowerThan||"borderImage"==t.lowerThan)&&(t.lowerThan="borderImage"),this.defaultOpts.bgColor=t.bgColor,this.defaultOpts.color=t.color,this.defaultOpts.lowerThan=t.lowerThan,this.defaultOpts.languagePath=t.languagePath,bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath):(bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath);var u=!0,i=function(){var t=document.createElement("div"),o="Khtml Ms O Moz Webkit".split(" "),e=o.length;return function(r){if(r in t.style)return!0;for(r=r.replace(/^[a-z]/,function(t){return t.toUpperCase()});e--;)if(o[e]+r in t.style)return!0;return!1}}();if(!i(""+cssProp)){if(u&&"1"!==s.style.opacity){u=!1;for(var c=1;100>=c;c++)setTimeout(function(t){return function(){e(t)}}(c),8*c)}" "===languagePath||0==languagePath.length?r():a(languagePath);var d='<h6>Your browser is out-of-date!</h6><p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p><p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>'}};
 
 
 
 
 
 
 
 
load/js/outdatedbrowser/outdatedbrowser.scss DELETED
@@ -1,69 +0,0 @@
1
- /*!--------------------------------------------------------------------
2
- STYLES "Outdated Browser"
3
- Version: 1.1.2 - 2015
4
- author: Burocratik
5
- website: http://www.burocratik.com
6
- * @preserve
7
- -----------------------------------------------------------------------*/
8
- #outdated {
9
- display: none;
10
- position: fixed;
11
- top: 0;
12
- left: 0;
13
- width: 100%;
14
- height: 170px;
15
- text-align: center;
16
- text-transform: uppercase;
17
- z-index:1500;
18
- background-color: #f25648;
19
- color: #ffffff;
20
- h6 {
21
- font-size: 25px;
22
- line-height: 25px;
23
- margin: 30px 0 10px;
24
- }
25
- p {
26
- font-size: 12px;
27
- line-height: 12px;
28
- margin: 0;
29
- }
30
- #btnUpdateBrowser {
31
- display: block;
32
- position: relative;
33
- padding: 10px 20px;
34
- margin: 30px auto 0;
35
- width: 230px; /*need for IE*/
36
- color: #ffffff;
37
- text-decoration: none;
38
- border: 2px solid #ffffff;
39
- cursor: pointer;
40
- &:hover {
41
- color: #f25648;
42
- background-color:#ffffff;
43
- }
44
- }
45
- .last {
46
- position: absolute;
47
- top: 10px;
48
- right: 25px;
49
- width: 20px;
50
- height: 20px;
51
- &[dir='rtl'] {
52
- right: auto !important;
53
- left: 25px !important;
54
- }
55
- }
56
- #btnCloseUpdateBrowser{
57
- display: block;
58
- position: relative;
59
- width: 100%;
60
- height: 100%;
61
- text-decoration: none;
62
- color: #ffffff;
63
- font-size: 36px;
64
- line-height: 36px;
65
- }
66
- * html & {
67
- position: absolute;
68
- }
69
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 3.6
7
  Author: fruitfulcode
8
  Author URI: http://fruitfulcode.com
9
  License: GPL2
@@ -38,7 +38,7 @@ class maintenance {
38
  register_activation_hook ( __FILE__, array( &$this, 'mt_activation' ));
39
  register_deactivation_hook( __FILE__, array( &$this, 'mt_deactivation') );
40
 
41
- add_action('template_include', array( &$this, 'mt_template_include'), 10);
42
  add_action('wp_logout', array( &$this, 'mt_user_logout'));
43
  add_action('init', array( &$this, 'mt_admin_bar'));
44
  add_action('init', array( &$this, 'mt_set_global_options'), 1);
@@ -115,6 +115,5 @@ class maintenance {
115
  }
116
 
117
  $maintenance = new maintenance();
118
- //global $wp_filter;
119
- //print_r($wp_filter);
120
  ?>
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: 3.6.1
7
  Author: fruitfulcode
8
  Author URI: http://fruitfulcode.com
9
  License: GPL2
38
  register_activation_hook ( __FILE__, array( &$this, 'mt_activation' ));
39
  register_deactivation_hook( __FILE__, array( &$this, 'mt_deactivation') );
40
 
41
+ add_action('template_include', array( &$this, 'mt_template_include'), 999999);
42
  add_action('wp_logout', array( &$this, 'mt_user_logout'));
43
  add_action('init', array( &$this, 'mt_admin_bar'));
44
  add_action('init', array( &$this, 'mt_set_global_options'), 1);
115
  }
116
 
117
  $maintenance = new maintenance();
118
+
 
119
  ?>
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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.5
6
- Tested up to: 4.9
7
- Stable tag: 3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -119,8 +119,14 @@ No, it will be display error on current maintenance page, without redirect to wp
119
  = I haven’t found an answer to my question, what should I do? =
120
  You can check <a href="http://wordpress.org/support/plugin/maintenance">support forum</a> or <a class="send-mail" target="_blank" href="mailto:mail@fruitfulcode.com?subject=Maintenance%20Plugin">send email to us</a>
121
 
122
-
123
  == Change log ==
 
 
 
 
 
 
 
124
  = 3.6 =
125
  - Update: Optimized js libs
126
  - Update: Replaced some features by new css and html5 capabilities
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.5
6
+ Tested up to: 4.9.4
7
+ Stable tag: 3.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
119
  = I haven’t found an answer to my question, what should I do? =
120
  You can check <a href="http://wordpress.org/support/plugin/maintenance">support forum</a> or <a class="send-mail" target="_blank" href="mailto:mail@fruitfulcode.com?subject=Maintenance%20Plugin">send email to us</a>
121
 
 
122
  == Change log ==
123
+ = 3.6.1 =
124
+ - Improvement: setting max width logo size
125
+ - Bug fix: Change template_include hook priority
126
+ - Bug fix: Fix container height
127
+ - Bug fix: logo size cropping
128
+ - Bug fix: fonts subsets fix
129
+
130
  = 3.6 =
131
  - Update: Optimized js libs
132
  - Update: Replaced some features by new css and html5 capabilities