Version Description
Cette version est stable / This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 2.5.6 |
Comparing to | |
See all releases |
Code changes from version 2.5.5 to 2.5.6
- readme.txt +5 -2
- wp-maintenance.php +17 -5
- wpm_fonctions.php +2 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: wordpress maintenance plugin
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -65,11 +65,14 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
|
|
65 |
|
66 |
== Upgrade Notice ==
|
67 |
|
68 |
-
= 2.5.
|
69 |
Cette version est stable / This version is stable
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
73 |
= 2.5.5 =
|
74 |
* Résolution de divers bugs CSS Responsive / Fixed various CSS bugs responsive mode
|
75 |
|
4 |
Tags: wordpress maintenance plugin
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 2.5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
65 |
|
66 |
== Upgrade Notice ==
|
67 |
|
68 |
+
= 2.5.6 =
|
69 |
Cette version est stable / This version is stable
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 2.5.6 =
|
74 |
+
* Résolution d'un bug sur le message de fin du compteur / Fixed a bug on the end of message counter
|
75 |
+
|
76 |
= 2.5.5 =
|
77 |
* Résolution de divers bugs CSS Responsive / Fixed various CSS bugs responsive mode
|
78 |
|
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: http://www.restezconnectes.fr/
|
9 |
-
* Version: 2.5.
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
@@ -14,6 +14,7 @@
|
|
14 |
|
15 |
/*
|
16 |
Change Log
|
|
|
17 |
16/04/2015 - Résolution de divers bug CSS
|
18 |
28/03/2015 - Résolution de divers bug CSS Responsive
|
19 |
25/03/2015 - Résolution de divers bug CSS
|
@@ -494,6 +495,15 @@ body {
|
|
494 |
max-width: 100%;
|
495 |
height: auto;
|
496 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
497 |
|
498 |
@media screen and (min-width: 200px) and (max-width: 480px) {
|
499 |
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
@@ -542,7 +552,7 @@ body {
|
|
542 |
<div id="intro" class="block"><h3>'.stripslashes($paramMMode['titre_maintenance']).'</h3><p>'.stripslashes($paramMMode['text_maintenance']).'</p></div>';
|
543 |
if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='' && $paramMMode['active_cpt']==1) {
|
544 |
$content .='
|
545 |
-
<div
|
546 |
<script language="JavaScript">
|
547 |
TargetDate = "'.$dateCpt.'";
|
548 |
BackColor = "'.$paramMMode['color_cpt_bg'].'";
|
@@ -558,9 +568,10 @@ body {
|
|
558 |
if($paramMMode['active_cpt_s']==1) {
|
559 |
$content .= '<div id="cptR-seconds">%%S%%<br /><span id="cptR-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
|
560 |
}
|
561 |
-
$content .= "';
|
562 |
-
|
563 |
-
|
|
|
564 |
$content .= '
|
565 |
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
566 |
</div>';
|
@@ -584,6 +595,7 @@ body {
|
|
584 |
if($paramMMode['text_bt_maintenance']!='') {
|
585 |
$content .= '<div id="wpm_footer"><div class="clear"><p class="wpm_copyright">'.stripslashes($paramMMode['text_bt_maintenance']).'</p></div></div>';
|
586 |
}
|
|
|
587 |
$content .= '
|
588 |
</body>
|
589 |
</html>';
|
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: http://www.restezconnectes.fr/
|
9 |
+
* Version: 2.5.6
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
14 |
|
15 |
/*
|
16 |
Change Log
|
17 |
+
18/04/2015 - Fixed a bug on the end of message counter
|
18 |
16/04/2015 - Résolution de divers bug CSS
|
19 |
28/03/2015 - Résolution de divers bug CSS Responsive
|
20 |
25/03/2015 - Résolution de divers bug CSS
|
495 |
max-width: 100%;
|
496 |
height: auto;
|
497 |
}
|
498 |
+
.clear { clear:both; }
|
499 |
+
#main #countdown {
|
500 |
+
clear:both;
|
501 |
+
margin-left:auto;
|
502 |
+
margin-right:auto;
|
503 |
+
text-align: center;
|
504 |
+
margin-top:30px;
|
505 |
+
/*min-height:150px;*/
|
506 |
+
}
|
507 |
|
508 |
@media screen and (min-width: 200px) and (max-width: 480px) {
|
509 |
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
552 |
<div id="intro" class="block"><h3>'.stripslashes($paramMMode['titre_maintenance']).'</h3><p>'.stripslashes($paramMMode['text_maintenance']).'</p></div>';
|
553 |
if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='' && $paramMMode['active_cpt']==1) {
|
554 |
$content .='
|
555 |
+
<div id="countdown">
|
556 |
<script language="JavaScript">
|
557 |
TargetDate = "'.$dateCpt.'";
|
558 |
BackColor = "'.$paramMMode['color_cpt_bg'].'";
|
568 |
if($paramMMode['active_cpt_s']==1) {
|
569 |
$content .= '<div id="cptR-seconds">%%S%%<br /><span id="cptR-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
|
570 |
}
|
571 |
+
$content .= "';";
|
572 |
+
$content .='
|
573 |
+
FinishMessage = "'.stripslashes($paramMMode['message_cpt_fin']).'";
|
574 |
+
</script>';
|
575 |
$content .= '
|
576 |
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
577 |
</div>';
|
595 |
if($paramMMode['text_bt_maintenance']!='') {
|
596 |
$content .= '<div id="wpm_footer"><div class="clear"><p class="wpm_copyright">'.stripslashes($paramMMode['text_bt_maintenance']).'</p></div></div>';
|
597 |
}
|
598 |
+
|
599 |
$content .= '
|
600 |
</body>
|
601 |
</html>';
|
wpm_fonctions.php
CHANGED
@@ -219,6 +219,7 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
|
|
219 |
}
|
220 |
#content {
|
221 |
height: 100%;
|
|
|
222 |
}
|
223 |
#wpm_footer {
|
224 |
width: 100%;
|
@@ -229,7 +230,7 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
|
|
229 |
color:#_COLOR_TXT_BT;
|
230 |
padding-top:10px;
|
231 |
padding-bottom: 10px;
|
232 |
-
margin-top:
|
233 |
font-size: 12px;
|
234 |
position: absolute;
|
235 |
text-align: center;
|
219 |
}
|
220 |
#content {
|
221 |
height: 100%;
|
222 |
+
clear: both;
|
223 |
}
|
224 |
#wpm_footer {
|
225 |
width: 100%;
|
230 |
color:#_COLOR_TXT_BT;
|
231 |
padding-top:10px;
|
232 |
padding-bottom: 10px;
|
233 |
+
margin-top: 15px;
|
234 |
font-size: 12px;
|
235 |
position: absolute;
|
236 |
text-align: center;
|