WP Maintenance - Version 2.6

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

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

Code changes from version 2.5.7 to 2.6

languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -1,389 +1,342 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2015-03-19 11:19+0100\n"
5
- "PO-Revision-Date: 2015-03-19 11:21+0100\n"
6
  "Last-Translator: Florent Maillefaud <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.7.4\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\\www\\Plugin Wordpress\\wp-maintenance"
18
- "\\trunk\n"
19
 
20
- #: C:\wamp\www\www\Plugin
21
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:16
22
  msgid "Options saved."
23
  msgstr "Options sauvegardées."
24
 
25
- #: C:\wamp\www\www\Plugin
26
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:53
27
  msgid "The Style Sheet has been reset!"
28
  msgstr "Feuille de style réinitialisée !"
29
 
30
- #: C:\wamp\www\www\Plugin
31
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:70
32
  msgid "WP Maintenance Settings"
33
  msgstr "Paramètres WP Maintenance"
34
 
35
- #: C:\wamp\www\www\Plugin
36
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:75
37
  msgid "General"
38
  msgstr "Général"
39
 
40
- #: C:\wamp\www\www\Plugin
41
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:76
42
  msgid "Colors & Fonts"
43
  msgstr "Couleurs et Fonts"
44
 
45
- #: C:\wamp\www\www\Plugin
46
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:77
47
  msgid "Picture"
48
  msgstr "Image"
49
 
50
- #: C:\wamp\www\www\Plugin
51
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:78
52
  msgid "CountDown"
53
  msgstr "Compte à rebours"
54
 
55
- #: C:\wamp\www\www\Plugin
56
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:79
57
  msgid "CSS Style"
58
  msgstr "Style CSS"
59
 
60
- #: C:\wamp\www\www\Plugin
61
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:80
62
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:58
63
  msgid "Settings"
64
  msgstr "Réglages"
65
 
66
- #: C:\wamp\www\www\Plugin
67
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:81
68
  msgid "About"
69
  msgstr "A propos"
70
 
71
- #: C:\wamp\www\www\Plugin
72
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:94
73
  msgid "Enable maintenance mode:"
74
  msgstr "Activer le mode maintenance :"
75
 
76
- #: C:\wamp\www\www\Plugin
77
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:95
78
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:109
79
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:119
80
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:178
81
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:382
82
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:504
83
  msgid "Yes"
84
  msgstr "Oui"
85
 
86
- #: C:\wamp\www\www\Plugin
87
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:96
88
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:505
89
  msgid "No"
90
  msgstr "Non"
91
 
92
- #: C:\wamp\www\www\Plugin
93
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:100
94
  msgid "Title and text for the maintenance page:"
95
  msgstr "Titre et Texte de la page maintenance :"
96
 
97
- #: C:\wamp\www\www\Plugin
98
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:101
99
  msgid "Title:"
100
  msgstr "Titre :"
101
 
102
- #: C:\wamp\www\www\Plugin
103
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:102
104
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:104
105
  msgid "Text:"
106
  msgstr "Texte :"
107
 
108
- #: C:\wamp\www\www\Plugin
109
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:103
110
  msgid "Text in the bottom of maintenance page:"
111
  msgstr "Texte du bas de page :"
112
 
113
- #: C:\wamp\www\www\Plugin
114
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:108
115
  msgid "Enable Google Analytics:"
116
  msgstr "Activer Google Analytics :"
117
 
118
- #: C:\wamp\www\www\Plugin
119
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:110
120
  msgid "Enter your Google analytics tracking ID here:"
121
  msgstr "Enter votre ID de suivi de Google Analytics ici :"
122
 
123
- #: C:\wamp\www\www\Plugin
124
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:112
125
  msgid "Enter your domain URL:"
126
  msgstr "Entrer votre domain :"
127
 
128
- #: C:\wamp\www\www\Plugin
129
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:118
130
  msgid "Enable Social Networks:"
131
  msgstr "Activer les icônes des réseaux sociaux :"
132
 
133
- #: C:\wamp\www\www\Plugin
134
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:120
135
  msgid "Enter text for the title icons:"
136
  msgstr "Entrez un texte pour la balise title des icônes :"
137
 
138
- #: C:\wamp\www\www\Plugin
139
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:121
140
  msgid "Follow me on"
141
  msgstr "Suivez-moi sur"
142
 
143
- #: C:\wamp\www\www\Plugin
144
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:123
145
  msgid "Drad and drop the lines to put in the order you want:"
146
  msgstr ""
147
  "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
148
 
149
- #: C:\wamp\www\www\Plugin
150
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:145
151
  msgid "Choose icons size:"
152
  msgstr "Choisissez la taille des icônes :"
153
 
154
- #: C:\wamp\www\www\Plugin
155
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:157
156
  msgid "Position:"
157
  msgstr "Position :"
158
 
159
- #: C:\wamp\www\www\Plugin
160
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:159
161
  msgid "Top"
162
  msgstr "Haut"
163
 
164
- #: C:\wamp\www\www\Plugin
165
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:160
166
  msgid "Bottom"
167
  msgstr "Bas"
168
 
169
- #: C:\wamp\www\www\Plugin
170
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:164
171
  msgid "Align:"
172
  msgstr "Alignement :"
173
 
174
- #: C:\wamp\www\www\Plugin
175
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:166
176
  msgid "Left"
177
  msgstr "Gauche"
178
 
179
- #: C:\wamp\www\www\Plugin
180
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:167
181
  msgid "Center"
182
  msgstr "Centre"
183
 
184
- #: C:\wamp\www\www\Plugin
185
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:168
186
  msgid "Right"
187
  msgstr "Droite"
188
 
189
- #: C:\wamp\www\www\Plugin
190
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:171
191
  msgid "You have your own icons? Enter the folder name of your theme here:"
192
  msgstr ""
193
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
194
 
195
- #: C:\wamp\www\www\Plugin
196
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:177
197
  msgid "Enable Newletter:"
198
  msgstr "Activer l'encart de newletter :"
199
 
200
- #: C:\wamp\www\www\Plugin
201
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:179
202
  msgid "Enter title for the newletter block:"
203
  msgstr "Entrez un titre pour l'encart de la newsletter"
204
 
205
- #: C:\wamp\www\www\Plugin
206
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:181
207
  msgid "Enter your newletter shortcode here:"
208
  msgstr "Entrez le Shortcode de la newletter ici :"
209
 
210
- #: C:\wamp\www\www\Plugin
211
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:187
212
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:306
213
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:368
214
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:434
215
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:490
216
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:534
217
  msgid "Save this settings"
218
  msgstr "Sauvegarder ces paramètres"
219
 
220
- #: C:\wamp\www\www\Plugin
221
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:200
222
- msgid "Choice texts colors:"
223
- msgstr "Choix des couleurs des textes :"
224
 
225
- #: C:\wamp\www\www\Plugin
226
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:202
227
  msgid "Background page color:"
228
  msgstr "Couleur du fond de page :"
229
 
230
- #: C:\wamp\www\www\Plugin
231
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:203
 
 
 
 
 
 
 
232
  msgid "Text color:"
233
  msgstr "Couleur du texte :"
234
 
235
- #: C:\wamp\www\www\Plugin
236
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:206
237
  msgid "Title font settings"
238
  msgstr "Paramètres de la police du titre"
239
 
240
- #: C:\wamp\www\www\Plugin
241
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:212
242
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:235
243
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:263
244
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:286
245
  msgid "Size:"
246
  msgstr "Taille :"
247
 
248
- #: C:\wamp\www\www\Plugin
249
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:229
250
  msgid "Text font settings"
251
  msgstr "Paramètres de la police du texte"
252
 
253
- #: C:\wamp\www\www\Plugin
254
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:251
255
- msgid "Choice countdown colors:"
256
- msgstr "Choix des couleurs du compte à rebours :"
 
 
 
 
 
 
 
 
 
 
 
257
 
258
- #: C:\wamp\www\www\Plugin
259
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:252
260
  msgid "Countdown text color:"
261
  msgstr "Couleur du texte du compteur :"
262
 
263
- #: C:\wamp\www\www\Plugin
264
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:254
265
  msgid "Countdown background color:"
266
  msgstr "Couleur du fond du compteur :"
267
 
268
- #: C:\wamp\www\www\Plugin
269
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:257
270
  msgid "Countdown font settings"
271
  msgstr "Paramètres de la police du compte à rebours"
272
 
273
- #: C:\wamp\www\www\Plugin
274
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:274
275
- msgid "Choice texts bottom colors:"
276
- msgstr "Choix des couleurs du bas de page :"
277
 
278
- #: C:\wamp\www\www\Plugin
279
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:276
280
- msgid "Bottom color:"
281
- msgstr "Couleur du fond :"
282
 
283
- #: C:\wamp\www\www\Plugin
284
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:277
285
- msgid "Text bottom color:"
286
- msgstr "Couleur du texte :"
 
 
 
 
 
 
 
 
 
 
 
287
 
288
- #: C:\wamp\www\www\Plugin
289
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:280
290
- msgid "Text font on the bottom page:"
291
- msgstr "Paramètres de la police du texte du bas de page :"
292
 
293
- #: C:\wamp\www\www\Plugin
294
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:318
295
  msgid "Upload a picture"
296
  msgstr "Uploader une image"
297
 
298
- #: C:\wamp\www\www\Plugin
299
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:320
300
  msgid "You use this picture:"
301
  msgstr "Image actuelle : "
302
 
303
- #: C:\wamp\www\www\Plugin
304
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:322
305
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:338
 
 
306
  msgid "Select or Upload your picture"
307
  msgstr "Sélectionnez / Uploader votre image"
308
 
309
- #: C:\wamp\www\www\Plugin
310
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:323
311
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:339
312
- msgid "Enter a URL or upload an image."
313
- msgstr "Entrez une url ou uploader une image."
314
-
315
- #: C:\wamp\www\www\Plugin
316
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:328
317
  msgid "Upload a background picture"
318
  msgstr "Uploader une image de fond"
319
 
320
- #: C:\wamp\www\www\Plugin
321
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:329
322
  msgid "Enable image background"
323
  msgstr "Activer l'image de fond"
324
 
325
- #: C:\wamp\www\www\Plugin
326
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:331
327
  msgid "You use this background picture:"
328
  msgstr "Image de fond actuelle : "
329
 
330
- #: C:\wamp\www\www\Plugin
331
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:335
332
  msgid "You use this pattern:"
333
  msgstr "Vous utilisez ce pattern : "
334
 
335
- #: C:\wamp\www\www\Plugin
336
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:340
337
  msgid "Or choose a pattern:"
338
  msgstr "Ou choisissez un pattern de fond :"
339
 
340
- #: C:\wamp\www\www\Plugin
341
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:356
 
 
 
342
  msgid "Background picture options"
343
  msgstr "Options de l'image de fond"
344
 
345
- #: C:\wamp\www\www\Plugin
346
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:363
347
  msgid "Fixed"
348
  msgstr "Fixe"
349
 
350
- #: C:\wamp\www\www\Plugin
351
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:381
352
  msgid "Enable a countdown ?"
353
  msgstr "Activer le compte à rebours ?"
354
 
355
- #: C:\wamp\www\www\Plugin
356
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:383
357
  msgid "Enter the launch date"
358
  msgstr "Entrez la date de lancement"
359
 
360
- #: C:\wamp\www\www\Plugin
361
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:416
362
  msgid "Enable seconds ?"
363
  msgstr "Afficher les secondes ?"
364
 
365
- #: C:\wamp\www\www\Plugin
366
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:417
367
  msgid "Disable maintenance mode at the end of the countdown?"
368
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
369
 
370
- #: C:\wamp\www\www\Plugin
371
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:418
372
  msgid "End message:"
373
  msgstr "Message de fin :"
374
 
375
- #: C:\wamp\www\www\Plugin
376
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:418
377
  msgid "Font size:"
378
  msgstr "Taille de la police :"
379
 
380
- #: C:\wamp\www\www\Plugin
381
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:446
382
  msgid "CSS style sheet code:"
383
  msgstr "Code style CSS :"
384
 
385
- #: C:\wamp\www\www\Plugin
386
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:447
387
  msgid ""
388
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
389
  "\" to retrieve the default style sheet."
@@ -391,85 +344,70 @@ msgstr ""
391
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
392
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
393
 
394
- #: C:\wamp\www\www\Plugin
395
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:455
396
  msgid "Markers for colors"
397
  msgstr "Marqueurs pour les couleurs"
398
 
399
- #: C:\wamp\www\www\Plugin
400
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:460
401
  msgid "Use this code for text color"
402
  msgstr "Utiliser ce code pour la couleur du texte"
403
 
404
- #: C:\wamp\www\www\Plugin
405
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:464
406
  msgid "Use this code for background text color"
407
  msgstr "Utiliser ce code pour la couleur de fond du texte"
408
 
409
- #: C:\wamp\www\www\Plugin
410
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
411
  msgid "Use this code for background color countdown"
412
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
413
 
414
- #: C:\wamp\www\www\Plugin
415
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:472
416
  msgid "Use this code for size countdown"
417
  msgstr "Utiliser ce code pour la taille du compte à rebours"
418
 
419
- #: C:\wamp\www\www\Plugin
420
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:476
421
  msgid "Use this code for countdown color"
422
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
423
 
424
- #: C:\wamp\www\www\Plugin
425
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:485
426
  msgid "Reset default CSS stylesheet ?"
427
  msgstr "Réinitialiser la feuille de style ?"
428
 
429
- #: C:\wamp\www\www\Plugin
430
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:502
431
  msgid "Theme maintenance page:"
432
  msgstr "Page maintenance du thème :"
433
 
434
- #: C:\wamp\www\www\Plugin
435
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:503
436
  msgid ""
437
  "If you would use your maintenance.php page in your theme folder, click Yes."
438
  msgstr ""
439
  "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
440
  "votre thème, cliquez sur Oui."
441
 
442
- #: C:\wamp\www\www\Plugin
443
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:506
444
  msgid "You can use this shortcode to include Google Analytics code:"
445
  msgstr ""
446
  "Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
447
  "votre page :"
448
 
449
- #: C:\wamp\www\www\Plugin
450
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:506
451
  msgid "You can use this shortcode to include Social Networks icons:"
452
  msgstr ""
453
  "Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
454
  "sur votre page :"
455
 
456
- #: C:\wamp\www\www\Plugin
457
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:510
458
  msgid "Roles and Capabilities:"
459
  msgstr "Rôles et capacités :"
460
 
461
- #: C:\wamp\www\www\Plugin
462
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:511
463
  msgid "Allow the site to display these roles:"
464
  msgstr "Autoriser l'affichage du site à ces rôles :"
465
 
466
- #: C:\wamp\www\www\Plugin
467
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:527
468
  msgid "Header Code:"
469
  msgstr "Code pour le header"
470
 
471
- #: C:\wamp\www\www\Plugin
472
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:528
473
  msgid ""
474
  "The following code will add to the <head> tag. Useful if you need to add "
475
  "additional scripts such as CSS or JS."
@@ -477,8 +415,21 @@ msgstr ""
477
  "Le code suivant va être ajouter à la balise <head>. Très utile si vous avez "
478
  "besoin d'ajouter des scripts supplémentaires tels que CSS ou JS."
479
 
480
- #: C:\wamp\www\www\Plugin
481
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:550
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  msgid ""
483
  "This plugin has been developed for you for free by <a href=\"http://www."
484
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
@@ -493,49 +444,59 @@ msgstr ""
493
  "retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
494
  "tous."
495
 
496
- #: C:\wamp\www\www\Plugin
497
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:555
498
  msgid ""
499
  "If you want Donate (French Paypal) for my current and future developments:"
500
  msgstr ""
501
  "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
502
 
503
- #: C:\wamp\www\www\Plugin
504
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:127
505
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:425
506
  msgid "This site is down for maintenance"
507
  msgstr "Ce site est en maintenance"
508
 
509
- #: C:\wamp\www\www\Plugin
510
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:163
 
 
 
511
  msgid "Choose This Image"
512
  msgstr "Choisir cette image"
513
 
514
- #: C:\wamp\www\www\Plugin
515
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:164
516
  msgid "Choose Image"
517
  msgstr "Choisissez une image"
518
 
519
- #: C:\wamp\www\www\Plugin
520
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
521
  msgid "Days"
522
  msgstr "Jours"
523
 
524
- #: C:\wamp\www\www\Plugin
525
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
526
  msgid "Hours"
527
  msgstr "Heures"
528
 
529
- #: C:\wamp\www\www\Plugin
530
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
531
  msgid "Minutes"
532
  msgstr "Minutes"
533
 
534
- #: C:\wamp\www\www\Plugin
535
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
536
  msgid "Seconds"
537
  msgstr "Secondes"
538
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
539
  #~ msgid "Choose those that do not display the maintenance page."
540
  #~ msgstr "Choisissez ceux qui n'auront pas la page de maintenance"
541
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2015-08-21 12:38+0200\n"
5
+ "PO-Revision-Date: 2015-08-21 12:39+0200\n"
6
  "Last-Translator: Florent Maillefaud <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.8.2\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/www/Plugin Wordpress/wp-maintenance/"
18
+ "trunk\n"
19
 
20
+ #: wp-maintenance-admin.php:16
 
21
  msgid "Options saved."
22
  msgstr "Options sauvegardées."
23
 
24
+ #: wp-maintenance-admin.php:53
 
25
  msgid "The Style Sheet has been reset!"
26
  msgstr "Feuille de style réinitialisée !"
27
 
28
+ #: wp-maintenance-admin.php:70
 
29
  msgid "WP Maintenance Settings"
30
  msgstr "Paramètres WP Maintenance"
31
 
32
+ #: wp-maintenance-admin.php:75
 
33
  msgid "General"
34
  msgstr "Général"
35
 
36
+ #: wp-maintenance-admin.php:76
 
37
  msgid "Colors & Fonts"
38
  msgstr "Couleurs et Fonts"
39
 
40
+ #: wp-maintenance-admin.php:77
 
41
  msgid "Picture"
42
  msgstr "Image"
43
 
44
+ #: wp-maintenance-admin.php:78
 
45
  msgid "CountDown"
46
  msgstr "Compte à rebours"
47
 
48
+ #: wp-maintenance-admin.php:79
 
49
  msgid "CSS Style"
50
  msgstr "Style CSS"
51
 
52
+ #: wp-maintenance-admin.php:80 wp-maintenance.php:63
 
 
53
  msgid "Settings"
54
  msgstr "Réglages"
55
 
56
+ #: wp-maintenance-admin.php:81
 
57
  msgid "About"
58
  msgstr "A propos"
59
 
60
+ #: wp-maintenance-admin.php:94
 
61
  msgid "Enable maintenance mode:"
62
  msgstr "Activer le mode maintenance :"
63
 
64
+ #: wp-maintenance-admin.php:95 wp-maintenance-admin.php:109
65
+ #: wp-maintenance-admin.php:119 wp-maintenance-admin.php:178
66
+ #: wp-maintenance-admin.php:411 wp-maintenance-admin.php:533
 
 
 
 
67
  msgid "Yes"
68
  msgstr "Oui"
69
 
70
+ #: wp-maintenance-admin.php:96 wp-maintenance-admin.php:534
 
 
71
  msgid "No"
72
  msgstr "Non"
73
 
74
+ #: wp-maintenance-admin.php:100
 
75
  msgid "Title and text for the maintenance page:"
76
  msgstr "Titre et Texte de la page maintenance :"
77
 
78
+ #: wp-maintenance-admin.php:101
 
79
  msgid "Title:"
80
  msgstr "Titre :"
81
 
82
+ #: wp-maintenance-admin.php:102 wp-maintenance-admin.php:104
 
 
83
  msgid "Text:"
84
  msgstr "Texte :"
85
 
86
+ #: wp-maintenance-admin.php:103
 
87
  msgid "Text in the bottom of maintenance page:"
88
  msgstr "Texte du bas de page :"
89
 
90
+ #: wp-maintenance-admin.php:108
 
91
  msgid "Enable Google Analytics:"
92
  msgstr "Activer Google Analytics :"
93
 
94
+ #: wp-maintenance-admin.php:110
 
95
  msgid "Enter your Google analytics tracking ID here:"
96
  msgstr "Enter votre ID de suivi de Google Analytics ici :"
97
 
98
+ #: wp-maintenance-admin.php:112
 
99
  msgid "Enter your domain URL:"
100
  msgstr "Entrer votre domain :"
101
 
102
+ #: wp-maintenance-admin.php:118
 
103
  msgid "Enable Social Networks:"
104
  msgstr "Activer les icônes des réseaux sociaux :"
105
 
106
+ #: wp-maintenance-admin.php:120
 
107
  msgid "Enter text for the title icons:"
108
  msgstr "Entrez un texte pour la balise title des icônes :"
109
 
110
+ #: wp-maintenance-admin.php:121
 
111
  msgid "Follow me on"
112
  msgstr "Suivez-moi sur"
113
 
114
+ #: wp-maintenance-admin.php:123
 
115
  msgid "Drad and drop the lines to put in the order you want:"
116
  msgstr ""
117
  "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
118
 
119
+ #: wp-maintenance-admin.php:145
 
120
  msgid "Choose icons size:"
121
  msgstr "Choisissez la taille des icônes :"
122
 
123
+ #: wp-maintenance-admin.php:157
 
124
  msgid "Position:"
125
  msgstr "Position :"
126
 
127
+ #: wp-maintenance-admin.php:159
 
128
  msgid "Top"
129
  msgstr "Haut"
130
 
131
+ #: wp-maintenance-admin.php:160
 
132
  msgid "Bottom"
133
  msgstr "Bas"
134
 
135
+ #: wp-maintenance-admin.php:164
 
136
  msgid "Align:"
137
  msgstr "Alignement :"
138
 
139
+ #: wp-maintenance-admin.php:166
 
140
  msgid "Left"
141
  msgstr "Gauche"
142
 
143
+ #: wp-maintenance-admin.php:167
 
144
  msgid "Center"
145
  msgstr "Centre"
146
 
147
+ #: wp-maintenance-admin.php:168
 
148
  msgid "Right"
149
  msgstr "Droite"
150
 
151
+ #: wp-maintenance-admin.php:171
 
152
  msgid "You have your own icons? Enter the folder name of your theme here:"
153
  msgstr ""
154
  "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
155
 
156
+ #: wp-maintenance-admin.php:177
 
157
  msgid "Enable Newletter:"
158
  msgstr "Activer l'encart de newletter :"
159
 
160
+ #: wp-maintenance-admin.php:179
 
161
  msgid "Enter title for the newletter block:"
162
  msgstr "Entrez un titre pour l'encart de la newsletter"
163
 
164
+ #: wp-maintenance-admin.php:181
 
165
  msgid "Enter your newletter shortcode here:"
166
  msgstr "Entrez le Shortcode de la newletter ici :"
167
 
168
+ #: wp-maintenance-admin.php:187 wp-maintenance-admin.php:326
169
+ #: wp-maintenance-admin.php:397 wp-maintenance-admin.php:463
170
+ #: wp-maintenance-admin.php:519 wp-maintenance-admin.php:575
 
 
 
 
171
  msgid "Save this settings"
172
  msgstr "Sauvegarder ces paramètres"
173
 
174
+ #: wp-maintenance-admin.php:201
175
+ msgid "Choice general colors:"
176
+ msgstr "Choix des couleurs générales :"
 
177
 
178
+ #: wp-maintenance-admin.php:202
 
179
  msgid "Background page color:"
180
  msgstr "Couleur du fond de page :"
181
 
182
+ #: wp-maintenance-admin.php:203
183
+ msgid "Header color:"
184
+ msgstr "Couleur d'entête"
185
+
186
+ #: wp-maintenance-admin.php:207
187
+ msgid "Choice texts fonts and colors:"
188
+ msgstr "Choix des polices et couleurs des textes :"
189
+
190
+ #: wp-maintenance-admin.php:208
191
  msgid "Text color:"
192
  msgstr "Couleur du texte :"
193
 
194
+ #: wp-maintenance-admin.php:210
 
195
  msgid "Title font settings"
196
  msgstr "Paramètres de la police du titre"
197
 
198
+ #: wp-maintenance-admin.php:215 wp-maintenance-admin.php:236
199
+ #: wp-maintenance-admin.php:265 wp-maintenance-admin.php:296
 
 
 
200
  msgid "Size:"
201
  msgstr "Taille :"
202
 
203
+ #: wp-maintenance-admin.php:231 wp-maintenance-admin.php:260
 
204
  msgid "Text font settings"
205
  msgstr "Paramètres de la police du texte"
206
 
207
+ #: wp-maintenance-admin.php:255
208
+ msgid "Choice fonts and colors bottom page:"
209
+ msgstr "Choix des polices et couleurs du bas de page"
210
+
211
+ #: wp-maintenance-admin.php:256
212
+ msgid "Bottom color:"
213
+ msgstr "Couleur du fond :"
214
+
215
+ #: wp-maintenance-admin.php:257
216
+ msgid "Text bottom color:"
217
+ msgstr "Couleur du texte :"
218
+
219
+ #: wp-maintenance-admin.php:284
220
+ msgid "Choice countdown fonts and colors:"
221
+ msgstr "Choix des polices et couleurs du compte à rebours :"
222
 
223
+ #: wp-maintenance-admin.php:285
 
224
  msgid "Countdown text color:"
225
  msgstr "Couleur du texte du compteur :"
226
 
227
+ #: wp-maintenance-admin.php:286
 
228
  msgid "Countdown background color:"
229
  msgstr "Couleur du fond du compteur :"
230
 
231
+ #: wp-maintenance-admin.php:291
 
232
  msgid "Countdown font settings"
233
  msgstr "Paramètres de la police du compte à rebours"
234
 
235
+ #: wp-maintenance-admin.php:308
236
+ msgid "Choice form color:"
237
+ msgstr "Choisir les couleurs du formulaire :"
 
238
 
239
+ #: wp-maintenance-admin.php:311
240
+ msgid "Field text color:"
241
+ msgstr "Couleur du texte dans les champs :"
 
242
 
243
+ #: wp-maintenance-admin.php:312
244
+ msgid "Field border color:"
245
+ msgstr "Couleur de bordure des champs :"
246
+
247
+ #: wp-maintenance-admin.php:313
248
+ msgid "Field background color:"
249
+ msgstr "Couleur de fond des champs :"
250
+
251
+ #: wp-maintenance-admin.php:315
252
+ msgid "Button color:"
253
+ msgstr "Couleur du bouton :"
254
+
255
+ #: wp-maintenance-admin.php:317
256
+ msgid "Button color hover:"
257
+ msgstr "Couleur du bouton au survol :"
258
 
259
+ #: wp-maintenance-admin.php:318
260
+ msgid "Button color onclick:"
261
+ msgstr "Couleur du bouton au click :"
 
262
 
263
+ #: wp-maintenance-admin.php:345
 
264
  msgid "Upload a picture"
265
  msgstr "Uploader une image"
266
 
267
+ #: wp-maintenance-admin.php:347
 
268
  msgid "You use this picture:"
269
  msgstr "Image actuelle : "
270
 
271
+ #: wp-maintenance-admin.php:349 wp-maintenance-admin.php:368
272
+ msgid "Enter a URL or upload an image."
273
+ msgstr "Entrez une url ou uploadez une image."
274
+
275
+ #: wp-maintenance-admin.php:350 wp-maintenance-admin.php:367
276
  msgid "Select or Upload your picture"
277
  msgstr "Sélectionnez / Uploader votre image"
278
 
279
+ #: wp-maintenance-admin.php:357
 
 
 
 
 
 
 
280
  msgid "Upload a background picture"
281
  msgstr "Uploader une image de fond"
282
 
283
+ #: wp-maintenance-admin.php:358
 
284
  msgid "Enable image background"
285
  msgstr "Activer l'image de fond"
286
 
287
+ #: wp-maintenance-admin.php:360
 
288
  msgid "You use this background picture:"
289
  msgstr "Image de fond actuelle : "
290
 
291
+ #: wp-maintenance-admin.php:364
 
292
  msgid "You use this pattern:"
293
  msgstr "Vous utilisez ce pattern : "
294
 
295
+ #: wp-maintenance-admin.php:369
 
296
  msgid "Or choose a pattern:"
297
  msgstr "Ou choisissez un pattern de fond :"
298
 
299
+ #: wp-maintenance-admin.php:373
300
+ msgid "NO PATTERN"
301
+ msgstr "AUCUN PATTERN"
302
+
303
+ #: wp-maintenance-admin.php:385
304
  msgid "Background picture options"
305
  msgstr "Options de l'image de fond"
306
 
307
+ #: wp-maintenance-admin.php:392
 
308
  msgid "Fixed"
309
  msgstr "Fixe"
310
 
311
+ #: wp-maintenance-admin.php:410
 
312
  msgid "Enable a countdown ?"
313
  msgstr "Activer le compte à rebours ?"
314
 
315
+ #: wp-maintenance-admin.php:412
 
316
  msgid "Enter the launch date"
317
  msgstr "Entrez la date de lancement"
318
 
319
+ #: wp-maintenance-admin.php:445
 
320
  msgid "Enable seconds ?"
321
  msgstr "Afficher les secondes ?"
322
 
323
+ #: wp-maintenance-admin.php:446
 
324
  msgid "Disable maintenance mode at the end of the countdown?"
325
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
326
 
327
+ #: wp-maintenance-admin.php:447
 
328
  msgid "End message:"
329
  msgstr "Message de fin :"
330
 
331
+ #: wp-maintenance-admin.php:447
 
332
  msgid "Font size:"
333
  msgstr "Taille de la police :"
334
 
335
+ #: wp-maintenance-admin.php:475
 
336
  msgid "CSS style sheet code:"
337
  msgstr "Code style CSS :"
338
 
339
+ #: wp-maintenance-admin.php:476
 
340
  msgid ""
341
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
342
  "\" to retrieve the default style sheet."
344
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
345
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
346
 
347
+ #: wp-maintenance-admin.php:484
 
348
  msgid "Markers for colors"
349
  msgstr "Marqueurs pour les couleurs"
350
 
351
+ #: wp-maintenance-admin.php:489
 
352
  msgid "Use this code for text color"
353
  msgstr "Utiliser ce code pour la couleur du texte"
354
 
355
+ #: wp-maintenance-admin.php:493
 
356
  msgid "Use this code for background text color"
357
  msgstr "Utiliser ce code pour la couleur de fond du texte"
358
 
359
+ #: wp-maintenance-admin.php:497
 
360
  msgid "Use this code for background color countdown"
361
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
362
 
363
+ #: wp-maintenance-admin.php:501
 
364
  msgid "Use this code for size countdown"
365
  msgstr "Utiliser ce code pour la taille du compte à rebours"
366
 
367
+ #: wp-maintenance-admin.php:505
 
368
  msgid "Use this code for countdown color"
369
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
370
 
371
+ #: wp-maintenance-admin.php:514
 
372
  msgid "Reset default CSS stylesheet ?"
373
  msgstr "Réinitialiser la feuille de style ?"
374
 
375
+ #: wp-maintenance-admin.php:531
 
376
  msgid "Theme maintenance page:"
377
  msgstr "Page maintenance du thème :"
378
 
379
+ #: wp-maintenance-admin.php:532
 
380
  msgid ""
381
  "If you would use your maintenance.php page in your theme folder, click Yes."
382
  msgstr ""
383
  "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
384
  "votre thème, cliquez sur Oui."
385
 
386
+ #: wp-maintenance-admin.php:535
 
387
  msgid "You can use this shortcode to include Google Analytics code:"
388
  msgstr ""
389
  "Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
390
  "votre page :"
391
 
392
+ #: wp-maintenance-admin.php:535
 
393
  msgid "You can use this shortcode to include Social Networks icons:"
394
  msgstr ""
395
  "Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
396
  "sur votre page :"
397
 
398
+ #: wp-maintenance-admin.php:543
 
399
  msgid "Roles and Capabilities:"
400
  msgstr "Rôles et capacités :"
401
 
402
+ #: wp-maintenance-admin.php:544
 
403
  msgid "Allow the site to display these roles:"
404
  msgstr "Autoriser l'affichage du site à ces rôles :"
405
 
406
+ #: wp-maintenance-admin.php:560
 
407
  msgid "Header Code:"
408
  msgstr "Code pour le header"
409
 
410
+ #: wp-maintenance-admin.php:561
 
411
  msgid ""
412
  "The following code will add to the <head> tag. Useful if you need to add "
413
  "additional scripts such as CSS or JS."
415
  "Le code suivant va être ajouter à la balise <head>. Très utile si vous avez "
416
  "besoin d'ajouter des scripts supplémentaires tels que CSS ou JS."
417
 
418
+ #: wp-maintenance-admin.php:566
419
+ msgid "Demo mode:"
420
+ msgstr "Mode démo :"
421
+
422
+ #: wp-maintenance-admin.php:567
423
+ msgid "Be careful, in demo mode, the plugin can be modified by all users"
424
+ msgstr ""
425
+ "Attention, en mode démo, le plugin peut-être modifié par tous les "
426
+ "utilisateurs"
427
+
428
+ #: wp-maintenance-admin.php:568
429
+ msgid "Active this plugin in demo mode?"
430
+ msgstr "Activer ce plugin en mode démo ?"
431
+
432
+ #: wp-maintenance-admin.php:591
433
  msgid ""
434
  "This plugin has been developed for you for free by <a href=\"http://www."
435
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
444
  "retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
445
  "tous."
446
 
447
+ #: wp-maintenance-admin.php:596
 
448
  msgid ""
449
  "If you want Donate (French Paypal) for my current and future developments:"
450
  msgstr ""
451
  "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
452
 
453
+ #: wp-maintenance.php:131
 
 
454
  msgid "This site is down for maintenance"
455
  msgstr "Ce site est en maintenance"
456
 
457
+ #: wp-maintenance.php:158 wp-maintenance.php:160
458
+ msgid "Options for the maintenance page"
459
+ msgstr "Options pour la page maintenance"
460
+
461
+ #: wp-maintenance.php:180
462
  msgid "Choose This Image"
463
  msgstr "Choisir cette image"
464
 
465
+ #: wp-maintenance.php:181
 
466
  msgid "Choose Image"
467
  msgstr "Choisissez une image"
468
 
469
+ #: wp-maintenance.php:492
 
470
  msgid "Days"
471
  msgstr "Jours"
472
 
473
+ #: wp-maintenance.php:492
 
474
  msgid "Hours"
475
  msgstr "Heures"
476
 
477
+ #: wp-maintenance.php:492
 
478
  msgid "Minutes"
479
  msgstr "Minutes"
480
 
481
+ #: wp-maintenance.php:494
 
482
  msgid "Seconds"
483
  msgstr "Secondes"
484
 
485
+ #~ msgid "Choice texts colors:"
486
+ #~ msgstr "Choix des couleurs des textes :"
487
+
488
+ #~ msgid "Choice countdown colors:"
489
+ #~ msgstr "Choix des couleurs du compte à rebours :"
490
+
491
+ #~ msgid "Choice texts bottom colors:"
492
+ #~ msgstr "Choix des couleurs du bas de page :"
493
+
494
+ #~ msgid "Text font on the bottom page:"
495
+ #~ msgstr "Paramètres de la police du texte du bas de page :"
496
+
497
+ #~ msgid "Go to Admin Panel"
498
+ #~ msgstr "Aller au panneau d'admin"
499
+
500
  #~ msgid "Choose those that do not display the maintenance page."
501
  #~ msgstr "Choisissez ceux qui n'auront pas la page de maintenance"
502
 
languages/wp-maintenance.pot CHANGED
@@ -1,7 +1,8 @@
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2015-03-19 11:19+0100\n"
5
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
6
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
@@ -9,464 +10,412 @@ msgstr ""
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.7.4\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\\www\\Plugin Wordpress\\wp-maintenance"
18
- "\\trunk\n"
19
 
20
- #: C:\wamp\www\www\Plugin
21
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:16
22
  msgid "Options saved."
23
  msgstr ""
24
 
25
- #: C:\wamp\www\www\Plugin
26
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:53
27
  msgid "The Style Sheet has been reset!"
28
  msgstr ""
29
 
30
- #: C:\wamp\www\www\Plugin
31
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:70
32
  msgid "WP Maintenance Settings"
33
  msgstr ""
34
 
35
- #: C:\wamp\www\www\Plugin
36
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:75
37
  msgid "General"
38
  msgstr ""
39
 
40
- #: C:\wamp\www\www\Plugin
41
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:76
42
  msgid "Colors & Fonts"
43
  msgstr ""
44
 
45
- #: C:\wamp\www\www\Plugin
46
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:77
47
  msgid "Picture"
48
  msgstr ""
49
 
50
- #: C:\wamp\www\www\Plugin
51
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:78
52
  msgid "CountDown"
53
  msgstr ""
54
 
55
- #: C:\wamp\www\www\Plugin
56
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:79
57
  msgid "CSS Style"
58
  msgstr ""
59
 
60
- #: C:\wamp\www\www\Plugin
61
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:80
62
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:58
63
  msgid "Settings"
64
  msgstr ""
65
 
66
- #: C:\wamp\www\www\Plugin
67
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:81
68
  msgid "About"
69
  msgstr ""
70
 
71
- #: C:\wamp\www\www\Plugin
72
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:94
73
  msgid "Enable maintenance mode:"
74
  msgstr ""
75
 
76
- #: C:\wamp\www\www\Plugin
77
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:95
78
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:109
79
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:119
80
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:178
81
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:382
82
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:504
83
  msgid "Yes"
84
  msgstr ""
85
 
86
- #: C:\wamp\www\www\Plugin
87
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:96
88
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:505
89
  msgid "No"
90
  msgstr ""
91
 
92
- #: C:\wamp\www\www\Plugin
93
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:100
94
  msgid "Title and text for the maintenance page:"
95
  msgstr ""
96
 
97
- #: C:\wamp\www\www\Plugin
98
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:101
99
  msgid "Title:"
100
  msgstr ""
101
 
102
- #: C:\wamp\www\www\Plugin
103
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:102
104
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:104
105
  msgid "Text:"
106
  msgstr ""
107
 
108
- #: C:\wamp\www\www\Plugin
109
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:103
110
  msgid "Text in the bottom of maintenance page:"
111
  msgstr ""
112
 
113
- #: C:\wamp\www\www\Plugin
114
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:108
115
  msgid "Enable Google Analytics:"
116
  msgstr ""
117
 
118
- #: C:\wamp\www\www\Plugin
119
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:110
120
  msgid "Enter your Google analytics tracking ID here:"
121
  msgstr ""
122
 
123
- #: C:\wamp\www\www\Plugin
124
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:112
125
  msgid "Enter your domain URL:"
126
  msgstr ""
127
 
128
- #: C:\wamp\www\www\Plugin
129
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:118
130
  msgid "Enable Social Networks:"
131
  msgstr ""
132
 
133
- #: C:\wamp\www\www\Plugin
134
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:120
135
  msgid "Enter text for the title icons:"
136
  msgstr ""
137
 
138
- #: C:\wamp\www\www\Plugin
139
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:121
140
  msgid "Follow me on"
141
  msgstr ""
142
 
143
- #: C:\wamp\www\www\Plugin
144
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:123
145
  msgid "Drad and drop the lines to put in the order you want:"
146
  msgstr ""
147
 
148
- #: C:\wamp\www\www\Plugin
149
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:145
150
  msgid "Choose icons size:"
151
  msgstr ""
152
 
153
- #: C:\wamp\www\www\Plugin
154
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:157
155
  msgid "Position:"
156
  msgstr ""
157
 
158
- #: C:\wamp\www\www\Plugin
159
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:159
160
  msgid "Top"
161
  msgstr ""
162
 
163
- #: C:\wamp\www\www\Plugin
164
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:160
165
  msgid "Bottom"
166
  msgstr ""
167
 
168
- #: C:\wamp\www\www\Plugin
169
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:164
170
  msgid "Align:"
171
  msgstr ""
172
 
173
- #: C:\wamp\www\www\Plugin
174
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:166
175
  msgid "Left"
176
  msgstr ""
177
 
178
- #: C:\wamp\www\www\Plugin
179
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:167
180
  msgid "Center"
181
  msgstr ""
182
 
183
- #: C:\wamp\www\www\Plugin
184
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:168
185
  msgid "Right"
186
  msgstr ""
187
 
188
- #: C:\wamp\www\www\Plugin
189
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:171
190
  msgid "You have your own icons? Enter the folder name of your theme here:"
191
  msgstr ""
192
 
193
- #: C:\wamp\www\www\Plugin
194
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:177
195
  msgid "Enable Newletter:"
196
  msgstr ""
197
 
198
- #: C:\wamp\www\www\Plugin
199
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:179
200
  msgid "Enter title for the newletter block:"
201
  msgstr ""
202
 
203
- #: C:\wamp\www\www\Plugin
204
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:181
205
  msgid "Enter your newletter shortcode here:"
206
  msgstr ""
207
 
208
- #: C:\wamp\www\www\Plugin
209
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:187
210
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:306
211
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:368
212
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:434
213
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:490
214
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:534
215
  msgid "Save this settings"
216
  msgstr ""
217
 
218
- #: C:\wamp\www\www\Plugin
219
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:200
220
- msgid "Choice texts colors:"
221
  msgstr ""
222
 
223
- #: C:\wamp\www\www\Plugin
224
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:202
225
  msgid "Background page color:"
226
  msgstr ""
227
 
228
- #: C:\wamp\www\www\Plugin
229
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:203
 
 
 
 
 
 
 
230
  msgid "Text color:"
231
  msgstr ""
232
 
233
- #: C:\wamp\www\www\Plugin
234
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:206
235
  msgid "Title font settings"
236
  msgstr ""
237
 
238
- #: C:\wamp\www\www\Plugin
239
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:212
240
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:235
241
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:263
242
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:286
243
  msgid "Size:"
244
  msgstr ""
245
 
246
- #: C:\wamp\www\www\Plugin
247
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:229
248
  msgid "Text font settings"
249
  msgstr ""
250
 
251
- #: C:\wamp\www\www\Plugin
252
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:251
253
- msgid "Choice countdown colors:"
254
  msgstr ""
255
 
256
- #: C:\wamp\www\www\Plugin
257
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:252
 
 
 
 
 
 
 
 
 
 
 
258
  msgid "Countdown text color:"
259
  msgstr ""
260
 
261
- #: C:\wamp\www\www\Plugin
262
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:254
263
  msgid "Countdown background color:"
264
  msgstr ""
265
 
266
- #: C:\wamp\www\www\Plugin
267
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:257
268
  msgid "Countdown font settings"
269
  msgstr ""
270
 
271
- #: C:\wamp\www\www\Plugin
272
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:274
273
- msgid "Choice texts bottom colors:"
274
  msgstr ""
275
 
276
- #: C:\wamp\www\www\Plugin
277
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:276
278
- msgid "Bottom color:"
279
  msgstr ""
280
 
281
- #: C:\wamp\www\www\Plugin
282
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:277
283
- msgid "Text bottom color:"
 
 
 
 
 
 
 
 
 
 
 
284
  msgstr ""
285
 
286
- #: C:\wamp\www\www\Plugin
287
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:280
288
- msgid "Text font on the bottom page:"
289
  msgstr ""
290
 
291
- #: C:\wamp\www\www\Plugin
292
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:318
293
  msgid "Upload a picture"
294
  msgstr ""
295
 
296
- #: C:\wamp\www\www\Plugin
297
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:320
298
  msgid "You use this picture:"
299
  msgstr ""
300
 
301
- #: C:\wamp\www\www\Plugin
302
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:322
303
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:338
304
- msgid "Select or Upload your picture"
305
  msgstr ""
306
 
307
- #: C:\wamp\www\www\Plugin
308
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:323
309
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:339
310
- msgid "Enter a URL or upload an image."
311
  msgstr ""
312
 
313
- #: C:\wamp\www\www\Plugin
314
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:328
315
  msgid "Upload a background picture"
316
  msgstr ""
317
 
318
- #: C:\wamp\www\www\Plugin
319
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:329
320
  msgid "Enable image background"
321
  msgstr ""
322
 
323
- #: C:\wamp\www\www\Plugin
324
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:331
325
  msgid "You use this background picture:"
326
  msgstr ""
327
 
328
- #: C:\wamp\www\www\Plugin
329
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:335
330
  msgid "You use this pattern:"
331
  msgstr ""
332
 
333
- #: C:\wamp\www\www\Plugin
334
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:340
335
  msgid "Or choose a pattern:"
336
  msgstr ""
337
 
338
- #: C:\wamp\www\www\Plugin
339
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:356
 
 
 
340
  msgid "Background picture options"
341
  msgstr ""
342
 
343
- #: C:\wamp\www\www\Plugin
344
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:363
345
  msgid "Fixed"
346
  msgstr ""
347
 
348
- #: C:\wamp\www\www\Plugin
349
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:381
350
  msgid "Enable a countdown ?"
351
  msgstr ""
352
 
353
- #: C:\wamp\www\www\Plugin
354
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:383
355
  msgid "Enter the launch date"
356
  msgstr ""
357
 
358
- #: C:\wamp\www\www\Plugin
359
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:416
360
  msgid "Enable seconds ?"
361
  msgstr ""
362
 
363
- #: C:\wamp\www\www\Plugin
364
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:417
365
  msgid "Disable maintenance mode at the end of the countdown?"
366
  msgstr ""
367
 
368
- #: C:\wamp\www\www\Plugin
369
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:418
370
  msgid "End message:"
371
  msgstr ""
372
 
373
- #: C:\wamp\www\www\Plugin
374
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:418
375
  msgid "Font size:"
376
  msgstr ""
377
 
378
- #: C:\wamp\www\www\Plugin
379
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:446
380
  msgid "CSS style sheet code:"
381
  msgstr ""
382
 
383
- #: C:\wamp\www\www\Plugin
384
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:447
385
  msgid ""
386
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
387
  "\" to retrieve the default style sheet."
388
  msgstr ""
389
 
390
- #: C:\wamp\www\www\Plugin
391
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:455
392
  msgid "Markers for colors"
393
  msgstr ""
394
 
395
- #: C:\wamp\www\www\Plugin
396
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:460
397
  msgid "Use this code for text color"
398
  msgstr ""
399
 
400
- #: C:\wamp\www\www\Plugin
401
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:464
402
  msgid "Use this code for background text color"
403
  msgstr ""
404
 
405
- #: C:\wamp\www\www\Plugin
406
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:468
407
  msgid "Use this code for background color countdown"
408
  msgstr ""
409
 
410
- #: C:\wamp\www\www\Plugin
411
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:472
412
  msgid "Use this code for size countdown"
413
  msgstr ""
414
 
415
- #: C:\wamp\www\www\Plugin
416
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:476
417
  msgid "Use this code for countdown color"
418
  msgstr ""
419
 
420
- #: C:\wamp\www\www\Plugin
421
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:485
422
  msgid "Reset default CSS stylesheet ?"
423
  msgstr ""
424
 
425
- #: C:\wamp\www\www\Plugin
426
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:502
427
  msgid "Theme maintenance page:"
428
  msgstr ""
429
 
430
- #: C:\wamp\www\www\Plugin
431
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:503
432
  msgid ""
433
  "If you would use your maintenance.php page in your theme folder, click Yes."
434
  msgstr ""
435
 
436
- #: C:\wamp\www\www\Plugin
437
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:506
438
  msgid "You can use this shortcode to include Google Analytics code:"
439
  msgstr ""
440
 
441
- #: C:\wamp\www\www\Plugin
442
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:506
443
  msgid "You can use this shortcode to include Social Networks icons:"
444
  msgstr ""
445
 
446
- #: C:\wamp\www\www\Plugin
447
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:510
448
  msgid "Roles and Capabilities:"
449
  msgstr ""
450
 
451
- #: C:\wamp\www\www\Plugin
452
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:511
453
  msgid "Allow the site to display these roles:"
454
  msgstr ""
455
 
456
- #: C:\wamp\www\www\Plugin
457
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:527
458
  msgid "Header Code:"
459
  msgstr ""
460
 
461
- #: C:\wamp\www\www\Plugin
462
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:528
463
  msgid ""
464
  "The following code will add to the <head> tag. Useful if you need to add "
465
  "additional scripts such as CSS or JS."
466
  msgstr ""
467
 
468
- #: C:\wamp\www\www\Plugin
469
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:550
 
 
 
 
 
 
 
 
 
 
 
470
  msgid ""
471
  "This plugin has been developed for you for free by <a href=\"http://www."
472
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
@@ -475,44 +424,39 @@ msgid ""
475
  "changes to improve this plugin for all."
476
  msgstr ""
477
 
478
- #: C:\wamp\www\www\Plugin
479
- #: Wordpress\wp-maintenance\trunk/wp-maintenance-admin.php:555
480
  msgid ""
481
  "If you want Donate (French Paypal) for my current and future developments:"
482
  msgstr ""
483
 
484
- #: C:\wamp\www\www\Plugin
485
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:127
486
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:425
487
  msgid "This site is down for maintenance"
488
  msgstr ""
489
 
490
- #: C:\wamp\www\www\Plugin
491
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:163
 
 
 
492
  msgid "Choose This Image"
493
  msgstr ""
494
 
495
- #: C:\wamp\www\www\Plugin
496
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:164
497
  msgid "Choose Image"
498
  msgstr ""
499
 
500
- #: C:\wamp\www\www\Plugin
501
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
502
  msgid "Days"
503
  msgstr ""
504
 
505
- #: C:\wamp\www\www\Plugin
506
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
507
  msgid "Hours"
508
  msgstr ""
509
 
510
- #: C:\wamp\www\www\Plugin
511
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:550
512
  msgid "Minutes"
513
  msgstr ""
514
 
515
- #: C:\wamp\www\www\Plugin
516
- #: Wordpress\wp-maintenance\trunk/wp-maintenance.php:552
517
  msgid "Seconds"
518
  msgstr ""
1
+ #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
+ "POT-Creation-Date: 2015-08-21 12:38+0200\n"
6
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
7
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.2\n"
14
  "X-Poedit-KeywordsList: __;_e\n"
15
+ "X-Poedit-Basepath: ..\n"
16
  "Plural-Forms: nplurals=2; plural=n>1;\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-SearchPath-0: .\n"
 
19
 
20
+ #: wp-maintenance-admin.php:16
 
21
  msgid "Options saved."
22
  msgstr ""
23
 
24
+ #: wp-maintenance-admin.php:53
 
25
  msgid "The Style Sheet has been reset!"
26
  msgstr ""
27
 
28
+ #: wp-maintenance-admin.php:70
 
29
  msgid "WP Maintenance Settings"
30
  msgstr ""
31
 
32
+ #: wp-maintenance-admin.php:75
 
33
  msgid "General"
34
  msgstr ""
35
 
36
+ #: wp-maintenance-admin.php:76
 
37
  msgid "Colors & Fonts"
38
  msgstr ""
39
 
40
+ #: wp-maintenance-admin.php:77
 
41
  msgid "Picture"
42
  msgstr ""
43
 
44
+ #: wp-maintenance-admin.php:78
 
45
  msgid "CountDown"
46
  msgstr ""
47
 
48
+ #: wp-maintenance-admin.php:79
 
49
  msgid "CSS Style"
50
  msgstr ""
51
 
52
+ #: wp-maintenance-admin.php:80 wp-maintenance.php:63
 
 
53
  msgid "Settings"
54
  msgstr ""
55
 
56
+ #: wp-maintenance-admin.php:81
 
57
  msgid "About"
58
  msgstr ""
59
 
60
+ #: wp-maintenance-admin.php:94
 
61
  msgid "Enable maintenance mode:"
62
  msgstr ""
63
 
64
+ #: wp-maintenance-admin.php:95 wp-maintenance-admin.php:109
65
+ #: wp-maintenance-admin.php:119 wp-maintenance-admin.php:178
66
+ #: wp-maintenance-admin.php:411 wp-maintenance-admin.php:533
 
 
 
 
67
  msgid "Yes"
68
  msgstr ""
69
 
70
+ #: wp-maintenance-admin.php:96 wp-maintenance-admin.php:534
 
 
71
  msgid "No"
72
  msgstr ""
73
 
74
+ #: wp-maintenance-admin.php:100
 
75
  msgid "Title and text for the maintenance page:"
76
  msgstr ""
77
 
78
+ #: wp-maintenance-admin.php:101
 
79
  msgid "Title:"
80
  msgstr ""
81
 
82
+ #: wp-maintenance-admin.php:102 wp-maintenance-admin.php:104
 
 
83
  msgid "Text:"
84
  msgstr ""
85
 
86
+ #: wp-maintenance-admin.php:103
 
87
  msgid "Text in the bottom of maintenance page:"
88
  msgstr ""
89
 
90
+ #: wp-maintenance-admin.php:108
 
91
  msgid "Enable Google Analytics:"
92
  msgstr ""
93
 
94
+ #: wp-maintenance-admin.php:110
 
95
  msgid "Enter your Google analytics tracking ID here:"
96
  msgstr ""
97
 
98
+ #: wp-maintenance-admin.php:112
 
99
  msgid "Enter your domain URL:"
100
  msgstr ""
101
 
102
+ #: wp-maintenance-admin.php:118
 
103
  msgid "Enable Social Networks:"
104
  msgstr ""
105
 
106
+ #: wp-maintenance-admin.php:120
 
107
  msgid "Enter text for the title icons:"
108
  msgstr ""
109
 
110
+ #: wp-maintenance-admin.php:121
 
111
  msgid "Follow me on"
112
  msgstr ""
113
 
114
+ #: wp-maintenance-admin.php:123
 
115
  msgid "Drad and drop the lines to put in the order you want:"
116
  msgstr ""
117
 
118
+ #: wp-maintenance-admin.php:145
 
119
  msgid "Choose icons size:"
120
  msgstr ""
121
 
122
+ #: wp-maintenance-admin.php:157
 
123
  msgid "Position:"
124
  msgstr ""
125
 
126
+ #: wp-maintenance-admin.php:159
 
127
  msgid "Top"
128
  msgstr ""
129
 
130
+ #: wp-maintenance-admin.php:160
 
131
  msgid "Bottom"
132
  msgstr ""
133
 
134
+ #: wp-maintenance-admin.php:164
 
135
  msgid "Align:"
136
  msgstr ""
137
 
138
+ #: wp-maintenance-admin.php:166
 
139
  msgid "Left"
140
  msgstr ""
141
 
142
+ #: wp-maintenance-admin.php:167
 
143
  msgid "Center"
144
  msgstr ""
145
 
146
+ #: wp-maintenance-admin.php:168
 
147
  msgid "Right"
148
  msgstr ""
149
 
150
+ #: wp-maintenance-admin.php:171
 
151
  msgid "You have your own icons? Enter the folder name of your theme here:"
152
  msgstr ""
153
 
154
+ #: wp-maintenance-admin.php:177
 
155
  msgid "Enable Newletter:"
156
  msgstr ""
157
 
158
+ #: wp-maintenance-admin.php:179
 
159
  msgid "Enter title for the newletter block:"
160
  msgstr ""
161
 
162
+ #: wp-maintenance-admin.php:181
 
163
  msgid "Enter your newletter shortcode here:"
164
  msgstr ""
165
 
166
+ #: wp-maintenance-admin.php:187 wp-maintenance-admin.php:326
167
+ #: wp-maintenance-admin.php:397 wp-maintenance-admin.php:463
168
+ #: wp-maintenance-admin.php:519 wp-maintenance-admin.php:575
 
 
 
 
169
  msgid "Save this settings"
170
  msgstr ""
171
 
172
+ #: wp-maintenance-admin.php:201
173
+ msgid "Choice general colors:"
 
174
  msgstr ""
175
 
176
+ #: wp-maintenance-admin.php:202
 
177
  msgid "Background page color:"
178
  msgstr ""
179
 
180
+ #: wp-maintenance-admin.php:203
181
+ msgid "Header color:"
182
+ msgstr ""
183
+
184
+ #: wp-maintenance-admin.php:207
185
+ msgid "Choice texts fonts and colors:"
186
+ msgstr ""
187
+
188
+ #: wp-maintenance-admin.php:208
189
  msgid "Text color:"
190
  msgstr ""
191
 
192
+ #: wp-maintenance-admin.php:210
 
193
  msgid "Title font settings"
194
  msgstr ""
195
 
196
+ #: wp-maintenance-admin.php:215 wp-maintenance-admin.php:236
197
+ #: wp-maintenance-admin.php:265 wp-maintenance-admin.php:296
 
 
 
198
  msgid "Size:"
199
  msgstr ""
200
 
201
+ #: wp-maintenance-admin.php:231 wp-maintenance-admin.php:260
 
202
  msgid "Text font settings"
203
  msgstr ""
204
 
205
+ #: wp-maintenance-admin.php:255
206
+ msgid "Choice fonts and colors bottom page:"
 
207
  msgstr ""
208
 
209
+ #: wp-maintenance-admin.php:256
210
+ msgid "Bottom color:"
211
+ msgstr ""
212
+
213
+ #: wp-maintenance-admin.php:257
214
+ msgid "Text bottom color:"
215
+ msgstr ""
216
+
217
+ #: wp-maintenance-admin.php:284
218
+ msgid "Choice countdown fonts and colors:"
219
+ msgstr ""
220
+
221
+ #: wp-maintenance-admin.php:285
222
  msgid "Countdown text color:"
223
  msgstr ""
224
 
225
+ #: wp-maintenance-admin.php:286
 
226
  msgid "Countdown background color:"
227
  msgstr ""
228
 
229
+ #: wp-maintenance-admin.php:291
 
230
  msgid "Countdown font settings"
231
  msgstr ""
232
 
233
+ #: wp-maintenance-admin.php:308
234
+ msgid "Choice form color:"
 
235
  msgstr ""
236
 
237
+ #: wp-maintenance-admin.php:311
238
+ msgid "Field text color:"
 
239
  msgstr ""
240
 
241
+ #: wp-maintenance-admin.php:312
242
+ msgid "Field border color:"
243
+ msgstr ""
244
+
245
+ #: wp-maintenance-admin.php:313
246
+ msgid "Field background color:"
247
+ msgstr ""
248
+
249
+ #: wp-maintenance-admin.php:315
250
+ msgid "Button color:"
251
+ msgstr ""
252
+
253
+ #: wp-maintenance-admin.php:317
254
+ msgid "Button color hover:"
255
  msgstr ""
256
 
257
+ #: wp-maintenance-admin.php:318
258
+ msgid "Button color onclick:"
 
259
  msgstr ""
260
 
261
+ #: wp-maintenance-admin.php:345
 
262
  msgid "Upload a picture"
263
  msgstr ""
264
 
265
+ #: wp-maintenance-admin.php:347
 
266
  msgid "You use this picture:"
267
  msgstr ""
268
 
269
+ #: wp-maintenance-admin.php:349 wp-maintenance-admin.php:368
270
+ msgid "Enter a URL or upload an image."
 
 
271
  msgstr ""
272
 
273
+ #: wp-maintenance-admin.php:350 wp-maintenance-admin.php:367
274
+ msgid "Select or Upload your picture"
 
 
275
  msgstr ""
276
 
277
+ #: wp-maintenance-admin.php:357
 
278
  msgid "Upload a background picture"
279
  msgstr ""
280
 
281
+ #: wp-maintenance-admin.php:358
 
282
  msgid "Enable image background"
283
  msgstr ""
284
 
285
+ #: wp-maintenance-admin.php:360
 
286
  msgid "You use this background picture:"
287
  msgstr ""
288
 
289
+ #: wp-maintenance-admin.php:364
 
290
  msgid "You use this pattern:"
291
  msgstr ""
292
 
293
+ #: wp-maintenance-admin.php:369
 
294
  msgid "Or choose a pattern:"
295
  msgstr ""
296
 
297
+ #: wp-maintenance-admin.php:373
298
+ msgid "NO PATTERN"
299
+ msgstr ""
300
+
301
+ #: wp-maintenance-admin.php:385
302
  msgid "Background picture options"
303
  msgstr ""
304
 
305
+ #: wp-maintenance-admin.php:392
 
306
  msgid "Fixed"
307
  msgstr ""
308
 
309
+ #: wp-maintenance-admin.php:410
 
310
  msgid "Enable a countdown ?"
311
  msgstr ""
312
 
313
+ #: wp-maintenance-admin.php:412
 
314
  msgid "Enter the launch date"
315
  msgstr ""
316
 
317
+ #: wp-maintenance-admin.php:445
 
318
  msgid "Enable seconds ?"
319
  msgstr ""
320
 
321
+ #: wp-maintenance-admin.php:446
 
322
  msgid "Disable maintenance mode at the end of the countdown?"
323
  msgstr ""
324
 
325
+ #: wp-maintenance-admin.php:447
 
326
  msgid "End message:"
327
  msgstr ""
328
 
329
+ #: wp-maintenance-admin.php:447
 
330
  msgid "Font size:"
331
  msgstr ""
332
 
333
+ #: wp-maintenance-admin.php:475
 
334
  msgid "CSS style sheet code:"
335
  msgstr ""
336
 
337
+ #: wp-maintenance-admin.php:476
 
338
  msgid ""
339
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
340
  "\" to retrieve the default style sheet."
341
  msgstr ""
342
 
343
+ #: wp-maintenance-admin.php:484
 
344
  msgid "Markers for colors"
345
  msgstr ""
346
 
347
+ #: wp-maintenance-admin.php:489
 
348
  msgid "Use this code for text color"
349
  msgstr ""
350
 
351
+ #: wp-maintenance-admin.php:493
 
352
  msgid "Use this code for background text color"
353
  msgstr ""
354
 
355
+ #: wp-maintenance-admin.php:497
 
356
  msgid "Use this code for background color countdown"
357
  msgstr ""
358
 
359
+ #: wp-maintenance-admin.php:501
 
360
  msgid "Use this code for size countdown"
361
  msgstr ""
362
 
363
+ #: wp-maintenance-admin.php:505
 
364
  msgid "Use this code for countdown color"
365
  msgstr ""
366
 
367
+ #: wp-maintenance-admin.php:514
 
368
  msgid "Reset default CSS stylesheet ?"
369
  msgstr ""
370
 
371
+ #: wp-maintenance-admin.php:531
 
372
  msgid "Theme maintenance page:"
373
  msgstr ""
374
 
375
+ #: wp-maintenance-admin.php:532
 
376
  msgid ""
377
  "If you would use your maintenance.php page in your theme folder, click Yes."
378
  msgstr ""
379
 
380
+ #: wp-maintenance-admin.php:535
 
381
  msgid "You can use this shortcode to include Google Analytics code:"
382
  msgstr ""
383
 
384
+ #: wp-maintenance-admin.php:535
 
385
  msgid "You can use this shortcode to include Social Networks icons:"
386
  msgstr ""
387
 
388
+ #: wp-maintenance-admin.php:543
 
389
  msgid "Roles and Capabilities:"
390
  msgstr ""
391
 
392
+ #: wp-maintenance-admin.php:544
 
393
  msgid "Allow the site to display these roles:"
394
  msgstr ""
395
 
396
+ #: wp-maintenance-admin.php:560
 
397
  msgid "Header Code:"
398
  msgstr ""
399
 
400
+ #: wp-maintenance-admin.php:561
 
401
  msgid ""
402
  "The following code will add to the <head> tag. Useful if you need to add "
403
  "additional scripts such as CSS or JS."
404
  msgstr ""
405
 
406
+ #: wp-maintenance-admin.php:566
407
+ msgid "Demo mode:"
408
+ msgstr ""
409
+
410
+ #: wp-maintenance-admin.php:567
411
+ msgid "Be careful, in demo mode, the plugin can be modified by all users"
412
+ msgstr ""
413
+
414
+ #: wp-maintenance-admin.php:568
415
+ msgid "Active this plugin in demo mode?"
416
+ msgstr ""
417
+
418
+ #: wp-maintenance-admin.php:591
419
  msgid ""
420
  "This plugin has been developed for you for free by <a href=\"http://www."
421
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
424
  "changes to improve this plugin for all."
425
  msgstr ""
426
 
427
+ #: wp-maintenance-admin.php:596
 
428
  msgid ""
429
  "If you want Donate (French Paypal) for my current and future developments:"
430
  msgstr ""
431
 
432
+ #: wp-maintenance.php:131
 
 
433
  msgid "This site is down for maintenance"
434
  msgstr ""
435
 
436
+ #: wp-maintenance.php:158 wp-maintenance.php:160
437
+ msgid "Options for the maintenance page"
438
+ msgstr ""
439
+
440
+ #: wp-maintenance.php:180
441
  msgid "Choose This Image"
442
  msgstr ""
443
 
444
+ #: wp-maintenance.php:181
 
445
  msgid "Choose Image"
446
  msgstr ""
447
 
448
+ #: wp-maintenance.php:492
 
449
  msgid "Days"
450
  msgstr ""
451
 
452
+ #: wp-maintenance.php:492
 
453
  msgid "Hours"
454
  msgstr ""
455
 
456
+ #: wp-maintenance.php:492
 
457
  msgid "Minutes"
458
  msgstr ""
459
 
460
+ #: wp-maintenance.php:494
 
461
  msgid "Seconds"
462
  msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Florent73
3
  Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
- Tested up to: 4.2.1
7
- Stable tag: 2.5.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,11 +65,14 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
65
 
66
  == Upgrade Notice ==
67
 
68
- = 2.5.7 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 2.5.7 =
74
  * Résolution bug fonction php / Fixed bug php function
75
 
3
  Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 3.0
6
+ Tested up to: 4.3
7
+ Stable tag: 2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Upgrade Notice ==
67
 
68
+ = 2.6 =
69
  Cette version est stable / This version is stable
70
 
71
  == Changelog ==
72
 
73
+ = 2.6 =
74
+ * Nouvelle version du plugin. Il sera peut-être nécessaire de désinstaller/réinstaller le plugin / New version, perhaps need uninstall/install the plugin
75
+
76
  = 2.5.7 =
77
  * Résolution bug fonction php / Fixed bug php function
78
 
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-6.png CHANGED
Binary file
template/index.html ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width, user-scalable=yes" />
6
+ <title>%TITLE%</title>
7
+
8
+ <style type='text/css'>
9
+ /* VERSION %VERSION% */
10
+ %ADDFONTS%
11
+ html,
12
+ body {
13
+ margin:0;
14
+ padding:0;
15
+ height:100%;
16
+ font-size:100%;
17
+ }
18
+ #wrapper {
19
+ min-height:100%;
20
+ position:relative;
21
+ }
22
+ #header {
23
+ padding:10px;
24
+ }
25
+ #content {
26
+ padding-bottom:100px; /* Height of the footer element */
27
+ }
28
+ #footer {
29
+ width:100%;
30
+ height:60px;
31
+ line-height:60px;
32
+ position:absolute;
33
+ bottom:0;
34
+ left:0;
35
+ text-align: center;
36
+ }
37
+ #logo {
38
+ max-width: 100%;
39
+ height: auto;
40
+ text-align: center;
41
+ }
42
+ div.bloc {
43
+ width:80%; /* largeur du bloc */
44
+ padding:10px; /* aération interne du bloc */
45
+ vertical-align:middle;
46
+ display:inline-block;
47
+ line-height:1.2; /* on rétablit le line-height */
48
+ text-align:center; /* ... et l'alignement du texte */
49
+ }
50
+ .wpm_social {
51
+ padding: 0 45px;
52
+ text-align: center;
53
+ }
54
+ @media (max-width: 640px) {
55
+ body {
56
+ font-size:1.2rem;
57
+ }
58
+ }
59
+ @media (min-width: 640px) {
60
+ body {
61
+ font-size:1rem;
62
+ }
63
+ }
64
+ @media (min-width:960px) {
65
+ body {
66
+ font-size:1.2rem;
67
+ }
68
+ }
69
+ @media (min-width:1100px) {
70
+ body {
71
+ font-size:1.5rem;
72
+ }
73
+ }
74
+ /* On ajoute les styles */
75
+ %ADDSTYLE%
76
+ %ADDSTYLEWYSIJA%
77
+ </style>
78
+
79
+ <!--[if lt IE 7]>
80
+ <style type="text/css">
81
+ #wrapper { height:100%; }
82
+ div.bloc { display:inline; /* correctif inline-block*/ }
83
+ div.conteneur > span { zoom:1; /* layout */ }
84
+ </style>
85
+ <![endif]-->
86
+ %ANALYTICS%
87
+ %HEADERCODE%
88
+ </head>
89
+
90
+ <body>
91
+
92
+ <div id="wrapper">
93
+
94
+ <div id="header">
95
+ %TOPSOCIALICON%
96
+ </div><!-- #header -->
97
+
98
+ <div id="content">
99
+ %LOGOIMAGE%
100
+ <h3>%TITRE%</h3>
101
+ <p>%TEXTE%</p>
102
+ %COUNTER%
103
+ %NEWSLETTER%
104
+ %BOTTOMSOCIALICON%
105
+ </div><!-- #content -->
106
+
107
+ <div id="footer">
108
+ <div class="bloc">%COPYRIGHT%</div>
109
+ <span></span>
110
+ </div><!-- #footer -->
111
+
112
+ </div><!-- #wrapper -->
113
+
114
+ </body>
115
+
116
+ </html>
wp-maintenance-admin.php CHANGED
@@ -32,6 +32,7 @@ if( !isset($paramMMode['font_bottom_weigth']) ) { $paramMMode['font_bottom_weigt
32
  if( !isset($paramMMode['font_bottom_style']) ) { $paramMMode['font_bottom_style'] = 'normal'; }
33
  if( !isset($paramMMode['font_cpt']) ) { $paramMMode['font_cpt'] = 'Acme'; }
34
  if( !isset($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')); }
@@ -194,117 +195,158 @@ if( isset($_POST['wpm_initcss']) && $_POST['wpm_initcss']==1) {
194
 
195
  <!-- Couleurs -->
196
  <div class="wpm-menu-couleurs wpm-menu-group" style="display: none;">
197
- <div id="wpm-opt-couleurs" >
198
- <ul>
199
  <!-- COULEUR DU FOND DE PAGE -->
200
- <li><h3><?php _e('Choice texts colors:', 'wp-maintenance'); ?></h3>
201
- <div id="pmColor" style="position: relative;">
202
- <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 />
203
- <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 />
204
-
205
- <!-- POLICE DU TITRE -->
206
- <em><stong><?php _e('Title font settings', 'wp-maintenance'); ?></stong></em>
207
- <div>
208
- <table cellspacing="10">
209
- <tr>
210
- <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_title]', $paramMMode['font_title']); ?></td>
211
- <td>
212
- <?php _e('Size:', 'wp-maintenance'); ?>
213
- <input type="text" size="3" name="wp_maintenance_settings[font_title_size]" value="<?php echo stripslashes($paramMMode['font_title_size']); ?>" />px
214
-
215
- </td>
216
- </tr>
217
- <tr>
218
- <td rowspan="2">
219
- <input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="normal" <?php if($paramMMode['font_title_weigth']=='normal') { echo 'checked'; } ?> >Normal
220
- <input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="bold" <?php if($paramMMode['font_title_weigth']=='bold') { echo 'checked'; } ?>>Bold
221
- <input type="checkbox" name="wp_maintenance_settings[font_title_style]" value="italic" <?php if($paramMMode['font_title_style']=='italic') { echo 'checked'; } ?>>Italic
222
- </td>
223
- </tr>
224
- </table>
225
- </div><br />
226
- <!-- FIN POLICE DU TITRE-->
 
 
227
 
228
- <!-- POLICE DU TEXTE -->
229
- <em><?php _e('Text font settings', 'wp-maintenance'); ?></em>
230
- <div>
231
- <table cellspacing="10">
232
- <tr>
233
- <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text]', $paramMMode['font_text']); ?></td>
234
- <td>
235
- <?php _e('Size:', 'wp-maintenance'); ?>
236
- <input type="text" size="3" name="wp_maintenance_settings[font_text_size]" value="<?php echo stripslashes($paramMMode['font_text_size']); ?>" />px
237
-
238
- </td>
239
- </tr>
240
- <tr>
241
- <td rowspan="2">
242
- <input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="normal" <?php if($paramMMode['font_text_weigth']=='normal') { echo 'checked'; } ?> >Normal
243
- <input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="bold" <?php if($paramMMode['font_text_weigth']=='bold') { echo 'checked'; } ?>>Bold
244
- <input type="checkbox" name="wp_maintenance_settings[font_text_style]" value="italic" <?php if($paramMMode['font_text_style']=='italic') { echo 'checked'; } ?>>Italic
245
- </td>
246
- </tr>
247
- </table>
248
- </div>
249
- <!-- FIN POLICE DU TEXTE -->
250
-
251
- <h3><?php _e('Choice countdown colors:', 'wp-maintenance'); ?></h3>
252
- <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" />
253
- <br />
254
- <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 />
255
-
256
- <!-- POLICE DU COMPTEUR -->
257
- <em><?php _e('Countdown font settings', 'wp-maintenance'); ?></em>
258
- <div>
259
- <table cellspacing="10">
260
- <tr>
261
- <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_cpt]', $paramMMode['font_cpt']); ?></td>
262
- <td>
263
- <?php _e('Size:', 'wp-maintenance'); ?>
264
- <input type="text" size="3" name="wp_maintenance_settings[date_cpt_size]" value="<?php echo stripslashes($paramMMode['date_cpt_size']); ?>" />px
265
-
266
- </td>
267
- </tr>
268
- </table>
269
- </div>
270
- <!-- FIN POLICE DU COMPTEUR -->
271
- <br />
272
 
273
- </div>
274
- <h3><?php _e('Choice texts bottom colors:', 'wp-maintenance'); ?></h3>
275
- <div id="pmColor" style="position: relative;">
276
- <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 />
277
- <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 />
278
-
279
- <!-- POLICE DU TEXTE BAS DE PAGE -->
280
- <em><?php _e('Text font on the bottom page:', 'wp-maintenance'); ?></em>
281
- <div>
282
- <table cellspacing="10">
283
- <tr>
284
- <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text_bottom]', $paramMMode['font_text_bottom']); ?></td>
285
- <td>
286
- <?php _e('Size:', 'wp-maintenance'); ?>
287
- <input type="text" size="3" name="wp_maintenance_settings[font_bottom_size]" value="<?php echo stripslashes($paramMMode['font_bottom_size']); ?>" />px
288
-
289
- </td>
290
- </tr>
291
- <tr>
292
- <td rowspan="2">
293
- <input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="normal" <?php if($paramMMode['font_bottom_weigth']=='normal') { echo 'checked'; } ?> >Normal
294
- <input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="bold" <?php if($paramMMode['font_bottom_weigth']=='bold') { echo 'checked'; } ?>>Bold
295
- <input type="checkbox" name="wp_maintenance_settings[font_bottom_style]" value="italic" <?php if($paramMMode['font_bottom_style']=='italic') { echo 'checked'; } ?>>Italic
296
- </td>
297
- </tr>
298
- </table>
299
- </div>
300
- <br />
301
- <!-- FIN POLICE DU TEXTE BAS DE PAGE -->
302
  </li>
303
- <li>&nbsp;</li>
304
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  <li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  <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>
307
  </li>
 
308
  </ul>
309
  </div>
310
  </div>
@@ -312,64 +354,72 @@ if( isset($_POST['wpm_initcss']) && $_POST['wpm_initcss']==1) {
312
 
313
  <!-- Onglet options 3 -->
314
  <div class="wpm-menu-image wpm-menu-group" style="display: none;">
315
- <div id="wpm-opt-image" >
316
- <ul>
317
- <!-- UPLOADER UNE IMAGE -->
318
- <li><h3><?php _e('Upload a picture', 'wp-maintenance'); ?></h3>
 
 
 
 
 
 
319
  <?php if($paramMMode['image']) { ?>
320
- <?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 />
321
  <?php } ?>
 
322
  <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>
323
- <br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small>
324
- </li>
325
- <li>&nbsp;</li>
326
-
327
- <!-- UPLOADER UNE IMAGE DE FOND -->
328
- <li><h3><?php _e('Upload a background picture', 'wp-maintenance'); ?></h3>
329
- <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 />
330
- <?php if($paramMMode['b_image']!='' && (!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) ) { ?>
331
- <?php _e('You use this background picture:', 'wp-maintenance'); ?><br />
332
- <img src="<?php echo $paramMMode['b_image']; ?>" width="300" style="border:1px solid #333;padding:3px;background: url('<?php echo $paramMMode['b_image']; ?>');" /><br />
333
- <?php } ?>
334
- <?php if($paramMMode['b_pattern']>0) { ?>
335
- <?php _e('You use this pattern:', 'wp-maintenance'); ?><br />
336
- <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>
337
- <?php } ?>
338
- <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>
339
- <br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small><br /><br />
340
- <?php _e('Or choose a pattern:', 'wp-maintenance'); ?>
341
-
342
- <ul id="pattern">
343
- <li>
344
- <div style="width:50px;height:50px;border:1px solid #333;background-color:#ffffff;"></div>
345
- <input type="radio" value="0" <?php if(!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
346
- </li>
347
- <?php for ($p = 1; $p <= 12; $p++) { ?>
348
- <li>
349
- <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>
350
- <input type="radio" value="<?php echo $p; ?>" <?php if($paramMMode['b_pattern']==$p) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
351
- </li>
352
- <?php } ?>
353
- </ul>
354
- </li>
355
-
356
- <li><h3><?php _e('Background picture options', 'wp-maintenance'); ?></h3>
357
- <select name="wp_maintenance_settings[b_repeat_image]" >
358
- <option value="repeat"<?php if($paramMMode['b_repeat_image']=='repeat' or $paramMMode['b_repeat_image']=='') { echo ' selected'; } ?>>repeat</option>
359
- <option value="no-repeat"<?php if($paramMMode['b_repeat_image']=='no-repeat') { echo ' selected'; } ?>>no-repeat</option>
360
- <option value="repeat-x"<?php if($paramMMode['b_repeat_image']=='repeat-x') { echo ' selected'; } ?>>repeat-x</option>
361
- <option value="repeat-y"<?php if($paramMMode['b_repeat_image']=='repeat-y') { echo ' selected'; } ?>>repeat-y</option>
362
- </select><br /><br />
363
- <input type= "checkbox" name="wp_maintenance_settings[b_fixed_image]" value="1" <?php if($paramMMode['b_fixed_image']==1) { echo ' checked'; } ?>>&nbsp;<?php _e('Fixed', 'wp-maintenance'); ?><br />
364
- </li>
365
- <li>&nbsp;</li>
366
 
367
- <li>
368
- <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>
369
- </li>
370
-
371
- </ul>
372
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  </div>
374
  <!-- fin options 3 -->
375
 
@@ -507,6 +557,10 @@ if( isset($_POST['wpm_initcss']) && $_POST['wpm_initcss']==1) {
507
  </li>
508
  <li>&nbsp;</li>
509
 
 
 
 
 
510
  <li><h3><?php _e('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
511
  <?php _e('Allow the site to display these roles:', 'wp-maintenance'); ?>&nbsp;<br /><br />
512
  <input type="hidden" name="wp_maintenance_limit[administrator]" value="administrator" />
@@ -529,6 +583,14 @@ if( isset($_POST['wpm_initcss']) && $_POST['wpm_initcss']==1) {
529
  <TEXTAREA NAME="wp_maintenance_settings[headercode]" COLS=70 ROWS=14 style="width:80%;"><?php echo stripslashes($paramMMode['headercode']); ?></TEXTAREA>
530
  </li>
531
  <li>&nbsp;</li>
 
 
 
 
 
 
 
 
532
 
533
  <li>
534
  <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>
32
  if( !isset($paramMMode['font_bottom_style']) ) { $paramMMode['font_bottom_style'] = 'normal'; }
33
  if( !isset($paramMMode['font_cpt']) ) { $paramMMode['font_cpt'] = 'Acme'; }
34
  if( !isset($paramMMode['date_cpt_size']) ) { $paramMMode['date_cpt_size'] = 72; }
35
+ if( !isset($paramMMode['newletter_font_weigth']) ) { $paramMMode['newletter_font_weigth'] = 'normal'; }
36
 
37
  // Récupère les Rôles et capabilités
38
  if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
195
 
196
  <!-- Couleurs -->
197
  <div class="wpm-menu-couleurs wpm-menu-group" style="display: none;">
198
+ <div id="wpm-opt-couleurs">
199
+ <ul>
200
  <!-- COULEUR DU FOND DE PAGE -->
201
+ <li>
202
+ <h3><?php _e('Choice general colors:', 'wp-maintenance'); ?></h3>
203
+ <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 />
204
+ <em><?php _e('Header color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_bg_header']; ?>" name="wp_maintenance_settings[color_bg_header]" class="wpm-color-field" data-default-color="#333333" />
205
+ </li>
206
+
207
+ <li>
208
+ <h3><?php _e('Choice texts fonts and colors:', 'wp-maintenance'); ?></h3>
209
+ <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 />
210
+ <!-- POLICE DU TITRE -->
211
+ <em><stong><?php _e('Title font settings', 'wp-maintenance'); ?></stong></em>
212
+ <table cellspacing="10">
213
+ <tr>
214
+ <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_title]', $paramMMode['font_title']); ?></td>
215
+ <td>
216
+ <?php _e('Size:', 'wp-maintenance'); ?>
217
+ <input type="text" size="3" name="wp_maintenance_settings[font_title_size]" value="<?php echo stripslashes($paramMMode['font_title_size']); ?>" />px
218
+
219
+ </td>
220
+ </tr>
221
+ <tr>
222
+ <td rowspan="2">
223
+ <input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="normal" <?php if($paramMMode['font_title_weigth']=='normal') { echo 'checked'; } ?> >Normal
224
+ <input type="radio" name="wp_maintenance_settings[font_title_weigth]" value="bold" <?php if($paramMMode['font_title_weigth']=='bold') { echo 'checked'; } ?>>Bold
225
+ <input type="checkbox" name="wp_maintenance_settings[font_title_style]" value="italic" <?php if($paramMMode['font_title_style']=='italic') { echo 'checked'; } ?>>Italic
226
+ </td>
227
+ </tr>
228
+ </table>
229
+ <!-- FIN POLICE DU TITRE-->
230
 
231
+ <!-- POLICE DU TEXTE -->
232
+ <br /><em><?php _e('Text font settings', 'wp-maintenance'); ?></em>
233
+ <table cellspacing="10">
234
+ <tr>
235
+ <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text]', $paramMMode['font_text']); ?></td>
236
+ <td>
237
+ <?php _e('Size:', 'wp-maintenance'); ?>
238
+ <input type="text" size="3" name="wp_maintenance_settings[font_text_size]" value="<?php echo stripslashes($paramMMode['font_text_size']); ?>" />px
239
+
240
+ </td>
241
+ </tr>
242
+ <tr>
243
+ <td rowspan="2">
244
+ <input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="normal" <?php if($paramMMode['font_text_weigth']=='normal') { echo 'checked'; } ?> >Normal
245
+ <input type="radio" name="wp_maintenance_settings[font_text_weigth]" value="bold" <?php if($paramMMode['font_text_weigth']=='bold') { echo 'checked'; } ?>>Bold
246
+ <input type="checkbox" name="wp_maintenance_settings[font_text_style]" value="italic" <?php if($paramMMode['font_text_style']=='italic') { echo 'checked'; } ?>>Italic
247
+ </td>
248
+ </tr>
249
+ </table>
250
+ <!-- FIN POLICE DU TEXTE -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  </li>
253
+
254
+ <!-- BOTTOM PAGE -->
255
+ <li>
256
+ <h3><?php _e('Choice fonts and colors bottom page:', 'wp-maintenance'); ?></h3>
257
+ <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 />
258
+ <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 />
259
+
260
+ <!-- POLICE DU TEXTE BAS DE PAGE -->
261
+ <em><?php _e('Text font settings', 'wp-maintenance'); ?></em>
262
+ <table cellspacing="10">
263
+ <tr>
264
+ <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_text_bottom]', $paramMMode['font_text_bottom']); ?></td>
265
+ <td>
266
+ <?php _e('Size:', 'wp-maintenance'); ?>
267
+ <input type="text" size="3" name="wp_maintenance_settings[font_bottom_size]" value="<?php echo stripslashes($paramMMode['font_bottom_size']); ?>" />px
268
+
269
+ </td>
270
+ </tr>
271
+ <tr>
272
+ <td rowspan="2">
273
+ <input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="normal" <?php if($paramMMode['font_bottom_weigth']=='normal') { echo 'checked'; } ?> >Normal
274
+ <input type="radio" name="wp_maintenance_settings[font_bottom_weigth]" value="bold" <?php if($paramMMode['font_bottom_weigth']=='bold') { echo 'checked'; } ?>>Bold
275
+ <input type="checkbox" name="wp_maintenance_settings[font_bottom_style]" value="italic" <?php if($paramMMode['font_bottom_style']=='italic') { echo 'checked'; } ?>>Italic
276
+ </td>
277
+ </tr>
278
+ </table>
279
+ <br />
280
+ <!-- FIN POLICE DU TEXTE BAS DE PAGE -->
281
+
282
+ </li>
283
+
284
  <li>
285
+ <h3><?php _e('Choice countdown fonts and colors:', 'wp-maintenance'); ?></h3>
286
+ <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" /><br />
287
+ <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 />
288
+ </li>
289
+
290
+ <li>
291
+ <!-- POLICE DU COMPTEUR -->
292
+ <em><?php _e('Countdown font settings', 'wp-maintenance'); ?></em>
293
+ <table cellspacing="10">
294
+ <tr>
295
+ <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[font_cpt]', $paramMMode['font_cpt']); ?></td>
296
+ <td>
297
+ <?php _e('Size:', 'wp-maintenance'); ?>
298
+ <input type="text" size="3" name="wp_maintenance_settings[date_cpt_size]" value="<?php echo stripslashes($paramMMode['date_cpt_size']); ?>" />px
299
+
300
+ </td>
301
+ </tr>
302
+ </table>
303
+ <!-- FIN POLICE DU COMPTEUR -->
304
+ </li>
305
+ <?php
306
+ if(strpos($paramMMode['code_newletter'], 'wysija_form')!=false && is_plugin_active( 'wysija-newsletters/index.php' ) ) {
307
+ ?>
308
+ <li>
309
+ <h3><?php _e('Choice form color:', 'wp-maintenance'); ?></h3>
310
+
311
+ <!-- COULEUR WYJIYA -->
312
+ <table cellspacing="10">
313
+ <tr>
314
+ <td valign="top" align="left"><?php echo wpm_getFontsList('wp_maintenance_settings[newletter_font_text]', $paramMMode['newletter_font_text']); ?></td>
315
+ <td>
316
+ <?php _e('Size:', 'wp-maintenance'); ?>
317
+ <input type="text" size="3" name="wp_maintenance_settings[newletter_size]" value="<?php if($paramMMode['newletter_size']) { echo stripslashes($paramMMode['newletter_size']); } else { echo 14; } ?>" />px
318
+
319
+ </td>
320
+ </tr>
321
+ <tr>
322
+ <td rowspan="2">
323
+ <input type="radio" name="wp_maintenance_settings[newletter_font_weigth]" value="normal" <?php if($paramMMode['newletter_font_weigth']=='normal') { echo 'checked'; } ?> >Normal
324
+ <input type="radio" name="wp_maintenance_settings[newletter_font_weigth]" value="bold" <?php if($paramMMode['newletter_font_weigth']=='bold') { echo 'checked'; } ?>>Bold
325
+ <input type="checkbox" name="wp_maintenance_settings[newletter_font_style]" value="italic" <?php if($paramMMode['newletter_font_style']=='italic') { echo 'checked'; } ?>>Italic
326
+ </td>
327
+ </tr>
328
+ </table>
329
+ <br />
330
+ <em><?php _e('Field text color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_field_text']; ?>" name="wp_maintenance_settings[color_field_text]" class="wpm-color-field" data-default-color="#ffffff" /><br />
331
+ <em><?php _e('Field border color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_field_border']; ?>" name="wp_maintenance_settings[color_field_border]" class="wpm-color-field" data-default-color="#ffffff" /><br />
332
+ <em><?php _e('Field background color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_field_background']; ?>" name="wp_maintenance_settings[color_field_background]" class="wpm-color-field" data-default-color="#ffffff" />
333
+ <br />
334
+ <em><?php _e('Button text color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_text_button']; ?>" name="wp_maintenance_settings[color_text_button]" class="wpm-color-field" data-default-color="#ffffff" />
335
+ <br />
336
+ <em><?php _e('Button color:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_button']; ?>" name="wp_maintenance_settings[color_button]" class="wpm-color-field" data-default-color="#ffffff" />
337
+ <br />
338
+ <em><?php _e('Button color hover:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_button_hover']; ?>" name="wp_maintenance_settings[color_button_hover]" class="wpm-color-field" data-default-color="#ffffff" /><br />
339
+ <em><?php _e('Button color onclick:', 'wp-maintenance'); ?></em> <br /><input type="text" value="<?php echo $paramMMode['color_button_onclick']; ?>" name="wp_maintenance_settings[color_button_onclick]" class="wpm-color-field" data-default-color="#ffffff" />
340
+
341
+ </li>
342
+ <?php } ?>
343
+
344
+ <li>&nbsp;</li>
345
+
346
+ <li>
347
  <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>
348
  </li>
349
+
350
  </ul>
351
  </div>
352
  </div>
354
 
355
  <!-- Onglet options 3 -->
356
  <div class="wpm-menu-image wpm-menu-group" style="display: none;">
357
+ <div id="wpm-opt-image" >
358
+ <ul>
359
+ <!-- UPLOADER UNE IMAGE -->
360
+ <?php
361
+ if($paramMMode['image']!='') {
362
+ list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($paramMMode['image']);
363
+ }
364
+ ?>
365
+ <li>
366
+ <h3><?php _e('Upload a picture', 'wp-maintenance'); ?></h3>
367
  <?php if($paramMMode['image']) { ?>
368
+ <?php _e('You use this picture:', 'wp-maintenance'); ?><br /> <img src="<?php echo $paramMMode['image']; ?>" width="<?php echo $logoWidth; ?>" height="<?php echo $logoHeight; ?>" id="image_visuel" style="border:1px solid #333;padding:3px;" /><br />
369
  <?php } ?>
370
+ <br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small><br />
371
  <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>
372
+
373
+ </li>
374
+ <li>&nbsp;</li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
 
376
+ <!-- UPLOADER UNE IMAGE DE FOND -->
377
+ <li>
378
+ <h3><?php _e('Upload a background picture', 'wp-maintenance'); ?></h3>
379
+ <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 />
380
+ <?php if($paramMMode['b_image']!='' && (!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) ) { ?>
381
+ <?php _e('You use this background picture:', 'wp-maintenance'); ?><br />
382
+ <img src="<?php echo $paramMMode['b_image']; ?>" width="300" style="border:1px solid #333;padding:3px;background: url('<?php echo $paramMMode['b_image']; ?>');" /><br />
383
+ <?php } ?>
384
+ <?php if($paramMMode['b_pattern']>0) { ?>
385
+ <?php _e('You use this pattern:', 'wp-maintenance'); ?><br />
386
+ <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>
387
+ <?php } ?>
388
+ <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>
389
+ <br /><small><?php _e('Enter a URL or upload an image.', 'wp-maintenance'); ?></small><br /><br />
390
+ <?php _e('Or choose a pattern:', 'wp-maintenance'); ?>
391
+
392
+ <ul id="pattern">
393
+ <li>
394
+ <div style="width:50px;height:50px;border:1px solid #333;background-color:#ffffff;font-size:0.8em;"><?php _e('NO PATTERN', 'wp-maintenance'); ?></div>
395
+ <input type="radio" value="0" <?php if(!$paramMMode['b_pattern'] or $paramMMode['b_pattern']==0) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
396
+ </li>
397
+ <?php for ($p = 1; $p <= 12; $p++) { ?>
398
+ <li>
399
+ <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>
400
+ <input type="radio" value="<?php echo $p; ?>" <?php if($paramMMode['b_pattern']==$p) { echo 'checked'; } ?> name="wp_maintenance_settings[b_pattern]" />
401
+ </li>
402
+ <?php } ?>
403
+ </ul>
404
+ </li>
405
+
406
+ <li><h3><?php _e('Background picture options', 'wp-maintenance'); ?></h3>
407
+ <select name="wp_maintenance_settings[b_repeat_image]" >
408
+ <option value="repeat"<?php if($paramMMode['b_repeat_image']=='repeat' or $paramMMode['b_repeat_image']=='') { echo ' selected'; } ?>>repeat</option>
409
+ <option value="no-repeat"<?php if($paramMMode['b_repeat_image']=='no-repeat') { echo ' selected'; } ?>>no-repeat</option>
410
+ <option value="repeat-x"<?php if($paramMMode['b_repeat_image']=='repeat-x') { echo ' selected'; } ?>>repeat-x</option>
411
+ <option value="repeat-y"<?php if($paramMMode['b_repeat_image']=='repeat-y') { echo ' selected'; } ?>>repeat-y</option>
412
+ </select><br /><br />
413
+ <input type= "checkbox" name="wp_maintenance_settings[b_fixed_image]" value="1" <?php if($paramMMode['b_fixed_image']==1) { echo ' checked'; } ?>>&nbsp;<?php _e('Fixed', 'wp-maintenance'); ?><br />
414
+ </li>
415
+ <li>&nbsp;</li>
416
+
417
+ <li>
418
+ <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>
419
+ </li>
420
+
421
+ </ul>
422
+ </div>
423
  </div>
424
  <!-- fin options 3 -->
425
 
557
  </li>
558
  <li>&nbsp;</li>
559
 
560
+ <?php
561
+ /* Secure for demo mode */
562
+ if ( current_user_can( 'manage_options' ) ) {
563
+ ?>
564
  <li><h3><?php _e('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
565
  <?php _e('Allow the site to display these roles:', 'wp-maintenance'); ?>&nbsp;<br /><br />
566
  <input type="hidden" name="wp_maintenance_limit[administrator]" value="administrator" />
583
  <TEXTAREA NAME="wp_maintenance_settings[headercode]" COLS=70 ROWS=14 style="width:80%;"><?php echo stripslashes($paramMMode['headercode']); ?></TEXTAREA>
584
  </li>
585
  <li>&nbsp;</li>
586
+
587
+ <!--<li><h3><?php //_e('Demo mode:', 'wp-maintenance'); ?></h3>
588
+ <p><?php //_e('Be careful, in demo mode, the plugin can be modified by all users', 'wp-maintenance'); ?></p>
589
+ <input type= "checkbox" name="wp_maintenance_settings[enable_demo]" value="1" <?php //if($paramMMode['enable_demo']==1) { echo ' checked'; } ?>> <?php //_e('Active this plugin in demo mode?', 'wp-maintenance'); ?>&nbsp;<br />
590
+
591
+ </li>
592
+ <li>&nbsp;</li>-->
593
+ <?php } // End secure for demo mode ?>
594
 
595
  <li>
596
  <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>
wp-maintenance.php CHANGED
@@ -6,7 +6,7 @@
6
  * Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours, etc... / The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
7
  * Author: Florent Maillefaud
8
  * Author URI: http://www.restezconnectes.fr/
9
- * Version: 2.5.7
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
@@ -14,7 +14,7 @@
14
 
15
  /*
16
  Change Log
17
- 30/04/2015 - Résolution bug fonction php / Fixed bug php function
18
  18/04/2015 - Fixed a bug on the end of message counter
19
  16/04/2015 - Résolution de divers bug CSS
20
  28/03/2015 - Résolution de divers bug CSS Responsive
@@ -72,7 +72,7 @@ function wpm_make_multilang() {
72
  }
73
 
74
  /* Ajoute la version dans les options */
75
- define('WPM_VERSION', '2.5.7');
76
  $option['wp_maintenance_version'] = WPM_VERSION;
77
  if( !get_option('wp_maintenance_version') ) {
78
  add_option('wp_maintenance_version', $option);
@@ -122,7 +122,6 @@ function wpm_get_roles() {
122
  }
123
 
124
  function wpm_add_admin() {
125
- $hook = add_options_page("Options pour l'affichage de la page maintenance", "WP Maintenance", 'manage_options', __FILE__, "wpm_admin_panel");
126
 
127
  $wp_maintenanceAdminOptions = array(
128
  'color_bg' => "#f1f1f1",
@@ -139,6 +138,9 @@ function wpm_add_admin() {
139
  'font_text_bottom' => 'Acme',
140
  'font_bottom_size' => 12,
141
  'font_cpt' => 'Acme',
 
 
 
142
  );
143
  $getMaintenanceSettings = get_option('wp_maintenance_settings');
144
  if (!empty($getMaintenanceSettings)) {
@@ -152,6 +154,18 @@ function wpm_add_admin() {
152
  if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
153
  update_option('wp_maintenance_style', wpm_print_style());
154
  }
 
 
 
 
 
 
 
 
 
 
 
 
155
  }
156
 
157
  function wpm_admin_scripts() {
@@ -169,8 +183,11 @@ function wpm_admin_scripts() {
169
  'title' => __( 'Choose Image', 'wp-maintenance' ),
170
  ) );
171
 
 
 
172
  wp_register_script('wpm-admin-settings', WP_PLUGIN_URL.'/wp-maintenance/wpm-admin-settings.js');
173
  wp_enqueue_script('wpm-admin-settings');
 
174
  }
175
 
176
  add_action( 'admin_enqueue_scripts', 'wpm_enqueue_color_picker' );
@@ -245,7 +262,7 @@ function wpm_social_shortcode( $atts ) {
245
  $paramSocial = get_option('wp_maintenance_social');
246
  $paramSocialOption = get_option('wp_maintenance_social_options');
247
  $countSocial = wpm_array_value_count($paramSocial);
248
- // Si on est en mobile on réduite les icones
249
  if ( wp_is_mobile() ) {
250
  $paramSocialOption['size'] = 24;
251
  }
@@ -258,15 +275,17 @@ function wpm_social_shortcode( $atts ) {
258
  ), $atts )
259
  );
260
  if($paramSocialOption['theme']!='') {
261
- $srcIcon = get_stylesheet_directory_uri().'/'.$paramSocialOption['theme'];
 
262
  } else {
263
  $srcIcon = WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'.$paramSocialOption['size'].'x'.$paramSocialOption['size'].'/';
 
264
  }
265
  if($paramSocialOption['enable']==1 && $countSocial>=1) {
266
  $content .= '<div id="wpm-social-footer" class="wpm_social"><ul class="wpm_horizontal">';
267
  foreach($paramSocial as $socialName=>$socialUrl) {
268
  if($socialUrl!='') {
269
- $content .= '<li><a href="'.$socialUrl.'" target="_blank"><img src="'.$srcIcon.$socialName.'.png" alt="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" title="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" /></a></li>';
270
  }
271
  }
272
  $content .='</ul></div>';
@@ -305,6 +324,7 @@ function wpm_maintenance_mode() {
305
  }
306
  }
307
  }
 
308
  /* On désactive le mode maintenance pour les admins */
309
  if( current_user_can('administrator') == true ) {
310
  $statusActive = 0;
@@ -352,10 +372,6 @@ function wpm_maintenance_mode() {
352
  if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
353
  if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
354
 
355
- /* Paramètres par défaut */
356
- //if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
357
- //if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/images/default.png'; }
358
-
359
  /* Date compte à rebours / Convertie en format US */
360
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
361
  $dateCpt = date('m/d/Y h:i A', $timestamp);
@@ -368,11 +384,79 @@ function wpm_maintenance_mode() {
368
  "#_DATESIZE" => $paramMMode['date_cpt_size'],
369
  "#_COLORCPT" => $paramMMode['color_cpt'],
370
  "#_COLOR_BG_BT" => $paramMMode['color_bg_bottom'],
371
- "#_COLOR_TXT_BT" => $paramMMode['color_text_bottom']
 
372
  );
373
  $wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
374
  if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
375
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  if($paramMMode['b_image'] && $paramMMode['b_enable_image']==1) {
377
  if($paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
378
  $optionBackground = '';
@@ -381,220 +465,180 @@ function wpm_maintenance_mode() {
381
  }
382
  $addBImage = '
383
  body {
384
- background:url('.$paramMMode['b_image'].') '.$paramMMode['b_repeat_image'].';'.$optionBackground.'padding:0;margin:0;
385
  background-size: cover;
 
 
 
 
 
386
  }';
387
  }
388
  if($paramMMode['b_pattern']>0 && $paramMMode['b_enable_image']==1) {
389
  $addBImage = '
390
  body {
391
- background:url('.WP_PLUGIN_URL.'/wp-maintenance/images/pattern'.$paramMMode['b_pattern'].'.png) '.$paramMMode['b_repeat_image'].' '.$paramMMode['color_bg'].';padding:0;margin:0;
392
- }';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  }
394
- if($paramSocialOption['align']=='') { $paramSocialOption['align'] = 'center'; }
395
- if($paramMMode['font_title_size']=='') { $paramMMode['font_title_size'] = 40; }
396
- if($paramMMode['font_title_style']=='') { $paramMMode['font_title_style'] = 'normal'; }
397
- if($paramMMode['font_title_weigth']=='') { $paramMMode['font_title_weigth'] = 'normal'; }
398
- if($paramMMode['font_text_size']=='') { $paramMMode['font_text_size'] = 40; }
399
- if($paramMMode['font_text_style']=='') { $paramMMode['font_text_style'] = 'normal'; }
400
- if($paramMMode['font_text_weigth']=='') { $paramMMode['font_text_weigth'] = 'normal'; }
401
- if($paramMMode['font_text_bottom']=='') { $paramMMode['font_text_bottom'] = 'normal'; }
402
- if($paramMMode['font_bottom_size']=='') { $paramMMode['font_bottom_size'] = 12; }
403
- if($paramMMode['font_bottom_weigth']=='') { $paramMMode['font_bottom_weigth'] = 'normal'; }
404
- if($paramMMode['font_bottom_style']=='') { $paramMMode['font_bottom_style'] = 'normal'; }
405
- if($paramMMode['font_cpt']=='') { $paramMMode['font_cpt'] = 'Acme'; }
406
- if($paramMMode['date_cpt_size']=='') { $paramMMode['date_cpt_size'] = 72; }
407
 
408
- $addStylesheet = '';
409
- if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
410
- $nameNl = strpos($paramMMode['code_newletter'], 'wysija_form');
411
- $addStylesheet = "<link rel='stylesheet' id='validate-engine-css-css' href='".WP_PLUGIN_URL."/wysija-newsletters/css/validationEngine.jquery.css' type='text/css' media='all' />
412
- <style type='text/css'>
413
- .widget_wysija_cont .wysija-submit {
414
- margin-left: auto;
415
- margin-right: auto;
416
- }
417
- </style>";
418
- }
419
-
420
- $content = '
421
- <!DOCTYPE html>
422
- <html lang="fr">
423
- <head>
424
- <title>'.$site_title." - ".$site_description.'</title>
425
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
426
- <meta name="viewport" content="width=device-width, user-scalable=yes" />
427
- <meta name="description" content="'.__('This site is down for maintenance', 'wp-maintenance').'" />
428
- '.$addStylesheet.'
429
- <style type="text/css">
430
- /* VERSION '.WPM_VERSION.' */
431
- @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']).');
432
- '.$wpmStyle.'
433
- '.$addBImage.'
434
- '.$addCSSnl.'
435
- body {
436
- -webkit-background-size: cover;
437
- -moz-background-size: cover;
438
- -o-background-size: cover;
439
- background-size: cover;
440
- top: 0;
441
- margin: 0;
442
- }
443
- .wpm_newletter {
444
- margin-left: auto;
445
- margin-right: auto;
446
- max-width:100%;
447
- line-height: '.($paramMMode['font_text_size']*0.9).'px;
448
- font-family: '.$paramMMode['font_title'].', serif;
449
- }
450
  .wpm_social_icon {
451
  float:left;
452
  width:'.$paramSocialOption['size'].'px;
453
  margin:0px 5px auto;
454
  }
455
  .wpm_social ul {
456
- /*float: left;*/
457
  margin: 10px 0;
458
  max-width: 100%;
459
  padding: 0;
460
  text-align: '.$paramSocialOption['align'].';
461
  }
462
- #cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
463
- width:'.($paramMMode['date_cpt_size']*1.4).'px;
464
- }
465
- .cptR-rec_countdown {
466
- font-size:'.$paramMMode['date_cpt_size'].'px;
467
- font-family: '.$paramMMode['font_cpt'].', serif;
468
  }
469
- #main #intro h3 {
470
  font-size: '.$paramMMode['font_title_size'].'px;
471
  font-style: '.$paramMMode['font_title_style'].';
472
  font-weight: '.$paramMMode['font_title_weigth'].';
473
  font-family: '.$paramMMode['font_title'].', serif;
474
  line-height: 100%;
 
 
 
475
  }
476
- #main #intro p {
477
  font-family: '.$paramMMode['font_text'].', serif;
478
  font-size: '.$paramMMode['font_text_size'].'px;
479
  font-style: '.$paramMMode['font_text_style'].';
480
  font-weight: '.$paramMMode['font_text_weigth'].';
481
  line-height: 100%;
 
 
 
 
 
482
  }
483
- .wpm_copyright {
 
 
 
484
  font-family: '.$paramMMode['font_text_bottom'].', serif;
485
- font-size: '.$paramMMode['font_bottom_size'].'px;
486
  font-style: '.$paramMMode['font_bottom_style'].';
 
487
  font-weight: '.$paramMMode['font_bottom_weigth'].';
 
 
 
 
 
 
 
488
  }
 
 
 
 
 
 
 
 
 
 
489
 
490
- #logo img {
491
- max-width: 100%;
492
- height: auto;
493
  }
494
- .clear { clear:both; }
495
- #main #countdown {
496
- clear:both;
497
- margin-left:auto;
498
- margin-right:auto;
499
- text-align: center;
500
- margin-top:30px;
501
- /*min-height:150px;*/
502
  }
503
 
504
  @media screen and (min-width: 200px) and (max-width: 480px) {
505
- #cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
506
- width:'.($paramMMode['date_cpt_size']*0.9).'px;
507
- }
508
  .cptR-rec_countdown {
509
  font-size:'.($paramMMode['date_cpt_size']*0.6).'px;
510
  }
511
- #cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
512
- font-size: 8px;
513
- }
514
- #main #intro h3 {
515
- font-size: '.($paramMMode['font_title_size']*0.5).'px;
516
- line-height: 100%;
517
- }
518
- #main #intro p {
519
- font-size: '.($paramMMode['font_text_size']*0.5).'px;
520
- line-height: 100%;
521
- }
522
- .wpm_copyright {
523
  font-size: '.($paramMMode['font_bottom_size']*0.8).'px;
524
  }
 
 
 
525
 
526
  }
527
- </style>
528
- '.do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]').'
529
- '.stripslashes($paramMMode['headercode']).'
530
- </head>
531
- <body>';
532
-
533
- $content .= '<div id="wrapper">';
534
- if($paramSocialOption['position']=='top') {
535
- $content .= do_shortcode('[wpm_social]');
536
- }
537
- if($paramMMode['image']) {
538
- $content .= '
539
- <div id="header" class="full">
540
- <div id="logo"><img src="'.$paramMMode['image'].'" /></div>
541
- </div>
542
  ';
543
- }
544
- $content .= '
545
- <div id="content" class="full">
546
- <div id="main">';
547
- $content .= '
548
- <div id="intro" class="block"><h3>'.stripslashes($paramMMode['titre_maintenance']).'</h3><p>'.stripslashes($paramMMode['text_maintenance']).'</p></div>';
549
- if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='' && $paramMMode['active_cpt']==1) {
550
- $content .='
551
- <div id="countdown">
552
- <script language="JavaScript">
553
- TargetDate = "'.$dateCpt.'";
554
- BackColor = "'.$paramMMode['color_cpt_bg'].'";
555
- FontSize = "'.$paramMMode['date_cpt_size'].'";
556
- ForeColor = "'.$paramMMode['color_cpt'].'";
557
- Disable = "'.$paramMMode['disable'].'";
558
- UrlDisable = "'.get_option( 'siteurl').'";
559
- CountActive = true;
560
- CountStepper = -1;
561
- LeadingZero = true;
562
- ';
563
- $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>";
564
- if($paramMMode['active_cpt_s']==1) {
565
- $content .= '<div id="cptR-seconds">%%S%%<br /><span id="cptR-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
566
- }
567
- $content .= "';";
568
- $content .='
569
- FinishMessage = "'.stripslashes($paramMMode['message_cpt_fin']).'";
570
- </script>';
571
- $content .= '
572
- <script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
573
- </div>';
574
- }
575
- if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
576
- $content .= '<div class="wpm_newletter">'.$paramMMode['title_newletter'].'<br />'.do_shortcode(stripslashes($paramMMode['code_newletter'])).'</div>
577
- <div class="clear">&nbsp;</div>';
578
- }
579
-
580
-
581
- $content .= '
582
- </div><!-- div main -->
583
- </div><!-- div content -->
584
- ';
585
- if($paramSocialOption['position']=='bottom') {
586
- $content .= do_shortcode('[wpm_social]');
587
- }
588
-
589
- $content .='</div><!-- div wrapper -->';
590
-
591
- if($paramMMode['text_bt_maintenance']!='') {
592
- $content .= '<div id="wpm_footer"><div class="clear"><p class="wpm_copyright">'.stripslashes($paramMMode['text_bt_maintenance']).'</p></div></div>';
593
- }
594
 
595
- $content .= '
596
- </body>
597
- </html>';
598
  }
599
  die($content);
600
  }
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.6
10
  * Text Domain: wp-maintenance
11
  * Domain Path: /languages/
12
  */
14
 
15
  /*
16
  Change Log
17
+ 07/08/2015 - Nouvelle version du plugin
18
  18/04/2015 - Fixed a bug on the end of message counter
19
  16/04/2015 - Résolution de divers bug CSS
20
  28/03/2015 - Résolution de divers bug CSS Responsive
72
  }
73
 
74
  /* Ajoute la version dans les options */
75
+ define('WPM_VERSION', '2.6');
76
  $option['wp_maintenance_version'] = WPM_VERSION;
77
  if( !get_option('wp_maintenance_version') ) {
78
  add_option('wp_maintenance_version', $option);
122
  }
123
 
124
  function wpm_add_admin() {
 
125
 
126
  $wp_maintenanceAdminOptions = array(
127
  'color_bg' => "#f1f1f1",
138
  'font_text_bottom' => 'Acme',
139
  'font_bottom_size' => 12,
140
  'font_cpt' => 'Acme',
141
+ 'enable_demo' => 0,
142
+ 'color_text_button' => '#FFFFFF',
143
+ 'color_button' => '#1e73be',
144
  );
145
  $getMaintenanceSettings = get_option('wp_maintenance_settings');
146
  if (!empty($getMaintenanceSettings)) {
154
  if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
155
  update_option('wp_maintenance_style', wpm_print_style());
156
  }
157
+
158
+ $getMaintenanceSettings = extract(get_option('wp_maintenance_settings'));
159
+ if( $getMaintenanceSettings['enable_demo']==1 ) {
160
+ $hook = add_options_page(__( 'Options for the maintenance page', 'wp-maintenance' ), "WP Maintenance", 'read', __FILE__, "wpm_admin_panel");
161
+ } else {
162
+ $hook = add_options_page(__( 'Options for the maintenance page', 'wp-maintenance' ), "WP Maintenance", 'manage_options', __FILE__, "wpm_admin_panel");
163
+ }
164
+
165
+ }
166
+ /* recupere le protocole */
167
+ function wpm_protocole() {
168
+ return $_SERVER['HTTPS'];
169
  }
170
 
171
  function wpm_admin_scripts() {
183
  'title' => __( 'Choose Image', 'wp-maintenance' ),
184
  ) );
185
 
186
+
187
+ //if( wpm_protocole()=='' ) {
188
  wp_register_script('wpm-admin-settings', WP_PLUGIN_URL.'/wp-maintenance/wpm-admin-settings.js');
189
  wp_enqueue_script('wpm-admin-settings');
190
+ //}
191
  }
192
 
193
  add_action( 'admin_enqueue_scripts', 'wpm_enqueue_color_picker' );
262
  $paramSocial = get_option('wp_maintenance_social');
263
  $paramSocialOption = get_option('wp_maintenance_social_options');
264
  $countSocial = wpm_array_value_count($paramSocial);
265
+ // Si on est en mobile on réduit les icones
266
  if ( wp_is_mobile() ) {
267
  $paramSocialOption['size'] = 24;
268
  }
275
  ), $atts )
276
  );
277
  if($paramSocialOption['theme']!='') {
278
+ $srcIcon = get_stylesheet_directory_uri().'/'.$paramSocialOption['theme'].'/';
279
+ $iconSize = 'width='.$paramSocialOption['size'];
280
  } else {
281
  $srcIcon = WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'.$paramSocialOption['size'].'x'.$paramSocialOption['size'].'/';
282
+ $iconSize = '';
283
  }
284
  if($paramSocialOption['enable']==1 && $countSocial>=1) {
285
  $content .= '<div id="wpm-social-footer" class="wpm_social"><ul class="wpm_horizontal">';
286
  foreach($paramSocial as $socialName=>$socialUrl) {
287
  if($socialUrl!='') {
288
+ $content .= '<li><a href="'.$socialUrl.'" target="_blank"><img src="'.$srcIcon.$socialName.'.png" alt="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" '.$iconSize.' title="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" /></a></li>';
289
  }
290
  }
291
  $content .='</ul></div>';
324
  }
325
  }
326
  }
327
+
328
  /* On désactive le mode maintenance pour les admins */
329
  if( current_user_can('administrator') == true ) {
330
  $statusActive = 0;
372
  if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
373
  if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
374
 
 
 
 
 
375
  /* Date compte à rebours / Convertie en format US */
376
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
377
  $dateCpt = date('m/d/Y h:i A', $timestamp);
384
  "#_DATESIZE" => $paramMMode['date_cpt_size'],
385
  "#_COLORCPT" => $paramMMode['color_cpt'],
386
  "#_COLOR_BG_BT" => $paramMMode['color_bg_bottom'],
387
+ "#_COLOR_TXT_BT" => $paramMMode['color_text_bottom'],
388
+ "#_COLORHEAD" => $paramMMode['color_bg_header'],
389
  );
390
  $wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
391
  if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
392
 
393
+
394
+ $template_page = file_get_contents( WP_PLUGIN_URL.'/wp-maintenance/template/index.html' );
395
+
396
+ $Counter = '';
397
+ $addFormLogin = '';
398
+ $newLetter = '';
399
+
400
+ if($paramMMode['analytics']) {
401
+ $CodeAnalytics = do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]');
402
+ } else {
403
+ $CodeAnalytics = '';
404
+ }
405
+ if($paramMMode['headercode']) {
406
+ $HeaderCode = stripslashes($paramMMode['headercode']);
407
+ } else {
408
+ $HeaderCode = '';
409
+ }
410
+ if($paramSocialOption['position']=='top') {
411
+ $TopSocialIcons = do_shortcode('[wpm_social]');
412
+ } else {
413
+ $TopSocialIcons = '';
414
+ }
415
+ if($paramSocialOption['position']=='bottom') {
416
+ $BottomSocialIcons = do_shortcode('[wpm_social]');
417
+ } else {
418
+ $BottomSocialIcons = '';
419
+ }
420
+ if($paramMMode['image']) {
421
+ $LogoImage = '<div id="logo"><img src="'.$paramMMode['image'].'" width="'.$paramMMode['image_width'].'" height="'.$paramMMode['image_height'].'" alt="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" title="'.get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ).'" /></div>';
422
+ } else {
423
+ $LogoImage = '';
424
+ }
425
+ if($paramMMode['text_bt_maintenance']!='') {
426
+ $TextCopyright = stripslashes($paramMMode['text_bt_maintenance']);
427
+ } else {
428
+ $TextCopyright = '';
429
+ }
430
+ if($paramMMode['titre_maintenance']!='') {
431
+ $Titre = stripslashes($paramMMode['titre_maintenance']);
432
+ } else {
433
+ $Titre = '';
434
+ }
435
+ if($paramMMode['text_maintenance']!='') {
436
+ $Texte = stripslashes($paramMMode['text_maintenance']);
437
+ } else {
438
+ $Texte = '';
439
+ }
440
+ if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
441
+ $nameNl = strpos($paramMMode['code_newletter'], 'wysija_form');
442
+ if($nameNl===false) {
443
+ $wysijaStyle = '/* no WYSIJA Style */';
444
+ } else {
445
+ //$wysijaStyle = 'STYLEOK';
446
+ $wysijaRemplacements = array (
447
+ "#_COLORTXT" => $paramMMode['color_field_text'],
448
+ "#_COLORBG" => $paramMMode['color_field_background'],
449
+ "#_COLORBORDER" => $paramMMode['color_field_border'],
450
+ "#_COLORBUTTON" => $paramMMode['color_button'],
451
+ "#_COLORTEXTBUTTON" => $paramMMode['color_text_button'],
452
+ "#_COLOR_BTN_HOVER" => $paramMMode['color_button_hover'],
453
+ "#_COLOR_BTN_CLICK" => $paramMMode['color_button_onclick']
454
+ );
455
+ $wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_wysija_style() );
456
+ }
457
+ $newLetter = '<div class="wpm_newletter">'.stripslashes($paramMMode['title_newletter']).''.do_shortcode(stripslashes($paramMMode['code_newletter'])).'</div>';
458
+ }
459
+
460
  if($paramMMode['b_image'] && $paramMMode['b_enable_image']==1) {
461
  if($paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
462
  $optionBackground = '';
465
  }
466
  $addBImage = '
467
  body {
468
+ background-image:url('.$paramMMode['b_image'].');
469
  background-size: cover;
470
+ -webkit-background-size: cover;
471
+ -moz-background-size: cover;
472
+ -o-background-size: cover;
473
+ background-repeat: '.$paramMMode['b_repeat_image'].';
474
+ '.$optionBackground.'
475
  }';
476
  }
477
  if($paramMMode['b_pattern']>0 && $paramMMode['b_enable_image']==1) {
478
  $addBImage = '
479
  body {
480
+ background-image: url('.WP_PLUGIN_URL.'/wp-maintenance/images/pattern'.$paramMMode['b_pattern'].'.png);
481
+ background-repeat: '.$paramMMode['b_repeat_image'].';
482
+ '.$optionBackground.'
483
+ }'; }
484
+
485
+ /*********** AJOUT COMPTEUR SUIVANT LES PARAMETRES *********/
486
+ if($paramMMode['active_cpt']==1) {
487
+ if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']!='' && $paramMMode['date_cpt_aa']!='') {
488
+ $Counter = '
489
+ <div id="countdown">
490
+ <script language="JavaScript">
491
+ TargetDate = "'.$dateCpt.'";
492
+ BackColor = "'.$paramMMode['color_cpt_bg'].'";
493
+ FontSize = "'.$paramMMode['date_cpt_size'].'";
494
+ ForeColor = "'.$paramMMode['color_cpt'].'";
495
+ Disable = "'.$paramMMode['disable'].'";
496
+ UrlDisable = "'.get_option( 'siteurl').'";
497
+ CountActive = true;
498
+ CountStepper = -1;
499
+ LeadingZero = true;
500
+ ';
501
+ $Counter .= " DisplayFormat = '<div id=\"wpm-cpt-day\">%%D%%<br /><span id=\"wpm-cpt-days-span\">".__('Days', 'wp-maintenance')."</span></div><div id=\"wpm-cpt-hours\">%%H%%<br /><span id=\"wpm-cpt-hours-span\">".__('Hours', 'wp-maintenance')."</span></div><div id=\"wpm-cpt-minutes\">%%M%%<br /><span id=\"wpm-cpt-minutes-span\">".__('Minutes', 'wp-maintenance')."</span></div>";
502
+ if($paramMMode['active_cpt_s']==1) {
503
+ $Counter .= '<div id="wpm-cpt-seconds">%%S%%<br /><span id="wpm-cpt-seconds-span">'.__('Seconds', 'wp-maintenance').'</span></div>';
504
+ }
505
+ $Counter .= "';";
506
+ $Counter .='
507
+ FinishMessage = "'.stripslashes($paramMMode['message_cpt_fin']).'";
508
+ </script>';
509
+ $Counter .= '
510
+ <script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
511
+ </div>';
512
+ }
513
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
514
 
515
+ /*********** AJOUT DU STYLE SUIVANT LES PARAMETRES *********/
516
+ $wpmFonts .= '
517
+ @import url(https://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']).'|'.str_replace(' ', '+',$paramMMode['newletter_font_text']).');
518
+ ';
519
+
520
+
521
+ $wpmStyle .= ''.$addBImage.'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
  .wpm_social_icon {
523
  float:left;
524
  width:'.$paramSocialOption['size'].'px;
525
  margin:0px 5px auto;
526
  }
527
  .wpm_social ul {
 
528
  margin: 10px 0;
529
  max-width: 100%;
530
  padding: 0;
531
  text-align: '.$paramSocialOption['align'].';
532
  }
533
+ .wpm_newletter {
534
+ font-size: '.$paramMMode['newletter_size'].'px;
535
+ font-style: '.$paramMMode['newletter_font_style'].';
536
+ font-weight: '.$paramMMode['newletter_font_weigth'].';
537
+ font-family: '.$paramMMode['newletter_font_text'].', serif;
 
538
  }
539
+ h3 {
540
  font-size: '.$paramMMode['font_title_size'].'px;
541
  font-style: '.$paramMMode['font_title_style'].';
542
  font-weight: '.$paramMMode['font_title_weigth'].';
543
  font-family: '.$paramMMode['font_title'].', serif;
544
  line-height: 100%;
545
+ text-align:center;
546
+ margin:0.5em auto;
547
+ color:'.$paramMMode['color_txt'].';
548
  }
549
+ p {
550
  font-family: '.$paramMMode['font_text'].', serif;
551
  font-size: '.$paramMMode['font_text_size'].'px;
552
  font-style: '.$paramMMode['font_text_style'].';
553
  font-weight: '.$paramMMode['font_text_weigth'].';
554
  line-height: 100%;
555
+ text-align:center;
556
+ margin:0.5em auto;
557
+ padding-left:2%;
558
+ padding-right:2%;
559
+ color:'.$paramMMode['color_txt'].';
560
  }
561
+ #footer {
562
+ background:'.$paramMMode['color_bg_bottom'].';
563
+ }
564
+ div.bloc {
565
  font-family: '.$paramMMode['font_text_bottom'].', serif;
 
566
  font-style: '.$paramMMode['font_bottom_style'].';
567
+ font-size: '.$paramMMode['font_bottom_size'].'px;
568
  font-weight: '.$paramMMode['font_bottom_weigth'].';
569
+ color: '.$paramMMode['color_text_bottom'].';
570
+ text-decoration:none;
571
+ }
572
+ div.bloc a:link {
573
+ color:'.$paramMMode['color_text_bottom'].';
574
+ text-decoration:none;
575
+ font-size: '.$paramMMode['font_bottom_size'].'px;
576
  }
577
+ div.bloc a:visited {
578
+ color:'.$paramMMode['color_text_bottom'].';
579
+ text-decoration:none;
580
+ font-size: '.$paramMMode['font_bottom_size'].'px;
581
+ }
582
+ div.bloc a:hover {
583
+ text-decoration:underline;
584
+ font-size: '.$paramMMode['font_bottom_size'].'px;
585
+ }
586
+ #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
587
 
 
 
 
588
  }
589
+ .cptR-rec_countdown {
590
+ font-size:'.$paramMMode['date_cpt_size'].'px;
591
+ font-family: '.$paramMMode['font_cpt'].', serif;
 
 
 
 
 
592
  }
593
 
594
  @media screen and (min-width: 200px) and (max-width: 480px) {
595
+
 
 
596
  .cptR-rec_countdown {
597
  font-size:'.($paramMMode['date_cpt_size']*0.6).'px;
598
  }
599
+ div.bloc {
 
 
 
 
 
 
 
 
 
 
 
600
  font-size: '.($paramMMode['font_bottom_size']*0.8).'px;
601
  }
602
+ #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
603
+ /*width:20%;*/
604
+ }
605
 
606
  }
607
+ @media (max-width: 640px) {
608
+ .cptR-rec_countdown {
609
+ font-size:'.($paramMMode['date_cpt_size']*0.5).'px;
610
+ text-align:center;
611
+ }
612
+ #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
613
+ /*width:20%;*/
614
+ text-align:center;
615
+ }
616
+ }
617
+
618
+
 
 
 
619
  ';
620
+
621
+ $tplRemplacements = array (
622
+ "%TITLE%" => get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ),
623
+ "%ANALYTICS%" => $CodeAnalytics,
624
+ "%HEADERCODE%" => $paramMMode['headercode'],
625
+ "%ADDSTYLE%" => $wpmStyle,
626
+ "%ADDSTYLEWYSIJA%" => $wysijaStyle,
627
+ "%ADDFONTS%" => $wpmFonts,
628
+ "%TOPSOCIALICON%" => $TopSocialIcons,
629
+ "%BOTTOMSOCIALICON%" => $BottomSocialIcons,
630
+ "%LOGOIMAGE%" => $LogoImage,
631
+ "%COPYRIGHT%" => $TextCopyright,
632
+ "%COUNTER%" =>$Counter,
633
+ "%VERSION%" => WPM_VERSION,
634
+ "%TITRE%" => $Titre,
635
+ "%TEXTE%" => $Texte,
636
+ "%LOGINFORM%" => $addFormLogin,
637
+ "%NEWSLETTER%" => $newLetter
638
+ );
639
+ $template_page = str_replace(array_keys($tplRemplacements), array_values($tplRemplacements), $template_page );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
640
 
641
+ $content = $template_page;
 
 
642
  }
643
  die($content);
644
  }
wpm_fonctions.php CHANGED
@@ -114,79 +114,30 @@ function wpm_getFontsList($name = "", $value = "") {
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
- min-height:100%
131
- margin:0;
132
- padding:0;
133
- }
134
- #header {
135
- clear: both;
136
- padding: 5px 0 10px;
137
- position: relative;
138
- }
139
- .full {
140
- margin: 0 auto;
141
- width: 720px;
142
- }
143
  #logo {
144
  text-align: center;
145
  }
146
- #main {
147
- padding: 0px 50px;
148
- }
149
- #main .block {
150
- font-size: 13px;
151
- margin-bottom: 30px;
152
- }
153
- #main .block h3 {
154
- line-height: 100%;
155
- margin-bottom: 40px;
156
- text-align: center;
157
- }
158
- #main #intro h3 {
159
- font-size: 40px;
160
- }
161
- #main #intro p {
162
- font-size: 16px;
163
- line-height: 100%;
164
- text-align: center;
165
- word-wrap: break-word;
166
- }
167
-
168
- a:link {color: #_COLORTXT;text-decoration: underline;}
169
- a:visited {color: #_COLORTXT;text-decoration: underline;}
170
- a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
171
 
172
- #maintenance {
173
- text-align:center;
174
- margin-top:25px;
175
- }
176
 
177
  .cptR-rec_countdown {
178
  position: relative;
179
  background: #_COLORCPTBG;
180
  display: inline-block;
181
  line-height: 100%;
182
- min-width: 160px;
183
  min-height: 60px;
184
- padding: 30px 20px 5px 20px;
185
  text-transform: uppercase;
186
  text-align:center;
 
 
 
 
187
  }
188
 
189
- #cptR-day, #cptR-hours, #cptR-minutes, #cptR-seconds {
190
  color: #_COLORCPT;
191
  display: block;
192
  font-size: #_DATESIZE;
@@ -194,8 +145,10 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
194
  line-height: 18px;
195
  text-align: center;
196
  float:left;
 
 
197
  }
198
- #cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
199
  color: #_COLORCPT;
200
  font-size: 10px;
201
  padding: 25px 5px 0 2px;
@@ -210,89 +163,100 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
210
  .wpm_horizontal li:hover {
211
  opacity:0.5;
212
  }
213
- * html div#wrapper {
214
- height: 100%; /* Fix IE 5.5, 6 and 7 */
215
- }
216
- #wrapper {
217
- min-height: 100%;
218
- position: relative;
219
- }
220
- #content {
221
- height: 100%;
222
- clear: both;
223
  }
224
- #wpm_footer {
225
- width: 100%;
226
- clear: both;
227
- height: 60px;
228
  text-align:center;
229
- background-color: #_COLOR_BG_BT;
230
- color:#_COLOR_TXT_BT;
231
- padding-top:10px;
232
- padding-bottom: 10px;
233
- margin-top: 15px;
234
- font-size: 12px;
235
- position: absolute;
236
  text-align: center;
237
- width: 100%;
238
- bottom: 0;
239
- display: inline-block;
240
  }
241
- .wpm_copyright {
242
- color:#_COLOR_TXT_BT;
243
- font-size: 12px;
244
  }
245
- .wpm_copyright a, a:hover, a:visited {
246
- color:#_COLOR_TXT_BT;
247
- text-decoration:none;
248
- font-size: 12px;
 
 
 
 
249
  }
250
- .wpm_social {
251
- padding: 0 45px;
252
- text-align: center;
 
 
 
 
 
253
  }
254
- .wpm_newletter {
255
- text-align:center;
256
- font-size: 20px;
257
- font-weight: bold;
 
 
 
 
 
 
 
 
 
258
  }
259
- @media screen and (min-width: 200px) and (max-width: 480px) {
260
- .full {
261
- max-width:300px;
262
- }
263
- #header {
264
- padding: 0;
265
- }
266
- #main {
267
- padding: 0;
268
- }
269
- .wpm_social {
270
- padding: 0 15px;
271
- }
272
- .cptR-rec_countdown {
273
- padding:0;
274
- }
275
- #main .block h3 {
276
- line-height: 0px;
277
- }
278
- #main .block {
279
- margin-bottom: 0;
280
- }
281
- #cptR-days-span, #cptR-hours-span, #cptR-minutes-span, #cptR-seconds-span {
282
- font-size: 8px;
283
- }
284
- #main #intro h3 {
285
- font-size: 6vw;
286
- }
287
- }
288
 
289
- @media screen and (min-width: 480px) and (max-width: 767px) {
290
- /*.full {
291
- max-width:767px;
292
- }*/
293
- h2 .nav-tab { font-size: 10px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  }
295
- ';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  }
297
 
298
 
114
  function wpm_print_style() {
115
 
116
  return '
 
 
 
 
 
 
 
 
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  #logo {
119
  text-align: center;
120
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
 
122
+ a:link {color: #_COLORTXT;text-decoration: none;}
123
+ a:visited {color: #_COLORTXT;text-decoration: none;}
124
+ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: none;}
 
125
 
126
  .cptR-rec_countdown {
127
  position: relative;
128
  background: #_COLORCPTBG;
129
  display: inline-block;
130
  line-height: 100%;
 
131
  min-height: 60px;
 
132
  text-transform: uppercase;
133
  text-align:center;
134
+ margin: 0.5em auto;
135
+ }
136
+ #header {
137
+ background: #_COLORHEAD;
138
  }
139
 
140
+ #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
141
  color: #_COLORCPT;
142
  display: block;
143
  font-size: #_DATESIZE;
145
  line-height: 18px;
146
  text-align: center;
147
  float:left;
148
+ margin:0.3em;
149
+ padding:0px;
150
  }
151
+ #wpm-cpt-days-span, #wpm-cpt-hours-span, #wpm-cpt-minutes-span, #wpm-cpt-seconds-span {
152
  color: #_COLORCPT;
153
  font-size: 10px;
154
  padding: 25px 5px 0 2px;
163
  .wpm_horizontal li:hover {
164
  opacity:0.5;
165
  }
166
+
167
+ .wpm_social {
168
+ padding: 0 45px;
169
+ text-align: center;
 
 
 
 
 
 
170
  }
171
+ .wpm_newletter {
 
 
 
172
  text-align:center;
173
+ }
174
+ #countdown {
175
+ clear:both;
176
+ margin-left:auto;
177
+ margin-right:auto;
 
 
178
  text-align: center;
 
 
 
179
  }
180
+
181
+ ';
 
182
  }
183
+
184
+ /* Feuille de style pour wysija */
185
+ function wpm_wysija_style() {
186
+
187
+ return '
188
+ /* FORM */
189
+ .wpm_newletter {
190
+ color: #_COLORTXT
191
  }
192
+ .abs-req { display: none; }
193
+ .widget_wysija_cont .wysija-submit {
194
+ margin-left: auto;
195
+ margin-right: auto;
196
+ background-color: #_COLORBUTTON;
197
+ border: 1px solid #_COLORBUTTON;
198
+ cursor:hand;
199
+ color:#_COLORTEXTBUTTON;
200
  }
201
+ .widget_wysija input {
202
+ border: 1px solid #_COLORBORDER;
203
+ background: #_COLORBG;
204
+ -webkit-border-radius: 4px;
205
+ -moz-border-radius: 4px;
206
+ border-radius: 4px;
207
+ color: #_COLORTXT;
208
+ -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
209
+ -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
210
+ box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
211
+ padding:8px;
212
+ margin-bottom:20px;
213
+ width:280px;
214
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
 
216
+ .wysija-submit-field {
217
+ border: 1px solid #_COLORBORDER;
218
+ background: #_COLORBUTTON;
219
+ -webkit-border-radius: 4px;
220
+ -moz-border-radius: 4px;
221
+ border-radius: 4px;
222
+ -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
223
+ -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
224
+ box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
225
+ text-shadow: #333333 0 1px 0;
226
+ color: #_COLORTXT;
227
+ font-family: helvetica, serif;
228
+ padding: 8.5px 18px;
229
+ font-size: 14px;
230
+ text-decoration: none;
231
+ vertical-align: baseline;
232
+ cursor:hand;
233
+ margin-top:0 !important;
234
  }
235
+ .wysija-submit-field:hover {
236
+ text-shadow: #_COLORBORDER 0 1px 0;
237
+ border: 1px solid #_COLORBORDER;
238
+ background: #_COLOR_BTN_HOVER;
239
+ /*color: #_COLORTXT;*/
240
+ cursor:hand;
241
+ }
242
+ .widget_wysija input:focus {
243
+ text-shadow: #_COLORBORDER 0 1px 0;
244
+ border: 1px solid #_COLOR_BTN_CLICK;
245
+ background: #_COLOR_BTN_CLICK;
246
+ color: #_COLORTXT;
247
+ cursor:hand;
248
+ }
249
+ .wysija-submit-field:active {
250
+ text-shadow: #_COLORBORDER 0 1px 0;
251
+ border: 1px solid #_COLORBORDER;
252
+ background: #_COLOR_BTN_CLICK;
253
+ color: #_COLORTXT;
254
+ cursor:hand;
255
+ }
256
+ .widget_wysija .wysija-submit, .widget_wysija .wysija-paragraph { display: inline; }
257
+ .wysija-submit-field { margin-top:0 !important; }
258
+
259
+ ';
260
  }
261
 
262