WP Maintenance - Version 2.6.8

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

Developer Florent73
Plugin Icon 128x128 WP Maintenance
Version 2.6.8
Comparing to
See all releases

Code changes from version 2.6.7 to 2.6.8

Files changed (3) hide show
  1. readme.txt +5 -2
  2. wp-maintenance-admin.php +5 -39
  3. wp-maintenance.php +32 -33
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpmaintenance.shost.ca/a-propos/
4
  Tags: WordPress.com, maintenance, atttente, pause, travaux, construction, launch, coming soon
5
  Requires at least: 3.0
6
  Tested up to: 4.3.1
7
- Stable tag: 2.6.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -67,11 +67,14 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
67
 
68
  == Upgrade Notice ==
69
 
70
- = 2.6.7 =
71
  Cette version est stable / This version is stable
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 2.6.7 =
76
  * Réactivation de l'option page perso / Enabling the personal page option
77
 
4
  Tags: WordPress.com, maintenance, atttente, pause, travaux, construction, launch, coming soon
5
  Requires at least: 3.0
6
  Tested up to: 4.3.1
7
+ Stable tag: 2.6.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
67
 
68
  == Upgrade Notice ==
69
 
70
+ = 2.6.8 =
71
  Cette version est stable / This version is stable
72
 
73
  == Changelog ==
74
 
75
+ = 2.6.8 =
76
+ * Correction de bugs / Fixed bugs
77
+
78
  = 2.6.7 =
79
  * Réactivation de l'option page perso / Enabling the personal page option
80
 
wp-maintenance-admin.php CHANGED
@@ -20,45 +20,11 @@ if( isset($_POST['action']) && $_POST['action'] == 'update' && $_POST["wp_mainte
20
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
21
  $paramMMode = get_option('wp_maintenance_settings');
22
 
23
- if( !isset($paramMMode['titre_maintenance']) ) { $paramMMode['titre_maintenance'] = ''; }
24
- if( !isset($paramMMode['font_title_size']) ) { $paramMMode['font_title_size'] = 40; }
25
- if( !isset($paramMMode['font_title_style']) ) { $paramMMode['font_title_style'] = 'normal'; }
26
- if( !isset($paramMMode['font_title_weigth']) ) { $paramMMode['font_title_weigth'] = 'normal'; }
27
- if( !isset($paramMMode['font_text_size']) ) { $paramMMode['font_text_size'] = 40; }
28
- if( !isset($paramMMode['font_text_style']) ) { $paramMMode['font_text_style'] = 'normal'; }
29
- if( !isset($paramMMode['font_text_weigth']) ) { $paramMMode['font_text_weigth'] = 'normal'; }
30
- if( !isset($paramMMode['font_text_bottom']) ) { $paramMMode['font_text_bottom'] = 'normal'; }
31
- if( !isset($paramMMode['font_bottom_size']) ) { $paramMMode['font_bottom_size'] = 12; }
32
- if( !isset($paramMMode['font_bottom_weigth']) ) { $paramMMode['font_bottom_weigth'] = 'normal'; }
33
- if( !isset($paramMMode['font_bottom_style']) ) { $paramMMode['font_bottom_style'] = 'normal'; }
34
- if( !isset($paramMMode['font_cpt']) ) { $paramMMode['font_cpt'] = 'Acme'; }
35
- if( !isset($paramMMode['date_cpt_size']) ) { $paramMMode['date_cpt_size'] = 72; }
36
- if( !isset($paramMMode['newletter_font_weigth']) ) { $paramMMode['newletter_font_weigth'] = 'normal'; }
37
- if( !isset($paramMMode['code_analytics']) ) { $paramMMode['code_analytics'] = ''; }
38
- if( !isset($paramMMode['domain_analytics']) ) { $paramMMode['domain_analytics'] = $_SERVER['SERVER_NAME']; }
39
- if( !isset($paramMMode['text_bt_maintenance']) ) { $paramMMode['text_bt_maintenance'] = ''; }
40
- if( !isset($paramMMode['title_newletter']) ) { $paramMMode['title_newletter'] = ''; }
41
- if( !isset($paramMMode['code_newletter']) ) { $paramMMode['code_newletter'] = ''; }
42
- if( !isset($paramMMode['message_cpt_fin']) ) { $paramMMode['message_cpt_fin'] = ''; }
43
- if( !isset($paramMMode['headercode']) ) { $paramMMode['headercode'] = ''; }
44
- if( !isset($paramMMode['color_bg_header']) ) { $paramMMode['color_bg_header'] = ''; }
45
- if( !isset($paramMMode['color_cpt']) ) { $paramMMode['color_cpt'] = '#333333'; }
46
- if( !isset($paramMMode['color_cpt_bg']) ) { $paramMMode['color_cpt_bg'] = ''; }
47
- if( !isset($paramMMode['b_enable_image']) ) { $paramMMode['b_enable_image'] = 0; }
48
- if( !isset($paramMMode['b_image']) ) { $paramMMode['b_image'] = ''; }
49
- if( !isset($paramMMode['b_pattern']) ) { $paramMMode['b_pattern'] = ''; }
50
- if( !isset($paramMMode['b_fixed_image']) ) { $paramMMode['b_fixed_image'] = 'fixed'; }
51
- if( !isset($paramMMode['b_repeat_image']) ) { $paramMMode['b_repeat_image'] = 'repeat'; }
52
- if( !isset($paramMMode['date_cpt_jj']) ) { $paramMMode['date_cpt_jj'] = date('d'); }
53
- if( !isset($paramMMode['date_cpt_aa']) ) { $paramMMode['date_cpt_aa'] = date('Y')+1; }
54
- if( !isset($paramMMode['date_cpt_hh']) ) { $paramMMode['date_cpt_hh'] = date('h'); }
55
- if( !isset($paramMMode['date_cpt_mn']) ) { $paramMMode['date_cpt_mn'] = date('m'); }
56
- if( !isset($paramMMode['active_cpt_s']) ) { $paramMMode['active_cpt_s'] = 0; }
57
- if( !isset($paramMMode['disable']) ) { $paramMMode['disable'] = 0; }
58
- if( !isset($paramMMode['pageperso']) ) { $paramMMode['pageperso'] = 0; }
59
- if( !isset($paramMMode['newletter']) ) { $paramMMode['newletter'] = 0; }
60
- if( !isset($paramMMode['add_wplogin']) ) { $paramMMode['add_wplogin'] = 0; }
61
- if( !isset($paramMMode['add_wplogin_title']) ) { $paramMMode['add_wplogin_title'] = ''; }
62
 
63
  // Récupère les Rôles et capabilités
64
  if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
20
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
21
  $paramMMode = get_option('wp_maintenance_settings');
22
 
23
+ if( isset($paramMMode) && !empty($paramMMode) ) {
24
+ foreach($paramMMode as $variable=>$value) {
25
+ if( !isset($paramMMode[$variable]) ) { $paramMMode[$variable] = $value; }
26
+ }
27
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  // Récupère les Rôles et capabilités
30
  if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
wp-maintenance.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours, etc... / The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
7
  * Author: Florent Maillefaud
8
  * Author URI: https://wpmaintenance.shost.ca
9
- * Version: 2.6.7
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
@@ -14,6 +14,7 @@
14
 
15
  /*
16
  Change Log
 
17
  17/09/2015 - Ajout accès au tableau de bord
18
  11/09/2015 - Correction bug CSS Responsive
19
  02/09/2015 - Correction notice php (undefined index)
@@ -75,7 +76,7 @@ function wpm_make_multilang() {
75
  }
76
 
77
  /* Ajoute la version dans les options */
78
- define('WPM_VERSION', '2.6.7');
79
  $option['wp_maintenance_version'] = WPM_VERSION;
80
  if( !get_option('wp_maintenance_version') ) {
81
  add_option('wp_maintenance_version', $option);
@@ -136,13 +137,13 @@ function wpm_add_admin() {
136
  'text_maintenance' => __('Come back quickly !', 'wp-maintenance'),
137
  'userlimit' => 'administrator',
138
  'image' => WP_PLUGIN_URL.'/wp-maintenance/images/default.png',
139
- 'font_title' => 'Acme',
140
  'font_title_size' => 40,
141
- 'font_text' => 'Acme',
142
  'font_text_size' => 40,
143
- 'font_text_bottom' => 'Acme',
144
  'font_bottom_size' => 12,
145
- 'font_cpt' => 'Acme',
146
  'enable_demo' => 0,
147
  'color_text_button' => '#FFFFFF',
148
  'color_button' => '#1e73be',
@@ -155,22 +156,15 @@ function wpm_add_admin() {
155
  'newletter_font_style' => '',
156
  'newletter_font_weigth' => 'normal',
157
  'newletter_font_text' => 20,
158
- 'font_title_style' => '',
159
- 'font_text_style' => '',
160
- 'font_bottom_style' => '',
161
  'title_newletter' => '',
162
  'code_newletter' => '',
163
  'code_analytics' => '',
164
  'domain_analytics' => $_SERVER['SERVER_NAME'],
165
  'text_bt_maintenance' => '',
166
  'add_wplogin' => '',
167
- 'newletter' => '',
168
- 'active_cpt' => 0,
169
- 'newletter_size' => 18,
170
- 'newletter_font_weigth' => 'normal',
171
- 'font_title_style' => '',
172
- 'font_text_style' => '',
173
- 'font_bottom_style' => '',
174
  'b_enable_image' => 0,
175
  'disable' => 0,
176
  'pageperso' => 0,
@@ -410,8 +404,8 @@ function wpm_maintenance_mode() {
410
  $site_description = get_bloginfo( 'description', 'display' );
411
 
412
  /* Défninition des couleurs par défault */
413
- if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
414
- if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
415
 
416
  /* Date compte à rebours / Convertie en format US */
417
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
@@ -448,45 +442,45 @@ function wpm_maintenance_mode() {
448
  } else {
449
  $HeaderCode = '';
450
  }
451
- if($paramSocialOption['position']=='top') {
452
  $TopSocialIcons = do_shortcode('[wpm_social]');
453
  } else {
454
  $TopSocialIcons = '';
455
  }
456
- if($paramSocialOption['position']=='bottom') {
457
  $BottomSocialIcons = do_shortcode('[wpm_social]');
458
  } else {
459
  $BottomSocialIcons = '';
460
  }
461
- if($paramMMode['image']) {
462
  list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($paramMMode['image']);
463
  $LogoImage = '<div id="logo"><img src="'.$paramMMode['image'].'" width="'.$logoWidth.'" height="'.$logoHeight.'" alt="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" title="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" /></div>';
464
  } else {
465
  $LogoImage = '';
466
  }
467
 
468
- if($paramMMode['text_bt_maintenance']!='') {
469
  $TextCopyright = stripslashes($paramMMode['text_bt_maintenance']);
470
  } else {
471
  $TextCopyright = '';
472
  }
473
- if($paramMMode['add_wplogin']==1 && $paramMMode['add_wplogin_title']!='') {
474
  $textLogin = str_replace('%DASHBOARD%', '<a href="'.get_admin_url().'">'.__('Dashboard', 'wp-maintenance').'</a>', $paramMMode['add_wplogin_title']);
475
  $TextCopyright .= '<br />'.$textLogin;
476
 
477
  }
478
- if($paramMMode['titre_maintenance']!='') {
479
  $Titre = stripslashes($paramMMode['titre_maintenance']);
480
  } else {
481
  $Titre = '';
482
  }
483
- if($paramMMode['text_maintenance']!='') {
484
  $Texte = stripslashes($paramMMode['text_maintenance']);
485
  } else {
486
  $Texte = '';
487
  }
488
  $wysijaStyle = '/* no WYSIJA Style */';
489
- if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
490
  $nameNl = strpos($paramMMode['code_newletter'], 'wysija_form');
491
  if($nameNl==1) {
492
  //$wysijaStyle = 'STYLEOK';
@@ -506,9 +500,9 @@ function wpm_maintenance_mode() {
506
 
507
  $optionBackground = '';
508
  $addBImage = '';
509
- if($paramMMode['b_image'] && $paramMMode['b_enable_image']==1) {
510
- if($paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
511
- if(isset($paramMMode['b_fixed_image']) && $paramMMode['b_fixed_image']==1) {
512
  $optionBackground = 'background-attachment:fixed;';
513
  }
514
  $addBImage = '
@@ -522,7 +516,7 @@ body {
522
  '.$optionBackground.'
523
  }';
524
  }
525
- if($paramMMode['b_pattern']>0 && $paramMMode['b_enable_image']==1) {
526
  $addBImage = '
527
  body {
528
  background-image: url('.WP_PLUGIN_URL.'/wp-maintenance/images/pattern'.$paramMMode['b_pattern'].'.png);
@@ -531,7 +525,7 @@ body {
531
  }'; }
532
 
533
  /*********** AJOUT COMPTEUR SUIVANT LES PARAMETRES *********/
534
- if($paramMMode['active_cpt']==1) {
535
  if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='') {
536
  $Counter = '
537
  <div id="countdown">
@@ -580,12 +574,17 @@ body {
580
  padding: 0;
581
  text-align: '.$paramSocialOption['align'].';
582
  }
 
 
 
583
  .wpm_newletter {
584
  font-size: '.$paramMMode['newletter_size'].'px;
585
  font-style: '.$paramMMode['newletter_font_style'].';
586
  font-weight: '.$paramMMode['newletter_font_weigth'].';
587
  font-family: '.$paramMMode['newletter_font_text'].', serif;
588
- }
 
 
589
  h3 {
590
  font-size: '.$paramMMode['font_title_size'].'px;
591
  font-style: '.$paramMMode['font_title_style'].';
@@ -608,7 +607,7 @@ p {
608
  padding-right:2%;
609
  color:'.$paramMMode['color_txt'].';
610
  }';
611
- if($paramMMode['text_bt_maintenance']!='' or ($paramMMode['add_wplogin']==1 && $paramMMode['add_wplogin_title']!='') ) {
612
  $wpmStyle .= '#footer {
613
  background:'.$paramMMode['color_bg_bottom'].';
614
  }';
6
  * Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours, etc... / The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
7
  * Author: Florent Maillefaud
8
  * Author URI: https://wpmaintenance.shost.ca
9
+ * Version: 2.6.8
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
14
 
15
  /*
16
  Change Log
17
+ 04/12/2015 - Correction notice php (undefined index)
18
  17/09/2015 - Ajout accès au tableau de bord
19
  11/09/2015 - Correction bug CSS Responsive
20
  02/09/2015 - Correction notice php (undefined index)
76
  }
77
 
78
  /* Ajoute la version dans les options */
79
+ define('WPM_VERSION', '2.6.8');
80
  $option['wp_maintenance_version'] = WPM_VERSION;
81
  if( !get_option('wp_maintenance_version') ) {
82
  add_option('wp_maintenance_version', $option);
137
  'text_maintenance' => __('Come back quickly !', 'wp-maintenance'),
138
  'userlimit' => 'administrator',
139
  'image' => WP_PLUGIN_URL.'/wp-maintenance/images/default.png',
140
+ 'font_title' => 'Oxygen',
141
  'font_title_size' => 40,
142
+ 'font_text' => 'Oxygen',
143
  'font_text_size' => 40,
144
+ 'font_text_bottom' => 'Oxygen',
145
  'font_bottom_size' => 12,
146
+ 'font_cpt' => 'Oxygen',
147
  'enable_demo' => 0,
148
  'color_text_button' => '#FFFFFF',
149
  'color_button' => '#1e73be',
156
  'newletter_font_style' => '',
157
  'newletter_font_weigth' => 'normal',
158
  'newletter_font_text' => 20,
159
+ 'font_title_style' => 'normal',
160
+ 'font_text_style' => 'normal',
161
+ 'font_bottom_style' => 'normal',
162
  'title_newletter' => '',
163
  'code_newletter' => '',
164
  'code_analytics' => '',
165
  'domain_analytics' => $_SERVER['SERVER_NAME'],
166
  'text_bt_maintenance' => '',
167
  'add_wplogin' => '',
 
 
 
 
 
 
 
168
  'b_enable_image' => 0,
169
  'disable' => 0,
170
  'pageperso' => 0,
404
  $site_description = get_bloginfo( 'description', 'display' );
405
 
406
  /* Défninition des couleurs par défault */
407
+ if( !isset($paramMMode['color_bg']) || $paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
408
+ if( !isset($paramMMode['color_txt']) || $paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
409
 
410
  /* Date compte à rebours / Convertie en format US */
411
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
442
  } else {
443
  $HeaderCode = '';
444
  }
445
+ if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='top') {
446
  $TopSocialIcons = do_shortcode('[wpm_social]');
447
  } else {
448
  $TopSocialIcons = '';
449
  }
450
+ if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='bottom') {
451
  $BottomSocialIcons = do_shortcode('[wpm_social]');
452
  } else {
453
  $BottomSocialIcons = '';
454
  }
455
+ if( isset($paramMMode['image']) && $paramMMode['image']) {
456
  list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($paramMMode['image']);
457
  $LogoImage = '<div id="logo"><img src="'.$paramMMode['image'].'" width="'.$logoWidth.'" height="'.$logoHeight.'" alt="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" title="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" /></div>';
458
  } else {
459
  $LogoImage = '';
460
  }
461
 
462
+ if( isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='' ) {
463
  $TextCopyright = stripslashes($paramMMode['text_bt_maintenance']);
464
  } else {
465
  $TextCopyright = '';
466
  }
467
+ if( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) {
468
  $textLogin = str_replace('%DASHBOARD%', '<a href="'.get_admin_url().'">'.__('Dashboard', 'wp-maintenance').'</a>', $paramMMode['add_wplogin_title']);
469
  $TextCopyright .= '<br />'.$textLogin;
470
 
471
  }
472
+ if( isset($paramMMode['titre_maintenance']) && $paramMMode['titre_maintenance']!='' ) {
473
  $Titre = stripslashes($paramMMode['titre_maintenance']);
474
  } else {
475
  $Titre = '';
476
  }
477
+ if( isset($paramMMode['text_maintenance']) && $paramMMode['text_maintenance']!='' ) {
478
  $Texte = stripslashes($paramMMode['text_maintenance']);
479
  } else {
480
  $Texte = '';
481
  }
482
  $wysijaStyle = '/* no WYSIJA Style */';
483
+ if( isset($paramMMode['newletter']) && $paramMMode['newletter']==1 && isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' ) {
484
  $nameNl = strpos($paramMMode['code_newletter'], 'wysija_form');
485
  if($nameNl==1) {
486
  //$wysijaStyle = 'STYLEOK';
500
 
501
  $optionBackground = '';
502
  $addBImage = '';
503
+ if( (isset($paramMMode['b_image']) && $paramMMode['b_image']) && (isset($paramMMode['b_enable_image']) && $paramMMode['b_enable_image']==1) ) {
504
+ if( isset($paramMMode['b_repeat_image']) || $paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
505
+ if( isset($paramMMode['b_fixed_image']) && $paramMMode['b_fixed_image']==1 ) {
506
  $optionBackground = 'background-attachment:fixed;';
507
  }
508
  $addBImage = '
516
  '.$optionBackground.'
517
  }';
518
  }
519
+ if( isset($paramMMode['b_pattern']) && $paramMMode['b_pattern']>0 && $paramMMode['b_enable_image']==1) {
520
  $addBImage = '
521
  body {
522
  background-image: url('.WP_PLUGIN_URL.'/wp-maintenance/images/pattern'.$paramMMode['b_pattern'].'.png);
525
  }'; }
526
 
527
  /*********** AJOUT COMPTEUR SUIVANT LES PARAMETRES *********/
528
+ if( isset($paramMMode['active_cpt']) && $paramMMode['active_cpt']==1) {
529
  if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='') {
530
  $Counter = '
531
  <div id="countdown">
574
  padding: 0;
575
  text-align: '.$paramSocialOption['align'].';
576
  }
577
+ ';
578
+ if( isset($paramMMode['newletter_size']) ) {
579
+ $wpmStyle .= '
580
  .wpm_newletter {
581
  font-size: '.$paramMMode['newletter_size'].'px;
582
  font-style: '.$paramMMode['newletter_font_style'].';
583
  font-weight: '.$paramMMode['newletter_font_weigth'].';
584
  font-family: '.$paramMMode['newletter_font_text'].', serif;
585
+ }';
586
+ }
587
+ $wpmStyle .= '
588
  h3 {
589
  font-size: '.$paramMMode['font_title_size'].'px;
590
  font-style: '.$paramMMode['font_title_style'].';
607
  padding-right:2%;
608
  color:'.$paramMMode['color_txt'].';
609
  }';
610
+ if( (isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='') or ( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) ) {
611
  $wpmStyle .= '#footer {
612
  background:'.$paramMMode['color_bg_bottom'].';
613
  }';