WP Maintenance - Version 1.0

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

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

Code changes from version 0.9 to 1.0

default.png CHANGED
Binary file
languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2013-08-30 15:34+0100\n"
5
- "PO-Revision-Date: 2013-08-30 16:54+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
- "Language: Français\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.5.7\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=n>1;\n"
@@ -17,139 +17,143 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-"
18
  "content/plugins/wp-maintenance\n"
19
 
20
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:7
21
  msgid "Options saved."
22
  msgstr "Options sauvegardées."
23
 
24
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:116
25
  msgid "General"
26
  msgstr "Général"
27
 
28
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:117
29
  msgid "Colors"
30
  msgstr "Couleurs"
31
 
32
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:118
33
  msgid "Picture"
34
  msgstr "Image"
35
 
36
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:119
37
  msgid "CountDown"
38
  msgstr "Compte à rebours"
39
 
40
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:120
41
  msgid "CSS Style"
42
  msgstr "Style CSS"
43
 
44
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:121
45
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:36
46
  msgid "Settings"
47
  msgstr "Réglages"
48
 
49
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:122
50
  msgid "About"
51
  msgstr "A propos"
52
 
53
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:136
54
  msgid "Enable maintenance mode :"
55
  msgstr "Activer le mode maintenance :"
56
 
57
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:137
58
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:332
59
  msgid "Yes"
60
  msgstr "Oui"
61
 
62
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:138
63
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:333
64
  msgid "No"
65
  msgstr "Non"
66
 
67
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:142
68
  msgid "Title and text for the maintenance page :"
69
  msgstr "Titre et Texte de la page maintenance :"
70
 
71
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:143
72
  msgid "Title :"
73
  msgstr "Titre :"
74
 
75
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:144
76
  msgid "Texte :"
77
  msgstr "Texte :"
78
 
79
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:149
80
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:175
81
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:197
82
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:261
83
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
84
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:338
85
  msgid "Save this settings"
86
  msgstr "Sauvegarder ces paramètres"
87
 
88
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:162
89
  msgid "Choice texts colors :"
90
  msgstr "Choix des couleurs des textes :"
91
 
92
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:164
93
  msgid "Background page color :"
94
  msgstr "Couleur du fond de page :"
95
 
96
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:165
97
  msgid "Text color :"
98
  msgstr "Couleur du texte :"
99
 
100
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:166
101
  msgid "Choice countdown colors :"
102
  msgstr "Choix des couleurs du compte à rebours :"
103
 
104
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:167
105
  msgid "Countdown text color :"
106
  msgstr "Couleur du texte du compteur :"
107
 
108
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:169
109
  msgid "Countdown background color :"
110
  msgstr "Couleur du fond du compteur :"
111
 
112
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:187
113
  msgid "Upload a picture"
114
  msgstr "Uploader une image"
115
 
116
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:189
117
  msgid "You use this picture :"
118
  msgstr "Image actuelle : "
119
 
120
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:191
121
  msgid "Select or Upload your picture"
122
  msgstr "Sélectionnez / Uploader votre image"
123
 
124
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:192
125
  msgid "Enter a URL or upload an image."
126
  msgstr "Entrez une url ou uploader une image."
127
 
128
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:209
129
  msgid "Enable a countdown ?"
130
  msgstr "Activer le compte à rebours ?"
131
 
132
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:211
133
  msgid "Enter the launch date"
134
  msgstr "Entrez la date de lancement"
135
 
136
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:244
137
  msgid "Enable seconds ?"
138
  msgstr "Afficher les secondes ?"
139
 
140
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:245
 
 
 
 
141
  msgid "End message :"
142
  msgstr "Message de fin :"
143
 
144
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:245
145
  msgid "Font size :"
146
  msgstr "Taille de la police :"
147
 
148
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:273
149
  msgid "CSS style sheet code :"
150
  msgstr "Code style CSS :"
151
 
152
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:274
153
  msgid ""
154
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
155
  "\" to retrieve the default style sheet."
@@ -157,46 +161,54 @@ msgstr ""
157
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
158
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
159
 
160
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:282
161
  msgid "Markers for colors"
162
  msgstr "Marqueurs pour les couleurs"
163
 
164
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:287
165
  msgid "Use this code for text color"
166
  msgstr "Utiliser ce code pour la couleur du texte"
167
 
168
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:291
169
  msgid "Use this code for background text color"
170
  msgstr "Utiliser ce code pour la couleur de fond du texte"
171
 
172
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:295
173
  msgid "Use this code for background color countdown"
174
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
175
 
176
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:299
177
  msgid "Use this code for size countdown"
178
  msgstr "Utiliser ce code pour la taille du compte à rebours"
179
 
180
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:303
181
  msgid "Use this code for countdown color"
182
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
183
 
184
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:313
185
  msgid "Reset default CSS stylesheet ?"
186
  msgstr "Réinitialiser la feuille de style ?"
187
 
188
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:330
189
  msgid "Theme maintenance page :"
190
  msgstr "Page maintenance du thème :"
191
 
192
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:331
193
  msgid ""
194
  "If you would use your maintenance.php page in your theme folder, click Yes."
195
  msgstr ""
196
  "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
197
  "votre thème, cliquez sur Oui."
198
 
199
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:353
 
 
 
 
 
 
 
 
200
  msgid ""
201
  "This plugin has been developed for you for free by <a href=\"http://www."
202
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
@@ -211,33 +223,36 @@ msgstr ""
211
  "retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
212
  "tous."
213
 
214
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:358
215
  msgid ""
216
  "If you want Donate (French Paypal) for my current and future developments:"
217
  msgstr ""
218
  "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
219
 
220
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:64
221
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:160
222
  msgid "This site is down for maintenance"
223
  msgstr "Ce site est en maintenance"
224
 
225
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
226
  msgid "Days"
227
  msgstr "Jours"
228
 
229
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
230
  msgid "Hours"
231
  msgstr "Heures"
232
 
233
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
234
  msgid "Minutes"
235
  msgstr "Minutes"
236
 
237
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:188
238
  msgid "Seconds"
239
  msgstr "Secondes"
240
 
 
 
 
241
  #~ msgid "Note : "
242
  #~ msgstr "Note :"
243
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2013-12-31 18:45+0100\n"
5
+ "PO-Revision-Date: 2013-12-31 18:46+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
+ "Language: fr\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.3\n"
13
  "X-Poedit-KeywordsList: _e;__\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=n>1;\n"
17
  "X-Poedit-SearchPath-0: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-"
18
  "content/plugins/wp-maintenance\n"
19
 
20
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:11
21
  msgid "Options saved."
22
  msgstr "Options sauvegardées."
23
 
24
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:130
25
  msgid "General"
26
  msgstr "Général"
27
 
28
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:131
29
  msgid "Colors"
30
  msgstr "Couleurs"
31
 
32
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:132
33
  msgid "Picture"
34
  msgstr "Image"
35
 
36
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:133
37
  msgid "CountDown"
38
  msgstr "Compte à rebours"
39
 
40
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:134
41
  msgid "CSS Style"
42
  msgstr "Style CSS"
43
 
44
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:135
45
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:44
46
  msgid "Settings"
47
  msgstr "Réglages"
48
 
49
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:136
50
  msgid "About"
51
  msgstr "A propos"
52
 
53
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:150
54
  msgid "Enable maintenance mode :"
55
  msgstr "Activer le mode maintenance :"
56
 
57
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:151
58
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:346
59
  msgid "Yes"
60
  msgstr "Oui"
61
 
62
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:152
63
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:347
64
  msgid "No"
65
  msgstr "Non"
66
 
67
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:156
68
  msgid "Title and text for the maintenance page :"
69
  msgstr "Titre et Texte de la page maintenance :"
70
 
71
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:157
72
  msgid "Title :"
73
  msgstr "Titre :"
74
 
75
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:158
76
  msgid "Texte :"
77
  msgstr "Texte :"
78
 
79
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:163
80
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:189
81
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:211
82
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:276
83
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:332
84
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:369
85
  msgid "Save this settings"
86
  msgstr "Sauvegarder ces paramètres"
87
 
88
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:176
89
  msgid "Choice texts colors :"
90
  msgstr "Choix des couleurs des textes :"
91
 
92
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:178
93
  msgid "Background page color :"
94
  msgstr "Couleur du fond de page :"
95
 
96
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:179
97
  msgid "Text color :"
98
  msgstr "Couleur du texte :"
99
 
100
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:180
101
  msgid "Choice countdown colors :"
102
  msgstr "Choix des couleurs du compte à rebours :"
103
 
104
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:181
105
  msgid "Countdown text color :"
106
  msgstr "Couleur du texte du compteur :"
107
 
108
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:183
109
  msgid "Countdown background color :"
110
  msgstr "Couleur du fond du compteur :"
111
 
112
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:201
113
  msgid "Upload a picture"
114
  msgstr "Uploader une image"
115
 
116
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:203
117
  msgid "You use this picture :"
118
  msgstr "Image actuelle : "
119
 
120
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:205
121
  msgid "Select or Upload your picture"
122
  msgstr "Sélectionnez / Uploader votre image"
123
 
124
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:206
125
  msgid "Enter a URL or upload an image."
126
  msgstr "Entrez une url ou uploader une image."
127
 
128
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:223
129
  msgid "Enable a countdown ?"
130
  msgstr "Activer le compte à rebours ?"
131
 
132
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:225
133
  msgid "Enter the launch date"
134
  msgstr "Entrez la date de lancement"
135
 
136
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:258
137
  msgid "Enable seconds ?"
138
  msgstr "Afficher les secondes ?"
139
 
140
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:259
141
+ msgid "Disable maintenance mode at the end of the countdown?"
142
+ msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
143
+
144
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:260
145
  msgid "End message :"
146
  msgstr "Message de fin :"
147
 
148
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:260
149
  msgid "Font size :"
150
  msgstr "Taille de la police :"
151
 
152
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:288
153
  msgid "CSS style sheet code :"
154
  msgstr "Code style CSS :"
155
 
156
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:289
157
  msgid ""
158
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
159
  "\" to retrieve the default style sheet."
161
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
162
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
163
 
164
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:297
165
  msgid "Markers for colors"
166
  msgstr "Marqueurs pour les couleurs"
167
 
168
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:302
169
  msgid "Use this code for text color"
170
  msgstr "Utiliser ce code pour la couleur du texte"
171
 
172
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:306
173
  msgid "Use this code for background text color"
174
  msgstr "Utiliser ce code pour la couleur de fond du texte"
175
 
176
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:310
177
  msgid "Use this code for background color countdown"
178
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
179
 
180
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:314
181
  msgid "Use this code for size countdown"
182
  msgstr "Utiliser ce code pour la taille du compte à rebours"
183
 
184
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
185
  msgid "Use this code for countdown color"
186
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
187
 
188
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:327
189
  msgid "Reset default CSS stylesheet ?"
190
  msgstr "Réinitialiser la feuille de style ?"
191
 
192
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:344
193
  msgid "Theme maintenance page :"
194
  msgstr "Page maintenance du thème :"
195
 
196
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:345
197
  msgid ""
198
  "If you would use your maintenance.php page in your theme folder, click Yes."
199
  msgstr ""
200
  "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
201
  "votre thème, cliquez sur Oui."
202
 
203
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:351
204
+ msgid "Roles and Capabilities:"
205
+ msgstr "Rôles et capacités :"
206
+
207
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:352
208
+ msgid "Allow the site to display these roles:"
209
+ msgstr "Autoriser l'affichage du site à ces rôles :"
210
+
211
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:384
212
  msgid ""
213
  "This plugin has been developed for you for free by <a href=\"http://www."
214
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
223
  "retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
224
  "tous."
225
 
226
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:389
227
  msgid ""
228
  "If you want Donate (French Paypal) for my current and future developments:"
229
  msgstr ""
230
  "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
231
 
232
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:84
233
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:316
234
  msgid "This site is down for maintenance"
235
  msgstr "Ce site est en maintenance"
236
 
237
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
238
  msgid "Days"
239
  msgstr "Jours"
240
 
241
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
242
  msgid "Hours"
243
  msgstr "Heures"
244
 
245
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
246
  msgid "Minutes"
247
  msgstr "Minutes"
248
 
249
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:351
250
  msgid "Seconds"
251
  msgstr "Secondes"
252
 
253
+ #~ msgid "Choose those that do not display the maintenance page."
254
+ #~ msgstr "Choisissez ceux qui n'auront pas la page de maintenance"
255
+
256
  #~ msgid "Note : "
257
  #~ msgstr "Note :"
258
 
languages/wp-maintenance.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2013-08-30 15:34+0100\n"
5
- "PO-Revision-Date: 2013-08-30 15:34+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language: Français\n"
@@ -17,182 +17,194 @@ msgstr ""
17
  "X-Poedit-SearchPath-0: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-"
18
  "content/plugins/wp-maintenance\n"
19
 
20
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:7
21
  msgid "Options saved."
22
  msgstr ""
23
 
24
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:116
25
  msgid "General"
26
  msgstr ""
27
 
28
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:117
29
  msgid "Colors"
30
  msgstr ""
31
 
32
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:118
33
  msgid "Picture"
34
  msgstr ""
35
 
36
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:119
37
  msgid "CountDown"
38
  msgstr ""
39
 
40
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:120
41
  msgid "CSS Style"
42
  msgstr ""
43
 
44
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:121
45
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:36
46
  msgid "Settings"
47
  msgstr ""
48
 
49
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:122
50
  msgid "About"
51
  msgstr ""
52
 
53
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:136
54
  msgid "Enable maintenance mode :"
55
  msgstr ""
56
 
57
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:137
58
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:332
59
  msgid "Yes"
60
  msgstr ""
61
 
62
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:138
63
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:333
64
  msgid "No"
65
  msgstr ""
66
 
67
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:142
68
  msgid "Title and text for the maintenance page :"
69
  msgstr ""
70
 
71
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:143
72
  msgid "Title :"
73
  msgstr ""
74
 
75
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:144
76
  msgid "Texte :"
77
  msgstr ""
78
 
79
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:149
80
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:175
81
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:197
82
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:261
83
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
84
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:338
85
  msgid "Save this settings"
86
  msgstr ""
87
 
88
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:162
89
  msgid "Choice texts colors :"
90
  msgstr ""
91
 
92
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:164
93
  msgid "Background page color :"
94
  msgstr ""
95
 
96
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:165
97
  msgid "Text color :"
98
  msgstr ""
99
 
100
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:166
101
  msgid "Choice countdown colors :"
102
  msgstr ""
103
 
104
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:167
105
  msgid "Countdown text color :"
106
  msgstr ""
107
 
108
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:169
109
  msgid "Countdown background color :"
110
  msgstr ""
111
 
112
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:187
113
  msgid "Upload a picture"
114
  msgstr ""
115
 
116
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:189
117
  msgid "You use this picture :"
118
  msgstr ""
119
 
120
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:191
121
  msgid "Select or Upload your picture"
122
  msgstr ""
123
 
124
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:192
125
  msgid "Enter a URL or upload an image."
126
  msgstr ""
127
 
128
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:209
129
  msgid "Enable a countdown ?"
130
  msgstr ""
131
 
132
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:211
133
  msgid "Enter the launch date"
134
  msgstr ""
135
 
136
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:244
137
  msgid "Enable seconds ?"
138
  msgstr ""
139
 
140
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:245
 
 
 
 
141
  msgid "End message :"
142
  msgstr ""
143
 
144
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:245
145
  msgid "Font size :"
146
  msgstr ""
147
 
148
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:273
149
  msgid "CSS style sheet code :"
150
  msgstr ""
151
 
152
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:274
153
  msgid ""
154
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
155
  "\" to retrieve the default style sheet."
156
  msgstr ""
157
 
158
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:282
159
  msgid "Markers for colors"
160
  msgstr ""
161
 
162
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:287
163
  msgid "Use this code for text color"
164
  msgstr ""
165
 
166
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:291
167
  msgid "Use this code for background text color"
168
  msgstr ""
169
 
170
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:295
171
  msgid "Use this code for background color countdown"
172
  msgstr ""
173
 
174
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:299
175
  msgid "Use this code for size countdown"
176
  msgstr ""
177
 
178
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:303
179
  msgid "Use this code for countdown color"
180
  msgstr ""
181
 
182
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:313
183
  msgid "Reset default CSS stylesheet ?"
184
  msgstr ""
185
 
186
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:330
187
  msgid "Theme maintenance page :"
188
  msgstr ""
189
 
190
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:331
191
  msgid ""
192
  "If you would use your maintenance.php page in your theme folder, click Yes."
193
  msgstr ""
194
 
195
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:353
 
 
 
 
 
 
 
 
196
  msgid ""
197
  "This plugin has been developed for you for free by <a href=\"http://www."
198
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
@@ -201,28 +213,28 @@ msgid ""
201
  "changes to improve this plugin for all."
202
  msgstr ""
203
 
204
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:358
205
  msgid ""
206
  "If you want Donate (French Paypal) for my current and future developments:"
207
  msgstr ""
208
 
209
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:64
210
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:160
211
  msgid "This site is down for maintenance"
212
  msgstr ""
213
 
214
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
215
  msgid "Days"
216
  msgstr ""
217
 
218
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
219
  msgid "Hours"
220
  msgstr ""
221
 
222
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:186
223
  msgid "Minutes"
224
  msgstr ""
225
 
226
- #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:188
227
  msgid "Seconds"
228
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2013-12-31 18:44+0100\n"
5
+ "PO-Revision-Date: 2013-12-31 18:44+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language: Français\n"
17
  "X-Poedit-SearchPath-0: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-"
18
  "content/plugins/wp-maintenance\n"
19
 
20
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:11
21
  msgid "Options saved."
22
  msgstr ""
23
 
24
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:130
25
  msgid "General"
26
  msgstr ""
27
 
28
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:131
29
  msgid "Colors"
30
  msgstr ""
31
 
32
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:132
33
  msgid "Picture"
34
  msgstr ""
35
 
36
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:133
37
  msgid "CountDown"
38
  msgstr ""
39
 
40
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:134
41
  msgid "CSS Style"
42
  msgstr ""
43
 
44
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:135
45
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:44
46
  msgid "Settings"
47
  msgstr ""
48
 
49
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:136
50
  msgid "About"
51
  msgstr ""
52
 
53
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:150
54
  msgid "Enable maintenance mode :"
55
  msgstr ""
56
 
57
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:151
58
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:346
59
  msgid "Yes"
60
  msgstr ""
61
 
62
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:152
63
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:347
64
  msgid "No"
65
  msgstr ""
66
 
67
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:156
68
  msgid "Title and text for the maintenance page :"
69
  msgstr ""
70
 
71
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:157
72
  msgid "Title :"
73
  msgstr ""
74
 
75
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:158
76
  msgid "Texte :"
77
  msgstr ""
78
 
79
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:163
80
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:189
81
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:211
82
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:276
83
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:332
84
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:369
85
  msgid "Save this settings"
86
  msgstr ""
87
 
88
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:176
89
  msgid "Choice texts colors :"
90
  msgstr ""
91
 
92
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:178
93
  msgid "Background page color :"
94
  msgstr ""
95
 
96
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:179
97
  msgid "Text color :"
98
  msgstr ""
99
 
100
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:180
101
  msgid "Choice countdown colors :"
102
  msgstr ""
103
 
104
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:181
105
  msgid "Countdown text color :"
106
  msgstr ""
107
 
108
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:183
109
  msgid "Countdown background color :"
110
  msgstr ""
111
 
112
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:201
113
  msgid "Upload a picture"
114
  msgstr ""
115
 
116
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:203
117
  msgid "You use this picture :"
118
  msgstr ""
119
 
120
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:205
121
  msgid "Select or Upload your picture"
122
  msgstr ""
123
 
124
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:206
125
  msgid "Enter a URL or upload an image."
126
  msgstr ""
127
 
128
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:223
129
  msgid "Enable a countdown ?"
130
  msgstr ""
131
 
132
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:225
133
  msgid "Enter the launch date"
134
  msgstr ""
135
 
136
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:258
137
  msgid "Enable seconds ?"
138
  msgstr ""
139
 
140
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:259
141
+ msgid "Disable maintenance mode at the end of the countdown?"
142
+ msgstr ""
143
+
144
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:260
145
  msgid "End message :"
146
  msgstr ""
147
 
148
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:260
149
  msgid "Font size :"
150
  msgstr ""
151
 
152
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:288
153
  msgid "CSS style sheet code :"
154
  msgstr ""
155
 
156
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:289
157
  msgid ""
158
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
159
  "\" to retrieve the default style sheet."
160
  msgstr ""
161
 
162
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:297
163
  msgid "Markers for colors"
164
  msgstr ""
165
 
166
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:302
167
  msgid "Use this code for text color"
168
  msgstr ""
169
 
170
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:306
171
  msgid "Use this code for background text color"
172
  msgstr ""
173
 
174
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:310
175
  msgid "Use this code for background color countdown"
176
  msgstr ""
177
 
178
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:314
179
  msgid "Use this code for size countdown"
180
  msgstr ""
181
 
182
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
183
  msgid "Use this code for countdown color"
184
  msgstr ""
185
 
186
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:327
187
  msgid "Reset default CSS stylesheet ?"
188
  msgstr ""
189
 
190
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:344
191
  msgid "Theme maintenance page :"
192
  msgstr ""
193
 
194
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:345
195
  msgid ""
196
  "If you would use your maintenance.php page in your theme folder, click Yes."
197
  msgstr ""
198
 
199
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:351
200
+ msgid "Roles and Capabilities:"
201
+ msgstr ""
202
+
203
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:352
204
+ msgid "Allow the site to display these roles:"
205
+ msgstr ""
206
+
207
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:384
208
  msgid ""
209
  "This plugin has been developed for you for free by <a href=\"http://www."
210
  "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
213
  "changes to improve this plugin for all."
214
  msgstr ""
215
 
216
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:389
217
  msgid ""
218
  "If you want Donate (French Paypal) for my current and future developments:"
219
  msgstr ""
220
 
221
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:84
222
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:316
223
  msgid "This site is down for maintenance"
224
  msgstr ""
225
 
226
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
227
  msgid "Days"
228
  msgstr ""
229
 
230
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
231
  msgid "Hours"
232
  msgstr ""
233
 
234
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:349
235
  msgid "Minutes"
236
  msgstr ""
237
 
238
+ #: /Users/Florent/Sites/wordpress.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:351
239
  msgid "Seconds"
240
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 2.0
6
  Tested up to: 3.8
7
- Stable tag: 0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -31,10 +31,11 @@ Fichier wp-maintenance.pot disponible / maintenance.pot file available
31
 
32
  == Screenshots ==
33
  1. Vue générale / General view
34
- 2. Vue par les visiteurs de votre site (mais pas les admins) / View by visitors to your site (but not the admins)
35
  3. Sélection de couleur / Color selection
36
  4. Upload d'une image personnelle / Upload a personnal picture
37
  5. Paramètres du compte à rebours / Countdown settings
 
38
 
39
  == Frequently Asked Questions ==
40
 
@@ -48,12 +49,15 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
48
 
49
  == Upgrade Notice ==
50
 
51
- = 0.9 =
52
  Cette version est stable / This version is stable
53
 
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 0.9 =
58
  * Bugs ajout lien dans textes / Bug add link in texts
59
 
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 2.0
6
  Tested up to: 3.8
7
+ Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
31
 
32
  == Screenshots ==
33
  1. Vue générale / General view
34
+ 2. Vue par les visiteurs de votre site / View by visitors to your site
35
  3. Sélection de couleur / Color selection
36
  4. Upload d'une image personnelle / Upload a personnal picture
37
  5. Paramètres du compte à rebours / Countdown settings
38
+ 6. Réglages divers / Various settings
39
 
40
  == Frequently Asked Questions ==
41
 
49
 
50
  == Upgrade Notice ==
51
 
52
+ = 1.0 =
53
  Cette version est stable / This version is stable
54
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.0 =
59
+ * Ajout couleur sur les liens, option rajoutée sur le compte à rebours et l'affichage du site aux rôles de votre choix / Adding color on the links, added option on the countdown and viewing the site of your choice roles
60
+
61
  = 0.9 =
62
  * Bugs ajout lien dans textes / Bug add link in texts
63
 
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png ADDED
Binary file
uninstall.php CHANGED
@@ -7,5 +7,8 @@ function wpm_uninstall() {
7
  if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
8
  if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
9
  if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
 
 
 
10
  }
11
  register_deactivation_hook(__FILE__, 'wpm_uninstall');
7
  if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
8
  if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
9
  if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
10
+ delete_option('wp_maintenance_limit');
11
+ delete_option('wp_maintenance_active');
12
+
13
  }
14
  register_deactivation_hook(__FILE__, 'wpm_uninstall');
wp-maintenance-admin.php CHANGED
@@ -5,6 +5,8 @@
5
  if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
6
  update_option('wp_maintenance_settings', $_POST["wp_maintenance_settings"]);
7
  update_option('wp_maintenance_style', $_POST["wp_maintenance_style"]);
 
 
8
  $options_saved = true;
9
  echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.', 'wp-maintenance').'</strong></p></div>';
10
  }
@@ -12,7 +14,12 @@ if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
12
  // Récupère les paramètres sauvegardés
13
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
14
  $paramMMode = get_option('wp_maintenance_settings');
 
 
 
15
 
 
 
16
 
17
  /* Feuille de style par défault */
18
  $wpm_style_defaut = '
@@ -65,6 +72,10 @@ body {
65
  text-align: center;
66
  }
67
 
 
 
 
 
68
  #maintenance {
69
  text-align:center;
70
  margin-top:25px;
@@ -137,8 +148,8 @@ if($_POST['wpm_initcss']==1) {
137
  <!-- CHOIX ACTIVATION MAINTENANCE -->
138
  <li>
139
  <h3><?php echo __('Enable maintenance mode :', 'wp-maintenance'); ?></h3>
140
- <input type= "radio" name="wp_maintenance_settings[active]" value="1" <?php if($paramMMode['active']==1) { echo ' checked'; } ?>>&nbsp;<?php echo __('Yes', 'wp-maintenance'); ?>&nbsp;&nbsp;&nbsp;
141
- <input type= "radio" name="wp_maintenance_settings[active]" value="0" <?php if($paramMMode['active']==0) { echo ' checked'; } ?>>&nbsp;<?php echo __('No', 'wp-maintenance'); ?>
142
  </li>
143
  <!-- TEXTE PERSONNEL POUR LA PAGE -->
144
  <li>
@@ -215,7 +226,7 @@ if($_POST['wpm_initcss']==1) {
215
  <select name=wp_maintenance_settings[date_cpt_mm]">
216
  <?php
217
  $ctpDate = array(
218
- '01 '=> 'jan',
219
  '02' => 'fév',
220
  '03' => 'mar',
221
  '04' => 'avr',
@@ -242,9 +253,10 @@ if($_POST['wpm_initcss']==1) {
242
  </select>&nbsp;
243
  <input type="text" name="wp_maintenance_settings[date_cpt_aa]" value="<?php if($paramMMode['date_cpt_aa']!='') { echo $paramMMode['date_cpt_aa']; } else { echo date('Y'); } ?>" size="4" maxlength="4" autocomplete="off" />&nbsp;à&nbsp;
244
  <input type="text" name="wp_maintenance_settings[date_cpt_hh]" value="<?php if($paramMMode['date_cpt_hh']!='') { echo $paramMMode['date_cpt_hh']; } else { echo date('H'); } ?>" size="2" maxlength="2" autocomplete="off" />&nbsp;h&nbsp;<input type="text" name="wp_maintenance_settings[date_cpt_mn]" value="<?php if($paramMMode['date_cpt_mn']!='') { echo $paramMMode['date_cpt_mn']; } else { echo date('i'); } ?>" size="2" maxlength="2" autocomplete="off" />&nbsp;min&nbsp;
245
- <input type="hidden" name=wp_maintenance_settings[date_cpt_ss]" value="<?php if($paramMMode['date_cpt_ss']!='') { echo $paramMMode['date_cpt_ss']; } else { echo date('s'); } ?>" />
246
  <br /><br />
247
  <input type= "checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if($paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>>&nbsp;<?php echo __('Enable seconds ?', 'wp-maintenance'); ?><br /><br />
 
248
  <?php echo __('End message :', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[message_cpt_fin]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['message_cpt_fin']); ?></TEXTAREA><br /><?php echo __('Font size :', 'wp-maintenance'); ?> <select name=wp_maintenance_settings[date_cpt_size]">
249
  <?php
250
  $ctpSize = array('18', '24', '36', '48', '52', '56', '60', '64', '68', '72', '76');
@@ -336,6 +348,23 @@ if($_POST['wpm_initcss']==1) {
336
  </li>
337
  <li> &nbsp;</li>
338
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  <li>
340
  <a href="#options" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php echo __('Save this settings', 'wp-maintenance'); ?> </span></a>
341
  </li>
5
  if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
6
  update_option('wp_maintenance_settings', $_POST["wp_maintenance_settings"]);
7
  update_option('wp_maintenance_style', $_POST["wp_maintenance_style"]);
8
+ update_option('wp_maintenance_limit', $_POST["wp_maintenance_limit"]);
9
+ update_option('wp_maintenance_active', $_POST["wp_maintenance_active"]);
10
  $options_saved = true;
11
  echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.', 'wp-maintenance').'</strong></p></div>';
12
  }
14
  // Récupère les paramètres sauvegardés
15
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
16
  $paramMMode = get_option('wp_maintenance_settings');
17
+ // Récupère les Rôles et capabilités
18
+ if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
19
+ $paramLimit = get_option('wp_maintenance_limit');
20
 
21
+ // Récupère si le status est actif ou non
22
+ $statusActive = get_option('wp_maintenance_active');
23
 
24
  /* Feuille de style par défault */
25
  $wpm_style_defaut = '
72
  text-align: center;
73
  }
74
 
75
+ a:link {color: #_COLORTXT;text-decoration: underline;}
76
+ a:visited {color: #_COLORTXT;text-decoration: underline;}
77
+ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
78
+
79
  #maintenance {
80
  text-align:center;
81
  margin-top:25px;
148
  <!-- CHOIX ACTIVATION MAINTENANCE -->
149
  <li>
150
  <h3><?php echo __('Enable maintenance mode :', 'wp-maintenance'); ?></h3>
151
+ <input type= "radio" name="wp_maintenance_active" value="1" <?php if($statusActive==1) { echo ' checked'; } ?>>&nbsp;<?php echo __('Yes', 'wp-maintenance'); ?>&nbsp;&nbsp;&nbsp;
152
+ <input type= "radio" name="wp_maintenance_active" value="0" <?php if($statusActive==0) { echo ' checked'; } ?>>&nbsp;<?php echo __('No', 'wp-maintenance'); ?>
153
  </li>
154
  <!-- TEXTE PERSONNEL POUR LA PAGE -->
155
  <li>
226
  <select name=wp_maintenance_settings[date_cpt_mm]">
227
  <?php
228
  $ctpDate = array(
229
+ '01'=> 'jan',
230
  '02' => 'fév',
231
  '03' => 'mar',
232
  '04' => 'avr',
253
  </select>&nbsp;
254
  <input type="text" name="wp_maintenance_settings[date_cpt_aa]" value="<?php if($paramMMode['date_cpt_aa']!='') { echo $paramMMode['date_cpt_aa']; } else { echo date('Y'); } ?>" size="4" maxlength="4" autocomplete="off" />&nbsp;à&nbsp;
255
  <input type="text" name="wp_maintenance_settings[date_cpt_hh]" value="<?php if($paramMMode['date_cpt_hh']!='') { echo $paramMMode['date_cpt_hh']; } else { echo date('H'); } ?>" size="2" maxlength="2" autocomplete="off" />&nbsp;h&nbsp;<input type="text" name="wp_maintenance_settings[date_cpt_mn]" value="<?php if($paramMMode['date_cpt_mn']!='') { echo $paramMMode['date_cpt_mn']; } else { echo date('i'); } ?>" size="2" maxlength="2" autocomplete="off" />&nbsp;min&nbsp;
256
+ <input type="hidden" name=wp_maintenance_settings[date_cpt_ss]" value="00" />
257
  <br /><br />
258
  <input type= "checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if($paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>>&nbsp;<?php echo __('Enable seconds ?', 'wp-maintenance'); ?><br /><br />
259
+ <input type= "checkbox" name="wp_maintenance_settings[disable]" value="1" <?php if($paramMMode['disable']==1) { echo ' checked'; } ?>>&nbsp;<?php echo __('Disable maintenance mode at the end of the countdown?', 'wp-maintenance'); ?><br /><br />
260
  <?php echo __('End message :', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[message_cpt_fin]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['message_cpt_fin']); ?></TEXTAREA><br /><?php echo __('Font size :', 'wp-maintenance'); ?> <select name=wp_maintenance_settings[date_cpt_size]">
261
  <?php
262
  $ctpSize = array('18', '24', '36', '48', '52', '56', '60', '64', '68', '72', '76');
348
  </li>
349
  <li> &nbsp;</li>
350
 
351
+ <li><h3><?php echo __('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
352
+ <?php echo __('Allow the site to display these roles:', 'wp-maintenance'); ?>&nbsp;<br /><br />
353
+ <input type="hidden" name="wp_maintenance_limit[administrator]" value="administrator" />
354
+ <?php
355
+ $roles = wpm_get_roles();
356
+ foreach($roles as $role=>$name) {
357
+ $limitCheck = '';
358
+ if($paramLimit[$role]==$role) { $limitCheck = ' checked'; }
359
+ if($role=='administrator') {
360
+ $limitCheck = 'checked disabled="disabled"';
361
+ }
362
+ ?>
363
+ <input type="checkbox" name="wp_maintenance_limit[<?php echo $role; ?>]" value="<?php echo $role; ?>"<?php echo $limitCheck; ?> /><?php echo $name; ?>&nbsp;
364
+ <?php }//end foreach ?>
365
+ </li>
366
+ <li> &nbsp;</li>
367
+
368
  <li>
369
  <a href="#options" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php echo __('Save this settings', 'wp-maintenance'); ?> </span></a>
370
  </li>
wp-maintenance.php CHANGED
@@ -6,12 +6,13 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance/
6
  Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance ou du lancement de votre site. Personnalisez cette page de maintenance avec une image, un compte à rebours / The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture and countdown.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
- Version: 0.9
10
  */
11
 
12
 
13
  /*
14
  Change Log
 
15
  24/12/2013 - Bugs ajout de lien dans les textes
16
  06/11/2013 - Bugs sur le compte à rebours
17
  03/10/2013 - Bugs sur les couleurs
@@ -51,35 +52,48 @@ function wpm_make_multilang() {
51
  load_plugin_textdomain('wp-maintenance', false, dirname( plugin_basename( __FILE__ ) ).'/languages');
52
  }
53
 
54
- /* Ajoute la version dnas les options */
55
- define('WPM_VERSION', '0.9');
56
  $option['wp_maintenance_version'] = WPM_VERSION;
57
- add_option('wp_maintenance_version',$option);
 
 
 
 
58
 
59
  //récupère le formulaire d'administration du plugin
60
  function wpm_admin_panel() {
61
  include("wp-maintenance-admin.php");
62
  }
63
 
 
 
 
 
 
 
 
 
 
64
  function wpm_add_admin() {
65
  $hook = add_options_page("Options pour l'affichage de la page maintenance", "WP Maintenance", 10, __FILE__, "wpm_admin_panel");
66
 
67
- $wp_maintenanceAdminOptions = array(
68
- 'active' => 0,
69
  'color_bg' => "#f1f1f1",
70
  'color_txt' => '#888888',
71
  'text_maintenance' => __('This site is down for maintenance', 'wp-maintenance'),
 
72
  'image' => WP_PLUGIN_URL.'/wp-maintenance/default.png',
73
- );
74
- $getMaintenanceSettings = get_option('wp_maintenance_settings');
75
- if (!empty($getMaintenanceSettings)) {
76
  foreach ($getMaintenanceSettings as $key => $option) {
77
  $wp_maintenanceAdminOptions[$key] = $option;
78
  }
79
- }
80
-
81
- update_option('wp_maintenance_settings', $wp_maintenanceAdminOptions);
82
-
83
  $wp_maintenanceStyles = '
84
  h1 {
85
  margin-left:auto;
@@ -130,6 +144,11 @@ body {
130
  text-align: center;
131
  }
132
 
 
 
 
 
 
133
  #maintenance {
134
  text-align:center;
135
  margin-top:25px;
@@ -196,6 +215,12 @@ if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php'
196
  add_action('admin_print_scripts', 'wpm_admin_scripts');
197
  }
198
 
 
 
 
 
 
 
199
  /* Mode Mainteance */
200
  function wpm_maintenance_mode() {
201
 
@@ -203,11 +228,47 @@ function wpm_maintenance_mode() {
203
 
204
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
205
  $paramMMode = get_option('wp_maintenance_settings');
 
 
 
206
 
207
  get_currentuserinfo();
208
- if(!$paramMMode['active']) { $paramMMode['active'] = 0 ;}
209
 
210
- if ($current_user->user_level != 10 && $paramMMode['active']==1) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
 
212
  $urlTpl = get_stylesheet_directory();
213
 
@@ -225,10 +286,12 @@ function wpm_maintenance_mode() {
225
  if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
226
  if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
227
 
228
- /* Paramètre par défaut */
229
  if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
230
- $img_width = 300;
231
- if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/default.png'; $img_width = 256;}
 
 
232
 
233
  /* Date compte à rebours / Convertie en format US */
234
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
@@ -244,7 +307,7 @@ function wpm_maintenance_mode() {
244
  );
245
  $wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
246
  if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
247
-
248
  $content = '
249
  <!DOCTYPE html>
250
  <html lang="fr">
@@ -258,14 +321,13 @@ function wpm_maintenance_mode() {
258
  </head>
259
  <body>
260
  <div id="wrapper">';
261
-
262
- if($paramMMode['image']) {
263
- $content .= '
264
  <div id="header" class="full">
265
- <div id="logo"><img src="'.$paramMMode['image'].'" width="'.$img_width.'px" /></div>
266
  </div>
267
- ';
268
- }
269
  $content .= '
270
  <div id="content" class="full">
271
  <div id="main">';
@@ -279,6 +341,8 @@ function wpm_maintenance_mode() {
279
  BackColor = "'.$paramMMode['color_cpt_bg'].'";
280
  FontSize = "'.$paramMMode['date_cpt_size'].'";
281
  ForeColor = "'.$paramMMode['color_cpt'].'";
 
 
282
  CountActive = true;
283
  CountStepper = -1;
284
  LeadingZero = true;
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 / The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture and countdown.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
+ Version: 1.0
10
  */
11
 
12
 
13
  /*
14
  Change Log
15
+ 31/12/2013 - Ajout des couleurs des liens et d'options supplémentaires
16
  24/12/2013 - Bugs ajout de lien dans les textes
17
  06/11/2013 - Bugs sur le compte à rebours
18
  03/10/2013 - Bugs sur les couleurs
52
  load_plugin_textdomain('wp-maintenance', false, dirname( plugin_basename( __FILE__ ) ).'/languages');
53
  }
54
 
55
+ /* Ajoute la version dans les options */
56
+ define('WPM_VERSION', '1.0');
57
  $option['wp_maintenance_version'] = WPM_VERSION;
58
+ if( !get_option('wp_maintenance_version') ) {
59
+ add_option('wp_maintenance_version', $option);
60
+ } else if ( get_option('wp_maintenance_version') != WPM_VERSION ) {
61
+ update_option('wp_maintenance_version', WPM_VERSION);
62
+ }
63
 
64
  //récupère le formulaire d'administration du plugin
65
  function wpm_admin_panel() {
66
  include("wp-maintenance-admin.php");
67
  }
68
 
69
+ function wpm_get_roles() {
70
+
71
+ $wp_roles = new WP_Roles();
72
+ $roles = $wp_roles->get_names();
73
+ $roles = array_map( 'translate_user_role', $roles );
74
+
75
+ return $roles;
76
+ }
77
+
78
  function wpm_add_admin() {
79
  $hook = add_options_page("Options pour l'affichage de la page maintenance", "WP Maintenance", 10, __FILE__, "wpm_admin_panel");
80
 
81
+ $wp_maintenanceAdminOptions = array(
 
82
  'color_bg' => "#f1f1f1",
83
  'color_txt' => '#888888',
84
  'text_maintenance' => __('This site is down for maintenance', 'wp-maintenance'),
85
+ 'userlimit' => 'administrator',
86
  'image' => WP_PLUGIN_URL.'/wp-maintenance/default.png',
87
+ );
88
+ $getMaintenanceSettings = get_option('wp_maintenance_settings');
89
+ if (!empty($getMaintenanceSettings)) {
90
  foreach ($getMaintenanceSettings as $key => $option) {
91
  $wp_maintenanceAdminOptions[$key] = $option;
92
  }
93
+ }
94
+ update_option('wp_maintenance_settings', $wp_maintenanceAdminOptions);
95
+ if(!get_option('wp_maintenance_active')) { update_option('wp_maintenance_active', 0); }
96
+
97
  $wp_maintenanceStyles = '
98
  h1 {
99
  margin-left:auto;
144
  text-align: center;
145
  }
146
 
147
+ a:link {color: #_COLORTXT;text-decoration: underline;}
148
+ a:visited {color: #_COLORTXT;text-decoration: underline;}
149
+ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
150
+
151
+
152
  #maintenance {
153
  text-align:center;
154
  margin-top:25px;
215
  add_action('admin_print_scripts', 'wpm_admin_scripts');
216
  }
217
 
218
+ function wpm_change_active($value = 0) {
219
+ if($value>=0) {
220
+ update_option('wp_maintenance_active', $value);
221
+ }
222
+ }
223
+
224
  /* Mode Mainteance */
225
  function wpm_maintenance_mode() {
226
 
228
 
229
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
230
  $paramMMode = get_option('wp_maintenance_settings');
231
+ if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
232
+ $paramLimit = get_option('wp_maintenance_limit');
233
+ $statusActive = get_option('wp_maintenance_active');
234
 
235
  get_currentuserinfo();
 
236
 
237
+ if(!$paramMMode['active']) { $paramMMode['active'] = 0 ; }
238
+ if(!$statusActive) { update_option('wp_maintenance_active', $paramMMode['active']); }
239
+
240
+ /* Désactive pour les Roles */
241
+ if($paramLimit) {
242
+ foreach($paramLimit as $limitrole) {
243
+ if( current_user_can($limitrole) == true ) {
244
+ $statusActive = 0;
245
+ }
246
+ }
247
+ }
248
+ if( current_user_can('administrator') == true ) {
249
+ $statusActive = 0;
250
+ }
251
+
252
+ /* Si on désactive le mode maintenance en fin de compte à rebours */
253
+ if($paramMMode['disable']==1 && $statusActive == 1) {
254
+ //date_default_timezone_set('Europe/Madrid'); #TODO A GARDER ?
255
+ $dateNow = date("d-m-Y H:i:s");
256
+ $dateFinCpt = $paramMMode['date_cpt_jj'].'-'.$paramMMode['date_cpt_mm'].'-'.$paramMMode['date_cpt_aa'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn'].':'.$paramMMode['date_cpt_ss'];
257
+ if( $dateNow > $dateFinCpt ) {
258
+ $ChangeStatus = wpm_change_active();
259
+ $statusActive = 0;
260
+ $paramMMode['disable'] = 0;
261
+
262
+ $wpm_options = array(
263
+ 'active_cpt' => 0,
264
+ 'disable' => 0,
265
+ );
266
+ update_option('wp_maintenance_settings', $wpm_options);
267
+ }
268
+ }
269
+ //exit($dateNow.' > '.$dateFinCpt);
270
+
271
+ if ($statusActive == 1) {
272
 
273
  $urlTpl = get_stylesheet_directory();
274
 
286
  if($paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
287
  if($paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
288
 
289
+ /* Paramètres par défaut */
290
  if($paramMMode['text_maintenance']=="") { $paramMMode['text_maintenance'] = 'Ce site est en maintenance'; }
291
+ if($paramMMode['image']=="") { $paramMMode['image'] = WP_PLUGIN_URL.'/wp-maintenance/default.png'; }
292
+
293
+ // On récupère les tailles de l'image
294
+ list($width, $height, $type, $attr) = getimagesize($paramMMode['image']);
295
 
296
  /* Date compte à rebours / Convertie en format US */
297
  $timestamp = strtotime($paramMMode['date_cpt_aa'].'/'.$paramMMode['date_cpt_mm'].'/'.$paramMMode['date_cpt_jj'].' '.$paramMMode['date_cpt_hh'].':'.$paramMMode['date_cpt_mn']);
307
  );
308
  $wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
309
  if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
310
+
311
  $content = '
312
  <!DOCTYPE html>
313
  <html lang="fr">
321
  </head>
322
  <body>
323
  <div id="wrapper">';
324
+ if($paramMMode['image']) {
325
+ $content .= '
 
326
  <div id="header" class="full">
327
+ <div id="logo"><img src="'.$paramMMode['image'].'" '.$attr.' /></div>
328
  </div>
329
+ ';
330
+ }
331
  $content .= '
332
  <div id="content" class="full">
333
  <div id="main">';
341
  BackColor = "'.$paramMMode['color_cpt_bg'].'";
342
  FontSize = "'.$paramMMode['date_cpt_size'].'";
343
  ForeColor = "'.$paramMMode['color_cpt'].'";
344
+ Disable = "'.$paramMMode['disable'].'";
345
+ UrlDisable = "'.get_option( 'siteurl').'";
346
  CountActive = true;
347
  CountStepper = -1;
348
  LeadingZero = true;
wpm-admin-settings.js CHANGED
File without changes
wpm-color-options.js CHANGED
File without changes
wpm-cpt-script.js CHANGED
@@ -29,7 +29,11 @@ function calcage(secs, num1, num2) {
29
 
30
  function CountBack(secs) {
31
  if (secs < 0) {
32
- document.getElementById("cntdwn").innerHTML = FinishMessage;
 
 
 
 
33
  return;
34
  }
35
  DisplayStr = DisplayFormat.replace(/%%D%%/g, calcage(secs,86400,100000));
@@ -64,6 +68,8 @@ if (typeof(CountStepper)!="number")
64
  CountStepper = -1;
65
  if (typeof(LeadingZero)=="undefined")
66
  LeadingZero = true;
 
 
67
 
68
 
69
  CountStepper = Math.ceil(CountStepper);
29
 
30
  function CountBack(secs) {
31
  if (secs < 0) {
32
+ if(Disable==1) {
33
+ document.location.replace(UrlDisable);
34
+ } else {
35
+ document.getElementById("cntdwn").innerHTML = FinishMessage;
36
+ }
37
  return;
38
  }
39
  DisplayStr = DisplayFormat.replace(/%%D%%/g, calcage(secs,86400,100000));
68
  CountStepper = -1;
69
  if (typeof(LeadingZero)=="undefined")
70
  LeadingZero = true;
71
+ if (typeof(Disable)=="undefined")
72
+ Disable = "";
73
 
74
 
75
  CountStepper = Math.ceil(CountStepper);
wpm-script.js CHANGED
File without changes