Version Description
Cette version est stable / This version is stable
=
Download this release
Release Info
Developer | Florent73 |
Plugin | WP Maintenance |
Version | 1.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.1
- bg_image.png +0 -0
- languages/wp-maintenance-fr_FR.mo +0 -0
- languages/wp-maintenance-fr_FR.po +149 -65
- languages/wp-maintenance.pot +144 -66
- readme.txt +7 -4
- socialicons/128x128/about_me.png +0 -0
- socialicons/128x128/facebook.png +0 -0
- socialicons/128x128/flickr.png +0 -0
- socialicons/128x128/google_plus.png +0 -0
- socialicons/128x128/instagram.png +0 -0
- socialicons/128x128/linkedin.png +0 -0
- socialicons/128x128/pinterest.png +0 -0
- socialicons/128x128/twitter.png +0 -0
- socialicons/128x128/vimeo.png +0 -0
- socialicons/128x128/youtube.png +0 -0
- socialicons/16x16/about_me.png +0 -0
- socialicons/16x16/facebook.png +0 -0
- socialicons/16x16/flickr.png +0 -0
- socialicons/16x16/google_plus.png +0 -0
- socialicons/16x16/instagram.png +0 -0
- socialicons/16x16/linkedin.png +0 -0
- socialicons/16x16/pinterest.png +0 -0
- socialicons/16x16/twitter.png +0 -0
- socialicons/16x16/vimeo.png +0 -0
- socialicons/16x16/youtube.png +0 -0
- socialicons/24x24/about_me.png +0 -0
- socialicons/24x24/facebook.png +0 -0
- socialicons/24x24/flickr.png +0 -0
- socialicons/24x24/google_plus.png +0 -0
- socialicons/24x24/instagram.png +0 -0
- socialicons/24x24/linkedin.png +0 -0
- socialicons/24x24/pinterest.png +0 -0
- socialicons/24x24/twitter.png +0 -0
- socialicons/24x24/vimeo.png +0 -0
- socialicons/24x24/youtube.png +0 -0
- socialicons/32x32/about_me.png +0 -0
- socialicons/32x32/facebook.png +0 -0
- socialicons/32x32/flickr.png +0 -0
- socialicons/32x32/google_plus.png +0 -0
- socialicons/32x32/instagram.png +0 -0
- socialicons/32x32/linkedin.png +0 -0
- socialicons/32x32/pinterest.png +0 -0
- socialicons/32x32/twitter.png +0 -0
- socialicons/32x32/vimeo.png +0 -0
- socialicons/32x32/youtube.png +0 -0
- socialicons/48x48/about_me.png +0 -0
- socialicons/48x48/facebook.png +0 -0
- socialicons/48x48/flickr.png +0 -0
- socialicons/48x48/google_plus.png +0 -0
- socialicons/48x48/instagram.png +0 -0
- socialicons/48x48/linkedin.png +0 -0
- socialicons/48x48/pinterest.png +0 -0
- socialicons/48x48/twitter.png +0 -0
- socialicons/48x48/vimeo.png +0 -0
- socialicons/48x48/youtube.png +0 -0
- socialicons/64x64/about_me.png +0 -0
- socialicons/64x64/facebook.png +0 -0
- socialicons/64x64/flickr.png +0 -0
- socialicons/64x64/google_plus.png +0 -0
- socialicons/64x64/instagram.png +0 -0
- socialicons/64x64/linkedin.png +0 -0
- socialicons/64x64/pinterest.png +0 -0
- socialicons/64x64/twitter.png +0 -0
- socialicons/64x64/vimeo.png +0 -0
- socialicons/64x64/youtube.png +0 -0
- uninstall.php +0 -0
- wp-maintenance-admin.php +147 -15
- wp-maintenance.php +143 -4
- wpm-admin-settings.js +0 -0
- wpm-color-options.js +0 -0
- wpm-cpt-script.js +0 -0
- wpm-script.js +11 -0
bg_image.png
ADDED
Binary file
|
languages/wp-maintenance-fr_FR.mo
CHANGED
Binary file
|
languages/wp-maintenance-fr_FR.po
CHANGED
@@ -1,159 +1,231 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n>1;\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-SearchPath-0: /
|
18 |
-
"
|
19 |
|
20 |
-
#: /
|
21 |
msgid "Options saved."
|
22 |
msgstr "Options sauvegardées."
|
23 |
|
24 |
-
#: /
|
25 |
msgid "General"
|
26 |
msgstr "Général"
|
27 |
|
28 |
-
#: /
|
29 |
msgid "Colors"
|
30 |
msgstr "Couleurs"
|
31 |
|
32 |
-
#: /
|
33 |
msgid "Picture"
|
34 |
msgstr "Image"
|
35 |
|
36 |
-
#: /
|
37 |
msgid "CountDown"
|
38 |
msgstr "Compte à rebours"
|
39 |
|
40 |
-
#: /
|
41 |
msgid "CSS Style"
|
42 |
msgstr "Style CSS"
|
43 |
|
44 |
-
#: /
|
45 |
-
#: /
|
46 |
msgid "Settings"
|
47 |
msgstr "Réglages"
|
48 |
|
49 |
-
#: /
|
50 |
msgid "About"
|
51 |
msgstr "A propos"
|
52 |
|
53 |
-
#: /
|
54 |
msgid "Enable maintenance mode :"
|
55 |
msgstr "Activer le mode maintenance :"
|
56 |
|
57 |
-
#: /
|
58 |
-
#: /
|
|
|
|
|
|
|
|
|
59 |
msgid "Yes"
|
60 |
msgstr "Oui"
|
61 |
|
62 |
-
#: /
|
63 |
-
#: /
|
64 |
msgid "No"
|
65 |
msgstr "Non"
|
66 |
|
67 |
-
#: /
|
68 |
msgid "Title and text for the maintenance page :"
|
69 |
msgstr "Titre et Texte de la page maintenance :"
|
70 |
|
71 |
-
#: /
|
72 |
msgid "Title :"
|
73 |
msgstr "Titre :"
|
74 |
|
75 |
-
#: /
|
76 |
msgid "Texte :"
|
77 |
msgstr "Texte :"
|
78 |
|
79 |
-
#: /
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
#: /
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
msgid "Save this settings"
|
86 |
msgstr "Sauvegarder ces paramètres"
|
87 |
|
88 |
-
#: /
|
89 |
msgid "Choice texts colors :"
|
90 |
msgstr "Choix des couleurs des textes :"
|
91 |
|
92 |
-
#: /
|
93 |
msgid "Background page color :"
|
94 |
msgstr "Couleur du fond de page :"
|
95 |
|
96 |
-
#: /
|
97 |
msgid "Text color :"
|
98 |
msgstr "Couleur du texte :"
|
99 |
|
100 |
-
#: /
|
101 |
msgid "Choice countdown colors :"
|
102 |
msgstr "Choix des couleurs du compte à rebours :"
|
103 |
|
104 |
-
#: /
|
105 |
msgid "Countdown text color :"
|
106 |
msgstr "Couleur du texte du compteur :"
|
107 |
|
108 |
-
#: /
|
109 |
msgid "Countdown background color :"
|
110 |
msgstr "Couleur du fond du compteur :"
|
111 |
|
112 |
-
#: /
|
113 |
msgid "Upload a picture"
|
114 |
msgstr "Uploader une image"
|
115 |
|
116 |
-
#: /
|
117 |
msgid "You use this picture :"
|
118 |
msgstr "Image actuelle : "
|
119 |
|
120 |
-
#: /
|
|
|
121 |
msgid "Select or Upload your picture"
|
122 |
msgstr "Sélectionnez / Uploader votre image"
|
123 |
|
124 |
-
#: /
|
|
|
125 |
msgid "Enter a URL or upload an image."
|
126 |
msgstr "Entrez une url ou uploader une image."
|
127 |
|
128 |
-
#: /
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
msgid "Enable a countdown ?"
|
130 |
msgstr "Activer le compte à rebours ?"
|
131 |
|
132 |
-
#: /
|
133 |
msgid "Enter the launch date"
|
134 |
msgstr "Entrez la date de lancement"
|
135 |
|
136 |
-
#: /
|
137 |
msgid "Enable seconds ?"
|
138 |
msgstr "Afficher les secondes ?"
|
139 |
|
140 |
-
#: /
|
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 |
-
#: /
|
145 |
msgid "End message :"
|
146 |
msgstr "Message de fin :"
|
147 |
|
148 |
-
#: /
|
149 |
msgid "Font size :"
|
150 |
msgstr "Taille de la police :"
|
151 |
|
152 |
-
#: /
|
153 |
msgid "CSS style sheet code :"
|
154 |
msgstr "Code style CSS :"
|
155 |
|
156 |
-
#: /
|
157 |
msgid ""
|
158 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
159 |
"\" to retrieve the default style sheet."
|
@@ -161,54 +233,66 @@ msgstr ""
|
|
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 |
-
#: /
|
165 |
msgid "Markers for colors"
|
166 |
msgstr "Marqueurs pour les couleurs"
|
167 |
|
168 |
-
#: /
|
169 |
msgid "Use this code for text color"
|
170 |
msgstr "Utiliser ce code pour la couleur du texte"
|
171 |
|
172 |
-
#: /
|
173 |
msgid "Use this code for background text color"
|
174 |
msgstr "Utiliser ce code pour la couleur de fond du texte"
|
175 |
|
176 |
-
#: /
|
177 |
msgid "Use this code for background color countdown"
|
178 |
msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
|
179 |
|
180 |
-
#: /
|
181 |
msgid "Use this code for size countdown"
|
182 |
msgstr "Utiliser ce code pour la taille du compte à rebours"
|
183 |
|
184 |
-
#: /
|
185 |
msgid "Use this code for countdown color"
|
186 |
msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
|
187 |
|
188 |
-
#: /
|
189 |
msgid "Reset default CSS stylesheet ?"
|
190 |
msgstr "Réinitialiser la feuille de style ?"
|
191 |
|
192 |
-
#: /
|
193 |
msgid "Theme maintenance page :"
|
194 |
msgstr "Page maintenance du thème :"
|
195 |
|
196 |
-
#: /
|
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 |
-
#: /
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
msgid "Roles and Capabilities:"
|
205 |
msgstr "Rôles et capacités :"
|
206 |
|
207 |
-
#: /
|
208 |
msgid "Allow the site to display these roles:"
|
209 |
msgstr "Autoriser l'affichage du site à ces rôles :"
|
210 |
|
211 |
-
#: /
|
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,30 +307,30 @@ msgstr ""
|
|
223 |
"retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
|
224 |
"tous."
|
225 |
|
226 |
-
#: /
|
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 |
-
#: /
|
233 |
-
#: /
|
234 |
msgid "This site is down for maintenance"
|
235 |
msgstr "Ce site est en maintenance"
|
236 |
|
237 |
-
#: /
|
238 |
msgid "Days"
|
239 |
msgstr "Jours"
|
240 |
|
241 |
-
#: /
|
242 |
msgid "Hours"
|
243 |
msgstr "Heures"
|
244 |
|
245 |
-
#: /
|
246 |
msgid "Minutes"
|
247 |
msgstr "Minutes"
|
248 |
|
249 |
-
#: /
|
250 |
msgid "Seconds"
|
251 |
msgstr "Secondes"
|
252 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-04-30 16:53+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-04-30 16:54+0100\n"
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
"Language: fr\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.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/test.local.sites.fr/www/wp-content/"
|
18 |
+
"plugins/wp-maintenance\n"
|
19 |
|
20 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:16
|
21 |
msgid "Options saved."
|
22 |
msgstr "Options sauvegardées."
|
23 |
|
24 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:171
|
25 |
msgid "General"
|
26 |
msgstr "Général"
|
27 |
|
28 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:172
|
29 |
msgid "Colors"
|
30 |
msgstr "Couleurs"
|
31 |
|
32 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:173
|
33 |
msgid "Picture"
|
34 |
msgstr "Image"
|
35 |
|
36 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:174
|
37 |
msgid "CountDown"
|
38 |
msgstr "Compte à rebours"
|
39 |
|
40 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:175
|
41 |
msgid "CSS Style"
|
42 |
msgstr "Style CSS"
|
43 |
|
44 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:176
|
45 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:44
|
46 |
msgid "Settings"
|
47 |
msgstr "Réglages"
|
48 |
|
49 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:177
|
50 |
msgid "About"
|
51 |
msgstr "A propos"
|
52 |
|
53 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:191
|
54 |
msgid "Enable maintenance mode :"
|
55 |
msgstr "Activer le mode maintenance :"
|
56 |
|
57 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:192
|
58 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:204
|
59 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:214
|
60 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:254
|
61 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:344
|
62 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:466
|
63 |
msgid "Yes"
|
64 |
msgstr "Oui"
|
65 |
|
66 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:193
|
67 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:467
|
68 |
msgid "No"
|
69 |
msgstr "Non"
|
70 |
|
71 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:197
|
72 |
msgid "Title and text for the maintenance page :"
|
73 |
msgstr "Titre et Texte de la page maintenance :"
|
74 |
|
75 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:198
|
76 |
msgid "Title :"
|
77 |
msgstr "Titre :"
|
78 |
|
79 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:199
|
80 |
msgid "Texte :"
|
81 |
msgstr "Texte :"
|
82 |
|
83 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:203
|
84 |
+
msgid "Enable Google Analytics:"
|
85 |
+
msgstr "Activer Google Analytics :"
|
86 |
+
|
87 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:205
|
88 |
+
msgid "Enter your Google analytics tracking ID here:"
|
89 |
+
msgstr "Enter votre ID de suivi de Google Analytics ici :"
|
90 |
+
|
91 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:207
|
92 |
+
msgid "Enter your domain URL:"
|
93 |
+
msgstr "Entrer votre domain :"
|
94 |
+
|
95 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:213
|
96 |
+
msgid "Enable Social Networks:"
|
97 |
+
msgstr "Activer les icons des réseaux sociaux :"
|
98 |
+
|
99 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:215
|
100 |
+
msgid "Enter text for the title icons:"
|
101 |
+
msgstr "Entrez un texte pour la balise title des icons :"
|
102 |
+
|
103 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:216
|
104 |
+
msgid "Follow me on"
|
105 |
+
msgstr "Suivez-moi sur"
|
106 |
+
|
107 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:218
|
108 |
+
msgid "Drad and drop the lines to put in the order you want:"
|
109 |
+
msgstr ""
|
110 |
+
"Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
|
111 |
+
|
112 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:238
|
113 |
+
msgid "Choose icons size:"
|
114 |
+
msgstr "Choisissez la taille des icons :"
|
115 |
+
|
116 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:247
|
117 |
+
msgid "You have your own icons? Enter the folder name of your theme here:"
|
118 |
+
msgstr ""
|
119 |
+
"Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
|
120 |
+
|
121 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:253
|
122 |
+
msgid "Enable Newletter:"
|
123 |
+
msgstr "Activer l'encart de newletter :"
|
124 |
+
|
125 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:255
|
126 |
+
msgid "Enter your newletter shortcode here:"
|
127 |
+
msgstr "Entrez le Shortcode de la newletter ici :"
|
128 |
+
|
129 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:261
|
130 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:287
|
131 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:330
|
132 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:396
|
133 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:452
|
134 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:490
|
135 |
msgid "Save this settings"
|
136 |
msgstr "Sauvegarder ces paramètres"
|
137 |
|
138 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:274
|
139 |
msgid "Choice texts colors :"
|
140 |
msgstr "Choix des couleurs des textes :"
|
141 |
|
142 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:276
|
143 |
msgid "Background page color :"
|
144 |
msgstr "Couleur du fond de page :"
|
145 |
|
146 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:277
|
147 |
msgid "Text color :"
|
148 |
msgstr "Couleur du texte :"
|
149 |
|
150 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:278
|
151 |
msgid "Choice countdown colors :"
|
152 |
msgstr "Choix des couleurs du compte à rebours :"
|
153 |
|
154 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:279
|
155 |
msgid "Countdown text color :"
|
156 |
msgstr "Couleur du texte du compteur :"
|
157 |
|
158 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:281
|
159 |
msgid "Countdown background color :"
|
160 |
msgstr "Couleur du fond du compteur :"
|
161 |
|
162 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:299
|
163 |
msgid "Upload a picture"
|
164 |
msgstr "Uploader une image"
|
165 |
|
166 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:301
|
167 |
msgid "You use this picture :"
|
168 |
msgstr "Image actuelle : "
|
169 |
|
170 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:303
|
171 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:314
|
172 |
msgid "Select or Upload your picture"
|
173 |
msgstr "Sélectionnez / Uploader votre image"
|
174 |
|
175 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:304
|
176 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:315
|
177 |
msgid "Enter a URL or upload an image."
|
178 |
msgstr "Entrez une url ou uploader une image."
|
179 |
|
180 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:309
|
181 |
+
msgid "Upload a background picture"
|
182 |
+
msgstr "Uploader une image de fond"
|
183 |
+
|
184 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:310
|
185 |
+
msgid "Enable image background"
|
186 |
+
msgstr "Activer l'image de fond"
|
187 |
+
|
188 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:312
|
189 |
+
msgid "You use this background picture :"
|
190 |
+
msgstr "Image de fond actuelle : "
|
191 |
+
|
192 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
|
193 |
+
msgid "Background picture options"
|
194 |
+
msgstr "Options de l'image de fond"
|
195 |
+
|
196 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:325
|
197 |
+
msgid "Fixed"
|
198 |
+
msgstr "Fixe"
|
199 |
+
|
200 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:343
|
201 |
msgid "Enable a countdown ?"
|
202 |
msgstr "Activer le compte à rebours ?"
|
203 |
|
204 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:345
|
205 |
msgid "Enter the launch date"
|
206 |
msgstr "Entrez la date de lancement"
|
207 |
|
208 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:378
|
209 |
msgid "Enable seconds ?"
|
210 |
msgstr "Afficher les secondes ?"
|
211 |
|
212 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:379
|
213 |
msgid "Disable maintenance mode at the end of the countdown?"
|
214 |
msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
|
215 |
|
216 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:380
|
217 |
msgid "End message :"
|
218 |
msgstr "Message de fin :"
|
219 |
|
220 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:380
|
221 |
msgid "Font size :"
|
222 |
msgstr "Taille de la police :"
|
223 |
|
224 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:408
|
225 |
msgid "CSS style sheet code :"
|
226 |
msgstr "Code style CSS :"
|
227 |
|
228 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:409
|
229 |
msgid ""
|
230 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
231 |
"\" to retrieve the default style sheet."
|
233 |
"Editer le code CSS de votre page de maintenance ici. Cliquez sur "
|
234 |
"\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
|
235 |
|
236 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:417
|
237 |
msgid "Markers for colors"
|
238 |
msgstr "Marqueurs pour les couleurs"
|
239 |
|
240 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:422
|
241 |
msgid "Use this code for text color"
|
242 |
msgstr "Utiliser ce code pour la couleur du texte"
|
243 |
|
244 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:426
|
245 |
msgid "Use this code for background text color"
|
246 |
msgstr "Utiliser ce code pour la couleur de fond du texte"
|
247 |
|
248 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:430
|
249 |
msgid "Use this code for background color countdown"
|
250 |
msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
|
251 |
|
252 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:434
|
253 |
msgid "Use this code for size countdown"
|
254 |
msgstr "Utiliser ce code pour la taille du compte à rebours"
|
255 |
|
256 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:438
|
257 |
msgid "Use this code for countdown color"
|
258 |
msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
|
259 |
|
260 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:447
|
261 |
msgid "Reset default CSS stylesheet ?"
|
262 |
msgstr "Réinitialiser la feuille de style ?"
|
263 |
|
264 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:464
|
265 |
msgid "Theme maintenance page :"
|
266 |
msgstr "Page maintenance du thème :"
|
267 |
|
268 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:465
|
269 |
msgid ""
|
270 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
271 |
msgstr ""
|
272 |
"Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
|
273 |
"votre thème, cliquez sur Oui."
|
274 |
|
275 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:468
|
276 |
+
msgid "You can use this shortcode to include Google Analytics code:"
|
277 |
+
msgstr ""
|
278 |
+
"Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
|
279 |
+
"votre page :"
|
280 |
+
|
281 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:468
|
282 |
+
msgid "You can use this shortcode to include Social Networks icons:"
|
283 |
+
msgstr ""
|
284 |
+
"Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
|
285 |
+
"sur votre page :"
|
286 |
+
|
287 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:472
|
288 |
msgid "Roles and Capabilities:"
|
289 |
msgstr "Rôles et capacités :"
|
290 |
|
291 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:473
|
292 |
msgid "Allow the site to display these roles:"
|
293 |
msgstr "Autoriser l'affichage du site à ces rôles :"
|
294 |
|
295 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:506
|
296 |
msgid ""
|
297 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
298 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
307 |
"retours sur vos éventuelles modifications afin d'améliorer ce plugin pour "
|
308 |
"tous."
|
309 |
|
310 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:511
|
311 |
msgid ""
|
312 |
"If you want Donate (French Paypal) for my current and future developments:"
|
313 |
msgstr ""
|
314 |
"Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
|
315 |
|
316 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:84
|
317 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:416
|
318 |
msgid "This site is down for maintenance"
|
319 |
msgstr "Ce site est en maintenance"
|
320 |
|
321 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
322 |
msgid "Days"
|
323 |
msgstr "Jours"
|
324 |
|
325 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
326 |
msgid "Hours"
|
327 |
msgstr "Heures"
|
328 |
|
329 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
330 |
msgid "Minutes"
|
331 |
msgstr "Minutes"
|
332 |
|
333 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:474
|
334 |
msgid "Seconds"
|
335 |
msgstr "Secondes"
|
336 |
|
languages/wp-maintenance.pot
CHANGED
@@ -1,210 +1,288 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Florent <contact@restezconnectes.fr>\n"
|
7 |
"Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
|
8 |
-
"Language:
|
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.
|
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: /
|
18 |
-
"
|
19 |
|
20 |
-
#: /
|
21 |
msgid "Options saved."
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: /
|
25 |
msgid "General"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: /
|
29 |
msgid "Colors"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: /
|
33 |
msgid "Picture"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: /
|
37 |
msgid "CountDown"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: /
|
41 |
msgid "CSS Style"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: /
|
45 |
-
#: /
|
46 |
msgid "Settings"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: /
|
50 |
msgid "About"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: /
|
54 |
msgid "Enable maintenance mode :"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: /
|
58 |
-
#: /
|
|
|
|
|
|
|
|
|
59 |
msgid "Yes"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: /
|
63 |
-
#: /
|
64 |
msgid "No"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: /
|
68 |
msgid "Title and text for the maintenance page :"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: /
|
72 |
msgid "Title :"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: /
|
76 |
msgid "Texte :"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: /
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
#: /
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
msgid "Save this settings"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: /
|
89 |
msgid "Choice texts colors :"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: /
|
93 |
msgid "Background page color :"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: /
|
97 |
msgid "Text color :"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: /
|
101 |
msgid "Choice countdown colors :"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: /
|
105 |
msgid "Countdown text color :"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: /
|
109 |
msgid "Countdown background color :"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: /
|
113 |
msgid "Upload a picture"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: /
|
117 |
msgid "You use this picture :"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: /
|
|
|
121 |
msgid "Select or Upload your picture"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: /
|
|
|
125 |
msgid "Enter a URL or upload an image."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: /
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
msgid "Enable a countdown ?"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: /
|
133 |
msgid "Enter the launch date"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: /
|
137 |
msgid "Enable seconds ?"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: /
|
141 |
msgid "Disable maintenance mode at the end of the countdown?"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: /
|
145 |
msgid "End message :"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: /
|
149 |
msgid "Font size :"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: /
|
153 |
msgid "CSS style sheet code :"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: /
|
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 |
-
#: /
|
163 |
msgid "Markers for colors"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: /
|
167 |
msgid "Use this code for text color"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: /
|
171 |
msgid "Use this code for background text color"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: /
|
175 |
msgid "Use this code for background color countdown"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: /
|
179 |
msgid "Use this code for size countdown"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: /
|
183 |
msgid "Use this code for countdown color"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: /
|
187 |
msgid "Reset default CSS stylesheet ?"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: /
|
191 |
msgid "Theme maintenance page :"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: /
|
195 |
msgid ""
|
196 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: /
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
msgid "Roles and Capabilities:"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: /
|
204 |
msgid "Allow the site to display these roles:"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: /
|
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,28 +291,28 @@ msgid ""
|
|
213 |
"changes to improve this plugin for all."
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: /
|
217 |
msgid ""
|
218 |
"If you want Donate (French Paypal) for my current and future developments:"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: /
|
222 |
-
#: /
|
223 |
msgid "This site is down for maintenance"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: /
|
227 |
msgid "Days"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: /
|
231 |
msgid "Hours"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: /
|
235 |
msgid "Minutes"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: /
|
239 |
msgid "Seconds"
|
240 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WP Maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-04-30 16:53+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-04-30 16:53+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.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/test.local.sites.fr/www/wp-content/"
|
18 |
+
"plugins/wp-maintenance\n"
|
19 |
|
20 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:16
|
21 |
msgid "Options saved."
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:171
|
25 |
msgid "General"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:172
|
29 |
msgid "Colors"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:173
|
33 |
msgid "Picture"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:174
|
37 |
msgid "CountDown"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:175
|
41 |
msgid "CSS Style"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:176
|
45 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:44
|
46 |
msgid "Settings"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:177
|
50 |
msgid "About"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:191
|
54 |
msgid "Enable maintenance mode :"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:192
|
58 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:204
|
59 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:214
|
60 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:254
|
61 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:344
|
62 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:466
|
63 |
msgid "Yes"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:193
|
67 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:467
|
68 |
msgid "No"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:197
|
72 |
msgid "Title and text for the maintenance page :"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:198
|
76 |
msgid "Title :"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:199
|
80 |
msgid "Texte :"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:203
|
84 |
+
msgid "Enable Google Analytics:"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:205
|
88 |
+
msgid "Enter your Google analytics tracking ID here:"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:207
|
92 |
+
msgid "Enter your domain URL:"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:213
|
96 |
+
msgid "Enable Social Networks:"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:215
|
100 |
+
msgid "Enter text for the title icons:"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:216
|
104 |
+
msgid "Follow me on"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:218
|
108 |
+
msgid "Drad and drop the lines to put in the order you want:"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:238
|
112 |
+
msgid "Choose icons size:"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:247
|
116 |
+
msgid "You have your own icons? Enter the folder name of your theme here:"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:253
|
120 |
+
msgid "Enable Newletter:"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:255
|
124 |
+
msgid "Enter your newletter shortcode here:"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:261
|
128 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:287
|
129 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:330
|
130 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:396
|
131 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:452
|
132 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:490
|
133 |
msgid "Save this settings"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:274
|
137 |
msgid "Choice texts colors :"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:276
|
141 |
msgid "Background page color :"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:277
|
145 |
msgid "Text color :"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:278
|
149 |
msgid "Choice countdown colors :"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:279
|
153 |
msgid "Countdown text color :"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:281
|
157 |
msgid "Countdown background color :"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:299
|
161 |
msgid "Upload a picture"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:301
|
165 |
msgid "You use this picture :"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:303
|
169 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:314
|
170 |
msgid "Select or Upload your picture"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:304
|
174 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:315
|
175 |
msgid "Enter a URL or upload an image."
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:309
|
179 |
+
msgid "Upload a background picture"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:310
|
183 |
+
msgid "Enable image background"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:312
|
187 |
+
msgid "You use this background picture :"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:318
|
191 |
+
msgid "Background picture options"
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:325
|
195 |
+
msgid "Fixed"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:343
|
199 |
msgid "Enable a countdown ?"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:345
|
203 |
msgid "Enter the launch date"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:378
|
207 |
msgid "Enable seconds ?"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:379
|
211 |
msgid "Disable maintenance mode at the end of the countdown?"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:380
|
215 |
msgid "End message :"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:380
|
219 |
msgid "Font size :"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:408
|
223 |
msgid "CSS style sheet code :"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:409
|
227 |
msgid ""
|
228 |
"Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
|
229 |
"\" to retrieve the default style sheet."
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:417
|
233 |
msgid "Markers for colors"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:422
|
237 |
msgid "Use this code for text color"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:426
|
241 |
msgid "Use this code for background text color"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:430
|
245 |
msgid "Use this code for background color countdown"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:434
|
249 |
msgid "Use this code for size countdown"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:438
|
253 |
msgid "Use this code for countdown color"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:447
|
257 |
msgid "Reset default CSS stylesheet ?"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:464
|
261 |
msgid "Theme maintenance page :"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:465
|
265 |
msgid ""
|
266 |
"If you would use your maintenance.php page in your theme folder, click Yes."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:468
|
270 |
+
msgid "You can use this shortcode to include Google Analytics code:"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:468
|
274 |
+
msgid "You can use this shortcode to include Social Networks icons:"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:472
|
278 |
msgid "Roles and Capabilities:"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:473
|
282 |
msgid "Allow the site to display these roles:"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:506
|
286 |
msgid ""
|
287 |
"This plugin has been developed for you for free by <a href=\"http://www."
|
288 |
"restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</ a>. It is "
|
291 |
"changes to improve this plugin for all."
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance-admin.php:511
|
295 |
msgid ""
|
296 |
"If you want Donate (French Paypal) for my current and future developments:"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:84
|
300 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:416
|
301 |
msgid "This site is down for maintenance"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
305 |
msgid "Days"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
309 |
msgid "Hours"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:472
|
313 |
msgid "Minutes"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: c:/wamp/www/test.local.sites.fr/www/wp-content/plugins/wp-maintenance/wp-maintenance.php:474
|
317 |
msgid "Seconds"
|
318 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: Florent73
|
3 |
Donate link:
|
4 |
Tags: wordpress maintenance plugin
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -49,12 +49,15 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
|
|
49 |
|
50 |
== Upgrade Notice ==
|
51 |
|
52 |
-
= 1.
|
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 |
|
2 |
Contributors: Florent73
|
3 |
Donate link:
|
4 |
Tags: wordpress maintenance plugin
|
5 |
+
Requires at least: 3.0
|
6 |
+
Tested up to: 3.9
|
7 |
+
Stable tag: 1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
49 |
|
50 |
== Upgrade Notice ==
|
51 |
|
52 |
+
= 1.1 =
|
53 |
Cette version est stable / This version is stable
|
54 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 1.1 =
|
59 |
+
* Ajout icones réseaux sociaux, code analytics, shorcodes newletter et image de fond / Adding icons social networks, analytics code, shorcodes newletter and background picture
|
60 |
+
|
61 |
= 1.0 =
|
62 |
* 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
|
63 |
|
socialicons/128x128/about_me.png
ADDED
Binary file
|
socialicons/128x128/facebook.png
ADDED
Binary file
|
socialicons/128x128/flickr.png
ADDED
Binary file
|
socialicons/128x128/google_plus.png
ADDED
Binary file
|
socialicons/128x128/instagram.png
ADDED
Binary file
|
socialicons/128x128/linkedin.png
ADDED
Binary file
|
socialicons/128x128/pinterest.png
ADDED
Binary file
|
socialicons/128x128/twitter.png
ADDED
Binary file
|
socialicons/128x128/vimeo.png
ADDED
Binary file
|
socialicons/128x128/youtube.png
ADDED
Binary file
|
socialicons/16x16/about_me.png
ADDED
Binary file
|
socialicons/16x16/facebook.png
ADDED
Binary file
|
socialicons/16x16/flickr.png
ADDED
Binary file
|
socialicons/16x16/google_plus.png
ADDED
Binary file
|
socialicons/16x16/instagram.png
ADDED
Binary file
|
socialicons/16x16/linkedin.png
ADDED
Binary file
|
socialicons/16x16/pinterest.png
ADDED
Binary file
|
socialicons/16x16/twitter.png
ADDED
Binary file
|
socialicons/16x16/vimeo.png
ADDED
Binary file
|
socialicons/16x16/youtube.png
ADDED
Binary file
|
socialicons/24x24/about_me.png
ADDED
Binary file
|
socialicons/24x24/facebook.png
ADDED
Binary file
|
socialicons/24x24/flickr.png
ADDED
Binary file
|
socialicons/24x24/google_plus.png
ADDED
Binary file
|
socialicons/24x24/instagram.png
ADDED
Binary file
|
socialicons/24x24/linkedin.png
ADDED
Binary file
|
socialicons/24x24/pinterest.png
ADDED
Binary file
|
socialicons/24x24/twitter.png
ADDED
Binary file
|
socialicons/24x24/vimeo.png
ADDED
Binary file
|
socialicons/24x24/youtube.png
ADDED
Binary file
|
socialicons/32x32/about_me.png
ADDED
Binary file
|
socialicons/32x32/facebook.png
ADDED
Binary file
|
socialicons/32x32/flickr.png
ADDED
Binary file
|
socialicons/32x32/google_plus.png
ADDED
Binary file
|
socialicons/32x32/instagram.png
ADDED
Binary file
|
socialicons/32x32/linkedin.png
ADDED
Binary file
|
socialicons/32x32/pinterest.png
ADDED
Binary file
|
socialicons/32x32/twitter.png
ADDED
Binary file
|
socialicons/32x32/vimeo.png
ADDED
Binary file
|
socialicons/32x32/youtube.png
ADDED
Binary file
|
socialicons/48x48/about_me.png
ADDED
Binary file
|
socialicons/48x48/facebook.png
ADDED
Binary file
|
socialicons/48x48/flickr.png
ADDED
Binary file
|
socialicons/48x48/google_plus.png
ADDED
Binary file
|
socialicons/48x48/instagram.png
ADDED
Binary file
|
socialicons/48x48/linkedin.png
ADDED
Binary file
|
socialicons/48x48/pinterest.png
ADDED
Binary file
|
socialicons/48x48/twitter.png
ADDED
Binary file
|
socialicons/48x48/vimeo.png
ADDED
Binary file
|
socialicons/48x48/youtube.png
ADDED
Binary file
|
socialicons/64x64/about_me.png
ADDED
Binary file
|
socialicons/64x64/facebook.png
ADDED
Binary file
|
socialicons/64x64/flickr.png
ADDED
Binary file
|
socialicons/64x64/google_plus.png
ADDED
Binary file
|
socialicons/64x64/instagram.png
ADDED
Binary file
|
socialicons/64x64/linkedin.png
ADDED
Binary file
|
socialicons/64x64/pinterest.png
ADDED
Binary file
|
socialicons/64x64/twitter.png
ADDED
Binary file
|
socialicons/64x64/vimeo.png
ADDED
Binary file
|
socialicons/64x64/youtube.png
ADDED
Binary file
|
uninstall.php
CHANGED
File without changes
|
wp-maintenance-admin.php
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
3 |
|
4 |
/* Update des paramètres */
|
5 |
if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
|
@@ -7,6 +10,8 @@ if($_POST['action'] == 'update' && $_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,6 +19,7 @@ if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
|
|
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');
|
@@ -21,6 +27,11 @@ $paramLimit = get_option('wp_maintenance_limit');
|
|
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 = '
|
26 |
h1 {
|
@@ -111,6 +122,32 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
|
|
111 |
padding: 25px 5px 0 2px;
|
112 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
113 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
';
|
115 |
|
116 |
/* Si on réinitialise les feuille de styles */
|
@@ -121,6 +158,20 @@ if($_POST['wpm_initcss']==1) {
|
|
121 |
}
|
122 |
|
123 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
<style type="text/css">.postbox h3 { cursor:pointer; }</style>
|
125 |
<div class="wrap">
|
126 |
|
@@ -157,7 +208,64 @@ if($_POST['wpm_initcss']==1) {
|
|
157 |
<?php echo __('Title :', 'wp-maintenance'); ?><br /><input type="text" name="wp_maintenance_settings[titre_maintenance]" value="<?php echo stripslashes($paramMMode['titre_maintenance']); ?>" /><br />
|
158 |
<?php echo __('Texte :', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[text_maintenance]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['text_maintenance']); ?></TEXTAREA>
|
159 |
</li>
|
160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
<li>
|
163 |
<a href="#general" 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>
|
@@ -183,7 +291,7 @@ if($_POST['wpm_initcss']==1) {
|
|
183 |
<em><?php echo __('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" />
|
184 |
</div>
|
185 |
</li>
|
186 |
-
<li
|
187 |
|
188 |
<li>
|
189 |
<a href="#couleurs" 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>
|
@@ -205,11 +313,33 @@ if($_POST['wpm_initcss']==1) {
|
|
205 |
<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 echo __('Select or Upload your picture', 'wp-maintenance'); ?> </span></a>
|
206 |
<br /><small><?php echo __('Enter a URL or upload an image.', 'wp-maintenance'); ?></small>
|
207 |
</li>
|
208 |
-
<li
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
<li>
|
211 |
<a href="#image" 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>
|
212 |
</li>
|
|
|
213 |
</ul>
|
214 |
</div>
|
215 |
</div>
|
@@ -221,9 +351,9 @@ if($_POST['wpm_initcss']==1) {
|
|
221 |
<ul>
|
222 |
<!-- ACTIVER COMPTEUR -->
|
223 |
<li><h3><?php echo __('Enable a countdown ?', 'wp-maintenance'); ?></h3>
|
224 |
-
<input type= "checkbox" name="wp_maintenance_settings[active_cpt]" value="1" <?php if($paramMMode['active_cpt']==1) { echo ' checked'; } ?>>
|
225 |
<small><?php echo __('Enter the launch date', 'wp-maintenance'); ?></small><br /> <input type="text" name="wp_maintenance_settings[date_cpt_jj]" value="<?php if($paramMMode['date_cpt_jj']!='') { echo $paramMMode['date_cpt_jj']; } else { echo date('d'); } ?>" size="2" maxlength="2" autocomplete="off" />
|
226 |
-
<select name=wp_maintenance_settings[date_cpt_mm]">
|
227 |
<?php
|
228 |
$ctpDate = array(
|
229 |
'01'=> 'jan',
|
@@ -253,11 +383,11 @@ if($_POST['wpm_initcss']==1) {
|
|
253 |
</select>
|
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" /> à
|
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" /> h <input type="text" name="wp_maintenance_settings[date_cpt_mn]" value="<?php if($paramMMode['date_cpt_mn']!='') { echo $paramMMode['date_cpt_mn']; } else { echo date('i'); } ?>" size="2" maxlength="2" autocomplete="off" /> min
|
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'; } ?>> <?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'; } ?>> <?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');
|
263 |
foreach($ctpSize as $c) {
|
@@ -271,7 +401,7 @@ if($_POST['wpm_initcss']==1) {
|
|
271 |
?>
|
272 |
</select>
|
273 |
</li>
|
274 |
-
<li
|
275 |
<li>
|
276 |
<a href="#compte" 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>
|
277 |
</li>
|
@@ -326,7 +456,7 @@ if($_POST['wpm_initcss']==1) {
|
|
326 |
<li>
|
327 |
<input type= "checkbox" name="wpm_initcss" value="1" id="initcss" > <label for="wpm_initcss"><?php echo __('Reset default CSS stylesheet ?', 'wp-maintenance'); ?></label><br />
|
328 |
</li>
|
329 |
-
<li
|
330 |
|
331 |
<li>
|
332 |
<a href="#styles" 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>
|
@@ -344,9 +474,10 @@ if($_POST['wpm_initcss']==1) {
|
|
344 |
<li><h3><?php echo __('Theme maintenance page :', 'wp-maintenance'); ?></h3>
|
345 |
<?php echo __('If you would use your maintenance.php page in your theme folder, click Yes.', 'wp-maintenance'); ?> <br /><br />
|
346 |
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="1" <?php if($paramMMode['pageperso']==1) { echo ' checked'; } ?>> <?php echo __('Yes', 'wp-maintenance'); ?>
|
347 |
-
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="0" <?php if(!$paramMMode['pageperso'] or $paramMMode['pageperso']==0) { echo ' checked'; } ?>> <?php echo __('No', 'wp-maintenance');
|
|
|
348 |
</li>
|
349 |
-
<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'); ?> <br /><br />
|
@@ -363,11 +494,12 @@ if($_POST['wpm_initcss']==1) {
|
|
363 |
<input type="checkbox" name="wp_maintenance_limit[<?php echo $role; ?>]" value="<?php echo $role; ?>"<?php echo $limitCheck; ?> /><?php echo $name; ?>
|
364 |
<?php }//end foreach ?>
|
365 |
</li>
|
366 |
-
<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>
|
|
|
371 |
</ul>
|
372 |
</div>
|
373 |
</div>
|
@@ -383,7 +515,7 @@ if($_POST['wpm_initcss']==1) {
|
|
383 |
<li>
|
384 |
<?php echo __('This plugin has been developed for you for free by <a href="http://www.restezconnectes.fr" target="_blank">Florent Maillefaud</ a>. It is royalty free, you can take it, modify it, distribute it as you see fit. <br /> <br />It would be desirable that I can get feedback on your potential changes to improve this plugin for all.', 'wp-maintenance'); ?>
|
385 |
</li>
|
386 |
-
<li
|
387 |
<li>
|
388 |
<!-- FAIRE UN DON SUR PAYPAL -->
|
389 |
<div><?php echo __('If you want Donate (French Paypal) for my current and future developments:', 'wp-maintenance'); ?><br />
|
@@ -396,7 +528,7 @@ if($_POST['wpm_initcss']==1) {
|
|
396 |
</div>
|
397 |
<!-- FIN FAIRE UN DON -->
|
398 |
</li>
|
399 |
-
<li
|
400 |
</ul>
|
401 |
</div>
|
402 |
</div>
|
1 |
<?php
|
2 |
|
3 |
+
|
4 |
+
if(!defined('WPM_PLUGIN_URL')) { define('WPM_PLUGIN_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/'); }
|
5 |
+
if(!defined('WPM_ICONS_URL')) { define('WPM_ICONS_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'); }
|
6 |
|
7 |
/* Update des paramètres */
|
8 |
if($_POST['action'] == 'update' && $_POST["wp_maintenance_settings"]!='') {
|
10 |
update_option('wp_maintenance_style', $_POST["wp_maintenance_style"]);
|
11 |
update_option('wp_maintenance_limit', $_POST["wp_maintenance_limit"]);
|
12 |
update_option('wp_maintenance_active', $_POST["wp_maintenance_active"]);
|
13 |
+
update_option('wp_maintenance_social', $_POST["wp_maintenance_social"]);
|
14 |
+
update_option('wp_maintenance_social_options', $_POST["wp_maintenance_social_options"]);
|
15 |
$options_saved = true;
|
16 |
echo '<div id="message" class="updated fade"><p><strong>'.__('Options saved.', 'wp-maintenance').'</strong></p></div>';
|
17 |
}
|
19 |
// Récupère les paramètres sauvegardés
|
20 |
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
21 |
$paramMMode = get_option('wp_maintenance_settings');
|
22 |
+
|
23 |
// Récupère les Rôles et capabilités
|
24 |
if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
|
25 |
$paramLimit = get_option('wp_maintenance_limit');
|
27 |
// Récupère si le status est actif ou non
|
28 |
$statusActive = get_option('wp_maintenance_active');
|
29 |
|
30 |
+
// Récupère les Reseaux Sociaux
|
31 |
+
$paramSocial = get_option('wp_maintenance_social');
|
32 |
+
if(get_option('wp_maintenance_social_options')) { extract(get_option('wp_maintenance_social_options')); }
|
33 |
+
$paramSocialOption = get_option('wp_maintenance_social_options');
|
34 |
+
|
35 |
/* Feuille de style par défault */
|
36 |
$wpm_style_defaut = '
|
37 |
h1 {
|
122 |
padding: 25px 5px 0 2px;
|
123 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
124 |
}
|
125 |
+
.wpm_horizontal li {
|
126 |
+
display: inline-block;
|
127 |
+
list-style: none;
|
128 |
+
margin:5px;
|
129 |
+
opacity:0.6;
|
130 |
+
}
|
131 |
+
.wpm_horizontal li:hover {
|
132 |
+
opacity:1;
|
133 |
+
}
|
134 |
+
|
135 |
+
@media screen and (min-width: 200px) and (max-width: 480px) {
|
136 |
+
.full {
|
137 |
+
max-width:300px;
|
138 |
+
}
|
139 |
+
#header {
|
140 |
+
padding: 0;
|
141 |
+
}
|
142 |
+
#main {
|
143 |
+
padding: 0;
|
144 |
+
}
|
145 |
+
}
|
146 |
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
147 |
+
.full {
|
148 |
+
max-width:342px;
|
149 |
+
}
|
150 |
+
}
|
151 |
';
|
152 |
|
153 |
/* Si on réinitialise les feuille de styles */
|
158 |
}
|
159 |
|
160 |
?>
|
161 |
+
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
|
162 |
+
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
|
163 |
+
<style>
|
164 |
+
#sortable { list-style-type: none; margin: 0; padding: 0; width: 35%; }
|
165 |
+
#sortable li { padding: 0.4em; padding-left: 1.5em; height: 30px;cursor: pointer; cursor: hand; }
|
166 |
+
#sortable li span { position: absolute; margin-left: -1.3em; }
|
167 |
+
#sortable li:hover { background-color: #d2d2d2; }
|
168 |
+
</style>
|
169 |
+
<script>
|
170 |
+
$(function() {
|
171 |
+
$( "#sortable" ).sortable();
|
172 |
+
$( "#sortable" ).disableSelection();
|
173 |
+
});
|
174 |
+
</script>
|
175 |
<style type="text/css">.postbox h3 { cursor:pointer; }</style>
|
176 |
<div class="wrap">
|
177 |
|
208 |
<?php echo __('Title :', 'wp-maintenance'); ?><br /><input type="text" name="wp_maintenance_settings[titre_maintenance]" value="<?php echo stripslashes($paramMMode['titre_maintenance']); ?>" /><br />
|
209 |
<?php echo __('Texte :', 'wp-maintenance'); ?><br /><TEXTAREA NAME="wp_maintenance_settings[text_maintenance]" COLS=70 ROWS=4><?php echo stripslashes($paramMMode['text_maintenance']); ?></TEXTAREA>
|
210 |
</li>
|
211 |
+
|
212 |
+
<li>
|
213 |
+
<h3><?php echo __('Enable Google Analytics:', 'wp-maintenance'); ?></h3>
|
214 |
+
<input type= "checkbox" name="wp_maintenance_settings[analytics]" value="1" <?php if($paramMMode['analytics']==1) { echo ' checked'; } ?>><?php echo __('Yes', 'wp-maintenance'); ?><br /><br />
|
215 |
+
<?php echo __('Enter your Google analytics tracking ID here:', 'wp-maintenance'); ?><br />
|
216 |
+
<input type="text" name="wp_maintenance_settings[code_analytics]" value="<?php echo stripslashes(trim($paramMMode['code_analytics'])); ?>"><br />
|
217 |
+
<?php echo __('Enter your domain URL:', 'wp-maintenance'); ?><br />
|
218 |
+
<input type="text" name="wp_maintenance_settings[domain_analytics]" value="<?php if($paramMMode['domain_analytics']=='') { echo $_SERVER['SERVER_NAME']; } else { echo stripslashes(trim($paramMMode['domain_analytics'])); } ?>">
|
219 |
+
</li>
|
220 |
+
<li> </li>
|
221 |
+
|
222 |
+
<li>
|
223 |
+
<h3><?php echo __('Enable Social Networks:', 'wp-maintenance'); ?></h3>
|
224 |
+
<input type= "checkbox" name="wp_maintenance_social_options[enable]" value="1" <?php if($paramSocialOption['enable']==1) { echo ' checked'; } ?>><?php echo __('Yes', 'wp-maintenance'); ?><br /><br />
|
225 |
+
<?php echo __('Enter text for the title icons:', 'wp-maintenance'); ?>
|
226 |
+
<input type="text" name="wp_maintenance_social_options[texte]" value="<?php if($paramSocialOption['texte']=='') { echo __('Follow me on', 'wp-maintenance'); } else { echo stripslashes(trim($paramSocialOption['texte'])); } ?>" /><br /><br />
|
227 |
+
<!-- Liste des réseaux sociaux -->
|
228 |
+
<?php echo __('Drad and drop the lines to put in the order you want:', 'wp-maintenance'); ?><br /><br />
|
229 |
+
<?php
|
230 |
+
if($paramSocial) {
|
231 |
+
?>
|
232 |
+
<ul id="sortable">
|
233 |
+
<?php
|
234 |
+
foreach($paramSocial as $socialName=>$socialUrl) {
|
235 |
+
?>
|
236 |
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span><img src="<?php echo WPM_ICONS_URL; ?>24x24/<?php echo $socialName; ?>.png" align="left" hspace="3"/><?php echo ucfirst($socialName); ?> <input type= "text" name="wp_maintenance_social[<?php echo $socialName; ?>]" value="<?php echo $socialUrl; ?>" onclick="select()" /></li>
|
237 |
+
<?php } ?>
|
238 |
+
</ul>
|
239 |
+
<?php
|
240 |
+
} else {
|
241 |
+
$arr = array('facebook', 'twitter', 'linkedin', 'flickr', 'youtube', 'pinterest', 'vimeo', 'instagram', 'google_plus', 'about_me');
|
242 |
+
foreach ($arr as &$value) {
|
243 |
+
echo '<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span><img src="'.WPM_ICONS_URL.'24x24/'.$value.'.png" align="left" hspace="3"/>'.ucfirst($value).' <input type= "text" name="wp_maintenance_social['.$value.']" value="'.$paramSocial[$value].'" onclick="select()" ><br />';
|
244 |
+
}
|
245 |
+
}
|
246 |
+
?>
|
247 |
+
<br />
|
248 |
+
<?php echo __('Choose icons size:', 'wp-maintenance'); ?>
|
249 |
+
<select name="wp_maintenance_social_options[size]">
|
250 |
+
<option value="16"<?php if($paramSocialOption['size']==16) { echo ' selected'; } ?>>16</option>
|
251 |
+
<option value="24"<?php if($paramSocialOption['size']==24) { echo ' selected'; } ?>>24</option>
|
252 |
+
<option value="32"<?php if($paramSocialOption['size']==32) { echo ' selected'; } ?>>32</option>
|
253 |
+
<option value="32"<?php if($paramSocialOption['size']==48 or $paramSocialOption=='') { echo ' selected'; } ?>>48</option>
|
254 |
+
<option value="64"<?php if($paramSocialOption['size']==64) { echo ' selected'; } ?>>64</option>
|
255 |
+
<option value="128"<?php if($paramSocialOption['size']==128) { echo ' selected'; } ?>>128</option>
|
256 |
+
</select><br /><br />
|
257 |
+
<?php echo __('You have your own icons? Enter the folder name of your theme here:', 'wp-maintenance'); ?><br /><strong><?php echo get_stylesheet_directory_uri(); ?>/</strong><input type="text" value="<?php echo stripslashes(trim($paramSocialOption['theme'])); ?>" name="wp_maintenance_social_options[theme]" />
|
258 |
+
|
259 |
+
</li>
|
260 |
+
<li> </li>
|
261 |
+
|
262 |
+
<li>
|
263 |
+
<h3><?php echo __('Enable Newletter:', 'wp-maintenance'); ?></h3>
|
264 |
+
<input type= "checkbox" name="wp_maintenance_settings[newletter]" value="1" <?php if($paramMMode['newletter']==1) { echo ' checked'; } ?>><?php echo __('Yes', 'wp-maintenance'); ?><br /><br />
|
265 |
+
<?php echo __('Enter your newletter shortcode here:', 'wp-maintenance'); ?><br />
|
266 |
+
<input type="text" name="wp_maintenance_settings[code_newletter]" value='<?php echo stripslashes(trim($paramMMode['code_newletter'])); ?>' onclick="select()" />
|
267 |
+
</li>
|
268 |
+
<li> </li>
|
269 |
|
270 |
<li>
|
271 |
<a href="#general" 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>
|
291 |
<em><?php echo __('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" />
|
292 |
</div>
|
293 |
</li>
|
294 |
+
<li> </li>
|
295 |
|
296 |
<li>
|
297 |
<a href="#couleurs" 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>
|
313 |
<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 echo __('Select or Upload your picture', 'wp-maintenance'); ?> </span></a>
|
314 |
<br /><small><?php echo __('Enter a URL or upload an image.', 'wp-maintenance'); ?></small>
|
315 |
</li>
|
316 |
+
<li> </li>
|
317 |
+
|
318 |
+
<!-- UPLOADER UNE IMAGE -->
|
319 |
+
<li><h3><?php echo __('Upload a background picture', 'wp-maintenance'); ?></h3>
|
320 |
+
<input type= "checkbox" name="wp_maintenance_settings[b_enable_image]" value="1" <?php if($paramMMode['b_enable_image']==1) { echo ' checked'; } ?>> <?php echo __('Enable image background', 'wp-maintenance'); ?><br /><br />
|
321 |
+
<?php if($paramMMode['image']) { ?>
|
322 |
+
<?php echo __('You use this background picture :', 'wp-maintenance'); ?><br /> <img src="<?php echo $paramMMode['b_image']; ?>" width="300" style="border:1px solid #333;padding:3px;" /><br />
|
323 |
+
<?php } ?>
|
324 |
+
<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 echo __('Select or Upload your picture', 'wp-maintenance'); ?> </span></a>
|
325 |
+
<br /><small><?php echo __('Enter a URL or upload an image.', 'wp-maintenance'); ?></small>
|
326 |
+
</li>
|
327 |
+
|
328 |
+
<li><h3><?php echo __('Background picture options', 'wp-maintenance'); ?></h3>
|
329 |
+
<select name="wp_maintenance_settings[b_repeat_image]" >
|
330 |
+
<option value="repeat"<?php if($paramMMode['b_repeat_image']=='repeat' or $paramMMode['b_repeat_image']=='') { echo ' selected'; } ?>>repeat</option>
|
331 |
+
<option value="no-repeat"<?php if($paramMMode['b_repeat_image']=='no-repeat') { echo ' selected'; } ?>>no-repeat</option>
|
332 |
+
<option value="repeat-x"<?php if($paramMMode['b_repeat_image']=='repeat-x') { echo ' selected'; } ?>>repeat-x</option>
|
333 |
+
<option value="repeat-y"<?php if($paramMMode['b_repeat_image']=='repeat-y') { echo ' selected'; } ?>>repeat-y</option>
|
334 |
+
</select><br /><br />
|
335 |
+
<input type= "checkbox" name="wp_maintenance_settings[b_fixed_image]" value="1" <?php if($paramMMode['b_fixed_image']==1) { echo ' checked'; } ?>> <?php echo __('Fixed', 'wp-maintenance'); ?><br />
|
336 |
+
</li>
|
337 |
+
<li> </li>
|
338 |
|
339 |
<li>
|
340 |
<a href="#image" 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>
|
342 |
+
|
343 |
</ul>
|
344 |
</div>
|
345 |
</div>
|
351 |
<ul>
|
352 |
<!-- ACTIVER COMPTEUR -->
|
353 |
<li><h3><?php echo __('Enable a countdown ?', 'wp-maintenance'); ?></h3>
|
354 |
+
<input type= "checkbox" name="wp_maintenance_settings[active_cpt]" value="1" <?php if($paramMMode['active_cpt']==1) { echo ' checked'; } ?>> <?php echo __('Yes', 'wp-maintenance'); ?><br /><br />
|
355 |
<small><?php echo __('Enter the launch date', 'wp-maintenance'); ?></small><br /> <input type="text" name="wp_maintenance_settings[date_cpt_jj]" value="<?php if($paramMMode['date_cpt_jj']!='') { echo $paramMMode['date_cpt_jj']; } else { echo date('d'); } ?>" size="2" maxlength="2" autocomplete="off" />
|
356 |
+
<select name="wp_maintenance_settings[date_cpt_mm]">
|
357 |
<?php
|
358 |
$ctpDate = array(
|
359 |
'01'=> 'jan',
|
383 |
</select>
|
384 |
<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" /> à
|
385 |
<input type="text" name="wp_maintenance_settings[date_cpt_hh]" value="<?php if($paramMMode['date_cpt_hh']!='') { echo $paramMMode['date_cpt_hh']; } else { echo date('H'); } ?>" size="2" maxlength="2" autocomplete="off" /> h <input type="text" name="wp_maintenance_settings[date_cpt_mn]" value="<?php if($paramMMode['date_cpt_mn']!='') { echo $paramMMode['date_cpt_mn']; } else { echo date('i'); } ?>" size="2" maxlength="2" autocomplete="off" /> min
|
386 |
+
<input type="hidden" name="wp_maintenance_settings[date_cpt_ss]" value="00" />
|
387 |
<br /><br />
|
388 |
<input type= "checkbox" name="wp_maintenance_settings[active_cpt_s]" value="1" <?php if($paramMMode['active_cpt_s']==1) { echo ' checked'; } ?>> <?php echo __('Enable seconds ?', 'wp-maintenance'); ?><br /><br />
|
389 |
<input type= "checkbox" name="wp_maintenance_settings[disable]" value="1" <?php if($paramMMode['disable']==1) { echo ' checked'; } ?>> <?php echo __('Disable maintenance mode at the end of the countdown?', 'wp-maintenance'); ?><br /><br />
|
390 |
+
<?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]">
|
391 |
<?php
|
392 |
$ctpSize = array('18', '24', '36', '48', '52', '56', '60', '64', '68', '72', '76');
|
393 |
foreach($ctpSize as $c) {
|
401 |
?>
|
402 |
</select>
|
403 |
</li>
|
404 |
+
<li> </li>
|
405 |
<li>
|
406 |
<a href="#compte" 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>
|
407 |
</li>
|
456 |
<li>
|
457 |
<input type= "checkbox" name="wpm_initcss" value="1" id="initcss" > <label for="wpm_initcss"><?php echo __('Reset default CSS stylesheet ?', 'wp-maintenance'); ?></label><br />
|
458 |
</li>
|
459 |
+
<li> </li>
|
460 |
|
461 |
<li>
|
462 |
<a href="#styles" 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>
|
474 |
<li><h3><?php echo __('Theme maintenance page :', 'wp-maintenance'); ?></h3>
|
475 |
<?php echo __('If you would use your maintenance.php page in your theme folder, click Yes.', 'wp-maintenance'); ?> <br /><br />
|
476 |
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="1" <?php if($paramMMode['pageperso']==1) { echo ' checked'; } ?>> <?php echo __('Yes', 'wp-maintenance'); ?>
|
477 |
+
<input type= "radio" name="wp_maintenance_settings[pageperso]" value="0" <?php if(!$paramMMode['pageperso'] or $paramMMode['pageperso']==0) { echo ' checked'; } ?>> <?php echo __('No', 'wp-maintenance'); ?><br /><br />
|
478 |
+
<?php echo __('You can use this shortcode to include Google Analytics code:', 'wp-maintenance'); ?> <input type="text" value="do_shortcode('[wpm_analytics']);" onclick="select()" style="width:250px;" /><br /><?php echo __('You can use this shortcode to include Social Networks icons:', 'wp-maintenance'); ?> <input type="text" value="do_shortcode('[wpm_social]');" onclick="select()" style="width:250px;" /><br />
|
479 |
</li>
|
480 |
+
<li> </li>
|
481 |
|
482 |
<li><h3><?php echo __('Roles and Capabilities:', 'wp-maintenance'); ?></h3>
|
483 |
<?php echo __('Allow the site to display these roles:', 'wp-maintenance'); ?> <br /><br />
|
494 |
<input type="checkbox" name="wp_maintenance_limit[<?php echo $role; ?>]" value="<?php echo $role; ?>"<?php echo $limitCheck; ?> /><?php echo $name; ?>
|
495 |
<?php }//end foreach ?>
|
496 |
</li>
|
497 |
+
<li> </li>
|
498 |
+
|
499 |
<li>
|
500 |
<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>
|
501 |
</li>
|
502 |
+
|
503 |
</ul>
|
504 |
</div>
|
505 |
</div>
|
515 |
<li>
|
516 |
<?php echo __('This plugin has been developed for you for free by <a href="http://www.restezconnectes.fr" target="_blank">Florent Maillefaud</ a>. It is royalty free, you can take it, modify it, distribute it as you see fit. <br /> <br />It would be desirable that I can get feedback on your potential changes to improve this plugin for all.', 'wp-maintenance'); ?>
|
517 |
</li>
|
518 |
+
<li> </li>
|
519 |
<li>
|
520 |
<!-- FAIRE UN DON SUR PAYPAL -->
|
521 |
<div><?php echo __('If you want Donate (French Paypal) for my current and future developments:', 'wp-maintenance'); ?><br />
|
528 |
</div>
|
529 |
<!-- FIN FAIRE UN DON -->
|
530 |
</li>
|
531 |
+
<li> </li>
|
532 |
</ul>
|
533 |
</div>
|
534 |
</div>
|
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: 1.
|
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
|
@@ -53,7 +54,7 @@ function wpm_make_multilang() {
|
|
53 |
}
|
54 |
|
55 |
/* Ajoute la version dans les options */
|
56 |
-
define('WPM_VERSION', '1.
|
57 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
58 |
if( !get_option('wp_maintenance_version') ) {
|
59 |
add_option('wp_maintenance_version', $option);
|
@@ -185,6 +186,32 @@ a:hover, a:focus, a:active {color: #_COLORTXT;text-decoration: underline;}
|
|
185 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
186 |
}
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
';
|
189 |
update_option('wp_maintenance_style', $wp_maintenanceStyles);
|
190 |
}
|
@@ -221,13 +248,92 @@ function wpm_change_active($value = 0) {
|
|
221 |
}
|
222 |
}
|
223 |
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
function wpm_maintenance_mode() {
|
226 |
|
227 |
global $current_user;
|
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');
|
@@ -308,6 +414,15 @@ function wpm_maintenance_mode() {
|
|
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'] = ' '; }
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
$content = '
|
312 |
<!DOCTYPE html>
|
313 |
<html lang="fr">
|
@@ -317,7 +432,25 @@ function wpm_maintenance_mode() {
|
|
317 |
<meta name="description" content="'.__('This site is down for maintenance', 'wp-maintenance').'" />
|
318 |
<style type="text/css">
|
319 |
'.$wpmStyle.'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
</style>
|
|
|
321 |
</head>
|
322 |
<body>
|
323 |
<div id="wrapper">';
|
@@ -358,8 +491,14 @@ function wpm_maintenance_mode() {
|
|
358 |
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
359 |
</div>';
|
360 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
$content .= '
|
362 |
-
|
363 |
</div><!-- div content -->
|
364 |
</div><!-- div wrapper -->
|
365 |
</body>
|
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.1
|
10 |
*/
|
11 |
|
12 |
|
13 |
/*
|
14 |
Change Log
|
15 |
+
30/04/2014 - Ajout code analytics, icones réseaux sociaux, newletter, image de fond...
|
16 |
31/12/2013 - Ajout des couleurs des liens et d'options supplémentaires
|
17 |
24/12/2013 - Bugs ajout de lien dans les textes
|
18 |
06/11/2013 - Bugs sur le compte à rebours
|
54 |
}
|
55 |
|
56 |
/* Ajoute la version dans les options */
|
57 |
+
define('WPM_VERSION', '1.1');
|
58 |
$option['wp_maintenance_version'] = WPM_VERSION;
|
59 |
if( !get_option('wp_maintenance_version') ) {
|
60 |
add_option('wp_maintenance_version', $option);
|
186 |
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
187 |
}
|
188 |
|
189 |
+
.wpm_horizontal li {
|
190 |
+
display: inline-block;
|
191 |
+
list-style: none;
|
192 |
+
margin:5px;
|
193 |
+
opacity:0.6;
|
194 |
+
}
|
195 |
+
.wpm_horizontal li:hover {
|
196 |
+
opacity:1;
|
197 |
+
}
|
198 |
+
|
199 |
+
@media screen and (min-width: 200px) and (max-width: 480px) {
|
200 |
+
.full {
|
201 |
+
max-width:300px;
|
202 |
+
}
|
203 |
+
#header {
|
204 |
+
padding: 0;
|
205 |
+
}
|
206 |
+
#main {
|
207 |
+
padding: 0;
|
208 |
+
}
|
209 |
+
}
|
210 |
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
211 |
+
.full {
|
212 |
+
max-width:342px;
|
213 |
+
}
|
214 |
+
}
|
215 |
';
|
216 |
update_option('wp_maintenance_style', $wp_maintenanceStyles);
|
217 |
}
|
248 |
}
|
249 |
}
|
250 |
|
251 |
+
function wpm_array_value_count ($array) {
|
252 |
+
$count = 0;
|
253 |
+
|
254 |
+
foreach ($array as $key => $value)
|
255 |
+
{
|
256 |
+
if($value) { $count++; }
|
257 |
+
}
|
258 |
+
|
259 |
+
return $count;
|
260 |
+
}
|
261 |
+
|
262 |
+
function wpm_analytics_shortcode( $atts ) {
|
263 |
+
|
264 |
+
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
265 |
+
$paramMMode = get_option('wp_maintenance_settings');
|
266 |
+
|
267 |
+
// Attributes
|
268 |
+
extract( shortcode_atts(
|
269 |
+
array(
|
270 |
+
'enable' => 0,
|
271 |
+
'code' => $paramMMode['code_analytics'],
|
272 |
+
'domain' => ''.$_SERVER['SERVER_NAME'].''
|
273 |
+
), $atts )
|
274 |
+
);
|
275 |
+
|
276 |
+
if($enable==1 && $code!='') {
|
277 |
+
return "<script>
|
278 |
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
279 |
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
280 |
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
281 |
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
282 |
+
|
283 |
+
ga('create', '".$code."', '".$domain."');
|
284 |
+
ga('send', 'pageview');
|
285 |
+
|
286 |
+
</script>";
|
287 |
+
} else {
|
288 |
+
// Code
|
289 |
+
return '';
|
290 |
+
}
|
291 |
+
}
|
292 |
+
add_shortcode( 'wpm_analytics', 'wpm_analytics_shortcode' );
|
293 |
+
|
294 |
+
function wpm_social_shortcode( $atts ) {
|
295 |
+
|
296 |
+
if(get_option('wp_maintenance_social')) { extract(get_option('wp_maintenance_social')); }
|
297 |
+
$paramSocial = get_option('wp_maintenance_social');
|
298 |
+
$paramSocialOption = get_option('wp_maintenance_social_options');
|
299 |
+
$countSocial = wpm_array_value_count($paramSocial);
|
300 |
+
|
301 |
+
// Attributes
|
302 |
+
extract( shortcode_atts(
|
303 |
+
array(
|
304 |
+
'size' => 48,
|
305 |
+
'enable' => 0
|
306 |
+
), $atts )
|
307 |
+
);
|
308 |
+
if($paramSocialOption['theme']!='') {
|
309 |
+
$srcIcon = get_stylesheet_directory_uri().'/'.$paramSocialOption['theme'];
|
310 |
+
} else {
|
311 |
+
$srcIcon = WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/'.$paramSocialOption['size'].'x'.$paramSocialOption['size'].'/';
|
312 |
+
}
|
313 |
+
if($paramSocialOption['enable']==1 && $countSocial>=1) {
|
314 |
+
$content .= '<div id="wpm-social-footer" class="wpm_social"><ul class="wpm_horizontal">';
|
315 |
+
foreach($paramSocial as $socialName=>$socialUrl) {
|
316 |
+
if($socialUrl!='') {
|
317 |
+
$content .= '<li><a href="'.$socialUrl.'" target="_blank"><img src="'.$srcIcon.$socialName.'.png" alt="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" title="'.$paramSocialOption['texte'].' '.ucfirst($socialName).'" /></a></li>';
|
318 |
+
}
|
319 |
+
}
|
320 |
+
$content .='</ul></div>';
|
321 |
+
return $content;
|
322 |
+
} else {
|
323 |
+
// Code
|
324 |
+
return '';
|
325 |
+
}
|
326 |
+
}
|
327 |
+
add_shortcode( 'wpm_social', 'wpm_social_shortcode' );
|
328 |
+
|
329 |
+
/* Mode Maintenance */
|
330 |
function wpm_maintenance_mode() {
|
331 |
|
332 |
global $current_user;
|
333 |
|
334 |
if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
|
335 |
$paramMMode = get_option('wp_maintenance_settings');
|
336 |
+
|
337 |
if(get_option('wp_maintenance_limit')) { extract(get_option('wp_maintenance_limit')); }
|
338 |
$paramLimit = get_option('wp_maintenance_limit');
|
339 |
$statusActive = get_option('wp_maintenance_active');
|
414 |
$wpmStyle = str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
|
415 |
if($paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = ' '; }
|
416 |
|
417 |
+
if($paramMMode['b_image'] && $paramMMode['b_enable_image']==1) {
|
418 |
+
if($paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
|
419 |
+
$addBImage = '
|
420 |
+
body {
|
421 |
+
background:url('.$paramMMode['b_image'].') '.$paramMMode['b_repeat_image'].';
|
422 |
+
background-attachment:fixed;
|
423 |
+
}';
|
424 |
+
}
|
425 |
+
|
426 |
$content = '
|
427 |
<!DOCTYPE html>
|
428 |
<html lang="fr">
|
432 |
<meta name="description" content="'.__('This site is down for maintenance', 'wp-maintenance').'" />
|
433 |
<style type="text/css">
|
434 |
'.$wpmStyle.'
|
435 |
+
'.$addBImage.'
|
436 |
+
.wpm_social {
|
437 |
+
padding: 0 45px;
|
438 |
+
text-align: center;
|
439 |
+
}
|
440 |
+
.wpm_social_icon {
|
441 |
+
float:left;
|
442 |
+
width:'.$paramSocialOption['size'].'px;
|
443 |
+
margin:0px 5px auto;
|
444 |
+
}
|
445 |
+
.wpm_social ul {
|
446 |
+
/*float: left;*/
|
447 |
+
margin: 10px 0;
|
448 |
+
max-width: 100%;
|
449 |
+
padding: 0;
|
450 |
+
text-align: center;
|
451 |
+
}
|
452 |
</style>
|
453 |
+
'.do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]').'
|
454 |
</head>
|
455 |
<body>
|
456 |
<div id="wrapper">';
|
491 |
<script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/wpm-cpt-script.js"></script>
|
492 |
</div>';
|
493 |
}
|
494 |
+
if($paramMMode['newletter']==1 && $paramMMode['code_newletter']!='') {
|
495 |
+
$content .= '<div class="wpm_newletter">'.do_shortcode(stripslashes($paramMMode['code_newletter'])).'</div>';
|
496 |
+
}
|
497 |
+
$content .= do_shortcode('[wpm_social]');
|
498 |
+
|
499 |
+
|
500 |
$content .= '
|
501 |
+
</div><!-- div main -->
|
502 |
</div><!-- div content -->
|
503 |
</div><!-- div wrapper -->
|
504 |
</body>
|
wpm-admin-settings.js
CHANGED
File without changes
|
wpm-color-options.js
CHANGED
File without changes
|
wpm-cpt-script.js
CHANGED
File without changes
|
wpm-script.js
CHANGED
@@ -5,11 +5,22 @@ jQuery(document).ready(function() {
|
|
5 |
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
|
6 |
return false;
|
7 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
window.send_to_editor = function(html) {
|
10 |
imgurl = jQuery('img',html).attr('src');
|
11 |
jQuery('#upload_image').val(imgurl);
|
12 |
tb_remove();
|
13 |
}
|
|
|
|
|
|
|
|
|
|
|
14 |
});
|
15 |
|
5 |
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
|
6 |
return false;
|
7 |
});
|
8 |
+
|
9 |
+
jQuery('#upload_b_image_button').click(function() {
|
10 |
+
formfield = jQuery('#upload_b_image').attr('name');
|
11 |
+
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
|
12 |
+
return false;
|
13 |
+
});
|
14 |
|
15 |
window.send_to_editor = function(html) {
|
16 |
imgurl = jQuery('img',html).attr('src');
|
17 |
jQuery('#upload_image').val(imgurl);
|
18 |
tb_remove();
|
19 |
}
|
20 |
+
window.send_to_editor = function(html) {
|
21 |
+
imgurl = jQuery('img',html).attr('src');
|
22 |
+
jQuery('#upload_b_image').val(imgurl);
|
23 |
+
tb_remove();
|
24 |
+
}
|
25 |
});
|
26 |
|