Version Description
Cette version est stable / This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 2.0
- default.png → images/default.png +0 -0
- jquery.sortable.js +3 -3
- languages/wp-maintenance-fr_FR.mo +0 -0
- languages/wp-maintenance-fr_FR.po +128 -188
- languages/wp-maintenance.pot +129 -189
- readme.txt +134 -131
- uninstall.php +16 -16
- wp-maintenance-admin.php +564 -624
- wp-maintenance.php +534 -622
- wpm-admin-settings.js +30 -30
- wpm-color-options.js +18 -18
- wpm-cpt-script.js +87 -87
- wpm-script.js +66 -66
- wpm_fonctions.php +279 -0
default.png → images/default.png
RENAMED
File without changes
|
jquery.sortable.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
/* HTML5 Sortable (http://farhadi.ir/projects/html5sortable)
|
2 |
-
* Released under the MIT license.
|
3 |
-
*/(function(a){var b,c=a();a.fn.sortable=function(d){var e=String(d);return d=a.extend({connectWith:!1},d),this.each(function(){if(/^enable|disable|destroy$/.test(e)){var f=a(this).children(a(this).data("items")).attr("draggable",e=="enable");e=="destroy"&&f.add(this).removeData("connectWith items").off("dragstart.h5s dragend.h5s selectstart.h5s dragover.h5s dragenter.h5s drop.h5s");return}var g,h,f=a(this).children(d.items),i=a("<"+(/^ul|ol$/i.test(this.tagName)?"li":"div")+' class="sortable-placeholder">');f.find(d.handle).mousedown(function(){g=!0}).mouseup(function(){g=!1}),a(this).data("items",d.items),c=c.add(i),d.connectWith&&a(d.connectWith).add(this).data("connectWith",d.connectWith),f.attr("draggable","true").on("dragstart.h5s",function(c){if(d.handle&&!g)return!1;g=!1;var e=c.originalEvent.dataTransfer;e.effectAllowed="move",e.setData("Text","dummy"),h=(b=a(this)).addClass("sortable-dragging").index()}).on("dragend.h5s",function(){b.removeClass("sortable-dragging").show(),c.detach(),h!=b.index()&&f.parent().trigger("sortupdate",{item:b}),b=null}).not("a[href], img").on("selectstart.h5s",function(){return this.dragDrop&&this.dragDrop(),!1}).end().add([this,i]).on("dragover.h5s dragenter.h5s drop.h5s",function(e){return!f.is(b)&&d.connectWith!==a(b).parent().data("connectWith")?!0:e.type=="drop"?(e.stopPropagation(),c.filter(":visible").after(b),!1):(e.preventDefault(),e.originalEvent.dataTransfer.dropEffect="move",f.is(this)?(d.forcePlaceholderSize&&i.height(b.outerHeight()),b.hide(),a(this)[i.index()<a(this).index()?"after":"before"](i),c.not(i).detach()):!c.is(this)&&!a(this).children(d.items).length&&(c.detach(),a(this).append(i)),!1)})})}})(jQuery);
|
1 |
+
/* HTML5 Sortable (http://farhadi.ir/projects/html5sortable)
|
2 |
+
* Released under the MIT license.
|
3 |
+
*/(function(a){var b,c=a();a.fn.sortable=function(d){var e=String(d);return d=a.extend({connectWith:!1},d),this.each(function(){if(/^enable|disable|destroy$/.test(e)){var f=a(this).children(a(this).data("items")).attr("draggable",e=="enable");e=="destroy"&&f.add(this).removeData("connectWith items").off("dragstart.h5s dragend.h5s selectstart.h5s dragover.h5s dragenter.h5s drop.h5s");return}var g,h,f=a(this).children(d.items),i=a("<"+(/^ul|ol$/i.test(this.tagName)?"li":"div")+' class="sortable-placeholder">');f.find(d.handle).mousedown(function(){g=!0}).mouseup(function(){g=!1}),a(this).data("items",d.items),c=c.add(i),d.connectWith&&a(d.connectWith).add(this).data("connectWith",d.connectWith),f.attr("draggable","true").on("dragstart.h5s",function(c){if(d.handle&&!g)return!1;g=!1;var e=c.originalEvent.dataTransfer;e.effectAllowed="move",e.setData("Text","dummy"),h=(b=a(this)).addClass("sortable-dragging").index()}).on("dragend.h5s",function(){b.removeClass("sortable-dragging").show(),c.detach(),h!=b.index()&&f.parent().trigger("sortupdate",{item:b}),b=null}).not("a[href], img").on("selectstart.h5s",function(){return this.dragDrop&&this.dragDrop(),!1}).end().add([this,i]).on("dragover.h5s dragenter.h5s drop.h5s",function(e){return!f.is(b)&&d.connectWith!==a(b).parent().data("connectWith")?!0:e.type=="drop"?(e.stopPropagation(),c.filter(":visible").after(b),!1):(e.preventDefault(),e.originalEvent.dataTransfer.dropEffect="move",f.is(this)?(d.forcePlaceholderSize&&i.height(b.outerHeight()),b.hide(),a(this)[i.index()<a(this).index()?"after":"before"](i),c.not(i).detach()):!c.is(this)&&!a(this).children(d.items).length&&(c.detach(),a(this).append(i)),!1)})})}})(jQuery);
|
languages/wp-maintenance-fr_FR.mo
CHANGED
Binary file
|
languages/wp-maintenance-fr_FR.po
CHANGED
@@ -1,344 +1,305 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
|
18 |
-
#: C:\wamp\www\www\
|
19 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:16
|
20 |
msgid "Options saved."
|
21 |
msgstr "Options sauvegardées."
|
22 |
|
23 |
-
#: C:\wamp\www\www\
|
24 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:216
|
25 |
msgid "General"
|
26 |
msgstr "Général"
|
27 |
|
28 |
-
#: C:\wamp\www\www\
|
29 |
-
|
30 |
-
|
31 |
-
msgstr "Couleurs"
|
32 |
|
33 |
-
#: C:\wamp\www\www\
|
34 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:218
|
35 |
msgid "Picture"
|
36 |
msgstr "Image"
|
37 |
|
38 |
-
#: C:\wamp\www\www\
|
39 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:219
|
40 |
msgid "CountDown"
|
41 |
msgstr "Compte à rebours"
|
42 |
|
43 |
-
#: C:\wamp\www\www\
|
44 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:220
|
45 |
msgid "CSS Style"
|
46 |
msgstr "Style CSS"
|
47 |
|
48 |
-
#: C:\wamp\www\www\
|
49 |
-
#:
|
50 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:48
|
51 |
msgid "Settings"
|
52 |
msgstr "Réglages"
|
53 |
|
54 |
-
#: C:\wamp\www\www\
|
55 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:222
|
56 |
msgid "About"
|
57 |
msgstr "A propos"
|
58 |
|
59 |
-
#: C:\wamp\www\www\
|
60 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:236
|
61 |
msgid "Enable maintenance mode:"
|
62 |
msgstr "Activer le mode maintenance :"
|
63 |
|
64 |
-
#: C:\wamp\www\www\
|
65 |
-
#:
|
66 |
-
#:
|
67 |
-
#:
|
68 |
-
#:
|
69 |
-
#:
|
70 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:554
|
71 |
msgid "Yes"
|
72 |
msgstr "Oui"
|
73 |
|
74 |
-
#: C:\wamp\www\www\
|
75 |
-
#:
|
76 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:555
|
77 |
msgid "No"
|
78 |
msgstr "Non"
|
79 |
|
80 |
-
#: C:\wamp\www\www\
|
81 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:242
|
82 |
msgid "Title and text for the maintenance page:"
|
83 |
msgstr "Titre et Texte de la page maintenance :"
|
84 |
|
85 |
-
#: C:\wamp\www\www\
|
86 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:243
|
87 |
msgid "Title:"
|
88 |
msgstr "Titre :"
|
89 |
|
90 |
-
#: C:\wamp\www\www\
|
91 |
-
#:
|
92 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:246
|
93 |
msgid "Text:"
|
94 |
msgstr "Texte :"
|
95 |
|
96 |
-
#: C:\wamp\www\www\
|
97 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:245
|
98 |
msgid "Text in the bottom of maintenance page:"
|
99 |
msgstr "Texte du bas de page :"
|
100 |
|
101 |
-
#: C:\wamp\www\www\
|
102 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:250
|
103 |
msgid "Enable Google Analytics:"
|
104 |
msgstr "Activer Google Analytics :"
|
105 |
|
106 |
-
#: C:\wamp\www\www\
|
107 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:252
|
108 |
msgid "Enter your Google analytics tracking ID here:"
|
109 |
msgstr "Enter votre ID de suivi de Google Analytics ici :"
|
110 |
|
111 |
-
#: C:\wamp\www\www\
|
112 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:254
|
113 |
msgid "Enter your domain URL:"
|
114 |
msgstr "Entrer votre domain :"
|
115 |
|
116 |
-
#: C:\wamp\www\www\
|
117 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:260
|
118 |
msgid "Enable Social Networks:"
|
119 |
msgstr "Activer les icônes des réseaux sociaux :"
|
120 |
|
121 |
-
#: C:\wamp\www\www\
|
122 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:262
|
123 |
msgid "Enter text for the title icons:"
|
124 |
msgstr "Entrez un texte pour la balise title des icônes :"
|
125 |
|
126 |
-
#: C:\wamp\www\www\
|
127 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:263
|
128 |
msgid "Follow me on"
|
129 |
msgstr "Suivez-moi sur"
|
130 |
|
131 |
-
#: C:\wamp\www\www\
|
132 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:265
|
133 |
msgid "Drad and drop the lines to put in the order you want:"
|
134 |
msgstr ""
|
135 |
"Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
|
136 |
|
137 |
-
#: C:\wamp\www\www\
|
138 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:287
|
139 |
msgid "Choose icons size:"
|
140 |
msgstr "Choisissez la taille des icônes :"
|
141 |
|
142 |
-
#: C:\wamp\www\www\
|
143 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:298
|
144 |
msgid "Position:"
|
145 |
msgstr "Position :"
|
146 |
|
147 |
-
#: C:\wamp\www\www\
|
148 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:300
|
149 |
msgid "Top"
|
150 |
msgstr "Haut"
|
151 |
|
152 |
-
#: C:\wamp\www\www\
|
153 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:301
|
154 |
msgid "Bottom"
|
155 |
msgstr "Bas"
|
156 |
|
157 |
-
#: C:\wamp\www\www\
|
158 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:305
|
159 |
msgid "Align:"
|
160 |
msgstr "Alignement :"
|
161 |
|
162 |
-
#: C:\wamp\www\www\
|
163 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:307
|
164 |
msgid "Left"
|
165 |
msgstr "Gauche"
|
166 |
|
167 |
-
#: C:\wamp\www\www\
|
168 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:308
|
169 |
msgid "Center"
|
170 |
msgstr "Centre"
|
171 |
|
172 |
-
#: C:\wamp\www\www\
|
173 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:309
|
174 |
msgid "Right"
|
175 |
msgstr "Droite"
|
176 |
|
177 |
-
#: C:\wamp\www\www\
|
178 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:312
|
179 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
180 |
msgstr ""
|
181 |
"Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
|
182 |
|
183 |
-
#: C:\wamp\www\www\
|
184 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:318
|
185 |
msgid "Enable Newletter:"
|
186 |
msgstr "Activer l'encart de newletter :"
|
187 |
|
188 |
-
#: C:\wamp\www\www\
|
189 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:320
|
190 |
msgid "Enter your newletter shortcode here:"
|
191 |
msgstr "Entrez le Shortcode de la newletter ici :"
|
192 |
|
193 |
-
#: C:\wamp\www\www\
|
194 |
-
#:
|
195 |
-
#:
|
196 |
-
#:
|
197 |
-
#:
|
198 |
-
#:
|
199 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:578
|
200 |
msgid "Save this settings"
|
201 |
msgstr "Sauvegarder ces paramètres"
|
202 |
|
203 |
-
#: C:\wamp\www\www\
|
204 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:339
|
205 |
msgid "Choice texts colors:"
|
206 |
msgstr "Choix des couleurs des textes :"
|
207 |
|
208 |
-
#: C:\wamp\www\www\
|
209 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:341
|
210 |
msgid "Background page color:"
|
211 |
msgstr "Couleur du fond de page :"
|
212 |
|
213 |
-
#: C:\wamp\www\www\
|
214 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:342
|
215 |
msgid "Text color:"
|
216 |
msgstr "Couleur du texte :"
|
217 |
|
218 |
-
#: C:\wamp\www\www\
|
219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
msgid "Choice countdown colors:"
|
221 |
msgstr "Choix des couleurs du compte à rebours :"
|
222 |
|
223 |
-
#: C:\wamp\www\www\
|
224 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:344
|
225 |
msgid "Countdown text color:"
|
226 |
msgstr "Couleur du texte du compteur :"
|
227 |
|
228 |
-
#: C:\wamp\www\www\
|
229 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:346
|
230 |
msgid "Countdown background color:"
|
231 |
msgstr "Couleur du fond du compteur :"
|
232 |
|
233 |
-
#: C:\wamp\www\www\
|
234 |
-
|
|
|
|
|
|
|
235 |
msgid "Choice texts bottom colors:"
|
236 |
msgstr "Choix des couleurs du bas de page :"
|
237 |
|
238 |
-
#: C:\wamp\www\www\
|
239 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:350
|
240 |
msgid "Bottom color:"
|
241 |
msgstr "Couleur du fond :"
|
242 |
|
243 |
-
#: C:\wamp\www\www\
|
244 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:351
|
245 |
msgid "Text bottom color:"
|
246 |
msgstr "Couleur du texte :"
|
247 |
|
248 |
-
#: C:\wamp\www\www\
|
249 |
-
|
|
|
|
|
|
|
250 |
msgid "Upload a picture"
|
251 |
msgstr "Uploader une image"
|
252 |
|
253 |
-
#: C:\wamp\www\www\
|
254 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:370
|
255 |
msgid "You use this picture:"
|
256 |
msgstr "Image actuelle : "
|
257 |
|
258 |
-
#: C:\wamp\www\www\
|
259 |
-
#:
|
260 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:388
|
261 |
msgid "Select or Upload your picture"
|
262 |
msgstr "Sélectionnez / Uploader votre image"
|
263 |
|
264 |
-
#: C:\wamp\www\www\
|
265 |
-
#:
|
266 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:389
|
267 |
msgid "Enter a URL or upload an image."
|
268 |
msgstr "Entrez une url ou uploader une image."
|
269 |
|
270 |
-
#: C:\wamp\www\www\
|
271 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:378
|
272 |
msgid "Upload a background picture"
|
273 |
msgstr "Uploader une image de fond"
|
274 |
|
275 |
-
#: C:\wamp\www\www\
|
276 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:379
|
277 |
msgid "Enable image background"
|
278 |
msgstr "Activer l'image de fond"
|
279 |
|
280 |
-
#: C:\wamp\www\www\
|
281 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:381
|
282 |
msgid "You use this background picture:"
|
283 |
msgstr "Image de fond actuelle : "
|
284 |
|
285 |
-
#: C:\wamp\www\www\
|
286 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:385
|
287 |
msgid "You use this pattern:"
|
288 |
msgstr "Vous utilisez ce pattern : "
|
289 |
|
290 |
-
#: C:\wamp\www\www\
|
291 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:390
|
292 |
msgid "Or choose a pattern:"
|
293 |
msgstr "Ou choisissez un pattern de fond :"
|
294 |
|
295 |
-
#: C:\wamp\www\www\
|
296 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:406
|
297 |
msgid "Background picture options"
|
298 |
msgstr "Options de l'image de fond"
|
299 |
|
300 |
-
#: C:\wamp\www\www\
|
301 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:413
|
302 |
msgid "Fixed"
|
303 |
msgstr "Fixe"
|
304 |
|
305 |
-
#: C:\wamp\www\www\
|
306 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:431
|
307 |
msgid "Enable a countdown ?"
|
308 |
msgstr "Activer le compte à rebours ?"
|
309 |
|
310 |
-
#: C:\wamp\www\www\
|
311 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:433
|
312 |
msgid "Enter the launch date"
|
313 |
msgstr "Entrez la date de lancement"
|
314 |
|
315 |
-
#: C:\wamp\www\www\
|
316 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:466
|
317 |
msgid "Enable seconds ?"
|
318 |
msgstr "Afficher les secondes ?"
|
319 |
|
320 |
-
#: C:\wamp\www\www\
|
321 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:467
|
322 |
msgid "Disable maintenance mode at the end of the countdown?"
|
323 |
msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
|
324 |
|
325 |
-
#: C:\wamp\www\www\
|
326 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
|
327 |
msgid "End message:"
|
328 |
msgstr "Message de fin :"
|
329 |
|
330 |
-
#: C:\wamp\www\www\
|
331 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
|
332 |
msgid "Font size:"
|
333 |
msgstr "Taille de la police :"
|
334 |
|
335 |
-
#: C:\wamp\www\www\
|
336 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:496
|
337 |
msgid "CSS style sheet code:"
|
338 |
msgstr "Code style CSS :"
|
339 |
|
340 |
-
#: C:\wamp\www\www\
|
341 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:497
|
342 |
msgid ""
|
343 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
344 |
"\" to retrieve the default style sheet."
|
@@ -346,80 +307,66 @@ msgstr ""
|
|
346 |
"Editer le code CSS de votre page de maintenance ici. Cliquez sur "
|
347 |
"\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
|
348 |
|
349 |
-
#: C:\wamp\www\www\
|
350 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:505
|
351 |
msgid "Markers for colors"
|
352 |
msgstr "Marqueurs pour les couleurs"
|
353 |
|
354 |
-
#: C:\wamp\www\www\
|
355 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:510
|
356 |
msgid "Use this code for text color"
|
357 |
msgstr "Utiliser ce code pour la couleur du texte"
|
358 |
|
359 |
-
#: C:\wamp\www\www\
|
360 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:514
|
361 |
msgid "Use this code for background text color"
|
362 |
msgstr "Utiliser ce code pour la couleur de fond du texte"
|
363 |
|
364 |
-
#: C:\wamp\www\www\
|
365 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:518
|
366 |
msgid "Use this code for background color countdown"
|
367 |
msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
|
368 |
|
369 |
-
#: C:\wamp\www\www\
|
370 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:522
|
371 |
msgid "Use this code for size countdown"
|
372 |
msgstr "Utiliser ce code pour la taille du compte à rebours"
|
373 |
|
374 |
-
#: C:\wamp\www\www\
|
375 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:526
|
376 |
msgid "Use this code for countdown color"
|
377 |
msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
|
378 |
|
379 |
-
#: C:\wamp\www\www\
|
380 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:535
|
381 |
msgid "Reset default CSS stylesheet ?"
|
382 |
msgstr "Réinitialiser la feuille de style ?"
|
383 |
|
384 |
-
#: C:\wamp\www\www\
|
385 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:552
|
386 |
msgid "Theme maintenance page:"
|
387 |
msgstr "Page maintenance du thème :"
|
388 |
|
389 |
-
#: C:\wamp\www\www\
|
390 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:553
|
391 |
msgid ""
|
392 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
393 |
msgstr ""
|
394 |
"Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
|
395 |
"votre thème, cliquez sur Oui."
|
396 |
|
397 |
-
#: C:\wamp\www\www\
|
398 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:556
|
399 |
msgid "You can use this shortcode to include Google Analytics code:"
|
400 |
msgstr ""
|
401 |
"Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
|
402 |
"votre page :"
|
403 |
|
404 |
-
#: C:\wamp\www\www\
|
405 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:556
|
406 |
msgid "You can use this shortcode to include Social Networks icons:"
|
407 |
msgstr ""
|
408 |
"Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
|
409 |
"sur votre page :"
|
410 |
|
411 |
-
#: C:\wamp\www\www\
|
412 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:560
|
413 |
msgid "Roles and Capabilities:"
|
414 |
msgstr "Rôles et capacités :"
|
415 |
|
416 |
-
#: C:\wamp\www\www\
|
417 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:561
|
418 |
msgid "Allow the site to display these roles:"
|
419 |
msgstr "Autoriser l'affichage du site à ces rôles :"
|
420 |
|
421 |
-
#: C:\wamp\www\www\
|
422 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:594
|
423 |
msgid ""
|
424 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
425 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
@@ -434,45 +381,38 @@ msgstr ""
|
|
434 |
"retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
|
435 |
"tous."
|
436 |
|
437 |
-
#: C:\wamp\www\www\
|
438 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:599
|
439 |
msgid ""
|
440 |
"If you want Donate (French Paypal) for my current and future developments:"
|
441 |
msgstr ""
|
442 |
"Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
|
443 |
|
444 |
-
#: C:\wamp\www\www\
|
445 |
-
#:
|
446 |
msgid "This site is down for maintenance"
|
447 |
msgstr "Ce site est en maintenance"
|
448 |
|
449 |
-
#: C:\wamp\www\www\
|
450 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:269
|
451 |
msgid "Choose This Image"
|
452 |
msgstr "Choisir cette image"
|
453 |
|
454 |
-
#: C:\wamp\www\www\
|
455 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:270
|
456 |
msgid "Choose Image"
|
457 |
msgstr "Choisissez une image"
|
458 |
|
459 |
-
#: C:\wamp\www\www\
|
460 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
461 |
msgid "Days"
|
462 |
msgstr "Jours"
|
463 |
|
464 |
-
#: C:\wamp\www\www\
|
465 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
466 |
msgid "Hours"
|
467 |
msgstr "Heures"
|
468 |
|
469 |
-
#: C:\wamp\www\www\
|
470 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
471 |
msgid "Minutes"
|
472 |
msgstr "Minutes"
|
473 |
|
474 |
-
#: C:\wamp\www\www\
|
475 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:554
|
476 |
msgid "Seconds"
|
477 |
msgstr "Secondes"
|
478 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-08-09 15:52+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-09 15:54+0100\n"
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.5\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
|
18 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:16
|
|
|
19 |
msgid "Options saved."
|
20 |
msgstr "Options sauvegardées."
|
21 |
|
22 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:232
|
|
|
23 |
msgid "General"
|
24 |
msgstr "Général"
|
25 |
|
26 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:233
|
27 |
+
msgid "Colors & Fonts"
|
28 |
+
msgstr "Couleurs et Fonts"
|
|
|
29 |
|
30 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:234
|
|
|
31 |
msgid "Picture"
|
32 |
msgstr "Image"
|
33 |
|
34 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:235
|
|
|
35 |
msgid "CountDown"
|
36 |
msgstr "Compte à rebours"
|
37 |
|
38 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:236
|
|
|
39 |
msgid "CSS Style"
|
40 |
msgstr "Style CSS"
|
41 |
|
42 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:237
|
43 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:52
|
|
|
44 |
msgid "Settings"
|
45 |
msgstr "Réglages"
|
46 |
|
47 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:238
|
|
|
48 |
msgid "About"
|
49 |
msgstr "A propos"
|
50 |
|
51 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:252
|
|
|
52 |
msgid "Enable maintenance mode:"
|
53 |
msgstr "Activer le mode maintenance :"
|
54 |
|
55 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:253
|
56 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:267
|
57 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:277
|
58 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:335
|
59 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:538
|
60 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:660
|
|
|
61 |
msgid "Yes"
|
62 |
msgstr "Oui"
|
63 |
|
64 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:254
|
65 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:661
|
|
|
66 |
msgid "No"
|
67 |
msgstr "Non"
|
68 |
|
69 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:258
|
|
|
70 |
msgid "Title and text for the maintenance page:"
|
71 |
msgstr "Titre et Texte de la page maintenance :"
|
72 |
|
73 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:259
|
|
|
74 |
msgid "Title:"
|
75 |
msgstr "Titre :"
|
76 |
|
77 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:260
|
78 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:262
|
|
|
79 |
msgid "Text:"
|
80 |
msgstr "Texte :"
|
81 |
|
82 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:261
|
|
|
83 |
msgid "Text in the bottom of maintenance page:"
|
84 |
msgstr "Texte du bas de page :"
|
85 |
|
86 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:266
|
|
|
87 |
msgid "Enable Google Analytics:"
|
88 |
msgstr "Activer Google Analytics :"
|
89 |
|
90 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:268
|
|
|
91 |
msgid "Enter your Google analytics tracking ID here:"
|
92 |
msgstr "Enter votre ID de suivi de Google Analytics ici :"
|
93 |
|
94 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:270
|
|
|
95 |
msgid "Enter your domain URL:"
|
96 |
msgstr "Entrer votre domain :"
|
97 |
|
98 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:276
|
|
|
99 |
msgid "Enable Social Networks:"
|
100 |
msgstr "Activer les icônes des réseaux sociaux :"
|
101 |
|
102 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:278
|
|
|
103 |
msgid "Enter text for the title icons:"
|
104 |
msgstr "Entrez un texte pour la balise title des icônes :"
|
105 |
|
106 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:279
|
|
|
107 |
msgid "Follow me on"
|
108 |
msgstr "Suivez-moi sur"
|
109 |
|
110 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:281
|
|
|
111 |
msgid "Drad and drop the lines to put in the order you want:"
|
112 |
msgstr ""
|
113 |
"Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
|
114 |
|
115 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:303
|
|
|
116 |
msgid "Choose icons size:"
|
117 |
msgstr "Choisissez la taille des icônes :"
|
118 |
|
119 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:314
|
|
|
120 |
msgid "Position:"
|
121 |
msgstr "Position :"
|
122 |
|
123 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:316
|
|
|
124 |
msgid "Top"
|
125 |
msgstr "Haut"
|
126 |
|
127 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:317
|
|
|
128 |
msgid "Bottom"
|
129 |
msgstr "Bas"
|
130 |
|
131 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:321
|
|
|
132 |
msgid "Align:"
|
133 |
msgstr "Alignement :"
|
134 |
|
135 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:323
|
|
|
136 |
msgid "Left"
|
137 |
msgstr "Gauche"
|
138 |
|
139 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:324
|
|
|
140 |
msgid "Center"
|
141 |
msgstr "Centre"
|
142 |
|
143 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:325
|
|
|
144 |
msgid "Right"
|
145 |
msgstr "Droite"
|
146 |
|
147 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:328
|
|
|
148 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
149 |
msgstr ""
|
150 |
"Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
|
151 |
|
152 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:334
|
|
|
153 |
msgid "Enable Newletter:"
|
154 |
msgstr "Activer l'encart de newletter :"
|
155 |
|
156 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:336
|
|
|
157 |
msgid "Enter your newletter shortcode here:"
|
158 |
msgstr "Entrez le Shortcode de la newletter ici :"
|
159 |
|
160 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:342
|
161 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:462
|
162 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:524
|
163 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:590
|
164 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:646
|
165 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:684
|
|
|
166 |
msgid "Save this settings"
|
167 |
msgstr "Sauvegarder ces paramètres"
|
168 |
|
169 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:355
|
|
|
170 |
msgid "Choice texts colors:"
|
171 |
msgstr "Choix des couleurs des textes :"
|
172 |
|
173 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:357
|
|
|
174 |
msgid "Background page color:"
|
175 |
msgstr "Couleur du fond de page :"
|
176 |
|
177 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:358
|
|
|
178 |
msgid "Text color:"
|
179 |
msgstr "Couleur du texte :"
|
180 |
|
181 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:361
|
182 |
+
msgid "Title font settings"
|
183 |
+
msgstr "Paramètres de la police du titre"
|
184 |
+
|
185 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:367
|
186 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:390
|
187 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:418
|
188 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:441
|
189 |
+
msgid "Size:"
|
190 |
+
msgstr "Taille :"
|
191 |
+
|
192 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:384
|
193 |
+
msgid "Text font settings"
|
194 |
+
msgstr "Paramètres de la police du texte"
|
195 |
+
|
196 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:406
|
197 |
msgid "Choice countdown colors:"
|
198 |
msgstr "Choix des couleurs du compte à rebours :"
|
199 |
|
200 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:407
|
|
|
201 |
msgid "Countdown text color:"
|
202 |
msgstr "Couleur du texte du compteur :"
|
203 |
|
204 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:409
|
|
|
205 |
msgid "Countdown background color:"
|
206 |
msgstr "Couleur du fond du compteur :"
|
207 |
|
208 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:412
|
209 |
+
msgid "Countdown font settings"
|
210 |
+
msgstr "Paramètres de la police du compte à rebours"
|
211 |
+
|
212 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:429
|
213 |
msgid "Choice texts bottom colors:"
|
214 |
msgstr "Choix des couleurs du bas de page :"
|
215 |
|
216 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:431
|
|
|
217 |
msgid "Bottom color:"
|
218 |
msgstr "Couleur du fond :"
|
219 |
|
220 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:432
|
|
|
221 |
msgid "Text bottom color:"
|
222 |
msgstr "Couleur du texte :"
|
223 |
|
224 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:435
|
225 |
+
msgid "Text font on the bottom page:"
|
226 |
+
msgstr "Paramètres de la police du texte du bas de page :"
|
227 |
+
|
228 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:474
|
229 |
msgid "Upload a picture"
|
230 |
msgstr "Uploader une image"
|
231 |
|
232 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:476
|
|
|
233 |
msgid "You use this picture:"
|
234 |
msgstr "Image actuelle : "
|
235 |
|
236 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:478
|
237 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:494
|
|
|
238 |
msgid "Select or Upload your picture"
|
239 |
msgstr "Sélectionnez / Uploader votre image"
|
240 |
|
241 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:479
|
242 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:495
|
|
|
243 |
msgid "Enter a URL or upload an image."
|
244 |
msgstr "Entrez une url ou uploader une image."
|
245 |
|
246 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:484
|
|
|
247 |
msgid "Upload a background picture"
|
248 |
msgstr "Uploader une image de fond"
|
249 |
|
250 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:485
|
|
|
251 |
msgid "Enable image background"
|
252 |
msgstr "Activer l'image de fond"
|
253 |
|
254 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:487
|
|
|
255 |
msgid "You use this background picture:"
|
256 |
msgstr "Image de fond actuelle : "
|
257 |
|
258 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:491
|
|
|
259 |
msgid "You use this pattern:"
|
260 |
msgstr "Vous utilisez ce pattern : "
|
261 |
|
262 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:496
|
|
|
263 |
msgid "Or choose a pattern:"
|
264 |
msgstr "Ou choisissez un pattern de fond :"
|
265 |
|
266 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:512
|
|
|
267 |
msgid "Background picture options"
|
268 |
msgstr "Options de l'image de fond"
|
269 |
|
270 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:519
|
|
|
271 |
msgid "Fixed"
|
272 |
msgstr "Fixe"
|
273 |
|
274 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:537
|
|
|
275 |
msgid "Enable a countdown ?"
|
276 |
msgstr "Activer le compte à rebours ?"
|
277 |
|
278 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:539
|
|
|
279 |
msgid "Enter the launch date"
|
280 |
msgstr "Entrez la date de lancement"
|
281 |
|
282 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:572
|
|
|
283 |
msgid "Enable seconds ?"
|
284 |
msgstr "Afficher les secondes ?"
|
285 |
|
286 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:573
|
|
|
287 |
msgid "Disable maintenance mode at the end of the countdown?"
|
288 |
msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
|
289 |
|
290 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:574
|
|
|
291 |
msgid "End message:"
|
292 |
msgstr "Message de fin :"
|
293 |
|
294 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:574
|
|
|
295 |
msgid "Font size:"
|
296 |
msgstr "Taille de la police :"
|
297 |
|
298 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:602
|
|
|
299 |
msgid "CSS style sheet code:"
|
300 |
msgstr "Code style CSS :"
|
301 |
|
302 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:603
|
|
|
303 |
msgid ""
|
304 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
305 |
"\" to retrieve the default style sheet."
|
307 |
"Editer le code CSS de votre page de maintenance ici. Cliquez sur "
|
308 |
"\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
|
309 |
|
310 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:611
|
|
|
311 |
msgid "Markers for colors"
|
312 |
msgstr "Marqueurs pour les couleurs"
|
313 |
|
314 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:616
|
|
|
315 |
msgid "Use this code for text color"
|
316 |
msgstr "Utiliser ce code pour la couleur du texte"
|
317 |
|
318 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:620
|
|
|
319 |
msgid "Use this code for background text color"
|
320 |
msgstr "Utiliser ce code pour la couleur de fond du texte"
|
321 |
|
322 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:624
|
|
|
323 |
msgid "Use this code for background color countdown"
|
324 |
msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
|
325 |
|
326 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:628
|
|
|
327 |
msgid "Use this code for size countdown"
|
328 |
msgstr "Utiliser ce code pour la taille du compte à rebours"
|
329 |
|
330 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:632
|
|
|
331 |
msgid "Use this code for countdown color"
|
332 |
msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
|
333 |
|
334 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:641
|
|
|
335 |
msgid "Reset default CSS stylesheet ?"
|
336 |
msgstr "Réinitialiser la feuille de style ?"
|
337 |
|
338 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:658
|
|
|
339 |
msgid "Theme maintenance page:"
|
340 |
msgstr "Page maintenance du thème :"
|
341 |
|
342 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:659
|
|
|
343 |
msgid ""
|
344 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
345 |
msgstr ""
|
346 |
"Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
|
347 |
"votre thème, cliquez sur Oui."
|
348 |
|
349 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:662
|
|
|
350 |
msgid "You can use this shortcode to include Google Analytics code:"
|
351 |
msgstr ""
|
352 |
"Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
|
353 |
"votre page :"
|
354 |
|
355 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:662
|
|
|
356 |
msgid "You can use this shortcode to include Social Networks icons:"
|
357 |
msgstr ""
|
358 |
"Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
|
359 |
"sur votre page :"
|
360 |
|
361 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:666
|
|
|
362 |
msgid "Roles and Capabilities:"
|
363 |
msgstr "Rôles et capacités :"
|
364 |
|
365 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:667
|
|
|
366 |
msgid "Allow the site to display these roles:"
|
367 |
msgstr "Autoriser l'affichage du site à ces rôles :"
|
368 |
|
369 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:700
|
|
|
370 |
msgid ""
|
371 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
372 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
381 |
"retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
|
382 |
"tous."
|
383 |
|
384 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:705
|
|
|
385 |
msgid ""
|
386 |
"If you want Donate (French Paypal) for my current and future developments:"
|
387 |
msgstr ""
|
388 |
"Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
|
389 |
|
390 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:94
|
391 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:536
|
392 |
msgid "This site is down for maintenance"
|
393 |
msgstr "Ce site est en maintenance"
|
394 |
|
395 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:290
|
|
|
396 |
msgid "Choose This Image"
|
397 |
msgstr "Choisir cette image"
|
398 |
|
399 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:291
|
|
|
400 |
msgid "Choose Image"
|
401 |
msgstr "Choisissez une image"
|
402 |
|
403 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
404 |
msgid "Days"
|
405 |
msgstr "Jours"
|
406 |
|
407 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
408 |
msgid "Hours"
|
409 |
msgstr "Heures"
|
410 |
|
411 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
412 |
msgid "Minutes"
|
413 |
msgstr "Minutes"
|
414 |
|
415 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:645
|
|
|
416 |
msgid "Seconds"
|
417 |
msgstr "Secondes"
|
418 |
|
languages/wp-maintenance.pot
CHANGED
@@ -1,417 +1,364 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-SearchPath-0: C:\\wamp\\www\\www\\
|
18 |
-
"\\
|
19 |
|
20 |
-
#: C:\wamp\www\www\
|
21 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:16
|
22 |
msgid "Options saved."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: C:\wamp\www\www\
|
26 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:216
|
27 |
msgid "General"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: C:\wamp\www\www\
|
31 |
-
|
32 |
-
msgid "Colors"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: C:\wamp\www\www\
|
36 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:218
|
37 |
msgid "Picture"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: C:\wamp\www\www\
|
41 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:219
|
42 |
msgid "CountDown"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: C:\wamp\www\www\
|
46 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:220
|
47 |
msgid "CSS Style"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: C:\wamp\www\www\
|
51 |
-
#:
|
52 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:48
|
53 |
msgid "Settings"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: C:\wamp\www\www\
|
57 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:222
|
58 |
msgid "About"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: C:\wamp\www\www\
|
62 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:236
|
63 |
msgid "Enable maintenance mode:"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: C:\wamp\www\www\
|
67 |
-
#:
|
68 |
-
#:
|
69 |
-
#:
|
70 |
-
#:
|
71 |
-
#:
|
72 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:554
|
73 |
msgid "Yes"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: C:\wamp\www\www\
|
77 |
-
#:
|
78 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:555
|
79 |
msgid "No"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: C:\wamp\www\www\
|
83 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:242
|
84 |
msgid "Title and text for the maintenance page:"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: C:\wamp\www\www\
|
88 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:243
|
89 |
msgid "Title:"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: C:\wamp\www\www\
|
93 |
-
#:
|
94 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:246
|
95 |
msgid "Text:"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: C:\wamp\www\www\
|
99 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:245
|
100 |
msgid "Text in the bottom of maintenance page:"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: C:\wamp\www\www\
|
104 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:250
|
105 |
msgid "Enable Google Analytics:"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: C:\wamp\www\www\
|
109 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:252
|
110 |
msgid "Enter your Google analytics tracking ID here:"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: C:\wamp\www\www\
|
114 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:254
|
115 |
msgid "Enter your domain URL:"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: C:\wamp\www\www\
|
119 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:260
|
120 |
msgid "Enable Social Networks:"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: C:\wamp\www\www\
|
124 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:262
|
125 |
msgid "Enter text for the title icons:"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: C:\wamp\www\www\
|
129 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:263
|
130 |
msgid "Follow me on"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: C:\wamp\www\www\
|
134 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:265
|
135 |
msgid "Drad and drop the lines to put in the order you want:"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: C:\wamp\www\www\
|
139 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:287
|
140 |
msgid "Choose icons size:"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: C:\wamp\www\www\
|
144 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:298
|
145 |
msgid "Position:"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: C:\wamp\www\www\
|
149 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:300
|
150 |
msgid "Top"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: C:\wamp\www\www\
|
154 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:301
|
155 |
msgid "Bottom"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: C:\wamp\www\www\
|
159 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:305
|
160 |
msgid "Align:"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: C:\wamp\www\www\
|
164 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:307
|
165 |
msgid "Left"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: C:\wamp\www\www\
|
169 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:308
|
170 |
msgid "Center"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: C:\wamp\www\www\
|
174 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:309
|
175 |
msgid "Right"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: C:\wamp\www\www\
|
179 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:312
|
180 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: C:\wamp\www\www\
|
184 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:318
|
185 |
msgid "Enable Newletter:"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: C:\wamp\www\www\
|
189 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:320
|
190 |
msgid "Enter your newletter shortcode here:"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: C:\wamp\www\www\
|
194 |
-
#:
|
195 |
-
#:
|
196 |
-
#:
|
197 |
-
#:
|
198 |
-
#:
|
199 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:578
|
200 |
msgid "Save this settings"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: C:\wamp\www\www\
|
204 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:339
|
205 |
msgid "Choice texts colors:"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: C:\wamp\www\www\
|
209 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:341
|
210 |
msgid "Background page color:"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: C:\wamp\www\www\
|
214 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:342
|
215 |
msgid "Text color:"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: C:\wamp\www\www\
|
219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
msgid "Choice countdown colors:"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: C:\wamp\www\www\
|
224 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:344
|
225 |
msgid "Countdown text color:"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: C:\wamp\www\www\
|
229 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:346
|
230 |
msgid "Countdown background color:"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: C:\wamp\www\www\
|
234 |
-
|
|
|
|
|
|
|
235 |
msgid "Choice texts bottom colors:"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: C:\wamp\www\www\
|
239 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:350
|
240 |
msgid "Bottom color:"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: C:\wamp\www\www\
|
244 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:351
|
245 |
msgid "Text bottom color:"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: C:\wamp\www\www\
|
249 |
-
|
|
|
|
|
|
|
250 |
msgid "Upload a picture"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: C:\wamp\www\www\
|
254 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:370
|
255 |
msgid "You use this picture:"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: C:\wamp\www\www\
|
259 |
-
#:
|
260 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:388
|
261 |
msgid "Select or Upload your picture"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: C:\wamp\www\www\
|
265 |
-
#:
|
266 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:389
|
267 |
msgid "Enter a URL or upload an image."
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: C:\wamp\www\www\
|
271 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:378
|
272 |
msgid "Upload a background picture"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: C:\wamp\www\www\
|
276 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:379
|
277 |
msgid "Enable image background"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: C:\wamp\www\www\
|
281 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:381
|
282 |
msgid "You use this background picture:"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: C:\wamp\www\www\
|
286 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:385
|
287 |
msgid "You use this pattern:"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: C:\wamp\www\www\
|
291 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:390
|
292 |
msgid "Or choose a pattern:"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: C:\wamp\www\www\
|
296 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:406
|
297 |
msgid "Background picture options"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: C:\wamp\www\www\
|
301 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:413
|
302 |
msgid "Fixed"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: C:\wamp\www\www\
|
306 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:431
|
307 |
msgid "Enable a countdown ?"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: C:\wamp\www\www\
|
311 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:433
|
312 |
msgid "Enter the launch date"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: C:\wamp\www\www\
|
316 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:466
|
317 |
msgid "Enable seconds ?"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: C:\wamp\www\www\
|
321 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:467
|
322 |
msgid "Disable maintenance mode at the end of the countdown?"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: C:\wamp\www\www\
|
326 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
|
327 |
msgid "End message:"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: C:\wamp\www\www\
|
331 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
|
332 |
msgid "Font size:"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: C:\wamp\www\www\
|
336 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:496
|
337 |
msgid "CSS style sheet code:"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: C:\wamp\www\www\
|
341 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:497
|
342 |
msgid ""
|
343 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
344 |
"\" to retrieve the default style sheet."
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: C:\wamp\www\www\
|
348 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:505
|
349 |
msgid "Markers for colors"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: C:\wamp\www\www\
|
353 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:510
|
354 |
msgid "Use this code for text color"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: C:\wamp\www\www\
|
358 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:514
|
359 |
msgid "Use this code for background text color"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: C:\wamp\www\www\
|
363 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:518
|
364 |
msgid "Use this code for background color countdown"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: C:\wamp\www\www\
|
368 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:522
|
369 |
msgid "Use this code for size countdown"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: C:\wamp\www\www\
|
373 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:526
|
374 |
msgid "Use this code for countdown color"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: C:\wamp\www\www\
|
378 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:535
|
379 |
msgid "Reset default CSS stylesheet ?"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: C:\wamp\www\www\
|
383 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:552
|
384 |
msgid "Theme maintenance page:"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: C:\wamp\www\www\
|
388 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:553
|
389 |
msgid ""
|
390 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: C:\wamp\www\www\
|
394 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:556
|
395 |
msgid "You can use this shortcode to include Google Analytics code:"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: C:\wamp\www\www\
|
399 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:556
|
400 |
msgid "You can use this shortcode to include Social Networks icons:"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: C:\wamp\www\www\
|
404 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:560
|
405 |
msgid "Roles and Capabilities:"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: C:\wamp\www\www\
|
409 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:561
|
410 |
msgid "Allow the site to display these roles:"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: C:\wamp\www\www\
|
414 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:594
|
415 |
msgid ""
|
416 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
417 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
@@ -420,43 +367,36 @@ msgid ""
|
|
420 |
"changes to improve this plugin for all."
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: C:\wamp\www\www\
|
424 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:599
|
425 |
msgid ""
|
426 |
"If you want Donate (French Paypal) for my current and future developments:"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: C:\wamp\www\www\
|
430 |
-
#:
|
431 |
msgid "This site is down for maintenance"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: C:\wamp\www\www\
|
435 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:269
|
436 |
msgid "Choose This Image"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: C:\wamp\www\www\
|
440 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:270
|
441 |
msgid "Choose Image"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: C:\wamp\www\www\
|
445 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
446 |
msgid "Days"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: C:\wamp\www\www\
|
450 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
451 |
msgid "Hours"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: C:\wamp\www\www\
|
455 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
|
456 |
msgid "Minutes"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: C:\wamp\www\www\
|
460 |
-
#: Wordpress\wp-maintenance\trunk/wp-maintenance.php:554
|
461 |
msgid "Seconds"
|
462 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-08-09 15:52+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-08-09 15:52+0100\n"
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.5\n"
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: C:\\wamp\\www\\askyourplugin.local.sites.fr\\www\\wp-"
|
18 |
+
"content\\plugins\\wp-maintenance\n"
|
19 |
|
20 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:16
|
|
|
21 |
msgid "Options saved."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:232
|
|
|
25 |
msgid "General"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:233
|
29 |
+
msgid "Colors & Fonts"
|
|
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:234
|
|
|
33 |
msgid "Picture"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:235
|
|
|
37 |
msgid "CountDown"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:236
|
|
|
41 |
msgid "CSS Style"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:237
|
45 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:52
|
|
|
46 |
msgid "Settings"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:238
|
|
|
50 |
msgid "About"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:252
|
|
|
54 |
msgid "Enable maintenance mode:"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:253
|
58 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:267
|
59 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:277
|
60 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:335
|
61 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:538
|
62 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:660
|
|
|
63 |
msgid "Yes"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:254
|
67 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:661
|
|
|
68 |
msgid "No"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:258
|
|
|
72 |
msgid "Title and text for the maintenance page:"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:259
|
|
|
76 |
msgid "Title:"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:260
|
80 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:262
|
|
|
81 |
msgid "Text:"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:261
|
|
|
85 |
msgid "Text in the bottom of maintenance page:"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:266
|
|
|
89 |
msgid "Enable Google Analytics:"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:268
|
|
|
93 |
msgid "Enter your Google analytics tracking ID here:"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:270
|
|
|
97 |
msgid "Enter your domain URL:"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:276
|
|
|
101 |
msgid "Enable Social Networks:"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:278
|
|
|
105 |
msgid "Enter text for the title icons:"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:279
|
|
|
109 |
msgid "Follow me on"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:281
|
|
|
113 |
msgid "Drad and drop the lines to put in the order you want:"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:303
|
|
|
117 |
msgid "Choose icons size:"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:314
|
|
|
121 |
msgid "Position:"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:316
|
|
|
125 |
msgid "Top"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:317
|
|
|
129 |
msgid "Bottom"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:321
|
|
|
133 |
msgid "Align:"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:323
|
|
|
137 |
msgid "Left"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:324
|
|
|
141 |
msgid "Center"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:325
|
|
|
145 |
msgid "Right"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:328
|
|
|
149 |
msgid "You have your own icons? Enter the folder name of your theme here:"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:334
|
|
|
153 |
msgid "Enable Newletter:"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:336
|
|
|
157 |
msgid "Enter your newletter shortcode here:"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:342
|
161 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:462
|
162 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:524
|
163 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:590
|
164 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:646
|
165 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:684
|
|
|
166 |
msgid "Save this settings"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:355
|
|
|
170 |
msgid "Choice texts colors:"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:357
|
|
|
174 |
msgid "Background page color:"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:358
|
|
|
178 |
msgid "Text color:"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:361
|
182 |
+
msgid "Title font settings"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:367
|
186 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:390
|
187 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:418
|
188 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:441
|
189 |
+
msgid "Size:"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:384
|
193 |
+
msgid "Text font settings"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:406
|
197 |
msgid "Choice countdown colors:"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:407
|
|
|
201 |
msgid "Countdown text color:"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:409
|
|
|
205 |
msgid "Countdown background color:"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:412
|
209 |
+
msgid "Countdown font settings"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:429
|
213 |
msgid "Choice texts bottom colors:"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:431
|
|
|
217 |
msgid "Bottom color:"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:432
|
|
|
221 |
msgid "Text bottom color:"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:435
|
225 |
+
msgid "Text font on the bottom page:"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:474
|
229 |
msgid "Upload a picture"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:476
|
|
|
233 |
msgid "You use this picture:"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:478
|
237 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:494
|
|
|
238 |
msgid "Select or Upload your picture"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:479
|
242 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:495
|
|
|
243 |
msgid "Enter a URL or upload an image."
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:484
|
|
|
247 |
msgid "Upload a background picture"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:485
|
|
|
251 |
msgid "Enable image background"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:487
|
|
|
255 |
msgid "You use this background picture:"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:491
|
|
|
259 |
msgid "You use this pattern:"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:496
|
|
|
263 |
msgid "Or choose a pattern:"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:512
|
|
|
267 |
msgid "Background picture options"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:519
|
|
|
271 |
msgid "Fixed"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:537
|
|
|
275 |
msgid "Enable a countdown ?"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:539
|
|
|
279 |
msgid "Enter the launch date"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:572
|
|
|
283 |
msgid "Enable seconds ?"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:573
|
|
|
287 |
msgid "Disable maintenance mode at the end of the countdown?"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:574
|
|
|
291 |
msgid "End message:"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:574
|
|
|
295 |
msgid "Font size:"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:602
|
|
|
299 |
msgid "CSS style sheet code:"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:603
|
|
|
303 |
msgid ""
|
304 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
305 |
"\" to retrieve the default style sheet."
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:611
|
|
|
309 |
msgid "Markers for colors"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:616
|
|
|
313 |
msgid "Use this code for text color"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:620
|
|
|
317 |
msgid "Use this code for background text color"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:624
|
|
|
321 |
msgid "Use this code for background color countdown"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:628
|
|
|
325 |
msgid "Use this code for size countdown"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:632
|
|
|
329 |
msgid "Use this code for countdown color"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:641
|
|
|
333 |
msgid "Reset default CSS stylesheet ?"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:658
|
|
|
337 |
msgid "Theme maintenance page:"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:659
|
|
|
341 |
msgid ""
|
342 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:662
|
|
|
346 |
msgid "You can use this shortcode to include Google Analytics code:"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:662
|
|
|
350 |
msgid "You can use this shortcode to include Social Networks icons:"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:666
|
|
|
354 |
msgid "Roles and Capabilities:"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:667
|
|
|
358 |
msgid "Allow the site to display these roles:"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:700
|
|
|
362 |
msgid ""
|
363 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
364 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
367 |
"changes to improve this plugin for all."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance-admin.php:705
|
|
|
371 |
msgid ""
|
372 |
"If you want Donate (French Paypal) for my current and future developments:"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:94
|
376 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:536
|
377 |
msgid "This site is down for maintenance"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:290
|
|
|
381 |
msgid "Choose This Image"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:291
|
|
|
385 |
msgid "Choose Image"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
389 |
msgid "Days"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
393 |
msgid "Hours"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:643
|
|
|
397 |
msgid "Minutes"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: C:\wamp\www\askyourplugin.local.sites.fr\www\wp-content\plugins\wp-maintenance/wp-maintenance.php:645
|
|
|
401 |
msgid "Seconds"
|
402 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,131 +1,134 @@
|
|
1 |
-
=== Plugin Name ===
|
2 |
-
Contributors: Florent73
|
3 |
-
Donate link:
|
4 |
-
Tags: wordpress maintenance plugin
|
5 |
-
Requires at least: 3.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag:
|
8 |
-
License: GPLv2 or later
|
9 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
|
11 |
-
|
12 |
-
Créer et personnaliser votre page de maintenance !
|
13 |
-
Create and customize your maintenance page
|
14 |
-
|
15 |
-
== Description ==
|
16 |
-
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 :
|
17 |
-
|
18 |
-
- Vos choix de couleurs de texte
|
19 |
-
- une image pour votre logo
|
20 |
-
- une image de fond ou un pattern
|
21 |
-
- un compte à rebours
|
22 |
-
- Prêt pour Google Analytics
|
23 |
-
- Icônes des réseaux sociaux
|
24 |
-
- Encart pour un shorcode (newletter ou contact)
|
25 |
-
|
26 |
-
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 and countdown with:
|
27 |
-
|
28 |
-
- Choice texts colors
|
29 |
-
- Upload logo picture
|
30 |
-
- Upload background picture or pattern
|
31 |
-
- Countdown
|
32 |
-
- Google Analytics ready
|
33 |
-
- Social Networks ready
|
34 |
-
- Insert for shorcode (Newletter or Contact form)
|
35 |
-
|
36 |
-
Langues disponibles / Languages :
|
37 |
-
|
38 |
-
* Français
|
39 |
-
* English
|
40 |
-
|
41 |
-
Fichier wp-maintenance.pot disponible / maintenance.pot file available
|
42 |
-
|
43 |
-
== Installation ==
|
44 |
-
1. Ajouter le répertoire 'wp-maintenance' dans le répertoire '/wp-content/plugins/' / Upload the full directory into your '/wp-content/plugins' directory
|
45 |
-
2. Activer le plugin via le menu 'Plugins' dans WordPress / Activate the plugin at the plugin administration page
|
46 |
-
3. Aller dans 'Réglages->WP Maintenance' dans l'interface d'administration pour sélectionner vos options / Open the plugin configuration page, which is located under 'Option->WP Maintenance'
|
47 |
-
|
48 |
-
== Screenshots ==
|
49 |
-
1. Vue générale / General view
|
50 |
-
2. Vue par les visiteurs de votre site / View by visitors to your site
|
51 |
-
3. Sélection de couleur / Color selection
|
52 |
-
4. Upload d'une image personnelle / Upload a personnal picture
|
53 |
-
5. Paramètres du compte à rebours / Countdown settings
|
54 |
-
6. Réglages divers / Various settings
|
55 |
-
|
56 |
-
== Frequently Asked Questions ==
|
57 |
-
|
58 |
-
= Ce plugin est-il gratuit ? / This plugin is free ? =
|
59 |
-
|
60 |
-
Oui tout à fait. / Yes
|
61 |
-
|
62 |
-
= Puis-je modifier le code du plugin ? / Can I change the plugin code? =
|
63 |
-
|
64 |
-
Oui mais merci de me soumettre les modifications souhaitées afin de mettre à jour le plugin. / Yes. Thank you for submitting your changes to update the plugin.
|
65 |
-
|
66 |
-
== Upgrade Notice ==
|
67 |
-
|
68 |
-
=
|
69 |
-
Cette version est stable / This version is stable
|
70 |
-
|
71 |
-
|
72 |
-
== Changelog ==
|
73 |
-
|
74 |
-
=
|
75 |
-
*
|
76 |
-
|
77 |
-
= 1.
|
78 |
-
* Correction bug
|
79 |
-
|
80 |
-
= 1.
|
81 |
-
* Correction bug upload du logo et du fond / Fixed bug logo and background upload
|
82 |
-
|
83 |
-
= 1.
|
84 |
-
* Correction bug
|
85 |
-
|
86 |
-
= 1.
|
87 |
-
* Correction bug
|
88 |
-
|
89 |
-
= 1.
|
90 |
-
* Correction bug
|
91 |
-
|
92 |
-
= 1.
|
93 |
-
* Correction
|
94 |
-
|
95 |
-
= 1.
|
96 |
-
*
|
97 |
-
|
98 |
-
= 1.
|
99 |
-
* Ajout
|
100 |
-
|
101 |
-
= 1.
|
102 |
-
* Ajout
|
103 |
-
|
104 |
-
= 0
|
105 |
-
*
|
106 |
-
|
107 |
-
= 0.
|
108 |
-
* Bugs
|
109 |
-
|
110 |
-
= 0.
|
111 |
-
* Bugs sur
|
112 |
-
|
113 |
-
= 0.
|
114 |
-
*
|
115 |
-
|
116 |
-
= 0.
|
117 |
-
*
|
118 |
-
|
119 |
-
= 0.
|
120 |
-
*
|
121 |
-
|
122 |
-
= 0.
|
123 |
-
*
|
124 |
-
|
125 |
-
= 0.
|
126 |
-
*
|
127 |
-
|
128 |
-
= 0.
|
129 |
-
*
|
130 |
-
|
131 |
-
|
|
|
|
|
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: Florent73
|
3 |
+
Donate link:
|
4 |
+
Tags: wordpress maintenance plugin
|
5 |
+
Requires at least: 3.0
|
6 |
+
Tested up to: 4.0
|
7 |
+
Stable tag: 2.0
|
8 |
+
License: GPLv2 or later
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
|
11 |
+
|
12 |
+
Créer et personnaliser votre page de maintenance !
|
13 |
+
Create and customize your maintenance page
|
14 |
+
|
15 |
+
== Description ==
|
16 |
+
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 :
|
17 |
+
|
18 |
+
- Vos choix de polices et couleurs de texte
|
19 |
+
- une image pour votre logo
|
20 |
+
- une image de fond ou un pattern
|
21 |
+
- un compte à rebours
|
22 |
+
- Prêt pour Google Analytics
|
23 |
+
- Icônes des réseaux sociaux
|
24 |
+
- Encart pour un shorcode (newletter ou contact)
|
25 |
+
|
26 |
+
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 and countdown with:
|
27 |
+
|
28 |
+
- Choice texts colors and fonts
|
29 |
+
- Upload logo picture
|
30 |
+
- Upload background picture or pattern
|
31 |
+
- Countdown
|
32 |
+
- Google Analytics ready
|
33 |
+
- Social Networks ready
|
34 |
+
- Insert for shorcode (Newletter or Contact form)
|
35 |
+
|
36 |
+
Langues disponibles / Languages :
|
37 |
+
|
38 |
+
* Français
|
39 |
+
* English
|
40 |
+
|
41 |
+
Fichier wp-maintenance.pot disponible / maintenance.pot file available
|
42 |
+
|
43 |
+
== Installation ==
|
44 |
+
1. Ajouter le répertoire 'wp-maintenance' dans le répertoire '/wp-content/plugins/' / Upload the full directory into your '/wp-content/plugins' directory
|
45 |
+
2. Activer le plugin via le menu 'Plugins' dans WordPress / Activate the plugin at the plugin administration page
|
46 |
+
3. Aller dans 'Réglages->WP Maintenance' dans l'interface d'administration pour sélectionner vos options / Open the plugin configuration page, which is located under 'Option->WP Maintenance'
|
47 |
+
|
48 |
+
== Screenshots ==
|
49 |
+
1. Vue générale / General view
|
50 |
+
2. Vue par les visiteurs de votre site / View by visitors to your site
|
51 |
+
3. Sélection de couleur / Color selection
|
52 |
+
4. Upload d'une image personnelle / Upload a personnal picture
|
53 |
+
5. Paramètres du compte à rebours / Countdown settings
|
54 |
+
6. Réglages divers / Various settings
|
55 |
+
|
56 |
+
== Frequently Asked Questions ==
|
57 |
+
|
58 |
+
= Ce plugin est-il gratuit ? / This plugin is free ? =
|
59 |
+
|
60 |
+
Oui tout à fait. / Yes
|
61 |
+
|
62 |
+
= Puis-je modifier le code du plugin ? / Can I change the plugin code? =
|
63 |
+
|
64 |
+
Oui mais merci de me soumettre les modifications souhaitées afin de mettre à jour le plugin. / Yes. Thank you for submitting your changes to update the plugin.
|
65 |
+
|
66 |
+
== Upgrade Notice ==
|
67 |
+
|
68 |
+
= 2.0 =
|
69 |
+
Cette version est stable / This version is stable
|
70 |
+
|
71 |
+
|
72 |
+
== Changelog ==
|
73 |
+
|
74 |
+
= 2.0 =
|
75 |
+
* Ajout des Google Fonts et style de police / Adding Google Fonts and font style
|
76 |
+
|
77 |
+
= 1.9 =
|
78 |
+
* Correction bug auto-reset de la CSS / Fixed Bug CSS auto-reset
|
79 |
+
|
80 |
+
= 1.8 =
|
81 |
+
* Correction bug upload du logo et du fond / Fixed bug logo and background upload
|
82 |
+
|
83 |
+
= 1.7 =
|
84 |
+
* Correction bug upload du logo et du fond / Fixed bug logo and background upload
|
85 |
+
|
86 |
+
= 1.6 =
|
87 |
+
* Correction bug date fin compte à rebours / Fixed bug end date countdown
|
88 |
+
|
89 |
+
= 1.5 =
|
90 |
+
* Correction bug drag&drop Réseaux Sociaux / Resolved drag&drop social networks bug
|
91 |
+
|
92 |
+
= 1.4 =
|
93 |
+
* Correction bug maintenance.php / Resolved bug maintenance.php file
|
94 |
+
|
95 |
+
= 1.3 =
|
96 |
+
* Correction traduction et fichier désinstallation / Resolved translation bug and uninstall file
|
97 |
+
|
98 |
+
= 1.2 =
|
99 |
+
* Ajout positionnement icônes, barre footer / Adding icons position, footer bar
|
100 |
+
|
101 |
+
= 1.1 =
|
102 |
+
* Ajout icones réseaux sociaux, code analytics, shorcodes newletter et image de fond / Adding icons social networks, analytics code, shorcodes newletter and background picture
|
103 |
+
|
104 |
+
= 1.0 =
|
105 |
+
* Ajout couleur sur les liens, option rajoutée sur le compte à rebours et l'affichage du site aux rôles de votre choix / Adding color on the links, added option on the countdown and viewing the site of your choice roles
|
106 |
+
|
107 |
+
= 0.9 =
|
108 |
+
* Bugs ajout lien dans textes / Bug add link in texts
|
109 |
+
|
110 |
+
= 0.8 =
|
111 |
+
* Bugs sur le compte à rebours / Countdown bug fixes
|
112 |
+
|
113 |
+
= 0.7 =
|
114 |
+
* Bugs sur les couleurs résolus / Colors Bugs fixed
|
115 |
+
|
116 |
+
= 0.6 =
|
117 |
+
* Conflits javascript résolus / Javascript conflicts fixed
|
118 |
+
|
119 |
+
= 0.5 =
|
120 |
+
* Ajout de l'édition de la feuille de Style CSS / Add editor for stylesheet
|
121 |
+
|
122 |
+
= 0.4 =
|
123 |
+
* Plugin en multilangue / Add multilanguage
|
124 |
+
|
125 |
+
= 0.3 =
|
126 |
+
* Refonte de l'admin et ajout d'un compte à rebours / Upgrade the admin and added a countdown
|
127 |
+
|
128 |
+
= 0.2 =
|
129 |
+
* Ajout du ColorPicker / Add a ColorPicker
|
130 |
+
|
131 |
+
= 0.1 =
|
132 |
+
* Première version du plugin / First version
|
133 |
+
|
134 |
+
|
uninstall.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Désinstallation du plugin WP Maintenance
|
5 |
-
*/
|
6 |
-
function wpm_uninstall() {
|
7 |
-
if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
|
8 |
-
if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
|
9 |
-
if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
|
10 |
-
delete_option('wp_maintenance_limit');
|
11 |
-
delete_option('wp_maintenance_active');
|
12 |
-
if(get_option('wp_maintenance_social')) { delete_option('wp_maintenance_social'); }
|
13 |
-
if(get_option('wp_maintenance_social_options')) { delete_option('wp_maintenance_social_options'); }
|
14 |
-
|
15 |
-
}
|
16 |
-
register_deactivation_hook(__FILE__, 'wpm_uninstall');
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Désinstallation du plugin WP Maintenance
|
5 |
+
*/
|
6 |
+
function wpm_uninstall() {
|
7 |
+
if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
|
8 |
+
if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
|
9 |
+
if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
|
10 |
+
delete_option('wp_maintenance_limit');
|
11 |
+
delete_option('wp_maintenance_active');
|
12 |
+
if(get_option('wp_maintenance_social')) { delete_option('wp_maintenance_social'); }
|
13 |
+
if(get_option('wp_maintenance_social_options')) { delete_option('wp_maintenance_social_options'); }
|
14 |
+
|
15 |
+
}
|
16 |
+
register_deactivation_hook(__FILE__, 'wpm_uninstall');
|
wp-maintenance-admin.php
CHANGED
@@ -1,624 +1,564 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
if(!defined('WPM_PLUGIN_URL')) { define('WPM_PLUGIN_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/'); }
|
5 |
-
if(!defined('WPM_ICONS_URL')) { define('WPM_ICONS_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'); }
|
6 |
-
|
7 |
-
/* Update des paramètres */
|
8 |
-
if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
|
9 |
-
update_option('wp_maintenance_settings', $_POST["wp_maintenance_settings"]);
|
10 |
-
update_option('wp_maintenance_style', $_POST["wp_maintenance_style"]);
|
11 |
-
update_option('wp_maintenance_limit', $_POST["wp_maintenance_limit"]);
|
12 |
-
update_option('wp_maintenance_active', $_POST["wp_maintenance_active"]);
|
13 |
-
update_option('wp_maintenance_social', $_POST["wp_maintenance_social"]);
|
14 |
-
update_option('wp_maintenance_social_options', $_POST["wp_maintenance_social_options"]);
|
15 |
-
$options_saved = true;
|
16 |
-
echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.', 'wp-maintenance').'</strong></p></div>';
|
17 |
-
}
|
18 |
-
|
19 |
-
// Récupère les paramètres sauvegardés
|
20 |
-
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
21 |
-
$paramMMode = get_option('wp_maintenance_settings');
|
22 |
-
|
23 |
-
|
24 |
-
if(
|
25 |
-
$
|
26 |
-
|
27 |
-
|
28 |
-
$
|
29 |
-
|
30 |
-
|
31 |
-
$
|
32 |
-
if(
|
33 |
-
$
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
.
|
59 |
-
|
60 |
-
|
61 |
-
}
|
62 |
-
#
|
63 |
-
text-align:
|
64 |
-
}
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
#
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
}
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
}
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
}
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
}
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
';
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
<
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
<input type= "checkbox" name="wp_maintenance_settings[
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
'
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
</li>
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
<
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
<
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
<
|
546 |
-
<
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
<li><h3><?php _e('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
|
567 |
-
<?php _e('Allow the site to display these roles:', 'wp-maintenance'); ?> <br /><br />
|
568 |
-
<input type="hidden" name="wp_maintenance_limit[administrator]" value="administrator" />
|
569 |
-
<?php
|
570 |
-
$roles = wpm_get_roles();
|
571 |
-
foreach($roles as $role=>$name) {
|
572 |
-
$limitCheck = '';
|
573 |
-
if($paramLimit[$role]==$role) { $limitCheck = ' checked'; }
|
574 |
-
if($role=='administrator') {
|
575 |
-
$limitCheck = 'checked disabled="disabled"';
|
576 |
-
}
|
577 |
-
?>
|
578 |
-
<input type="checkbox" name="wp_maintenance_limit[<?php echo $role; ?>]" value="<?php echo $role; ?>"<?php echo $limitCheck; ?> /><?php echo $name; ?>
|
579 |
-
<?php }//end foreach ?>
|
580 |
-
</li>
|
581 |
-
<li> </li>
|
582 |
-
|
583 |
-
<li>
|
584 |
-
<a href="#options" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
585 |
-
</li>
|
586 |
-
|
587 |
-
</ul>
|
588 |
-
</div>
|
589 |
-
</div>
|
590 |
-
<!-- fin options 6 -->
|
591 |
-
|
592 |
-
</form>
|
593 |
-
|
594 |
-
<!-- Onglet options 7 -->
|
595 |
-
<div class="wpm-menu-apropos wpm-menu-group" style="display: none;">
|
596 |
-
<div id="wpm-opt-apropos" >
|
597 |
-
<ul>
|
598 |
-
|
599 |
-
<li>
|
600 |
-
<?php _e('This plugin has been developed for you for free by <a href="http://www.restezconnectes.fr" target="_blank">Florent Maillefaud</ a>. It is royalty free, you can take it, modify it, distribute it as you see fit. <br /> <br />It would be desirable that I can get feedback on your potential changes to improve this plugin for all.', 'wp-maintenance'); ?>
|
601 |
-
</li>
|
602 |
-
<li> </li>
|
603 |
-
<li>
|
604 |
-
<!-- FAIRE UN DON SUR PAYPAL -->
|
605 |
-
<div><?php _e('If you want Donate (French Paypal) for my current and future developments:', 'wp-maintenance'); ?><br />
|
606 |
-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
607 |
-
<input type="hidden" name="cmd" value="_s-xclick">
|
608 |
-
<input type="hidden" name="hosted_button_id" value="ABGJLUXM5VP58">
|
609 |
-
<input type="image" src="https://www.paypalobjects.com/fr_FR/FR/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
|
610 |
-
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
611 |
-
</form>
|
612 |
-
</div>
|
613 |
-
<!-- FIN FAIRE UN DON -->
|
614 |
-
</li>
|
615 |
-
<li> </li>
|
616 |
-
</ul>
|
617 |
-
</div>
|
618 |
-
</div>
|
619 |
-
<!-- fin options 7 -->
|
620 |
-
|
621 |
-
</div><!-- -->
|
622 |
-
|
623 |
-
</div><!-- wrap -->
|
624 |
-
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
if(!defined('WPM_PLUGIN_URL')) { define('WPM_PLUGIN_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/'); }
|
5 |
+
if(!defined('WPM_ICONS_URL')) { define('WPM_ICONS_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'); }
|
6 |
+
|
7 |
+
/* Update des paramètres */
|
8 |
+
if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
|
9 |
+
update_option('wp_maintenance_settings', $_POST["wp_maintenance_settings"]);
|
10 |
+
update_option('wp_maintenance_style', $_POST["wp_maintenance_style"]);
|
11 |
+
update_option('wp_maintenance_limit', $_POST["wp_maintenance_limit"]);
|
12 |
+
update_option('wp_maintenance_active', $_POST["wp_maintenance_active"]);
|
13 |
+
update_option('wp_maintenance_social', $_POST["wp_maintenance_social"]);
|
14 |
+
update_option('wp_maintenance_social_options', $_POST["wp_maintenance_social_options"]);
|
15 |
+
$options_saved = true;
|
16 |
+
echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.', 'wp-maintenance').'</strong></p></div>';
|
17 |
+
}
|
18 |
+
|
19 |
+
// Récupère les paramètres sauvegardés
|
20 |
+
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
21 |
+
$paramMMode = get_option('wp_maintenance_settings');
|
22 |
+
|
23 |
+
if($paramMMode['font_title_size']=='') { $paramMMode['font_title_size'] = 40; }
|
24 |
+
if($paramMMode['font_title_style']=='') { $paramMMode['font_title_style'] = 'normal'; }
|
25 |
+
if($paramMMode['font_title_weigth']=='') { $paramMMode['font_title_weigth'] = 'normal'; }
|
26 |
+
if($paramMMode['font_text_size']=='') { $paramMMode['font_text_size'] = 40; }
|
27 |
+
if($paramMMode['font_text_style']=='') { $paramMMode['font_text_style'] = 'normal'; }
|
28 |
+
if($paramMMode['font_text_weigth']=='') { $paramMMode['font_text_weigth'] = 'normal'; }
|
29 |
+
if($paramMMode['font_text_bottom']=='') { $paramMMode['font_text_bottom'] = 'normal'; }
|
30 |
+
if($paramMMode['font_bottom_size']=='') { $paramMMode['font_bottom_size'] = 12; }
|
31 |
+
if($paramMMode['font_bottom_weigth']=='') { $paramMMode['font_bottom_weigth'] = 'normal'; }
|
32 |
+
if($paramMMode['font_bottom_style']=='') { $paramMMode['font_bottom_style'] = 'normal'; }
|
33 |
+
if($paramMMode['font_cpt']=='') { $paramMMode['font_cpt'] = 'Acme'; }
|
34 |
+
if($paramMMode['date_cpt_size']=='') { $paramMMode['date_cpt_size'] = 72; }
|
35 |
+
|
36 |
+
// Récupère les Rôles et capabilités
|
37 |
+
if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
|
38 |
+
$paramLimit = get_option('wp_maintenance_limit');
|
39 |
+
|
40 |
+
// Récupère si le status est actif ou non
|
41 |
+
$statusActive = get_option('wp_maintenance_active');
|
42 |
+
|
43 |
+
// Récupère les Reseaux Sociaux
|
44 |
+
$paramSocial = get_option('wp_maintenance_social');
|
45 |
+
if(get_option('wp_maintenance_social_options')) { extract(get_option('wp_maintenance_social_options')); }
|
46 |
+
$paramSocialOption = get_option('wp_maintenance_social_options');
|
47 |
+
|
48 |
+
|
49 |
+
/* Si on réinitialise les feuille de styles */
|
50 |
+
if($_POST['wpm_initcss']==1) {
|
51 |
+
update_option( 'wp_maintenance_style', wpm_print_style() );
|
52 |
+
$options_saved = true;
|
53 |
+
echo '<div id="message" class="updated fade"><p><strong>Feuillez de style réinitialisée !</strong></p></div>';
|
54 |
+
}
|
55 |
+
|
56 |
+
?>
|
57 |
+
<style>
|
58 |
+
.sortable { list-style-type: none; margin: 0; padding: 0; width: 35%; }
|
59 |
+
.sortable li { padding: 0.4em; padding-left: 1.5em; height: 30px;cursor: pointer; cursor: move; }
|
60 |
+
.sortable li span { font-size: 15px;margin-right: 0.8em;cursor: move; }
|
61 |
+
.sortable li:hover { background-color: #d2d2d2; }
|
62 |
+
#pattern { text-align: left; margin: 5px 0; word-spacing: -1em;list-style-type: none; }
|
63 |
+
#pattern li { display: inline-block; list-style: none;margin-right:15px;text-align:center; }
|
64 |
+
#pattern li.current { background: #66CC00; color: #fff; }
|
65 |
+
</style>
|
66 |
+
<style type="text/css">.postbox h3 { cursor:pointer; }</style>
|
67 |
+
<div class="wrap">
|
68 |
+
|
69 |
+
<!-- TABS OPTIONS -->
|
70 |
+
<div id="icon-options-general" class="icon32"><br></div>
|
71 |
+
<h2 class="nav-tab-wrapper">
|
72 |
+
<a id="wpm-menu-general" class="nav-tab nav-tab-active" href="#general" onfocus="this.blur();"><?php _e('General', 'wp-maintenance'); ?></a>
|
73 |
+
<a id="wpm-menu-couleurs" class="nav-tab" href="#couleurs" onfocus="this.blur();"><?php _e('Colors & Fonts', 'wp-maintenance'); ?></a>
|
74 |
+
<a id="wpm-menu-image" class="nav-tab" href="#image" onfocus="this.blur();"><?php _e('Picture', 'wp-maintenance'); ?></a>
|
75 |
+
<a id="wpm-menu-compte" class="nav-tab" href="#compte" onfocus="this.blur();"><?php _e('CountDown', 'wp-maintenance'); ?></a>
|
76 |
+
<a id="wpm-menu-styles" class="nav-tab" href="#styles" onfocus="this.blur();"><?php _e('CSS Style', 'wp-maintenance'); ?></a>
|
77 |
+
<a id="wpm-menu-options" class="nav-tab" href="#options" onfocus="this.blur();"><?php _e('Settings', 'wp-maintenance'); ?></a>
|
78 |
+
<a id="wpm-menu-apropos" class="nav-tab" href="#apropos" onfocus="this.blur();"><?php _e('About', 'wp-maintenance'); ?></a>
|
79 |
+
</h2>
|
80 |
+
|
81 |
+
|
82 |
+
<div style="margin-left:25px;margin-top: 15px;">
|
83 |
+
<form method="post" action="" name="valide_maintenance">
|
84 |
+
<input type="hidden" name="action" value="update" />
|
85 |
+
|
86 |
+
<!-- GENERAL -->
|
87 |
+
<div class="wpm-menu-general wpm-menu-group">
|
88 |
+
<div id="wpm-opt-general" >
|
89 |
+
<ul>
|
90 |
+
<!-- CHOIX ACTIVATION MAINTENANCE -->
|
91 |
+
<li>
|
92 |
+
<h3><?php _e('Enable maintenance mode:', 'wp-maintenance'); ?></h3>
|
93 |
+
<input type= "radio" name="wp_maintenance_active" value="1" <?php if($statusActive==1) { echo ' checked'; } ?>> <?php _e('Yes', 'wp-maintenance'); ?>
|
94 |
+
<input type= "radio" name="wp_maintenance_active" value="0" <?php if($statusActive==0) { echo ' checked'; } ?>> <?php _e('No', 'wp-maintenance'); ?>
|
95 |
+
</li>
|
96 |
+
<!-- TEXTE PERSONNEL POUR LA PAGE -->
|
97 |
+
<li>
|
98 |
+
<h3><?php _e('Title and text for the maintenance page:', 'wp-maintenance'); ?></h3>
|
99 |
+
<?php _e('Title:', 'wp-maintenance'); ?><br /><input type="text" name="wp_maintenance_settings[titre_maintenance]" value="<?php echo stripslashes($paramMMode['titre_maintenance']); ?>" /><br />
|
100 |
+
<?php _e('Text:', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[text_maintenance]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['text_maintenance']); ?></TEXTAREA>
|
101 |
+
<h3><?php _e('Text in the bottom of maintenance page:', 'wp-maintenance'); ?></h3>
|
102 |
+
<?php _e('Text:', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[text_bt_maintenance]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['text_bt_maintenance']); ?></TEXTAREA>
|
103 |
+
</li>
|
104 |
+
|
105 |
+
<li>
|
106 |
+
<h3><?php _e('Enable Google Analytics:', 'wp-maintenance'); ?></h3>
|
107 |
+
<input type= "checkbox" name="wp_maintenance_settings[analytics]" value="1" <?php if($paramMMode['analytics']==1) { echo ' checked'; } ?>><?php _e('Yes', 'wp-maintenance'); ?><br /><br />
|
108 |
+
<?php _e('Enter your Google analytics tracking ID here:', 'wp-maintenance'); ?><br />
|
109 |
+
<input type="text" name="wp_maintenance_settings[code_analytics]" value="<?php echo stripslashes(trim($paramMMode['code_analytics'])); ?>"><br />
|
110 |
+
<?php _e('Enter your domain URL:', 'wp-maintenance'); ?><br />
|
111 |
+
<input type="text" name="wp_maintenance_settings[domain_analytics]" value="<?php if($paramMMode['domain_analytics']=='') { echo $_SERVER['SERVER_NAME']; } else { echo stripslashes(trim($paramMMode['domain_analytics'])); } ?>">
|
112 |
+
</li>
|
113 |
+
<li> </li>
|
114 |
+
|
115 |
+
<li>
|
116 |
+
<h3><?php _e('Enable Social Networks:', 'wp-maintenance'); ?></h3>
|
117 |
+
<input type= "checkbox" name="wp_maintenance_social_options[enable]" value="1" <?php if($paramSocialOption['enable']==1) { echo ' checked'; } ?>><?php _e('Yes', 'wp-maintenance'); ?><br /><br />
|
118 |
+
<?php _e('Enter text for the title icons:', 'wp-maintenance'); ?>
|
119 |
+
<input type="text" name="wp_maintenance_social_options[texte]" value="<?php if($paramSocialOption['texte']=='') { _e('Follow me on', 'wp-maintenance'); } else { echo stripslashes(trim($paramSocialOption['texte'])); } ?>" /><br /><br />
|
120 |
+
<!-- Liste des réseaux sociaux -->
|
121 |
+
<?php _e('Drad and drop the lines to put in the order you want:', 'wp-maintenance'); ?><br /><br />
|
122 |
+
<ul class="sortable">
|
123 |
+
<?php
|
124 |
+
if($paramSocial) {
|
125 |
+
foreach($paramSocial as $socialName=>$socialUrl) {
|
126 |
+
?>
|
127 |
+
<li><span>::</span><img src="<?php echo WPM_ICONS_URL; ?>24x24/<?php echo $socialName; ?>.png" hspace="3" valign="middle" /><?php echo ucfirst($socialName); ?> <input type= "text" name="wp_maintenance_social[<?php echo $socialName; ?>]" value="<?php echo $socialUrl; ?>" onclick="select()" /></li>
|
128 |
+
<?php } ?>
|
129 |
+
<?php
|
130 |
+
} else {
|
131 |
+
$arr = array('facebook', 'twitter', 'linkedin', 'flickr', 'youtube', 'pinterest', 'vimeo', 'instagram', 'google_plus', 'about_me');
|
132 |
+
foreach ($arr as &$value) {
|
133 |
+
echo '<li><span>::</span><img src="'.WPM_ICONS_URL.'24x24/'.$value.'.png" valign="middle" hspace="3"/>'.ucfirst($value).' <input type= "text" name="wp_maintenance_social['.$value.']" value="'.$paramSocial[$value].'" onclick="select()" ><br />';
|
134 |
+
}
|
135 |
+
}
|
136 |
+
?>
|
137 |
+
</ul>
|
138 |
+
<script src="<?php echo WPM_PLUGIN_URL; ?>jquery.sortable.js"></script>
|
139 |
+
<script>
|
140 |
+
jQuery('.sortable').sortable();
|
141 |
+
</script>
|
142 |
+
<br />
|
143 |
+
<?php _e('Choose icons size:', 'wp-maintenance'); ?>
|
144 |
+
<select name="wp_maintenance_social_options[size]">
|
145 |
+
<option value="16"<?php if($paramSocialOption['size']==16) { echo ' selected'; } ?>>16</option>
|
146 |
+
<option value="24"<?php if($paramSocialOption['size']==24) { echo ' selected'; } ?>>24</option>
|
147 |
+
<option value="32"<?php if($paramSocialOption['size']==32) { echo ' selected'; } ?>>32</option>
|
148 |
+
<option value="32"<?php if($paramSocialOption['size']==48 or $paramSocialOption=='') { echo ' selected'; } ?>>48</option>
|
149 |
+
<option value="64"<?php if($paramSocialOption['size']==64) { echo ' selected'; } ?>>64</option>
|
150 |
+
<option value="128"<?php if($paramSocialOption['size']==128) { echo ' selected'; } ?>>128</option>
|
151 |
+
</select>
|
152 |
+
</li>
|
153 |
+
<li>
|
154 |
+
<?php _e('Position:', 'wp-maintenance'); ?>
|
155 |
+
<select name="wp_maintenance_social_options[position]">
|
156 |
+
<option value="top"<?php if($paramSocialOption['position']=='top') { echo ' selected'; } ?>><?php _e('Top', 'wp-maintenance'); ?></option>
|
157 |
+
<option value="bottom"<?php if(!$paramSocialOption['position'] or $paramSocialOption['position']=='bottom') { echo ' selected'; } ?>><?php _e('Bottom', 'wp-maintenance'); ?></option>
|
158 |
+
</select>
|
159 |
+
</li>
|
160 |
+
<li>
|
161 |
+
<?php _e('Align:', 'wp-maintenance'); ?>
|
162 |
+
<select name="wp_maintenance_social_options[align]">
|
163 |
+
<option value="left"<?php if($paramSocialOption['align']=='left') { echo ' selected'; } ?>><?php _e('Left', 'wp-maintenance'); ?></option>
|
164 |
+
<option value="center"<?php if($paramSocialOption['align']=='' or $paramSocialOption['align']=='center') { echo ' selected'; } ?>><?php _e('Center', 'wp-maintenance'); ?></option>
|
165 |
+
<option value="right"<?php if($paramSocialOption['align']=='right') { echo ' selected'; } ?>><?php _e('Right', 'wp-maintenance'); ?></option>
|
166 |
+
</select>
|
167 |
+
<br /><br />
|
168 |
+
<?php _e('You have your own icons? Enter the folder name of your theme here:', 'wp-maintenance'); ?><br /><strong><?php echo get_stylesheet_directory_uri(); ?>/</strong><input type="text" value="<?php echo stripslashes(trim($paramSocialOption['theme'])); ?>" name="wp_maintenance_social_options[theme]" />
|
169 |
+
|
170 |
+
</li>
|
171 |
+
<li> </li>
|
172 |
+
|
173 |
+
<li>
|
174 |
+
<h3><?php _e('Enable Newletter:', 'wp-maintenance'); ?></h3>
|
175 |
+
<input type= "checkbox" name="wp_maintenance_settings[newletter]" value="1" <?php if($paramMMode['newletter']==1) { echo ' checked'; } ?>><?php _e('Yes', 'wp-maintenance'); ?><br /><br />
|
176 |
+
<?php _e('Enter your newletter shortcode here:', 'wp-maintenance'); ?><br />
|
177 |
+
<input type="text" name="wp_maintenance_settings[code_newletter]" value='<?php echo stripslashes(trim($paramMMode['code_newletter'])); ?>' onclick="select()" />
|
178 |
+
</li>
|
179 |
+
<li> </li>
|
180 |
+
|
181 |
+
<li>
|
182 |
+
<a href="#general" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
183 |
+
</li>
|
184 |
+
</ul>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
<!-- fin options 1 -->
|
188 |
+
|
189 |
+
|
190 |
+
<!-- Couleurs -->
|
191 |
+
<div class="wpm-menu-couleurs wpm-menu-group" style="display: none;">
|
192 |
+
<div id="wpm-opt-couleurs" >
|
193 |
+
<ul>
|
194 |
+
<!-- COULEUR DU FOND DE PAGE -->
|
195 |
+
<li><h3><?php _e('Choice texts colors:', 'wp-maintenance'); ?></h3>
|
196 |
+
<div id="pmColor" style="position: relative;">
|
197 |
+
<em><?php _e('Background page color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_bg']; ?>" name="wp_maintenance_settings[color_bg]" class="wpm-color-field" data-default-color="#f1f1f1" /> <br />
|
198 |
+
<em><?php _e('Text color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_txt']; ?>" name="wp_maintenance_settings[color_txt]" class="wpm-color-field" data-default-color="#888888" /> <br /> <br />
|
199 |
+
|
200 |
+
<!-- POLICE DU TITRE -->
|
201 |
+
<em><stong><?php _e('Title font settings', 'wp-maintenance'); ?></stong></em>
|
202 |
+
<div>
|
203 |
+
<table cellspacing="10">
|
204 |
+
<tr>
|
205 |
+
<td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_title]', $paramMMode['font_title']); ?></td>
|
206 |
+
<td>
|
207 |
+
<?php _e('Size:', 'wp-maintenance'); ?>
|
208 |
+
<input type="text" size="3" name="wp_maintenance_settings[font_title_size]" value="<?php echo stripslashes($paramMMode['font_title_size']); ?>" />px
|
209 |
+
|
210 |
+
</td>
|
211 |
+
</tr>
|
212 |
+
<tr>
|
213 |
+
<td rowspan="2">
|
214 |
+
<input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="normal" <?php if($paramMMode['font_title_weigth']=='normal') { echo 'checked'; } ?> >Normal
|
215 |
+
<input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="bold" <?php if($paramMMode['font_title_weigth']=='bold') { echo 'checked'; } ?>>Bold
|
216 |
+
<input type="checkbox" name="wp_maintenance_settings[font_title_style]" value="italic" <?php if($paramMMode['font_title_style']=='italic') { echo 'checked'; } ?>>Italic
|
217 |
+
</td>
|
218 |
+
</tr>
|
219 |
+
</table>
|
220 |
+
</div><br />
|
221 |
+
<!-- FIN POLICE DU TITRE-->
|
222 |
+
|
223 |
+
<!-- POLICE DU TEXTE -->
|
224 |
+
<em><?php _e('Text font settings', 'wp-maintenance'); ?></em>
|
225 |
+
<div>
|
226 |
+
<table cellspacing="10">
|
227 |
+
<tr>
|
228 |
+
<td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text]', $paramMMode['font_text']); ?></td>
|
229 |
+
<td>
|
230 |
+
<?php _e('Size:', 'wp-maintenance'); ?>
|
231 |
+
<input type="text" size="3" name="wp_maintenance_settings[font_text_size]" value="<?php echo stripslashes($paramMMode['font_text_size']); ?>" />px
|
232 |
+
|
233 |
+
</td>
|
234 |
+
</tr>
|
235 |
+
<tr>
|
236 |
+
<td rowspan="2">
|
237 |
+
<input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="normal" <?php if($paramMMode['font_text_weigth']=='normal') { echo 'checked'; } ?> >Normal
|
238 |
+
<input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="bold" <?php if($paramMMode['font_text_weigth']=='bold') { echo 'checked'; } ?>>Bold
|
239 |
+
<input type="checkbox" name="wp_maintenance_settings[font_text_style]" value="italic" <?php if($paramMMode['font_text_style']=='italic') { echo 'checked'; } ?>>Italic
|
240 |
+
</td>
|
241 |
+
</tr>
|
242 |
+
</table>
|
243 |
+
</div>
|
244 |
+
<!-- FIN POLICE DU TEXTE -->
|
245 |
+
|
246 |
+
<h3><?php _e('Choice countdown colors:', 'wp-maintenance'); ?></h3>
|
247 |
+
<em><?php _e('Countdown text color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_cpt']; ?>" name="wp_maintenance_settings[color_cpt]" class="wpm-color-field" data-default-color="#FFFFFF" />
|
248 |
+
<br />
|
249 |
+
<em><?php _e('Countdown background color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_cpt_bg']; ?>" name="wp_maintenance_settings[color_cpt_bg]" class="wpm-color-field" data-default-color="#888888" /><br /><br />
|
250 |
+
|
251 |
+
<!-- POLICE DU COMPTEUR -->
|
252 |
+
<em><?php _e('Countdown font settings', 'wp-maintenance'); ?></em>
|
253 |
+
<div>
|
254 |
+
<table cellspacing="10">
|
255 |
+
<tr>
|
256 |
+
<td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_cpt]', $paramMMode['font_cpt']); ?></td>
|
257 |
+
<td>
|
258 |
+
<?php _e('Size:', 'wp-maintenance'); ?>
|
259 |
+
<input type="text" size="3" name="wp_maintenance_settings[date_cpt_size]" value="<?php echo stripslashes($paramMMode['date_cpt_size']); ?>" />px
|
260 |
+
|
261 |
+
</td>
|
262 |
+
</tr>
|
263 |
+
</table>
|
264 |
+
</div>
|
265 |
+
<!-- FIN POLICE DU COMPTEUR -->
|
266 |
+
<br />
|
267 |
+
|
268 |
+
</div>
|
269 |
+
<h3><?php _e('Choice texts bottom colors:', 'wp-maintenance'); ?></h3>
|
270 |
+
<div id="pmColor" style="position: relative;">
|
271 |
+
<em><?php _e('Bottom color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_bg_bottom']; ?>" name="wp_maintenance_settings[color_bg_bottom]" class="wpm-color-field" data-default-color="#333333" /> <br />
|
272 |
+
<em><?php _e('Text bottom color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_text_bottom']; ?>" name="wp_maintenance_settings[color_text_bottom]" class="wpm-color-field" data-default-color="#ffffff" /> <br /> <br />
|
273 |
+
|
274 |
+
<!-- POLICE DU TEXTE BAS DE PAGE -->
|
275 |
+
<em><?php _e('Text font on the bottom page:', 'wp-maintenance'); ?></em>
|
276 |
+
<div>
|
277 |
+
<table cellspacing="10">
|
278 |
+
<tr>
|
279 |
+
<td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text_bottom]', $paramMMode['font_text_bottom']); ?></td>
|
280 |
+
<td>
|
281 |
+
<?php _e('Size:', 'wp-maintenance'); ?>
|
282 |
+
<input type="text" size="3" name="wp_maintenance_settings[font_bottom_size]" value="<?php echo stripslashes($paramMMode['font_bottom_size']); ?>" />px
|
283 |
+
|
284 |
+
</td>
|
285 |
+
</tr>
|
286 |
+
<tr>
|
287 |
+
<td rowspan="2">
|
288 |
+
<input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="normal" <?php if($paramMMode['font_bottom_weigth']=='normal') { echo 'checked'; } ?> >Normal
|
289 |
+
<input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="bold" <?php if($paramMMode['font_bottom_weigth']=='bold') { echo 'checked'; } ?>>Bold
|
290 |
+
<input type="checkbox" name="wp_maintenance_settings[font_bottom_style]" value="italic" <?php if($paramMMode['font_bottom_style']=='italic') { echo 'checked'; } ?>>Italic
|
291 |
+
</td>
|
292 |
+
</tr>
|
293 |
+
</table>
|
294 |
+
</div>
|
295 |
+
<br />
|
296 |
+
<!-- FIN POLICE DU TEXTE BAS DE PAGE -->
|
297 |
+
<br /><br />
|
298 |
+
</li>
|
299 |
+
<li> </li>
|
300 |
+
|
301 |
+
<li>
|
302 |
+
<a href="#couleurs" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
303 |
+
</li>
|
304 |
+
</ul>
|
305 |
+
</div>
|
306 |
+
</div>
|
307 |
+
<!-- fin options 2 -->
|
308 |
+
|
309 |
+
<!-- Onglet options 3 -->
|
310 |
+
<div class="wpm-menu-image wpm-menu-group" style="display: none;">
|
311 |
+
<div id="wpm-opt-image" >
|
312 |
+
<ul>
|
313 |
+
<!-- UPLOADER UNE IMAGE -->
|
314 |
+
<li><h3><?php _e('Upload a picture', 'wp-maintenance'); ?></h3>
|
315 |
+
<?php if($paramMMode['image']) { ?>
|
316 |
+
<?php _e('You use this picture:', 'wp-maintenance'); ?><br /> <img src="<?php echo $paramMMode['image']; ?>" width="300" style="border:1px solid #333;padding:3px;" /><br />
|
317 |
+
<?php } ?>
|
318 |
+
<input id="upload_image" size="36" name="wp_maintenance_settings[image]" value="<?php echo $paramMMode['image']; ?>" type="text" /> <a href="#" id="upload_image_button" class="button" OnClick="this.blur();"><span> <?php _e('Select or Upload your picture', 'wp-maintenance'); ?> </span></a>
|
319 |
+
<br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small>
|
320 |
+
</li>
|
321 |
+
<li> </li>
|
322 |
+
|
323 |
+
<!-- UPLOADER UNE IMAGE DE FOND -->
|
324 |
+
<li><h3><?php _e('Upload a background picture', 'wp-maintenance'); ?></h3>
|
325 |
+
<input type= "checkbox" name="wp_maintenance_settings[b_enable_image]" value="1" <?php if($paramMMode['b_enable_image']==1) { echo ' checked'; } ?>> <?php _e('Enable image background', 'wp-maintenance'); ?><br /><br />
|
326 |
+
<?php if($paramMMode['b_image']!='' && (!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) ) { ?>
|
327 |
+
<?php _e('You use this background picture:', 'wp-maintenance'); ?><br />
|
328 |
+
<img src="<?php echo $paramMMode['b_image']; ?>" width="300" style="border:1px solid #333;padding:3px;background: url('<?php echo $paramMMode['b_image']; ?>');" /><br />
|
329 |
+
<?php } ?>
|
330 |
+
<?php if($paramMMode['b_pattern']>0) { ?>
|
331 |
+
<?php _e('You use this pattern:', 'wp-maintenance'); ?><br />
|
332 |
+
<div style="background: url('<?php echo WP_PLUGIN_URL ?>/wp-maintenance/images/pattern<?php echo $paramMMode['b_pattern']; ?>.png');width:250px;height:250px;border:1px solid #333;"></div>
|
333 |
+
<?php } ?>
|
334 |
+
<input id="upload_b_image" size="36" name="wp_maintenance_settings[b_image]" value="<?php echo $paramMMode['b_image']; ?>" type="text" /> <a href="#" id="upload_b_image_button" class="button" OnClick="this.blur();"><span> <?php _e('Select or Upload your picture', 'wp-maintenance'); ?> </span></a>
|
335 |
+
<br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small><br /><br />
|
336 |
+
<?php _e('Or choose a pattern:', 'wp-maintenance'); ?>
|
337 |
+
|
338 |
+
<ul id="pattern">
|
339 |
+
<li>
|
340 |
+
<div style="width:50px;height:50px;border:1px solid #333;background-color:#ffffff;"></div>
|
341 |
+
<input type="radio" value="0" <?php if(!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
|
342 |
+
</li>
|
343 |
+
<?php for ($p = 1; $p <= 12; $p++) { ?>
|
344 |
+
<li>
|
345 |
+
<div style="width:50px;height:50px;border:1px solid #333;background:url('<?php echo WP_PLUGIN_URL ?>/wp-maintenance/images/pattern<?php echo $p ?>.png');"></div>
|
346 |
+
<input type="radio" value="<?php echo $p; ?>" <?php if($paramMMode['b_pattern']==$p) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
|
347 |
+
</li>
|
348 |
+
<?php } ?>
|
349 |
+
</ul>
|
350 |
+
</li>
|
351 |
+
|
352 |
+
<li><h3><?php _e('Background picture options', 'wp-maintenance'); ?></h3>
|
353 |
+
<select name="wp_maintenance_settings[b_repeat_image]" >
|
354 |
+
<option value="repeat"<?php if($paramMMode['b_repeat_image']=='repeat' or $paramMMode['b_repeat_image']=='') { echo ' selected'; } ?>>repeat</option>
|
355 |
+
<option value="no-repeat"<?php if($paramMMode['b_repeat_image']=='no-repeat') { echo ' selected'; } ?>>no-repeat</option>
|
356 |
+
<option value="repeat-x"<?php if($paramMMode['b_repeat_image']=='repeat-x') { echo ' selected'; } ?>>repeat-x</option>
|
357 |
+
<option value="repeat-y"<?php if($paramMMode['b_repeat_image']=='repeat-y') { echo ' selected'; } ?>>repeat-y</option>
|
358 |
+
</select><br /><br />
|
359 |
+
<input type= "checkbox" name="wp_maintenance_settings[b_fixed_image]" value="1" <?php if($paramMMode['b_fixed_image']==1) { echo ' checked'; } ?>> <?php _e('Fixed', 'wp-maintenance'); ?><br />
|
360 |
+
</li>
|
361 |
+
<li> </li>
|
362 |
+
|
363 |
+
<li>
|
364 |
+
<a href="#image" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
365 |
+
</li>
|
366 |
+
|
367 |
+
</ul>
|
368 |
+
</div>
|
369 |
+
</div>
|
370 |
+
<!-- fin options 3 -->
|
371 |
+
|
372 |
+
<!-- Onglet options 4 -->
|
373 |
+
<div class="wpm-menu-compte wpm-menu-group" style="display: none;">
|
374 |
+
<div id="wpm-opt-compte" >
|
375 |
+
<ul>
|
376 |
+
<!-- ACTIVER COMPTEUR -->
|
377 |
+
<li><h3><?php _e('Enable a countdown ?', 'wp-maintenance'); ?></h3>
|
378 |
+
<input type= "checkbox" name="wp_maintenance_settings[active_cpt]" value="1" <?php if($paramMMode['active_cpt']==1) { echo ' checked'; } ?>> <?php _e('Yes', 'wp-maintenance'); ?><br /><br />
|
379 |
+
<small><?php _e('Enter the launch date', 'wp-maintenance'); ?></small><br /> <input type="text" name="wp_maintenance_settings[date_cpt_jj]" value="<?php if($paramMMode['date_cpt_jj']!='') { echo $paramMMode['date_cpt_jj']; } else { echo date('d'); } ?>" size="2" maxlength="2" autocomplete="off" />
|
380 |
+
<select name="wp_maintenance_settings[date_cpt_mm]">
|
381 |
+
<?php
|
382 |
+
$ctpDate = array(
|
383 |
+
'01'=> 'jan',
|
384 |
+
'02' => 'fév',
|
385 |
+
'03' => 'mar',
|
386 |
+
'04' => 'avr',
|
387 |
+
'05' => 'mai',
|
388 |
+
'06' => 'juin',
|
389 |
+
'07' => 'juil',
|
390 |
+
'08' => 'août',
|
391 |
+
'09' => 'sept',
|
392 |
+
'10' => 'oct',
|
393 |
+
'11' => 'nov',
|
394 |
+
'12' => 'déc'
|
395 |
+
);
|
396 |
+
foreach($ctpDate as $a => $b) {
|
397 |
+
if($paramMMode['date_cpt_mm']=='' && $a==date('m')) {
|
398 |
+
$addSelected = 'selected';
|
399 |
+
} elseif($paramMMode['date_cpt_mm']!='' && $paramMMode['date_cpt_mm']==$a) {
|
400 |
+
$addSelected = 'selected';
|
401 |
+
} else {
|
402 |
+
$addSelected = '';
|
403 |
+
}
|
404 |
+
echo '<option value="'.$a.'" '.$addSelected.'>'.$a.' - '.$b.'</option>';
|
405 |
+
}
|
406 |
+
?>
|
407 |
+
</select>
|
408 |
+
<input type="text" name="wp_maintenance_settings[date_cpt_aa]" value="<?php if($paramMMode['date_cpt_aa']!='') { echo $paramMMode['date_cpt_aa']; } else { echo date('Y'); } ?>" size="4" maxlength="4" autocomplete="off" /> à
|
409 |
+
<input type="text" name="wp_maintenance_settings[date_cpt_hh]" value="<?php if($paramMMode['date_cpt_hh']!='') { echo $paramMMode['date_cpt_hh']; } else { echo date('H'); } ?>" size="2" maxlength="2" autocomplete="off" /> h <input type="text" name="wp_maintenance_settings[date_cpt_mn]" value="<?php if($paramMMode['date_cpt_mn']!='') { echo $paramMMode['date_cpt_mn']; } else { echo date('i'); } ?>" size="2" maxlength="2" autocomplete="off" /> min
|
410 |
+
<input type="hidden" name="wp_maintenance_settings[date_cpt_ss]" value="00" />
|
411 |
+
<br /><br />
|
412 |
+
<input type= "checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if($paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>> <?php _e('Enable seconds ?', 'wp-maintenance'); ?><br /><br />
|
413 |
+
<input type= "checkbox" name="wp_maintenance_settings[disable]" value="1" <?php if($paramMMode['disable']==1) { echo ' checked'; } ?>> <?php _e('Disable maintenance mode at the end of the countdown?', 'wp-maintenance'); ?><br /><br />
|
414 |
+
<?php _e('End message:', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[message_cpt_fin]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['message_cpt_fin']); ?></TEXTAREA><br /><?php _e('Font size:', 'wp-maintenance'); ?> <select name="wp_maintenance_settings[date_cpt_size]">
|
415 |
+
<?php
|
416 |
+
$ctpSize = array('18', '24', '36', '48', '52', '56', '60', '64', '68', '72', '76');
|
417 |
+
foreach($ctpSize as $c) {
|
418 |
+
if($paramMMode['date_cpt_size']==$c) {
|
419 |
+
$addsizeSelected = 'selected';
|
420 |
+
} else {
|
421 |
+
$addsizeSelected = '';
|
422 |
+
}
|
423 |
+
echo '<option value="'.$c.'" '.$addsizeSelected.'>'.$c.'px</option>';
|
424 |
+
}
|
425 |
+
?>
|
426 |
+
</select>
|
427 |
+
</li>
|
428 |
+
<li> </li>
|
429 |
+
<li>
|
430 |
+
<a href="#compte" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
431 |
+
</li>
|
432 |
+
</ul>
|
433 |
+
</div>
|
434 |
+
</div>
|
435 |
+
<!-- fin options 4 -->
|
436 |
+
|
437 |
+
<!-- Onglet options 5 -->
|
438 |
+
<div class="wpm-menu-styles wpm-menu-group" style="display: none;">
|
439 |
+
<div id="wpm-opt-styles" >
|
440 |
+
<ul>
|
441 |
+
<!-- UTILISER UNE FEUILLE DE STYLE PERSO -->
|
442 |
+
<li><h3><?php _e('CSS style sheet code:', 'wp-maintenance'); ?></h3>
|
443 |
+
<?php _e('Edit the CSS sheet of your maintenance page here. Click "Reset" and "Save" to retrieve the default style sheet.', 'wp-maintenance'); ?><br /><br />
|
444 |
+
<div style="float:left;width:55%;margin-right:15px;">
|
445 |
+
<TEXTAREA NAME="wp_maintenance_style" COLS=70 ROWS=24 style="width:100%;"><?php echo stripslashes(trim(get_option('wp_maintenance_style'))); ?></TEXTAREA>
|
446 |
+
</div>
|
447 |
+
<div style="float:left;position:relative;width:40%;">
|
448 |
+
<table class="wp-list-table widefat fixed" cellspacing="0">
|
449 |
+
<tbody id="the-list">
|
450 |
+
<tr>
|
451 |
+
<td><h3 class="hndle"><span><strong><?php _e('Markers for colors', 'wp-maintenance'); ?></strong></span></h3></td>
|
452 |
+
<td></td>
|
453 |
+
</tr>
|
454 |
+
<tr>
|
455 |
+
<td>#_COLORTXT</td>
|
456 |
+
<td><?php _e('Use this code for text color', 'wp-maintenance'); ?></td>
|
457 |
+
</tr>
|
458 |
+
<tr>
|
459 |
+
<td>#_COLORBG</td>
|
460 |
+
<td><?php _e('Use this code for background text color', 'wp-maintenance'); ?></td>
|
461 |
+
</tr>
|
462 |
+
<tr>
|
463 |
+
<td>#_COLORCPTBG</td>
|
464 |
+
<td><?php _e('Use this code for background color countdown', 'wp-maintenance'); ?></td>
|
465 |
+
</tr>
|
466 |
+
<tr>
|
467 |
+
<td>#_DATESIZE</td>
|
468 |
+
<td><?php _e('Use this code for size countdown', 'wp-maintenance'); ?></td>
|
469 |
+
</tr>
|
470 |
+
<tr>
|
471 |
+
<td>#_COLORCPT</td>
|
472 |
+
<td><?php _e('Use this code for countdown color', 'wp-maintenance'); ?></td>
|
473 |
+
</tr>
|
474 |
+
</tbody>
|
475 |
+
</table>
|
476 |
+
</div>
|
477 |
+
<div class="clear"></div>
|
478 |
+
<br />
|
479 |
+
</li>
|
480 |
+
<li>
|
481 |
+
<input type= "checkbox" name="wpm_initcss" value="1" id="initcss" > <label for="wpm_initcss"><?php _e('Reset default CSS stylesheet ?', 'wp-maintenance'); ?></label><br />
|
482 |
+
</li>
|
483 |
+
<li> </li>
|
484 |
+
|
485 |
+
<li>
|
486 |
+
<a href="#styles" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
487 |
+
</li>
|
488 |
+
</ul>
|
489 |
+
</div>
|
490 |
+
</div>
|
491 |
+
<!-- fin options 5 -->
|
492 |
+
|
493 |
+
<!-- Onglet options 6 -->
|
494 |
+
<div class="wpm-menu-options wpm-menu-group" style="display: none;">
|
495 |
+
<div id="wpm-opt-options" >
|
496 |
+
<ul>
|
497 |
+
<!-- UTILISER UNE PAGE MAINTENANCE.PHP -->
|
498 |
+
<li><h3><?php _e('Theme maintenance page:', 'wp-maintenance'); ?></h3>
|
499 |
+
<?php _e('If you would use your maintenance.php page in your theme folder, click Yes.', 'wp-maintenance'); ?> <br /><br />
|
500 |
+
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="1" <?php if($paramMMode['pageperso']==1) { echo ' checked'; } ?>> <?php _e('Yes', 'wp-maintenance'); ?>
|
501 |
+
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="0" <?php if(!$paramMMode['pageperso'] or $paramMMode['pageperso']==0) { echo ' checked'; } ?>> <?php _e('No', 'wp-maintenance'); ?><br /><br />
|
502 |
+
<?php _e('You can use this shortcode to include Google Analytics code:', 'wp-maintenance'); ?> <input type="text" value="do_shortcode('[wpm_analytics']);" onclick="select()" style="width:250px;" /><br /><?php _e('You can use this shortcode to include Social Networks icons:', 'wp-maintenance'); ?> <input type="text" value="do_shortcode('[wpm_social]');" onclick="select()" style="width:250px;" /><br />
|
503 |
+
</li>
|
504 |
+
<li> </li>
|
505 |
+
|
506 |
+
<li><h3><?php _e('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
|
507 |
+
<?php _e('Allow the site to display these roles:', 'wp-maintenance'); ?> <br /><br />
|
508 |
+
<input type="hidden" name="wp_maintenance_limit[administrator]" value="administrator" />
|
509 |
+
<?php
|
510 |
+
$roles = wpm_get_roles();
|
511 |
+
foreach($roles as $role=>$name) {
|
512 |
+
$limitCheck = '';
|
513 |
+
if($paramLimit[$role]==$role) { $limitCheck = ' checked'; }
|
514 |
+
if($role=='administrator') {
|
515 |
+
$limitCheck = 'checked disabled="disabled"';
|
516 |
+
}
|
517 |
+
?>
|
518 |
+
<input type="checkbox" name="wp_maintenance_limit[<?php echo $role; ?>]" value="<?php echo $role; ?>"<?php echo $limitCheck; ?> /><?php echo $name; ?>
|
519 |
+
<?php }//end foreach ?>
|
520 |
+
</li>
|
521 |
+
<li> </li>
|
522 |
+
|
523 |
+
<li>
|
524 |
+
<a href="#options" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php _e('Save this settings', 'wp-maintenance'); ?> </span></a>
|
525 |
+
</li>
|
526 |
+
|
527 |
+
</ul>
|
528 |
+
</div>
|
529 |
+
</div>
|
530 |
+
<!-- fin options 6 -->
|
531 |
+
|
532 |
+
</form>
|
533 |
+
|
534 |
+
<!-- Onglet options 7 -->
|
535 |
+
<div class="wpm-menu-apropos wpm-menu-group" style="display: none;">
|
536 |
+
<div id="wpm-opt-apropos" >
|
537 |
+
<ul>
|
538 |
+
|
539 |
+
<li>
|
540 |
+
<?php _e('This plugin has been developed for you for free by <a href="http://www.restezconnectes.fr" target="_blank">Florent Maillefaud</ a>. It is royalty free, you can take it, modify it, distribute it as you see fit. <br /> <br />It would be desirable that I can get feedback on your potential changes to improve this plugin for all.', 'wp-maintenance'); ?>
|
541 |
+
</li>
|
542 |
+
<li> </li>
|
543 |
+
<li>
|
544 |
+
<!-- FAIRE UN DON SUR PAYPAL -->
|
545 |
+
<div><?php _e('If you want Donate (French Paypal) for my current and future developments:', 'wp-maintenance'); ?><br />
|
546 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
547 |
+
<input type="hidden" name="cmd" value="_s-xclick">
|
548 |
+
<input type="hidden" name="hosted_button_id" value="ABGJLUXM5VP58">
|
549 |
+
<input type="image" src="https://www.paypalobjects.com/fr_FR/FR/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
|
550 |
+
<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
551 |
+
</form>
|
552 |
+
</div>
|
553 |
+
<!-- FIN FAIRE UN DON -->
|
554 |
+
</li>
|
555 |
+
<li> </li>
|
556 |
+
</ul>
|
557 |
+
</div>
|
558 |
+
</div>
|
559 |
+
<!-- fin options 7 -->
|
560 |
+
|
561 |
+
</div><!-- -->
|
562 |
+
|
563 |
+
</div><!-- wrap -->
|
564 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wp-maintenance.php
CHANGED
@@ -1,622 +1,534 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
Plugin Name: WP Maintenance
|
5 |
-
Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance/
|
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:
|
10 |
-
*/
|
11 |
-
|
12 |
-
|
13 |
-
/*
|
14 |
-
Change Log
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
if(!defined('
|
37 |
-
if(!defined('
|
38 |
-
if(!defined('
|
39 |
-
if(!defined(
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
}
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
$
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
$
|
88 |
-
|
89 |
-
|
90 |
-
'
|
91 |
-
'
|
92 |
-
'
|
93 |
-
'
|
94 |
-
'
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
$
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
}
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
}
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
.
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
}
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
}
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
}
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
'
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
}
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
'
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
}
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
536 |
-
width:'.($paramMMode['date_cpt_size']*0.9).'px;
|
537 |
-
}
|
538 |
-
.cptR-rec_countdown {
|
539 |
-
font-size:'.($paramMMode['date_cpt_size']*0.6).'px;
|
540 |
-
}
|
541 |
-
#cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
|
542 |
-
font-size: 8px;
|
543 |
-
}
|
544 |
-
}
|
545 |
-
</style>
|
546 |
-
'.do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]').'
|
547 |
-
</head>
|
548 |
-
<body>';
|
549 |
-
if($paramSocialOption['position']=='top') {
|
550 |
-
$content .= do_shortcode('[wpm_social]');
|
551 |
-
}
|
552 |
-
$content .= '<div id="wrapper">';
|
553 |
-
if($paramMMode['image']) {
|
554 |
-
$content .= '
|
555 |
-
<div id="header" class="full">
|
556 |
-
<div id="logo"><img src="'.$paramMMode['image'].'" '.$attr.' /></div>
|
557 |
-
</div>
|
558 |
-
';
|
559 |
-
}
|
560 |
-
$content .= '
|
561 |
-
<div id="content" class="full">
|
562 |
-
<div id="main">';
|
563 |
-
$content .= '
|
564 |
-
<div id="intro" class="block"><h3>'.stripslashes($paramMMode['titre_maintenance']).'</h3><p>'.stripslashes($paramMMode['text_maintenance']).'</p></div>';
|
565 |
-
if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='' && $paramMMode['active_cpt']==1) {
|
566 |
-
$content .='
|
567 |
-
<div style="margin-left:auto;margin-right:auto;text-align: center;margin-top:30px;">
|
568 |
-
<script language="JavaScript">
|
569 |
-
TargetDate = "'.$dateCpt.'";
|
570 |
-
BackColor = "'.$paramMMode['color_cpt_bg'].'";
|
571 |
-
FontSize = "'.$paramMMode['date_cpt_size'].'";
|
572 |
-
ForeColor = "'.$paramMMode['color_cpt'].'";
|
573 |
-
Disable = "'.$paramMMode['disable'].'";
|
574 |
-
UrlDisable = "'.get_option( 'siteurl').'";
|
575 |
-
CountActive = true;
|
576 |
-
CountStepper = -1;
|
577 |
-
LeadingZero = true;
|
578 |
-
';
|
579 |
-
$content .= " DisplayFormat = '<div id=\"cptR-day\">%%D%%<br /><span id=\"cptR-days-span\">".__('Days', 'wp-maintenance')."</span></div><div id=\"cptR-hours\">%%H%%<br /><span id=\"cptR-hours-span\">".__('Hours', 'wp-maintenance')."</span></div><div id=\"cptR-minutes\">%%M%%<br /><span id=\"cptR-minutes-span\">".__('Minutes', 'wp-maintenance')."</span></div>";
|
580 |
-
if($paramMMode['active_cpt_s']==1) {
|
581 |
-
$content .= '<div id="cptR-seconds">%%S%%<br /><span id="cptR-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
|
582 |
-
}
|
583 |
-
$content .= "';
|
584 |
-
FinishMessage = '".stripslashes($paramMMode['message_cpt_fin'])."';
|
585 |
-
</script>";
|
586 |
-
$content .= '
|
587 |
-
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
588 |
-
</div>';
|
589 |
-
}
|
590 |
-
if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
|
591 |
-
$content .= '<div class="wpm_newletter">'.do_shortcode(stripslashes($paramMMode['code_newletter'])).'</div>';
|
592 |
-
}
|
593 |
-
|
594 |
-
|
595 |
-
$content .= '
|
596 |
-
</div><!-- div main -->
|
597 |
-
</div><!-- div content -->
|
598 |
-
</div><!-- div wrapper -->';
|
599 |
-
if($paramSocialOption['position']=='bottom') {
|
600 |
-
$content .= do_shortcode('[wpm_social]');
|
601 |
-
}
|
602 |
-
if($paramMMode['text_bt_maintenance']!='') {
|
603 |
-
$content .= '<div id="wpm_footer"><p class="wpm_copyright">'.stripslashes($paramMMode['text_bt_maintenance']).'</p></div>';
|
604 |
-
}
|
605 |
-
$content .='
|
606 |
-
</body>
|
607 |
-
</html>';
|
608 |
-
}
|
609 |
-
die($content);
|
610 |
-
}
|
611 |
-
|
612 |
-
}
|
613 |
-
add_action('get_header', 'wpm_maintenance_mode');
|
614 |
-
|
615 |
-
if(function_exists('register_deactivation_hook')) {
|
616 |
-
register_deactivation_hook(__FILE__, 'wpm_uninstall');
|
617 |
-
}
|
618 |
-
|
619 |
-
//intègre le tout aux pages Admin de Wordpress
|
620 |
-
add_action("admin_menu", "wpm_add_admin");
|
621 |
-
|
622 |
-
?>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
Plugin Name: WP Maintenance
|
5 |
+
Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance/
|
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.0
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
/*
|
14 |
+
Change Log
|
15 |
+
09/08/2014 - Ajout de Fonts et Styles
|
16 |
+
17/07/2014 - Correction bug feuille de style
|
17 |
+
20/05/2014 - Correction bug upload d'image
|
18 |
+
04/05/2014 - Correction bug date fin compte à rebours
|
19 |
+
03/05/2014 - Correction bug drag&drop Réseaux Sociaux
|
20 |
+
01/05/2014 - Modifs countdown et icones réseaux sociaux..
|
21 |
+
30/04/2014 - Ajout code analytics, icones réseaux sociaux, newletter, image de fond...
|
22 |
+
31/12/2013 - Ajout des couleurs des liens et d'options supplémentaires
|
23 |
+
24/12/2013 - Bugs ajout de lien dans les textes
|
24 |
+
06/11/2013 - Bugs sur le compte à rebours
|
25 |
+
03/10/2013 - Bugs sur les couleurs
|
26 |
+
11/09/2013 - Conflits javascript résolus
|
27 |
+
30/08/2013 - CSS personnalisable
|
28 |
+
27/08/2013 - Ajout du multilangue
|
29 |
+
23/08/2013 - Refonte de l'admin et ajout d'un compte à rebours
|
30 |
+
16/02/2013 - Ajout ColorPicker
|
31 |
+
12/02/2013 - Ajout fonctionnalité et débugage
|
32 |
+
11/02/2013 - Modification nom de fonctions
|
33 |
+
24/01/2013 - Création du Plugin
|
34 |
+
*/
|
35 |
+
|
36 |
+
if(!defined('WP_CONTENT_URL')) { define('WP_CONTENT_URL', get_option( 'siteurl') . '/wp-content'); }
|
37 |
+
if(!defined('WP_CONTENT_DIR')) { define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); }
|
38 |
+
if(!defined('WP_PLUGIN_URL')) { define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins'); }
|
39 |
+
if(!defined('WP_PLUGIN_DIR')) { define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins'); }
|
40 |
+
if(!defined( 'WPM_BASENAME')) { define( 'WPM_BASENAME', plugin_basename(__FILE__) ); }
|
41 |
+
|
42 |
+
/* Ajout réglages au plugin */
|
43 |
+
$wpmaintenance_dashboard = ( is_admin() ) ? 'options-general.php?page=wp-maintenance/wp-maintenance.php' : '';
|
44 |
+
define( 'WPM_SETTINGS', $wpmaintenance_dashboard);
|
45 |
+
|
46 |
+
include("uninstall.php");
|
47 |
+
include("wpm_fonctions.php");
|
48 |
+
|
49 |
+
// Add "Réglages" link on plugins page
|
50 |
+
add_filter( 'plugin_action_links_' . WPM_BASENAME, 'wpm_plugin_actions' );
|
51 |
+
function wpm_plugin_actions ( $links ) {
|
52 |
+
$settings_link = '<a href="'.WPM_SETTINGS.'">'.__('Settings', 'wp-maintenance').'</a>';
|
53 |
+
array_unshift ( $links, $settings_link );
|
54 |
+
return $links;
|
55 |
+
}
|
56 |
+
|
57 |
+
// multilingue
|
58 |
+
add_action( 'init', 'wpm_make_multilang' );
|
59 |
+
function wpm_make_multilang() {
|
60 |
+
load_plugin_textdomain('wp-maintenance', false, dirname( plugin_basename( __FILE__ ) ).'/languages');
|
61 |
+
}
|
62 |
+
|
63 |
+
/* Ajoute la version dans les options */
|
64 |
+
define('WPM_VERSION', '2.0');
|
65 |
+
$option['wp_maintenance_version'] = WPM_VERSION;
|
66 |
+
if( !get_option('wp_maintenance_version') ) {
|
67 |
+
add_option('wp_maintenance_version', $option);
|
68 |
+
} else if ( get_option('wp_maintenance_version') != WPM_VERSION ) {
|
69 |
+
update_option('wp_maintenance_version', WPM_VERSION);
|
70 |
+
}
|
71 |
+
|
72 |
+
//récupère le formulaire d'administration du plugin
|
73 |
+
function wpm_admin_panel() {
|
74 |
+
include("wp-maintenance-admin.php");
|
75 |
+
}
|
76 |
+
|
77 |
+
function wpm_get_roles() {
|
78 |
+
|
79 |
+
$wp_roles = new WP_Roles();
|
80 |
+
$roles = $wp_roles->get_names();
|
81 |
+
$roles = array_map( 'translate_user_role', $roles );
|
82 |
+
|
83 |
+
return $roles;
|
84 |
+
}
|
85 |
+
|
86 |
+
function wpm_add_admin() {
|
87 |
+
$hook = add_options_page("Options pour l'affichage de la page maintenance", "WP Maintenance", 10, __FILE__, "wpm_admin_panel");
|
88 |
+
|
89 |
+
$wp_maintenanceAdminOptions = array(
|
90 |
+
'color_bg' => "#f1f1f1",
|
91 |
+
'color_txt' => '#888888',
|
92 |
+
'color_bg_bottom' => '#333333',
|
93 |
+
'color_text_bottom' => '#FFFFFF',
|
94 |
+
'text_maintenance' => __('This site is down for maintenance', 'wp-maintenance'),
|
95 |
+
'userlimit' => 'administrator',
|
96 |
+
'image' => WP_PLUGIN_URL.'/wp-maintenance/images/default.png',
|
97 |
+
'font_title' => 'Acme',
|
98 |
+
'font_title_size' => 40,
|
99 |
+
'font_text' => 'Acme',
|
100 |
+
'font_text_size' => 40,
|
101 |
+
'font_text_bottom' => 'Acme',
|
102 |
+
'font_bottom_size' => 12,
|
103 |
+
'font_cpt' => 'Acme',
|
104 |
+
);
|
105 |
+
$getMaintenanceSettings = get_option('wp_maintenance_settings');
|
106 |
+
if (!empty($getMaintenanceSettings)) {
|
107 |
+
foreach ($getMaintenanceSettings as $key => $option) {
|
108 |
+
$wp_maintenanceAdminOptions[$key] = $option;
|
109 |
+
}
|
110 |
+
}
|
111 |
+
update_option('wp_maintenance_settings', $wp_maintenanceAdminOptions);
|
112 |
+
if(!get_option('wp_maintenance_active')) { update_option('wp_maintenance_active', 0); }
|
113 |
+
|
114 |
+
if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
|
115 |
+
update_option('wp_maintenance_style', wpm_print_style());
|
116 |
+
}
|
117 |
+
}
|
118 |
+
|
119 |
+
function wpm_admin_scripts() {
|
120 |
+
wp_enqueue_script('media-upload');
|
121 |
+
wp_enqueue_script('thickbox');
|
122 |
+
wp_register_script('wpm-my-upload', WP_PLUGIN_URL.'/wp-maintenance/wpm-script.js', array('jquery','media-upload','thickbox'));
|
123 |
+
wp_enqueue_script('wpm-my-upload');
|
124 |
+
|
125 |
+
// If you're not including an image upload then you can leave this function call out
|
126 |
+
wp_enqueue_media();
|
127 |
+
|
128 |
+
// Now we can localize the script with our data.
|
129 |
+
wp_localize_script( 'wpm-my-upload', 'Data', array(
|
130 |
+
'textebutton' => __( 'Choose This Image', 'wp-maintenance' ),
|
131 |
+
'title' => __( 'Choose Image', 'wp-maintenance' ),
|
132 |
+
) );
|
133 |
+
|
134 |
+
wp_register_script('wpm-admin-settings', WP_PLUGIN_URL.'/wp-maintenance/wpm-admin-settings.js');
|
135 |
+
wp_enqueue_script('wpm-admin-settings');
|
136 |
+
}
|
137 |
+
|
138 |
+
add_action( 'admin_enqueue_scripts', 'wpm_enqueue_color_picker' );
|
139 |
+
function wpm_enqueue_color_picker( $hook_suffix ) {
|
140 |
+
// first check that $hook_suffix is appropriate for your admin page
|
141 |
+
wp_enqueue_style( 'wp-color-picker' );
|
142 |
+
wp_enqueue_script( 'my-script-handle', plugins_url('wpm-color-options.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
143 |
+
}
|
144 |
+
|
145 |
+
function wpm_admin_styles() {
|
146 |
+
wp_enqueue_style('thickbox');
|
147 |
+
}
|
148 |
+
|
149 |
+
if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
|
150 |
+
add_action('admin_print_scripts', 'wpm_admin_scripts');
|
151 |
+
add_action('admin_print_styles', 'wpm_admin_styles');
|
152 |
+
add_action('admin_print_scripts', 'wpm_admin_scripts');
|
153 |
+
}
|
154 |
+
|
155 |
+
function wpm_change_active($value = 0) {
|
156 |
+
if($value>=0) {
|
157 |
+
update_option('wp_maintenance_active', $value);
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
function wpm_array_value_count ($array) {
|
162 |
+
$count = 0;
|
163 |
+
|
164 |
+
foreach ($array as $key => $value)
|
165 |
+
{
|
166 |
+
if($value) { $count++; }
|
167 |
+
}
|
168 |
+
|
169 |
+
return $count;
|
170 |
+
}
|
171 |
+
|
172 |
+
function wpm_analytics_shortcode( $atts ) {
|
173 |
+
|
174 |
+
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
175 |
+
$paramMMode = get_option('wp_maintenance_settings');
|
176 |
+
|
177 |
+
// Attributes
|
178 |
+
extract( shortcode_atts(
|
179 |
+
array(
|
180 |
+
'enable' => 0,
|
181 |
+
'code' => $paramMMode['code_analytics'],
|
182 |
+
'domain' => ''.$_SERVER['SERVER_NAME'].''
|
183 |
+
), $atts )
|
184 |
+
);
|
185 |
+
|
186 |
+
if($enable==1 && $code!='') {
|
187 |
+
return "<script>
|
188 |
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
189 |
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
190 |
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
191 |
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
192 |
+
|
193 |
+
ga('create', '".$code."', '".$domain."');
|
194 |
+
ga('send', 'pageview');
|
195 |
+
|
196 |
+
</script>";
|
197 |
+
} else {
|
198 |
+
// Code
|
199 |
+
return '';
|
200 |
+
}
|
201 |
+
}
|
202 |
+
add_shortcode( 'wpm_analytics', 'wpm_analytics_shortcode' );
|
203 |
+
|
204 |
+
function wpm_social_shortcode( $atts ) {
|
205 |
+
|
206 |
+
if(get_option('wp_maintenance_social')) { extract(get_option('wp_maintenance_social')); }
|
207 |
+
$paramSocial = get_option('wp_maintenance_social');
|
208 |
+
$paramSocialOption = get_option('wp_maintenance_social_options');
|
209 |
+
$countSocial = wpm_array_value_count($paramSocial);
|
210 |
+
|
211 |
+
// Attributes
|
212 |
+
extract( shortcode_atts(
|
213 |
+
array(
|
214 |
+
'size' => 48,
|
215 |
+
'enable' => 0
|
216 |
+
), $atts )
|
217 |
+
);
|
218 |
+
if($paramSocialOption['theme']!='') {
|
219 |
+
$srcIcon = get_stylesheet_directory_uri().'/'.$paramSocialOption['theme'];
|
220 |
+
} else {
|
221 |
+
$srcIcon = WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'.$paramSocialOption['size'].'x'.$paramSocialOption['size'].'/';
|
222 |
+
}
|
223 |
+
if($paramSocialOption['enable']==1 && $countSocial>=1) {
|
224 |
+
$content .= '<div id="wpm-social-footer" class="wpm_social"><ul class="wpm_horizontal">';
|
225 |
+
foreach($paramSocial as $socialName=>$socialUrl) {
|
226 |
+
if($socialUrl!='') {
|
227 |
+
$content .= '<li><a href="'.$socialUrl.'" target="_blank"><img src="'.$srcIcon.$socialName.'.png" alt="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" title="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" /></a></li>';
|
228 |
+
}
|
229 |
+
}
|
230 |
+
$content .='</ul></div>';
|
231 |
+
return $content;
|
232 |
+
} else {
|
233 |
+
// Code
|
234 |
+
return '';
|
235 |
+
}
|
236 |
+
}
|
237 |
+
add_shortcode( 'wpm_social', 'wpm_social_shortcode' );
|
238 |
+
|
239 |
+
/* Mode Maintenance */
|
240 |
+
function wpm_maintenance_mode() {
|
241 |
+
|
242 |
+
global $current_user;
|
243 |
+
|
244 |
+
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
245 |
+
$paramMMode = get_option('wp_maintenance_settings');
|
246 |
+
|
247 |
+
if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
|
248 |
+
$paramLimit = get_option('wp_maintenance_limit');
|
249 |
+
$statusActive = get_option('wp_maintenance_active');
|
250 |
+
|
251 |
+
get_currentuserinfo();
|
252 |
+
|
253 |
+
if(!$paramMMode['active']) { $paramMMode['active'] = 0 ; }
|
254 |
+
if(!$statusActive) { update_option('wp_maintenance_active', $paramMMode['active']); }
|
255 |
+
|
256 |
+
$paramSocialOption = get_option('wp_maintenance_social_options');
|
257 |
+
|
258 |
+
/* Désactive le mode maintenance pour les Roles définis */
|
259 |
+
if($paramLimit) {
|
260 |
+
foreach($paramLimit as $limitrole) {
|
261 |
+
if( current_user_can($limitrole) == true ) {
|
262 |
+
$statusActive = 0;
|
263 |
+
}
|
264 |
+
}
|
265 |
+
}
|
266 |
+
/* On désactive le mode maintenance pour les admins */
|
267 |
+
if( current_user_can('administrator') == true ) {
|
268 |
+
$statusActive = 0;
|
269 |
+
}
|
270 |
+
|
271 |
+
/* Si on désactive le mode maintenance en fin de compte à rebours */
|
272 |
+
if($paramMMode['disable']==1 && $statusActive == 1) {
|
273 |
+
|
274 |
+
$dateNow = strtotime(date("d-m-Y H:i:s")) + 3600 * get_option('gmt_offset');
|
275 |
+
$dateFinCpt = strtotime(date($paramMMode['date_cpt_jj'].'-'.$paramMMode['date_cpt_mm'].'-'.$paramMMode['date_cpt_aa'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn'].':'.$paramMMode['date_cpt_ss']));
|
276 |
+
|
277 |
+
if( $dateNow > $dateFinCpt ) {
|
278 |
+
$ChangeStatus = wpm_change_active();
|
279 |
+
$statusActive = 0;
|
280 |
+
$paramMMode['disable'] = 0;
|
281 |
+
|
282 |
+
$wpm_options = array(
|
283 |
+
'active_cpt' => 0,
|
284 |
+
'disable' => 0,
|
285 |
+
);
|
286 |
+
update_option('wp_maintenance_settings', $wpm_options);
|
287 |
+
}
|
288 |
+
|
289 |
+
}
|
290 |
+
|
291 |
+
if ($statusActive == 1) {
|
292 |
+
|
293 |
+
$urlTpl = get_stylesheet_directory();
|
294 |
+
|
295 |
+
if($paramMMode['pageperso']==1) {
|
296 |
+
|
297 |
+
$urlTpl = get_stylesheet_directory();
|
298 |
+
$content = file_get_contents( $urlTpl. '/maintenance.php' );
|
299 |
+
|
300 |
+
} else {
|
301 |
+
|
302 |
+
$site_title = get_bloginfo( 'name', 'display' );
|
303 |
+
$site_description = get_bloginfo( 'description', 'display' );
|
304 |
+
|
305 |
+
/* Défninition des couleurs par défault */
|
306 |
+
if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
|
307 |
+
if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
|
308 |
+
|
309 |
+
/* Paramètres par défaut */
|
310 |
+
//if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
|
311 |
+
//if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
|
312 |
+
|
313 |
+
/* On récupère les tailles de l'image */
|
314 |
+
list($width, $height, $type, $attr) = getimagesize($paramMMode['image']);
|
315 |
+
|
316 |
+
/* Date compte à rebours / Convertie en format US */
|
317 |
+
$timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
|
318 |
+
$dateCpt = date('m/d/Y h:i A', $timestamp);
|
319 |
+
|
320 |
+
/* Traitement de la feuille de style */
|
321 |
+
$styleRemplacements = array (
|
322 |
+
"#_COLORTXT" => $paramMMode['color_txt'],
|
323 |
+
"#_COLORBG" => $paramMMode['color_bg'],
|
324 |
+
"#_COLORCPTBG" => $paramMMode['color_cpt_bg'],
|
325 |
+
"#_DATESIZE" => $paramMMode['date_cpt_size'],
|
326 |
+
"#_COLORCPT" => $paramMMode['color_cpt'],
|
327 |
+
"#_COLOR_BG_BT" => $paramMMode['color_bg_bottom'],
|
328 |
+
"#_COLOR_TXT_BT" => $paramMMode['color_text_bottom']
|
329 |
+
);
|
330 |
+
$wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
|
331 |
+
if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = ' '; }
|
332 |
+
|
333 |
+
if($paramMMode['b_image'] && $paramMMode['b_enable_image']==1) {
|
334 |
+
if($paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
|
335 |
+
//if($paramMMode['b_fixed_image']=='') { $paramMMode['b_fixed_image'] = 'fixed'; }
|
336 |
+
$addBImage = '
|
337 |
+
body {
|
338 |
+
background:url('.$paramMMode['b_image'].') '.$paramMMode['b_repeat_image'].';
|
339 |
+
background-attachment:'.$paramMMode['b_fixed_image'].';
|
340 |
+
padding:0;
|
341 |
+
margin:0;
|
342 |
+
}';
|
343 |
+
}
|
344 |
+
if($paramMMode['b_pattern']>0 && $paramMMode['b_enable_image']==1) {
|
345 |
+
$addBImage = '
|
346 |
+
body {
|
347 |
+
background:url('.WP_PLUGIN_URL.'/wp-maintenance/images/pattern'.$paramMMode['b_pattern'].'.png) '.$paramMMode['b_repeat_image'].' '.$paramMMode['color_bg'].';
|
348 |
+
padding:0;
|
349 |
+
margin:0;
|
350 |
+
}';
|
351 |
+
}
|
352 |
+
if($paramSocialOption['align']=='') { $paramSocialOption['align'] = 'center'; }
|
353 |
+
if($paramMMode['font_title_size']=='') { $paramMMode['font_title_size'] = 40; }
|
354 |
+
if($paramMMode['font_title_style']=='') { $paramMMode['font_title_style'] = 'normal'; }
|
355 |
+
if($paramMMode['font_title_weigth']=='') { $paramMMode['font_title_weigth'] = 'normal'; }
|
356 |
+
if($paramMMode['font_text_size']=='') { $paramMMode['font_text_size'] = 40; }
|
357 |
+
if($paramMMode['font_text_style']=='') { $paramMMode['font_text_style'] = 'normal'; }
|
358 |
+
if($paramMMode['font_text_weigth']=='') { $paramMMode['font_text_weigth'] = 'normal'; }
|
359 |
+
if($paramMMode['font_text_bottom']=='') { $paramMMode['font_text_bottom'] = 'normal'; }
|
360 |
+
if($paramMMode['font_bottom_size']=='') { $paramMMode['font_bottom_size'] = 12; }
|
361 |
+
if($paramMMode['font_bottom_weigth']=='') { $paramMMode['font_bottom_weigth'] = 'normal'; }
|
362 |
+
if($paramMMode['font_bottom_style']=='') { $paramMMode['font_bottom_style'] = 'normal'; }
|
363 |
+
if($paramMMode['font_cpt']=='') { $paramMMode['font_cpt'] = 'Acme'; }
|
364 |
+
if($paramMMode['date_cpt_size']=='') { $paramMMode['date_cpt_size'] = 72; }
|
365 |
+
|
366 |
+
$addStylesheet = '';
|
367 |
+
if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
|
368 |
+
$nameNl = strpos($paramMMode['code_newletter'], 'wysija_form');
|
369 |
+
$addStylesheet = "<link rel='stylesheet' id='validate-engine-css-css' href='".WP_PLUGIN_URL."/wysija-newsletters/css/validationEngine.jquery.css' type='text/css' media='all' />
|
370 |
+
<style type='text/css'>
|
371 |
+
.widget_wysija_cont .wysija-submit {
|
372 |
+
margin-left: auto;
|
373 |
+
margin-right: auto;
|
374 |
+
}
|
375 |
+
</style>";
|
376 |
+
}
|
377 |
+
|
378 |
+
$content = '
|
379 |
+
<!DOCTYPE html>
|
380 |
+
<html lang="fr">
|
381 |
+
<head>
|
382 |
+
<title>'.$site_title." - ".$site_description.'</title>
|
383 |
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
384 |
+
<meta name="description" content="'.__('This site is down for maintenance', 'wp-maintenance').'" />
|
385 |
+
'.$addStylesheet.'
|
386 |
+
<style type="text/css">
|
387 |
+
@import url(http://fonts.googleapis.com/css?family='.str_replace(' ', '+', $paramMMode['font_title']).'|'.str_replace(' ', '+',$paramMMode['font_text']).'|'.str_replace(' ', '+',$paramMMode['font_text_bottom']).'|'.str_replace(' ', '+',$paramMMode['font_cpt']).');
|
388 |
+
'.$wpmStyle.'
|
389 |
+
'.$addBImage.'
|
390 |
+
'.$addCSSnl.'
|
391 |
+
body {
|
392 |
+
-webkit-background-size: cover;
|
393 |
+
-moz-background-size: cover;
|
394 |
+
-o-background-size: cover;
|
395 |
+
background-size: cover;
|
396 |
+
top: 0;
|
397 |
+
}
|
398 |
+
.wpm_newletter {
|
399 |
+
margin-left: auto;
|
400 |
+
margin-right: auto;
|
401 |
+
max-width:100%
|
402 |
+
}
|
403 |
+
.wpm_social_icon {
|
404 |
+
float:left;
|
405 |
+
width:'.$paramSocialOption['size'].'px;
|
406 |
+
margin:0px 5px auto;
|
407 |
+
}
|
408 |
+
.wpm_social ul {
|
409 |
+
/*float: left;*/
|
410 |
+
margin: 10px 0;
|
411 |
+
max-width: 100%;
|
412 |
+
padding: 0;
|
413 |
+
text-align: '.$paramSocialOption['align'].';
|
414 |
+
}
|
415 |
+
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
416 |
+
width:'.($paramMMode['date_cpt_size']*1.4).'px;
|
417 |
+
}
|
418 |
+
.cptR-rec_countdown {
|
419 |
+
font-size:'.$paramMMode['date_cpt_size'].'px;
|
420 |
+
font-family: '.$paramMMode['font_cpt'].', serif;
|
421 |
+
}
|
422 |
+
#main #intro h3 {
|
423 |
+
font-size: '.$paramMMode['font_title_size'].'px;
|
424 |
+
font-style: '.$paramMMode['font_title_style'].';
|
425 |
+
font-weight: '.$paramMMode['font_title_weigth'].';
|
426 |
+
font-family: '.$paramMMode['font_title'].', serif;
|
427 |
+
}
|
428 |
+
#main #intro p {
|
429 |
+
font-family: '.$paramMMode['font_text'].', serif;
|
430 |
+
font-size: '.$paramMMode['font_text_size'].'px;
|
431 |
+
font-style: '.$paramMMode['font_text_style'].';
|
432 |
+
font-weight: '.$paramMMode['font_text_weigth'].';
|
433 |
+
}
|
434 |
+
.wpm_copyright {
|
435 |
+
font-family: '.$paramMMode['font_text_bottom'].', serif;
|
436 |
+
font-size: '.$paramMMode['font_bottom_size'].'px;
|
437 |
+
font-style: '.$paramMMode['font_bottom_style'].';
|
438 |
+
font-weight: '.$paramMMode['font_bottom_weigth'].';
|
439 |
+
}
|
440 |
+
|
441 |
+
#logo img {
|
442 |
+
max-width: 100%;
|
443 |
+
height: auto;
|
444 |
+
}
|
445 |
+
|
446 |
+
@media screen and (min-width: 200px) and (max-width: 480px) {
|
447 |
+
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
448 |
+
width:'.($paramMMode['date_cpt_size']*0.9).'px;
|
449 |
+
}
|
450 |
+
.cptR-rec_countdown {
|
451 |
+
font-size:'.($paramMMode['date_cpt_size']*0.6).'px;
|
452 |
+
}
|
453 |
+
#cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
|
454 |
+
font-size: 8px;
|
455 |
+
}
|
456 |
+
}
|
457 |
+
</style>
|
458 |
+
'.do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]').'
|
459 |
+
</head>
|
460 |
+
<body>';
|
461 |
+
if($paramSocialOption['position']=='top') {
|
462 |
+
$content .= do_shortcode('[wpm_social]');
|
463 |
+
}
|
464 |
+
$content .= '<div id="wrapper">';
|
465 |
+
if($paramMMode['image']) {
|
466 |
+
$content .= '
|
467 |
+
<div id="header" class="full">
|
468 |
+
<div id="logo"><img src="'.$paramMMode['image'].'" '.$attr.' /></div>
|
469 |
+
</div>
|
470 |
+
';
|
471 |
+
}
|
472 |
+
$content .= '
|
473 |
+
<div id="content" class="full">
|
474 |
+
<div id="main">';
|
475 |
+
$content .= '
|
476 |
+
<div id="intro" class="block"><h3>'.stripslashes($paramMMode['titre_maintenance']).'</h3><p>'.stripslashes($paramMMode['text_maintenance']).'</p></div>';
|
477 |
+
if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='' && $paramMMode['active_cpt']==1) {
|
478 |
+
$content .='
|
479 |
+
<div style="margin-left:auto;margin-right:auto;text-align: center;margin-top:30px;">
|
480 |
+
<script language="JavaScript">
|
481 |
+
TargetDate = "'.$dateCpt.'";
|
482 |
+
BackColor = "'.$paramMMode['color_cpt_bg'].'";
|
483 |
+
FontSize = "'.$paramMMode['date_cpt_size'].'";
|
484 |
+
ForeColor = "'.$paramMMode['color_cpt'].'";
|
485 |
+
Disable = "'.$paramMMode['disable'].'";
|
486 |
+
UrlDisable = "'.get_option( 'siteurl').'";
|
487 |
+
CountActive = true;
|
488 |
+
CountStepper = -1;
|
489 |
+
LeadingZero = true;
|
490 |
+
';
|
491 |
+
$content .= " DisplayFormat = '<div id=\"cptR-day\">%%D%%<br /><span id=\"cptR-days-span\">".__('Days', 'wp-maintenance')."</span></div><div id=\"cptR-hours\">%%H%%<br /><span id=\"cptR-hours-span\">".__('Hours', 'wp-maintenance')."</span></div><div id=\"cptR-minutes\">%%M%%<br /><span id=\"cptR-minutes-span\">".__('Minutes', 'wp-maintenance')."</span></div>";
|
492 |
+
if($paramMMode['active_cpt_s']==1) {
|
493 |
+
$content .= '<div id="cptR-seconds">%%S%%<br /><span id="cptR-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
|
494 |
+
}
|
495 |
+
$content .= "';
|
496 |
+
FinishMessage = '".stripslashes($paramMMode['message_cpt_fin'])."';
|
497 |
+
</script>";
|
498 |
+
$content .= '
|
499 |
+
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
500 |
+
</div>';
|
501 |
+
}
|
502 |
+
if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
|
503 |
+
$content .= '<div class="wpm_newletter">'.do_shortcode(stripslashes($paramMMode['code_newletter'])).'</div>';
|
504 |
+
}
|
505 |
+
|
506 |
+
|
507 |
+
$content .= '
|
508 |
+
</div><!-- div main -->
|
509 |
+
</div><!-- div content -->
|
510 |
+
</div><!-- div wrapper -->';
|
511 |
+
if($paramSocialOption['position']=='bottom') {
|
512 |
+
$content .= do_shortcode('[wpm_social]');
|
513 |
+
}
|
514 |
+
if($paramMMode['text_bt_maintenance']!='') {
|
515 |
+
$content .= '<div id="wpm_footer"><p class="wpm_copyright">'.stripslashes($paramMMode['text_bt_maintenance']).'</p></div>';
|
516 |
+
}
|
517 |
+
$content .='
|
518 |
+
</body>
|
519 |
+
</html>';
|
520 |
+
}
|
521 |
+
die($content);
|
522 |
+
}
|
523 |
+
|
524 |
+
}
|
525 |
+
add_action('get_header', 'wpm_maintenance_mode');
|
526 |
+
|
527 |
+
if(function_exists('register_deactivation_hook')) {
|
528 |
+
register_deactivation_hook(__FILE__, 'wpm_uninstall');
|
529 |
+
}
|
530 |
+
|
531 |
+
//intègre le tout aux pages Admin de Wordpress
|
532 |
+
add_action("admin_menu", "wpm_add_admin");
|
533 |
+
|
534 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wpm-admin-settings.js
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
-
jQuery(document).ready(function($){
|
2 |
-
|
3 |
-
//Navigation Tabs
|
4 |
-
$('.nav-tab-wrapper .nav-tab').click(function(){
|
5 |
-
$('.nav-tab-wrapper .nav-tab').removeClass('nav-tab-active');
|
6 |
-
el = $(this);
|
7 |
-
elid = el.attr('id');
|
8 |
-
$('.wpm-menu-group').hide();
|
9 |
-
$('.'+elid).show();
|
10 |
-
el.addClass('nav-tab-active');
|
11 |
-
});
|
12 |
-
var navUrl = document.location.toString();
|
13 |
-
if (navUrl.match('#')) { //anchor-based navigation
|
14 |
-
var nav_tab = navUrl.split('#')[1].split(':');
|
15 |
-
var current_tab = 'a#wpm-menu-' + nav_tab[0];
|
16 |
-
$(current_tab).trigger('click');
|
17 |
-
if( nav_tab.length > 1 ){
|
18 |
-
section = $("#wpm-opt-"+nav_tab[1]);
|
19 |
-
if( section.length > 0 ){
|
20 |
-
section.children('h3').trigger('click');
|
21 |
-
//$('html, body').animate({ scrollTop: section.offset().top - 30 }); //sends user back to top of form
|
22 |
-
}
|
23 |
-
}
|
24 |
-
}else{
|
25 |
-
//set to general tab by default, so we can also add clicked subsections
|
26 |
-
document.location = navUrl+"#general";
|
27 |
-
}
|
28 |
-
$('.nav-tab-link').click(function(){ $($(this).attr('rel')).trigger('click'); }); //links to mimick tabs
|
29 |
-
|
30 |
-
});
|
1 |
+
jQuery(document).ready(function($){
|
2 |
+
|
3 |
+
//Navigation Tabs
|
4 |
+
$('.nav-tab-wrapper .nav-tab').click(function(){
|
5 |
+
$('.nav-tab-wrapper .nav-tab').removeClass('nav-tab-active');
|
6 |
+
el = $(this);
|
7 |
+
elid = el.attr('id');
|
8 |
+
$('.wpm-menu-group').hide();
|
9 |
+
$('.'+elid).show();
|
10 |
+
el.addClass('nav-tab-active');
|
11 |
+
});
|
12 |
+
var navUrl = document.location.toString();
|
13 |
+
if (navUrl.match('#')) { //anchor-based navigation
|
14 |
+
var nav_tab = navUrl.split('#')[1].split(':');
|
15 |
+
var current_tab = 'a#wpm-menu-' + nav_tab[0];
|
16 |
+
$(current_tab).trigger('click');
|
17 |
+
if( nav_tab.length > 1 ){
|
18 |
+
section = $("#wpm-opt-"+nav_tab[1]);
|
19 |
+
if( section.length > 0 ){
|
20 |
+
section.children('h3').trigger('click');
|
21 |
+
//$('html, body').animate({ scrollTop: section.offset().top - 30 }); //sends user back to top of form
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}else{
|
25 |
+
//set to general tab by default, so we can also add clicked subsections
|
26 |
+
document.location = navUrl+"#general";
|
27 |
+
}
|
28 |
+
$('.nav-tab-link').click(function(){ $($(this).attr('rel')).trigger('click'); }); //links to mimick tabs
|
29 |
+
|
30 |
+
});
|
wpm-color-options.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
var wpmOptions = {
|
2 |
-
// you can declare a default color here,
|
3 |
-
// or in the data-default-color attribute on the input
|
4 |
-
defaultColor: false,
|
5 |
-
// a callback to fire whenever the color changes to a valid color
|
6 |
-
change: function(event, ui){},
|
7 |
-
// a callback to fire when the input is emptied or an invalid color
|
8 |
-
clear: function() {},
|
9 |
-
// hide the color picker controls on load
|
10 |
-
hide: true,
|
11 |
-
// show a group of common colors beneath the square
|
12 |
-
// or, supply an array of colors to customize further
|
13 |
-
palettes: true
|
14 |
-
};
|
15 |
-
|
16 |
-
jQuery(document).ready(function($){
|
17 |
-
$('.wpm-color-field').wpColorPicker(wpmOptions);
|
18 |
-
});
|
1 |
+
var wpmOptions = {
|
2 |
+
// you can declare a default color here,
|
3 |
+
// or in the data-default-color attribute on the input
|
4 |
+
defaultColor: false,
|
5 |
+
// a callback to fire whenever the color changes to a valid color
|
6 |
+
change: function(event, ui){},
|
7 |
+
// a callback to fire when the input is emptied or an invalid color
|
8 |
+
clear: function() {},
|
9 |
+
// hide the color picker controls on load
|
10 |
+
hide: true,
|
11 |
+
// show a group of common colors beneath the square
|
12 |
+
// or, supply an array of colors to customize further
|
13 |
+
palettes: true
|
14 |
+
};
|
15 |
+
|
16 |
+
jQuery(document).ready(function($){
|
17 |
+
$('.wpm-color-field').wpColorPicker(wpmOptions);
|
18 |
+
});
|
wpm-cpt-script.js
CHANGED
@@ -1,87 +1,87 @@
|
|
1 |
-
/*
|
2 |
-
Author: Robert Hashemian
|
3 |
-
http://www.hashemian.com/
|
4 |
-
|
5 |
-
You can use this code in any manner so long as the author's
|
6 |
-
name, Web address and this disclaimer is kept intact.
|
7 |
-
********************************************************
|
8 |
-
Usage Sample:
|
9 |
-
|
10 |
-
<script language="JavaScript">
|
11 |
-
TargetDate = "12/31/2020 5:00 AM";
|
12 |
-
BackColor = "palegreen";
|
13 |
-
ForeColor = "navy";
|
14 |
-
CountActive = true;
|
15 |
-
CountStepper = -1;
|
16 |
-
LeadingZero = true;
|
17 |
-
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
|
18 |
-
FinishMessage = "It is finally here!";
|
19 |
-
</script>
|
20 |
-
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
|
21 |
-
*/
|
22 |
-
|
23 |
-
function calcage(secs, num1, num2) {
|
24 |
-
s = ((Math.floor(secs/num1))%num2).toString();
|
25 |
-
if (LeadingZero && s.length < 2)
|
26 |
-
s = "0" + s;
|
27 |
-
return "<b>" + s + "</b>";
|
28 |
-
}
|
29 |
-
|
30 |
-
function CountBack(secs) {
|
31 |
-
if (secs < 0) {
|
32 |
-
if(Disable==1) {
|
33 |
-
document.location.replace(UrlDisable);
|
34 |
-
} else {
|
35 |
-
document.getElementById("cntdwn").innerHTML = FinishMessage;
|
36 |
-
}
|
37 |
-
return;
|
38 |
-
}
|
39 |
-
DisplayStr = DisplayFormat.replace(/%%D%%/g, calcage(secs,86400,100000));
|
40 |
-
DisplayStr = DisplayStr.replace(/%%H%%/g, calcage(secs,3600,24));
|
41 |
-
DisplayStr = DisplayStr.replace(/%%M%%/g, calcage(secs,60,60));
|
42 |
-
DisplayStr = DisplayStr.replace(/%%S%%/g, calcage(secs,1,60));
|
43 |
-
|
44 |
-
document.getElementById("cntdwn").innerHTML = DisplayStr;
|
45 |
-
if (CountActive)
|
46 |
-
setTimeout("CountBack(" + (secs+CountStepper) + ")", SetTimeOutPeriod);
|
47 |
-
}
|
48 |
-
|
49 |
-
function putspan(BackColor, ForeColor) {
|
50 |
-
document.write("<div class='cptR-rec_countdown'><span id='cntdwn' style='background-color:" + BackColor + "; color:" + ForeColor + ";'></span></div>");
|
51 |
-
}
|
52 |
-
|
53 |
-
if (typeof(BackColor)=="undefined")
|
54 |
-
BackColor = "";
|
55 |
-
if (typeof(ForeColor)=="undefined")
|
56 |
-
ForeColor= "black";
|
57 |
-
if (typeof(FontSize)=="undefined")
|
58 |
-
FontSize= "78";
|
59 |
-
if (typeof(TargetDate)=="undefined")
|
60 |
-
TargetDate = "12/31/2020 5:00 AM";
|
61 |
-
if (typeof(DisplayFormat)=="undefined")
|
62 |
-
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
|
63 |
-
if (typeof(CountActive)=="undefined")
|
64 |
-
CountActive = true;
|
65 |
-
if (typeof(FinishMessage)=="undefined")
|
66 |
-
FinishMessage = "";
|
67 |
-
if (typeof(CountStepper)!="number")
|
68 |
-
CountStepper = -1;
|
69 |
-
if (typeof(LeadingZero)=="undefined")
|
70 |
-
LeadingZero = true;
|
71 |
-
if (typeof(Disable)=="undefined")
|
72 |
-
Disable = "";
|
73 |
-
|
74 |
-
|
75 |
-
CountStepper = Math.ceil(CountStepper);
|
76 |
-
if (CountStepper == 0)
|
77 |
-
CountActive = false;
|
78 |
-
var SetTimeOutPeriod = (Math.abs(CountStepper)-1)*1000 + 990;
|
79 |
-
putspan(BackColor, ForeColor, FontSize);
|
80 |
-
var dthen = new Date(TargetDate);
|
81 |
-
var dnow = new Date();
|
82 |
-
if(CountStepper>0)
|
83 |
-
ddiff = new Date(dnow-dthen);
|
84 |
-
else
|
85 |
-
ddiff = new Date(dthen-dnow);
|
86 |
-
gsecs = Math.floor(ddiff.valueOf()/1000);
|
87 |
-
CountBack(gsecs);
|
1 |
+
/*
|
2 |
+
Author: Robert Hashemian
|
3 |
+
http://www.hashemian.com/
|
4 |
+
|
5 |
+
You can use this code in any manner so long as the author's
|
6 |
+
name, Web address and this disclaimer is kept intact.
|
7 |
+
********************************************************
|
8 |
+
Usage Sample:
|
9 |
+
|
10 |
+
<script language="JavaScript">
|
11 |
+
TargetDate = "12/31/2020 5:00 AM";
|
12 |
+
BackColor = "palegreen";
|
13 |
+
ForeColor = "navy";
|
14 |
+
CountActive = true;
|
15 |
+
CountStepper = -1;
|
16 |
+
LeadingZero = true;
|
17 |
+
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
|
18 |
+
FinishMessage = "It is finally here!";
|
19 |
+
</script>
|
20 |
+
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
|
21 |
+
*/
|
22 |
+
|
23 |
+
function calcage(secs, num1, num2) {
|
24 |
+
s = ((Math.floor(secs/num1))%num2).toString();
|
25 |
+
if (LeadingZero && s.length < 2)
|
26 |
+
s = "0" + s;
|
27 |
+
return "<b>" + s + "</b>";
|
28 |
+
}
|
29 |
+
|
30 |
+
function CountBack(secs) {
|
31 |
+
if (secs < 0) {
|
32 |
+
if(Disable==1) {
|
33 |
+
document.location.replace(UrlDisable);
|
34 |
+
} else {
|
35 |
+
document.getElementById("cntdwn").innerHTML = FinishMessage;
|
36 |
+
}
|
37 |
+
return;
|
38 |
+
}
|
39 |
+
DisplayStr = DisplayFormat.replace(/%%D%%/g, calcage(secs,86400,100000));
|
40 |
+
DisplayStr = DisplayStr.replace(/%%H%%/g, calcage(secs,3600,24));
|
41 |
+
DisplayStr = DisplayStr.replace(/%%M%%/g, calcage(secs,60,60));
|
42 |
+
DisplayStr = DisplayStr.replace(/%%S%%/g, calcage(secs,1,60));
|
43 |
+
|
44 |
+
document.getElementById("cntdwn").innerHTML = DisplayStr;
|
45 |
+
if (CountActive)
|
46 |
+
setTimeout("CountBack(" + (secs+CountStepper) + ")", SetTimeOutPeriod);
|
47 |
+
}
|
48 |
+
|
49 |
+
function putspan(BackColor, ForeColor) {
|
50 |
+
document.write("<div class='cptR-rec_countdown'><span id='cntdwn' style='background-color:" + BackColor + "; color:" + ForeColor + ";'></span></div>");
|
51 |
+
}
|
52 |
+
|
53 |
+
if (typeof(BackColor)=="undefined")
|
54 |
+
BackColor = "";
|
55 |
+
if (typeof(ForeColor)=="undefined")
|
56 |
+
ForeColor= "black";
|
57 |
+
if (typeof(FontSize)=="undefined")
|
58 |
+
FontSize= "78";
|
59 |
+
if (typeof(TargetDate)=="undefined")
|
60 |
+
TargetDate = "12/31/2020 5:00 AM";
|
61 |
+
if (typeof(DisplayFormat)=="undefined")
|
62 |
+
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
|
63 |
+
if (typeof(CountActive)=="undefined")
|
64 |
+
CountActive = true;
|
65 |
+
if (typeof(FinishMessage)=="undefined")
|
66 |
+
FinishMessage = "";
|
67 |
+
if (typeof(CountStepper)!="number")
|
68 |
+
CountStepper = -1;
|
69 |
+
if (typeof(LeadingZero)=="undefined")
|
70 |
+
LeadingZero = true;
|
71 |
+
if (typeof(Disable)=="undefined")
|
72 |
+
Disable = "";
|
73 |
+
|
74 |
+
|
75 |
+
CountStepper = Math.ceil(CountStepper);
|
76 |
+
if (CountStepper == 0)
|
77 |
+
CountActive = false;
|
78 |
+
var SetTimeOutPeriod = (Math.abs(CountStepper)-1)*1000 + 990;
|
79 |
+
putspan(BackColor, ForeColor, FontSize);
|
80 |
+
var dthen = new Date(TargetDate);
|
81 |
+
var dnow = new Date();
|
82 |
+
if(CountStepper>0)
|
83 |
+
ddiff = new Date(dnow-dthen);
|
84 |
+
else
|
85 |
+
ddiff = new Date(dthen-dnow);
|
86 |
+
gsecs = Math.floor(ddiff.valueOf()/1000);
|
87 |
+
CountBack(gsecs);
|
wpm-script.js
CHANGED
@@ -1,66 +1,66 @@
|
|
1 |
-
jQuery(document).ready(function() {
|
2 |
-
|
3 |
-
var custom_uploader;
|
4 |
-
|
5 |
-
jQuery('#upload_image_button').click(function(e) {
|
6 |
-
|
7 |
-
e.preventDefault();
|
8 |
-
|
9 |
-
//If the uploader object has already been created, reopen the dialog
|
10 |
-
if (custom_uploader) {
|
11 |
-
custom_uploader.open();
|
12 |
-
return;
|
13 |
-
}
|
14 |
-
|
15 |
-
//Extend the wp.media object
|
16 |
-
custom_uploader = wp.media.frames.file_frame = wp.media({
|
17 |
-
title: Data.title,
|
18 |
-
button: {
|
19 |
-
text: Data.textebutton
|
20 |
-
},
|
21 |
-
multiple: false
|
22 |
-
});
|
23 |
-
|
24 |
-
//When a file is selected, grab the URL and set it as the text field's value
|
25 |
-
custom_uploader.on('select', function() {
|
26 |
-
attachment = custom_uploader.state().get('selection').first().toJSON();
|
27 |
-
jQuery('#upload_image').val(attachment.url);
|
28 |
-
});
|
29 |
-
|
30 |
-
//Open the uploader dialog
|
31 |
-
custom_uploader.open();
|
32 |
-
|
33 |
-
});
|
34 |
-
|
35 |
-
jQuery('#upload_b_image_button').click(function(e) {
|
36 |
-
|
37 |
-
e.preventDefault();
|
38 |
-
|
39 |
-
//If the uploader object has already been created, reopen the dialog
|
40 |
-
if (custom_uploader) {
|
41 |
-
custom_uploader.open();
|
42 |
-
return;
|
43 |
-
}
|
44 |
-
|
45 |
-
//Extend the wp.media object
|
46 |
-
custom_uploader = wp.media.frames.file_frame = wp.media({
|
47 |
-
title: Data.title,
|
48 |
-
button: {
|
49 |
-
text: Data.textebutton
|
50 |
-
},
|
51 |
-
multiple: false
|
52 |
-
});
|
53 |
-
|
54 |
-
//When a file is selected, grab the URL and set it as the text field's value
|
55 |
-
custom_uploader.on('select', function() {
|
56 |
-
attachment = custom_uploader.state().get('selection').first().toJSON();
|
57 |
-
jQuery('#upload_b_image').val(attachment.url);
|
58 |
-
});
|
59 |
-
|
60 |
-
//Open the uploader dialog
|
61 |
-
custom_uploader.open();
|
62 |
-
|
63 |
-
});
|
64 |
-
|
65 |
-
});
|
66 |
-
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
|
3 |
+
var custom_uploader;
|
4 |
+
|
5 |
+
jQuery('#upload_image_button').click(function(e) {
|
6 |
+
|
7 |
+
e.preventDefault();
|
8 |
+
|
9 |
+
//If the uploader object has already been created, reopen the dialog
|
10 |
+
if (custom_uploader) {
|
11 |
+
custom_uploader.open();
|
12 |
+
return;
|
13 |
+
}
|
14 |
+
|
15 |
+
//Extend the wp.media object
|
16 |
+
custom_uploader = wp.media.frames.file_frame = wp.media({
|
17 |
+
title: Data.title,
|
18 |
+
button: {
|
19 |
+
text: Data.textebutton
|
20 |
+
},
|
21 |
+
multiple: false
|
22 |
+
});
|
23 |
+
|
24 |
+
//When a file is selected, grab the URL and set it as the text field's value
|
25 |
+
custom_uploader.on('select', function() {
|
26 |
+
attachment = custom_uploader.state().get('selection').first().toJSON();
|
27 |
+
jQuery('#upload_image').val(attachment.url);
|
28 |
+
});
|
29 |
+
|
30 |
+
//Open the uploader dialog
|
31 |
+
custom_uploader.open();
|
32 |
+
|
33 |
+
});
|
34 |
+
|
35 |
+
jQuery('#upload_b_image_button').click(function(e) {
|
36 |
+
|
37 |
+
e.preventDefault();
|
38 |
+
|
39 |
+
//If the uploader object has already been created, reopen the dialog
|
40 |
+
if (custom_uploader) {
|
41 |
+
custom_uploader.open();
|
42 |
+
return;
|
43 |
+
}
|
44 |
+
|
45 |
+
//Extend the wp.media object
|
46 |
+
custom_uploader = wp.media.frames.file_frame = wp.media({
|
47 |
+
title: Data.title,
|
48 |
+
button: {
|
49 |
+
text: Data.textebutton
|
50 |
+
},
|
51 |
+
multiple: false
|
52 |
+
});
|
53 |
+
|
54 |
+
//When a file is selected, grab the URL and set it as the text field's value
|
55 |
+
custom_uploader.on('select', function() {
|
56 |
+
attachment = custom_uploader.state().get('selection').first().toJSON();
|
57 |
+
jQuery('#upload_b_image').val(attachment.url);
|
58 |
+
});
|
59 |
+
|
60 |
+
//Open the uploader dialog
|
61 |
+
custom_uploader.open();
|
62 |
+
|
63 |
+
});
|
64 |
+
|
65 |
+
});
|
66 |
+
|
wpm_fonctions.php
ADDED
@@ -0,0 +1,279 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function wpm_getFontsTab() {
|
4 |
+
return array("Abel", "Abril Fatface", "Aclonica", "Acme", "Actor", "Adamina", "Advent Pro",
|
5 |
+
"Aguafina Script", "Aladin", "Aldrich", "Alegreya", "Alegreya SC", "Alex Brush", "Alfa Slab One", "Alice",
|
6 |
+
"Alike", "Alike Angular", "Allan", "Allerta", "Allerta Stencil", "Allura", "Almendra", "Almendra SC", "Amaranth",
|
7 |
+
"Amatic SC", "Amethysta", "Andada", "Andika", "Angkor", "Annie Use Your Telescope", "Anonymous Pro", "Antic",
|
8 |
+
"Antic Didone", "Antic Slab", "Anton", "Arapey", "Arbutus", "Architects Daughter", "Arimo", "Arizonia", "Armata",
|
9 |
+
"Artifika", "Arvo", "Asap", "Asset", "Astloch", "Asul", "Atomic Age", "Aubrey", "Audiowide", "Average",
|
10 |
+
"Averia Gruesa Libre", "Averia Libre", "Averia Sans Libre", "Averia Serif Libre", "Bad Script", "Balthazar",
|
11 |
+
"Bangers", "Basic", "Battambang", "Baumans", "Bayon", "Belgrano", "Belleza", "Bentham", "Berkshire Swash",
|
12 |
+
"Bevan", "Bigshot One", "Bilbo", "Bilbo Swash Caps", "Bitter", "Black Ops One", "Bokor", "Bonbon", "Boogaloo",
|
13 |
+
"Bowlby One", "Bowlby One SC", "Brawler", "Bree Serif", "Bubblegum Sans", "Buda", "Buenard", "Butcherman",
|
14 |
+
"Butterfly Kids", "Cabin", "Cabin Condensed", "Cabin Sketch", "Caesar Dressing", "Cagliostro", "Calligraffitti",
|
15 |
+
"Cambo", "Candal", "Cantarell", "Cantata One", "Cardo", "Carme", "Carter One", "Caudex", "Cedarville Cursive",
|
16 |
+
"Ceviche One", "Changa One", "Chango", "Chau Philomene One", "Chelsea Market", "Chenla", "Cherry Cream Soda",
|
17 |
+
"Chewy", "Chicle", "Chivo", "Coda", "Coda Caption", "Codystar", "Comfortaa", "Coming Soon", "Concert One",
|
18 |
+
"Condiment", "Content", "Contrail One", "Convergence", "Cookie", "Copse", "Corben", "Cousine", "Coustard",
|
19 |
+
"Covered By Your Grace", "Crafty Girls", "Creepster", "Crete Round", "Crimson Text", "Crushed", "Cuprum", "Cutive",
|
20 |
+
"Damion", "Dancing Script", "Dangrek", "Dawning of a New Day", "Days One", "Delius", "Delius Swash Caps",
|
21 |
+
"Delius Unicase", "Della Respira", "Devonshire", "Didact Gothic", "Diplomata", "Diplomata SC", "Doppio One",
|
22 |
+
"Dorsa", "Dosis", "Dr Sugiyama", "Droid Sans", "Droid Sans Mono", "Droid Serif", "Duru Sans", "Dynalight",
|
23 |
+
"EB Garamond", "Eater", "Economica", "Electrolize", "Emblema One", "Emilys Candy", "Engagement", "Enriqueta",
|
24 |
+
"Erica One", "Esteban", "Euphoria Script", "Ewert", "Exo", "Expletus Sans", "Fanwood Text", "Fascinate", "Fascinate Inline",
|
25 |
+
"Federant", "Federo", "Felipa", "Fjord One", "Flamenco", "Flavors", "Fondamento", "Fontdiner Swanky", "Forum",
|
26 |
+
"Francois One", "Fredericka the Great", "Fredoka One", "Freehand", "Fresca", "Frijole", "Fugaz One", "GFS Didot",
|
27 |
+
"GFS Neohellenic", "Galdeano", "Gentium Basic", "Gentium Book Basic", "Geo", "Geostar", "Geostar Fill", "Germania One",
|
28 |
+
"Give You Glory", "Glass Antiqua", "Glegoo", "Gloria Hallelujah", "Goblin One", "Gochi Hand", "Gorditas",
|
29 |
+
"Goudy Bookletter 1911", "Graduate", "Gravitas One", "Great Vibes", "Gruppo", "Gudea", "Habibi", "Hammersmith One",
|
30 |
+
"Handlee", "Hanuman", "Happy Monkey", "Henny Penny", "Herr Von Muellerhoff", "Holtwood One SC", "Homemade Apple",
|
31 |
+
"Homenaje", "IM Fell DW Pica", "IM Fell DW Pica SC", "IM Fell Double Pica", "IM Fell Double Pica SC",
|
32 |
+
"IM Fell English", "IM Fell English SC", "IM Fell French Canon", "IM Fell French Canon SC", "IM Fell Great Primer",
|
33 |
+
"IM Fell Great Primer SC", "Iceberg", "Iceland", "Imprima", "Inconsolata", "Inder", "Indie Flower", "Inika",
|
34 |
+
"Irish Grover", "Istok Web", "Italiana", "Italianno", "Jim Nightshade", "Jockey One", "Jolly Lodger", "Josefin Sans",
|
35 |
+
"Josefin Slab", "Judson", "Julee", "Junge", "Jura", "Just Another Hand", "Just Me Again Down Here", "Kameron",
|
36 |
+
"Karla", "Kaushan Script", "Kelly Slab", "Kenia", "Khmer", "Knewave", "Kotta One", "Koulen", "Kranky", "Kreon",
|
37 |
+
"Kristi", "Krona One", "La Belle Aurore", "Lancelot", "Lato", "League Script", "Leckerli One", "Ledger", "Lekton",
|
38 |
+
"Lemon", "Lilita One", "Limelight", "Linden Hill", "Lobster", "Lobster Two", "Londrina Outline", "Londrina Shadow",
|
39 |
+
"Londrina Sketch", "Londrina Solid", "Lora", "Love Ya Like A Sister", "Loved by the King", "Lovers Quarrel",
|
40 |
+
"Luckiest Guy", "Lusitana", "Lustria", "Macondo", "Macondo Swash Caps", "Magra", "Maiden Orange", "Mako", "Marck Script",
|
41 |
+
"Marko One", "Marmelad", "Marvel", "Mate", "Mate SC", "Maven Pro", "Meddon", "MedievalSharp", "Medula One", "Merriweather",
|
42 |
+
"Metal", "Metamorphous", "Michroma", "Miltonian", "Miltonian Tattoo", "Miniver", "Miss Fajardose", "Modern Antiqua",
|
43 |
+
"Molengo", "Monofett", "Monoton", "Monsieur La Doulaise", "Montaga", "Montez", "Montserrat", "Moul", "Moulpali",
|
44 |
+
"Mountains of Christmas", "Mr Bedfort", "Mr Dafoe", "Mr De Haviland", "Mrs Saint Delafield", "Mrs Sheppards",
|
45 |
+
"Muli", "Mystery Quest", "Neucha", "Neuton", "News Cycle", "Niconne", "Nixie One", "Nobile", "Nokora", "Norican",
|
46 |
+
"Nosifer", "Nothing You Could Do", "Noticia Text", "Nova Cut", "Nova Flat", "Nova Mono", "Nova Oval", "Nova Round",
|
47 |
+
"Nova Script", "Nova Slim", "Nova Square", "Numans", "Nunito", "Odor Mean Chey", "Old Standard TT", "Oldenburg",
|
48 |
+
"Oleo Script", "Open Sans", "Open Sans Condensed", "Orbitron", "Original Surfer", "Oswald", "Over the Rainbow",
|
49 |
+
"Overlock", "Overlock SC", "Ovo", "Oxygen", "PT Mono", "PT Sans", "PT Sans Caption", "PT Sans Narrow", "PT Serif",
|
50 |
+
"PT Serif Caption", "Pacifico", "Parisienne", "Passero One", "Passion One", "Patrick Hand", "Patua One", "Paytone One",
|
51 |
+
"Permanent Marker", "Petrona", "Philosopher", "Piedra", "Pinyon Script", "Plaster", "Play", "Playball", "Playfair Display",
|
52 |
+
"Podkova", "Poiret One", "Poller One", "Poly", "Pompiere", "Pontano Sans", "Port Lligat Sans", "Port Lligat Slab",
|
53 |
+
"Prata", "Preahvihear", "Press Start 2P", "Princess Sofia", "Prociono", "Prosto One", "Puritan", "Quantico",
|
54 |
+
"Quattrocento", "Quattrocento Sans", "Questrial", "Quicksand", "Qwigley", "Radley", "Raleway", "Rammetto One",
|
55 |
+
"Rancho", "Rationale", "Redressed", "Reenie Beanie", "Revalia", "Ribeye", "Ribeye Marrow", "Righteous", "Rochester",
|
56 |
+
"Rock Salt", "Rokkitt", "Ropa Sans", "Rosario", "Rosarivo", "Rouge Script", "Ruda", "Ruge Boogie", "Ruluko",
|
57 |
+
"Ruslan Display", "Russo One", "Ruthie", "Sail", "Salsa", "Sancreek", "Sansita One", "Sarina", "Satisfy", "Schoolbell",
|
58 |
+
"Seaweed Script", "Sevillana", "Shadows Into Light", "Shadows Into Light Two", "Shanti", "Share", "Shojumaru",
|
59 |
+
"Short Stack", "Siemreap", "Sigmar One", "Signika", "Signika Negative", "Simonetta", "Sirin Stencil", "Six Caps",
|
60 |
+
"Slackey", "Smokum", "Smythe", "Sniglet", "Snippet", "Sofia", "Sonsie One", "Sorts Mill Goudy", "Special Elite",
|
61 |
+
"Spicy Rice", "Spinnaker", "Spirax", "Squada One", "Stardos Stencil", "Stint Ultra Condensed", "Stint Ultra Expanded",
|
62 |
+
"Stoke", "Sue Ellen Francisco", "Sunshiney", "Supermercado One", "Suwannaphum", "Swanky and Moo Moo", "Syncopate",
|
63 |
+
"Tangerine", "Taprom", "Telex", "Tenor Sans", "The Girl Next Door", "Tienne", "Tinos", "Titan One", "Trade Winds",
|
64 |
+
"Trocchi", "Trochut", "Trykker", "Tulpen One", "Ubuntu", "Ubuntu Condensed", "Ubuntu Mono", "Ultra", "Uncial Antiqua",
|
65 |
+
"UnifrakturCook", "UnifrakturMaguntia", "Unkempt", "Unlock", "Unna", "VT323", "Varela", "Varela Round", "Vast Shadow",
|
66 |
+
"Vibur", "Vidaloka", "Viga", "Voces", "Volkhov", "Vollkorn", "Voltaire", "Waiting for the Sunrise", "Wallpoet",
|
67 |
+
"Walter Turncoat", "Wellfleet", "Wire One", "Yanone Kaffeesatz", "Yellowtail", "Yeseva One", "Yesteryear", "Zeyada"
|
68 |
+
);
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Returns a select list of Google fonts
|
73 |
+
* Feel free to edit this, update the fallbacks, etc.
|
74 |
+
*/
|
75 |
+
function wpm_options_typography_get_google_fonts() {
|
76 |
+
// Google Font Defaults
|
77 |
+
$google_faces = array(
|
78 |
+
'Arvo, serif' => 'Arvo',
|
79 |
+
'Copse, sans-serif' => 'Copse',
|
80 |
+
'Droid Sans, sans-serif' => 'Droid Sans',
|
81 |
+
'Droid Serif, serif' => 'Droid Serif',
|
82 |
+
'Lobster, cursive' => 'Lobster',
|
83 |
+
'Nobile, sans-serif' => 'Nobile',
|
84 |
+
'Open Sans, sans-serif' => 'Open Sans',
|
85 |
+
'Oswald, sans-serif' => 'Oswald',
|
86 |
+
'Pacifico, cursive' => 'Pacifico',
|
87 |
+
'Rokkitt, serif' => 'Rokkit',
|
88 |
+
'PT Sans, sans-serif' => 'PT Sans',
|
89 |
+
'Quattrocento, serif' => 'Quattrocento',
|
90 |
+
'Raleway, cursive' => 'Raleway',
|
91 |
+
'Ubuntu, sans-serif' => 'Ubuntu',
|
92 |
+
'Yanone Kaffeesatz, sans-serif' => 'Yanone Kaffeesatz'
|
93 |
+
);
|
94 |
+
return $google_faces;
|
95 |
+
}
|
96 |
+
|
97 |
+
|
98 |
+
function wpm_getFontsList($name = "", $value = "") {
|
99 |
+
|
100 |
+
$fonts = wpm_getFontsTab();
|
101 |
+
if($value == '') { $value = 'Acme'; }
|
102 |
+
$tab_fonts = "<select name='".$name."'>";
|
103 |
+
foreach($fonts as &$namefont) {
|
104 |
+
$addOption = '';
|
105 |
+
if($value == $namefont) { $addOption = 'selected'; }
|
106 |
+
$tab_fonts .= '<option value="'.$namefont.'" '.$addOption.' style="font-family: '.$namefont.'">'.$namefont.'</option>';
|
107 |
+
}
|
108 |
+
$tab_fonts .= "</select>";
|
109 |
+
|
110 |
+
return $tab_fonts;
|
111 |
+
}
|
112 |
+
|
113 |
+
/* Feuille de style par défault */
|
114 |
+
function wpm_print_style() {
|
115 |
+
|
116 |
+
return '
|
117 |
+
h1 {
|
118 |
+
margin-left:auto;
|
119 |
+
margin-right:auto;
|
120 |
+
width: 700px;
|
121 |
+
padding: 10px;
|
122 |
+
text-align:center;
|
123 |
+
color: #_COLORTXT;
|
124 |
+
}
|
125 |
+
|
126 |
+
body {
|
127 |
+
background: none repeat scroll 0 0 #_COLORBG;
|
128 |
+
color: #_COLORTXT;
|
129 |
+
font: 12px/1.5em Arial,Helvetica,Sans-serif;
|
130 |
+
margin:0;
|
131 |
+
padding:0;
|
132 |
+
}
|
133 |
+
#header {
|
134 |
+
clear: both;
|
135 |
+
padding: 5px 0 10px;
|
136 |
+
position: relative;
|
137 |
+
}
|
138 |
+
.full {
|
139 |
+
margin: 0 auto;
|
140 |
+
width: 720px;
|
141 |
+
}
|
142 |
+
#logo {
|
143 |
+
text-align: center;
|
144 |
+
}
|
145 |
+
#main {
|
146 |
+
padding: 0px 50px;
|
147 |
+
}
|
148 |
+
#main .block {
|
149 |
+
font-size: 13px;
|
150 |
+
margin-bottom: 30px;
|
151 |
+
}
|
152 |
+
#main .block h3 {
|
153 |
+
line-height: 60px;
|
154 |
+
margin-bottom: 40px;
|
155 |
+
text-align: center;
|
156 |
+
}
|
157 |
+
#main #intro h3 {
|
158 |
+
font-size: 40px;
|
159 |
+
}
|
160 |
+
#main #intro p {
|
161 |
+
font-size: 16px;
|
162 |
+
line-height: 22px;
|
163 |
+
text-align: center;
|
164 |
+
word-wrap: break-word;
|
165 |
+
}
|
166 |
+
|
167 |
+
a:link {color: #_COLORTXT;text-decoration: underline;}
|
168 |
+
a:visited {color: #_COLORTXT;text-decoration: underline;}
|
169 |
+
a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
|
170 |
+
|
171 |
+
#maintenance {
|
172 |
+
text-align:center;
|
173 |
+
margin-top:25px;
|
174 |
+
}
|
175 |
+
|
176 |
+
.cptR-rec_countdown {
|
177 |
+
position: relative;
|
178 |
+
background: #_COLORCPTBG;
|
179 |
+
display: inline-block;
|
180 |
+
line-height: #_DATESIZE px;
|
181 |
+
min-width: 160px;
|
182 |
+
min-height: 60px;
|
183 |
+
padding: 30px 20px 5px 20px;
|
184 |
+
text-transform: uppercase;
|
185 |
+
text-align:center;
|
186 |
+
}
|
187 |
+
|
188 |
+
#cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
|
189 |
+
color: #_COLORCPT;
|
190 |
+
display: block;
|
191 |
+
font-size: #_DATESIZE;
|
192 |
+
height: 40px;
|
193 |
+
line-height: 18px;
|
194 |
+
text-align: center;
|
195 |
+
float:left;
|
196 |
+
}
|
197 |
+
#cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
|
198 |
+
color: #_COLORCPT;
|
199 |
+
font-size: 10px;
|
200 |
+
padding: 25px 5px 0 2px;
|
201 |
+
}
|
202 |
+
|
203 |
+
.wpm_horizontal li {
|
204 |
+
display: inline-block;
|
205 |
+
list-style: none;
|
206 |
+
margin:5px;
|
207 |
+
opacity:1;
|
208 |
+
}
|
209 |
+
.wpm_horizontal li:hover {
|
210 |
+
opacity:0.5;
|
211 |
+
}
|
212 |
+
#wpm_footer {
|
213 |
+
width: 100%;
|
214 |
+
clear: both;
|
215 |
+
height: 150px;
|
216 |
+
text-align:center;
|
217 |
+
background-color: #_COLOR_BG_BT;
|
218 |
+
color:#_COLOR_TXT_BT;
|
219 |
+
padding-top:10px;
|
220 |
+
margin-top: 40px;
|
221 |
+
font-size: 12px;
|
222 |
+
position:relative;
|
223 |
+
bottom:0;
|
224 |
+
}
|
225 |
+
.wpm_copyright {
|
226 |
+
color:#_COLOR_TXT_BT;
|
227 |
+
font-size: 12px;
|
228 |
+
}
|
229 |
+
.wpm_copyright a, a:hover, a:visited {
|
230 |
+
color:#_COLOR_TXT_BT;
|
231 |
+
text-decoration:none;
|
232 |
+
font-size: 12px;
|
233 |
+
}
|
234 |
+
.wpm_social {
|
235 |
+
padding: 0 45px;
|
236 |
+
text-align: center;
|
237 |
+
}
|
238 |
+
.wpm_newletter {
|
239 |
+
text-align:center;
|
240 |
+
}
|
241 |
+
@media screen and (min-width: 200px) and (max-width: 480px) {
|
242 |
+
.full {
|
243 |
+
max-width:300px;
|
244 |
+
}
|
245 |
+
#header {
|
246 |
+
padding: 0;
|
247 |
+
}
|
248 |
+
#main {
|
249 |
+
padding: 0;
|
250 |
+
}
|
251 |
+
.wpm_social {
|
252 |
+
padding: 0 15px;
|
253 |
+
}
|
254 |
+
.cptR-rec_countdown {
|
255 |
+
padding:0;
|
256 |
+
}
|
257 |
+
#main .block h3 {
|
258 |
+
line-height: 0px;
|
259 |
+
}
|
260 |
+
#main .block {
|
261 |
+
margin-bottom: 0;
|
262 |
+
}
|
263 |
+
#cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
|
264 |
+
font-size: 8px;
|
265 |
+
}
|
266 |
+
#main #intro h3 {
|
267 |
+
font-size: 6vw;
|
268 |
+
}
|
269 |
+
}
|
270 |
+
|
271 |
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
272 |
+
.full {
|
273 |
+
max-width:342px;
|
274 |
+
}
|
275 |
+
}
|
276 |
+
';
|
277 |
+
}
|
278 |
+
|
279 |
+
|