Version Description
This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 2.7.7 |
Comparing to | |
See all releases |
Code changes from version 2.7.6 to 2.7.7
- languages/wp-maintenance-fr_FR.mo +0 -0
- languages/wp-maintenance-fr_FR.po +26 -27
- readme.txt +0 -0
- wp-maintenance-admin.php +1 -1
- wp-maintenance.php +13 -6
languages/wp-maintenance-fr_FR.mo
CHANGED
Binary file
|
languages/wp-maintenance-fr_FR.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
"POT-Creation-Date: 2016-04-28 10:21+0200\n"
|
5 |
-
"PO-Revision-Date: 2016-05-
|
6 |
"Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
@@ -26,7 +26,7 @@ msgstr "Feuille de style réinitialisée !"
|
|
26 |
|
27 |
#: wp-maintenance-admin.php:101
|
28 |
msgid "WP Maintenance Settings"
|
29 |
-
msgstr "
|
30 |
|
31 |
#: wp-maintenance-admin.php:106
|
32 |
msgid "General"
|
@@ -95,7 +95,7 @@ msgstr "Activer l'accès au Tableau de bord en bas de page ?"
|
|
95 |
|
96 |
#: wp-maintenance-admin.php:137
|
97 |
msgid "Enter a text to go to the dashboard:"
|
98 |
-
msgstr "
|
99 |
|
100 |
#: wp-maintenance-admin.php:139
|
101 |
msgid "Eg: connect to %DASHBOARD% here!"
|
@@ -115,11 +115,11 @@ msgstr "Activer Google Analytics :"
|
|
115 |
|
116 |
#: wp-maintenance-admin.php:145
|
117 |
msgid "Enter your Google analytics tracking ID here:"
|
118 |
-
msgstr "
|
119 |
|
120 |
#: wp-maintenance-admin.php:147
|
121 |
msgid "Enter your domain URL:"
|
122 |
-
msgstr "
|
123 |
|
124 |
#: wp-maintenance-admin.php:153
|
125 |
msgid "Enable Social Networks:"
|
@@ -127,7 +127,7 @@ msgstr "Activer les icônes des réseaux sociaux :"
|
|
127 |
|
128 |
#: wp-maintenance-admin.php:155
|
129 |
msgid "Enter text for the title icons:"
|
130 |
-
msgstr "
|
131 |
|
132 |
#: wp-maintenance-admin.php:156
|
133 |
msgid "Follow me on"
|
@@ -173,8 +173,7 @@ msgstr "Droite"
|
|
173 |
#: wp-maintenance-admin.php:211
|
174 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
175 |
msgstr ""
|
176 |
-
"Vous avez vos propres icônes ?
|
177 |
-
"ici :"
|
178 |
|
179 |
#: wp-maintenance-admin.php:214
|
180 |
msgid "Reset Social Icon?"
|
@@ -186,17 +185,17 @@ msgstr "Activer l'encart de newletter :"
|
|
186 |
|
187 |
#: wp-maintenance-admin.php:222
|
188 |
msgid "Enter title for the newletter block:"
|
189 |
-
msgstr "
|
190 |
|
191 |
#: wp-maintenance-admin.php:224
|
192 |
msgid "Enter your newletter shortcode here:"
|
193 |
-
msgstr "
|
194 |
|
195 |
#: wp-maintenance-admin.php:231 wp-maintenance-admin.php:401
|
196 |
#: wp-maintenance-admin.php:561 wp-maintenance-admin.php:652
|
197 |
#: wp-maintenance-admin.php:710 wp-maintenance-admin.php:776
|
198 |
msgid "Save this settings"
|
199 |
-
msgstr "Sauvegarder ces
|
200 |
|
201 |
#: wp-maintenance-admin.php:246
|
202 |
msgid "Choice general colors:"
|
@@ -220,7 +219,7 @@ msgstr "Couleur du texte :"
|
|
220 |
|
221 |
#: wp-maintenance-admin.php:255
|
222 |
msgid "Title font settings"
|
223 |
-
msgstr "
|
224 |
|
225 |
#: wp-maintenance-admin.php:269 wp-maintenance-admin.php:290
|
226 |
#: wp-maintenance-admin.php:319 wp-maintenance-admin.php:350
|
@@ -230,7 +229,7 @@ msgstr "Taille :"
|
|
230 |
|
231 |
#: wp-maintenance-admin.php:285 wp-maintenance-admin.php:314
|
232 |
msgid "Text font settings"
|
233 |
-
msgstr "
|
234 |
|
235 |
#: wp-maintenance-admin.php:309
|
236 |
msgid "Choice fonts and colors bottom page:"
|
@@ -258,7 +257,7 @@ msgstr "Couleur du fond du compteur :"
|
|
258 |
|
259 |
#: wp-maintenance-admin.php:345
|
260 |
msgid "Countdown font settings"
|
261 |
-
msgstr "
|
262 |
|
263 |
#: wp-maintenance-admin.php:362
|
264 |
msgid "Choice form color:"
|
@@ -302,7 +301,7 @@ msgstr "Image actuelle : "
|
|
302 |
|
303 |
#: wp-maintenance-admin.php:425 wp-maintenance-admin.php:443
|
304 |
msgid "Enter a URL or upload an image."
|
305 |
-
msgstr "
|
306 |
|
307 |
#: wp-maintenance-admin.php:426 wp-maintenance-admin.php:442
|
308 |
#: wp-maintenance-admin.php:512
|
@@ -323,15 +322,15 @@ msgstr "Image de fond actuelle : "
|
|
323 |
|
324 |
#: wp-maintenance-admin.php:439
|
325 |
msgid "You use this pattern:"
|
326 |
-
msgstr "Vous utilisez ce
|
327 |
|
328 |
#: wp-maintenance-admin.php:444
|
329 |
msgid "Or choose a pattern:"
|
330 |
-
msgstr "Ou choisissez un
|
331 |
|
332 |
#: wp-maintenance-admin.php:448
|
333 |
msgid "NO PATTERN"
|
334 |
-
msgstr "AUCUN
|
335 |
|
336 |
#: wp-maintenance-admin.php:461
|
337 |
msgid "Background picture options"
|
@@ -343,11 +342,11 @@ msgstr "Fixe"
|
|
343 |
|
344 |
#: wp-maintenance-admin.php:473
|
345 |
msgid "Slider image options"
|
346 |
-
msgstr "Options du
|
347 |
|
348 |
#: wp-maintenance-admin.php:474
|
349 |
msgid "Enable Slider"
|
350 |
-
msgstr "Activer le
|
351 |
|
352 |
#: wp-maintenance-admin.php:489
|
353 |
msgid "Speed:"
|
@@ -359,7 +358,7 @@ msgstr "Largeur :"
|
|
359 |
|
360 |
#: wp-maintenance-admin.php:493
|
361 |
msgid "Display Auto Slider:"
|
362 |
-
msgstr "Afficher le
|
363 |
|
364 |
#: wp-maintenance-admin.php:497
|
365 |
msgid "Display button navigation:"
|
@@ -383,7 +382,7 @@ msgstr "Lien :"
|
|
383 |
|
384 |
#: wp-maintenance-admin.php:545
|
385 |
msgid "Delete this slide"
|
386 |
-
msgstr "Supprimer
|
387 |
|
388 |
#: wp-maintenance-admin.php:591
|
389 |
msgid "Enable a countdown ?"
|
@@ -487,14 +486,14 @@ msgstr ""
|
|
487 |
#: wp-maintenance-admin.php:727
|
488 |
msgid "You can use this shortcode to include Google Analytics code:"
|
489 |
msgstr ""
|
490 |
-
"Vous pouvez utiliser ce
|
491 |
"votre page :"
|
492 |
|
493 |
#: wp-maintenance-admin.php:727
|
494 |
msgid "You can use this shortcode to include Social Networks icons:"
|
495 |
msgstr ""
|
496 |
-
"Vous pouvez utiliser ce
|
497 |
-
"
|
498 |
|
499 |
#: wp-maintenance-admin.php:736
|
500 |
msgid "Roles and Capabilities:"
|
@@ -513,8 +512,8 @@ msgid ""
|
|
513 |
"Allow the site to display these IP addresses. Please, enter one IP address "
|
514 |
"by line:"
|
515 |
msgstr ""
|
516 |
-
"Autoriser l'affichage du site à ces adresses IP. Merci
|
517 |
-
"
|
518 |
|
519 |
#: wp-maintenance-admin.php:760
|
520 |
msgid "Header Code:"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
"POT-Creation-Date: 2016-04-28 10:21+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-05-05 16:10+0200\n"
|
6 |
"Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
26 |
|
27 |
#: wp-maintenance-admin.php:101
|
28 |
msgid "WP Maintenance Settings"
|
29 |
+
msgstr "Paramètres WP Maintenance"
|
30 |
|
31 |
#: wp-maintenance-admin.php:106
|
32 |
msgid "General"
|
95 |
|
96 |
#: wp-maintenance-admin.php:137
|
97 |
msgid "Enter a text to go to the dashboard:"
|
98 |
+
msgstr "Entrer une phrase pour aller au tableau de bord :"
|
99 |
|
100 |
#: wp-maintenance-admin.php:139
|
101 |
msgid "Eg: connect to %DASHBOARD% here!"
|
115 |
|
116 |
#: wp-maintenance-admin.php:145
|
117 |
msgid "Enter your Google analytics tracking ID here:"
|
118 |
+
msgstr "Enter votre ID de suivi de Google Analytics ici :"
|
119 |
|
120 |
#: wp-maintenance-admin.php:147
|
121 |
msgid "Enter your domain URL:"
|
122 |
+
msgstr "Entrer votre domain :"
|
123 |
|
124 |
#: wp-maintenance-admin.php:153
|
125 |
msgid "Enable Social Networks:"
|
127 |
|
128 |
#: wp-maintenance-admin.php:155
|
129 |
msgid "Enter text for the title icons:"
|
130 |
+
msgstr "Entrez un texte pour la balise title des icônes :"
|
131 |
|
132 |
#: wp-maintenance-admin.php:156
|
133 |
msgid "Follow me on"
|
173 |
#: wp-maintenance-admin.php:211
|
174 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
175 |
msgstr ""
|
176 |
+
"Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
|
|
|
177 |
|
178 |
#: wp-maintenance-admin.php:214
|
179 |
msgid "Reset Social Icon?"
|
185 |
|
186 |
#: wp-maintenance-admin.php:222
|
187 |
msgid "Enter title for the newletter block:"
|
188 |
+
msgstr "Entrez un titre pour l'encart de la newsletter"
|
189 |
|
190 |
#: wp-maintenance-admin.php:224
|
191 |
msgid "Enter your newletter shortcode here:"
|
192 |
+
msgstr "Entrez le Shortcode de la newletter ici :"
|
193 |
|
194 |
#: wp-maintenance-admin.php:231 wp-maintenance-admin.php:401
|
195 |
#: wp-maintenance-admin.php:561 wp-maintenance-admin.php:652
|
196 |
#: wp-maintenance-admin.php:710 wp-maintenance-admin.php:776
|
197 |
msgid "Save this settings"
|
198 |
+
msgstr "Sauvegarder ces paramètres"
|
199 |
|
200 |
#: wp-maintenance-admin.php:246
|
201 |
msgid "Choice general colors:"
|
219 |
|
220 |
#: wp-maintenance-admin.php:255
|
221 |
msgid "Title font settings"
|
222 |
+
msgstr "Paramètres de la police du titre"
|
223 |
|
224 |
#: wp-maintenance-admin.php:269 wp-maintenance-admin.php:290
|
225 |
#: wp-maintenance-admin.php:319 wp-maintenance-admin.php:350
|
229 |
|
230 |
#: wp-maintenance-admin.php:285 wp-maintenance-admin.php:314
|
231 |
msgid "Text font settings"
|
232 |
+
msgstr "Paramètres de la police du texte"
|
233 |
|
234 |
#: wp-maintenance-admin.php:309
|
235 |
msgid "Choice fonts and colors bottom page:"
|
257 |
|
258 |
#: wp-maintenance-admin.php:345
|
259 |
msgid "Countdown font settings"
|
260 |
+
msgstr "Paramètres de la police du compte à rebours"
|
261 |
|
262 |
#: wp-maintenance-admin.php:362
|
263 |
msgid "Choice form color:"
|
301 |
|
302 |
#: wp-maintenance-admin.php:425 wp-maintenance-admin.php:443
|
303 |
msgid "Enter a URL or upload an image."
|
304 |
+
msgstr "Entrez une url ou uploadez une image."
|
305 |
|
306 |
#: wp-maintenance-admin.php:426 wp-maintenance-admin.php:442
|
307 |
#: wp-maintenance-admin.php:512
|
322 |
|
323 |
#: wp-maintenance-admin.php:439
|
324 |
msgid "You use this pattern:"
|
325 |
+
msgstr "Vous utilisez ce pattern : "
|
326 |
|
327 |
#: wp-maintenance-admin.php:444
|
328 |
msgid "Or choose a pattern:"
|
329 |
+
msgstr "Ou choisissez un pattern de fond :"
|
330 |
|
331 |
#: wp-maintenance-admin.php:448
|
332 |
msgid "NO PATTERN"
|
333 |
+
msgstr "AUCUN PATTERN"
|
334 |
|
335 |
#: wp-maintenance-admin.php:461
|
336 |
msgid "Background picture options"
|
342 |
|
343 |
#: wp-maintenance-admin.php:473
|
344 |
msgid "Slider image options"
|
345 |
+
msgstr "Options du Slider"
|
346 |
|
347 |
#: wp-maintenance-admin.php:474
|
348 |
msgid "Enable Slider"
|
349 |
+
msgstr "Activer le Slider"
|
350 |
|
351 |
#: wp-maintenance-admin.php:489
|
352 |
msgid "Speed:"
|
358 |
|
359 |
#: wp-maintenance-admin.php:493
|
360 |
msgid "Display Auto Slider:"
|
361 |
+
msgstr "Afficher le Slider en auto :"
|
362 |
|
363 |
#: wp-maintenance-admin.php:497
|
364 |
msgid "Display button navigation:"
|
382 |
|
383 |
#: wp-maintenance-admin.php:545
|
384 |
msgid "Delete this slide"
|
385 |
+
msgstr "Supprimer ce slide"
|
386 |
|
387 |
#: wp-maintenance-admin.php:591
|
388 |
msgid "Enable a countdown ?"
|
486 |
#: wp-maintenance-admin.php:727
|
487 |
msgid "You can use this shortcode to include Google Analytics code:"
|
488 |
msgstr ""
|
489 |
+
"Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
|
490 |
"votre page :"
|
491 |
|
492 |
#: wp-maintenance-admin.php:727
|
493 |
msgid "You can use this shortcode to include Social Networks icons:"
|
494 |
msgstr ""
|
495 |
+
"Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
|
496 |
+
"sur votre page :"
|
497 |
|
498 |
#: wp-maintenance-admin.php:736
|
499 |
msgid "Roles and Capabilities:"
|
512 |
"Allow the site to display these IP addresses. Please, enter one IP address "
|
513 |
"by line:"
|
514 |
msgstr ""
|
515 |
+
"Autoriser l'affichage du site à ces adresses IP. Merci d'entrer 1 adresse IP "
|
516 |
+
"par ligne : "
|
517 |
|
518 |
#: wp-maintenance-admin.php:760
|
519 |
msgid "Header Code:"
|
readme.txt
CHANGED
Binary file
|
wp-maintenance-admin.php
CHANGED
@@ -794,7 +794,7 @@ if( isset($_POST['wpm_initcss']) && $_POST['wpm_initcss']==1) {
|
|
794 |
</li>
|
795 |
<li> </li>
|
796 |
<li>
|
797 |
-
<?php _e('Visit', 'wp-maintenance'); ?> <a href="https://wpmaintenance.
|
798 |
</li>
|
799 |
<li> </li>
|
800 |
<li>
|
794 |
</li>
|
795 |
<li> </li>
|
796 |
<li>
|
797 |
+
<?php _e('Visit', 'wp-maintenance'); ?> <a href="https://wpmaintenance.info" target="_blank">WP Maintenance</a>, <?php _e('try the demo of the plugin, talk about this plugin to your surroundings!', 'wp-maintenance'); ?>
|
798 |
</li>
|
799 |
<li> </li>
|
800 |
<li>
|
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://wpmaintenance.info
|
9 |
-
* Version: 2.7.
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
@@ -14,6 +14,7 @@
|
|
14 |
|
15 |
/*
|
16 |
Change Log
|
|
|
17 |
01/06/2016 - Bug sur les Google Fonts résolu
|
18 |
02/05/2016 - Retrait du template html et file_get_content
|
19 |
28/04/2016 - Prêt pour WordPress 4.5.1 / Ajout d'un icon de réseaux sociaux.
|
@@ -81,7 +82,7 @@ add_action( 'init', 'wpm_date_picker' );
|
|
81 |
function wpm_date_picker() {
|
82 |
wp_enqueue_script( 'jquery' );
|
83 |
wp_enqueue_script('jquery-ui-datepicker');
|
84 |
-
wp_enqueue_style('jquery-style', '
|
85 |
|
86 |
}
|
87 |
|
@@ -92,7 +93,7 @@ function wpm_make_multilang() {
|
|
92 |
}
|
93 |
|
94 |
/* Ajoute la version dans les options */
|
95 |
-
define('WPM_VERSION', '2.7.
|
96 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
97 |
if( !get_option('wp_maintenance_version') ) {
|
98 |
add_option('wp_maintenance_version', $option);
|
@@ -279,7 +280,7 @@ function wpm_enqueue_color_picker( $hook_suffix ) {
|
|
279 |
|
280 |
function wpm_admin_styles() {
|
281 |
wp_enqueue_style('thickbox');
|
282 |
-
wp_enqueue_style('jquery-style', '
|
283 |
}
|
284 |
|
285 |
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
|
@@ -656,7 +657,13 @@ function wpm_maintenance_mode() {
|
|
656 |
$BottomSocialIcons = '';
|
657 |
}
|
658 |
if( isset($paramMMode['image']) && $paramMMode['image'] ) {
|
659 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
$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>';
|
661 |
} else {
|
662 |
$LogoImage = '';
|
@@ -927,7 +934,7 @@ $wpmStyle .= '
|
|
927 |
|
928 |
';
|
929 |
$addScriptSlider = '
|
930 |
-
<script src="
|
931 |
<script src="'.WP_PLUGIN_URL.'/wp-maintenance/js/wpm-responsiveslides.min.js"></script>';
|
932 |
$addScriptSlideshow = '
|
933 |
<script>
|
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://wpmaintenance.info
|
9 |
+
* Version: 2.7.7
|
10 |
* Text Domain: wp-maintenance
|
11 |
* Domain Path: /languages/
|
12 |
*/
|
14 |
|
15 |
/*
|
16 |
Change Log
|
17 |
+
24/06/2016 - Bug HTTPS résolu
|
18 |
01/06/2016 - Bug sur les Google Fonts résolu
|
19 |
02/05/2016 - Retrait du template html et file_get_content
|
20 |
28/04/2016 - Prêt pour WordPress 4.5.1 / Ajout d'un icon de réseaux sociaux.
|
82 |
function wpm_date_picker() {
|
83 |
wp_enqueue_script( 'jquery' );
|
84 |
wp_enqueue_script('jquery-ui-datepicker');
|
85 |
+
wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
|
86 |
|
87 |
}
|
88 |
|
93 |
}
|
94 |
|
95 |
/* Ajoute la version dans les options */
|
96 |
+
define('WPM_VERSION', '2.7.7');
|
97 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
98 |
if( !get_option('wp_maintenance_version') ) {
|
99 |
add_option('wp_maintenance_version', $option);
|
280 |
|
281 |
function wpm_admin_styles() {
|
282 |
wp_enqueue_style('thickbox');
|
283 |
+
wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
|
284 |
}
|
285 |
|
286 |
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
|
657 |
$BottomSocialIcons = '';
|
658 |
}
|
659 |
if( isset($paramMMode['image']) && $paramMMode['image'] ) {
|
660 |
+
if( ini_get('allow_url_fopen')==1) {
|
661 |
+
$image_path = str_replace(get_bloginfo('url'), ABSPATH, $paramMMode['image']);
|
662 |
+
list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($image_path);
|
663 |
+
} else {
|
664 |
+
$width = 150;
|
665 |
+
$height = 80;
|
666 |
+
}
|
667 |
$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>';
|
668 |
} else {
|
669 |
$LogoImage = '';
|
934 |
|
935 |
';
|
936 |
$addScriptSlider = '
|
937 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
938 |
<script src="'.WP_PLUGIN_URL.'/wp-maintenance/js/wpm-responsiveslides.min.js"></script>';
|
939 |
$addScriptSlideshow = '
|
940 |
<script>
|