Version Description
Download this release
Release Info
Developer | Bueltge |
Plugin | WP Maintenance Mode |
Version | 1.6.10 |
Comparing to | |
See all releases |
Code changes from version 1.6.9 to 1.6.10
- WP Maintenance Mode-da_DK.txt +0 -0
- css/jquery.countdown.css +0 -0
- css/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- css/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- css/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- css/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- css/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- css/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- css/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- css/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- css/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- css/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- css/overcast/images/ui-icons_454545_256x240.png +0 -0
- css/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- css/overcast/images/ui-icons_999999_256x240.png +0 -0
- css/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- css/overcast/jquery-ui-1.7.2.custom.css +0 -0
- css/style.css +0 -0
- index.php +0 -0
- js/de_DE.datetimepicker.js +0 -0
- js/jquery.countdown-ar.js +0 -0
- js/jquery.countdown-cs.js +0 -0
- js/jquery.countdown-da.js +0 -0
- js/jquery.countdown-de.js +0 -0
- js/jquery.countdown-es.js +0 -0
- js/jquery.countdown-fa.js +0 -0
- js/jquery.countdown-fi.js +0 -0
- js/jquery.countdown-fr.js +0 -0
- js/jquery.countdown-gl.js +0 -0
- js/jquery.countdown-he.js +0 -0
- js/jquery.countdown-hu.js +0 -0
- js/jquery.countdown-id.js +0 -0
- js/jquery.countdown-it.js +0 -0
- js/jquery.countdown-ja.js +0 -0
- js/jquery.countdown-ko.js +0 -0
- js/jquery.countdown-lt.js +0 -0
- js/jquery.countdown-lv.js +0 -0
- js/jquery.countdown-my.js +0 -0
- js/jquery.countdown-nb.js +0 -0
- js/jquery.countdown-nl.js +0 -0
- js/jquery.countdown-pl.js +0 -0
- js/jquery.countdown-pt-BR.js +0 -0
- js/jquery.countdown-ro.js +0 -0
- js/jquery.countdown-ru.js +0 -0
- js/jquery.countdown-sk.js +0 -0
- js/jquery.countdown-sv.js +0 -0
- js/jquery.countdown-tr.js +0 -0
- js/jquery.countdown-uk.js +0 -0
- js/jquery.countdown-zh-CN.js +0 -0
- js/jquery.countdown-zh-TW.js +0 -0
- js/jquery.countdown.js +0 -0
- js/jquery.countdown.min.js +0 -0
- js/jquery.countdown.pack.js +0 -0
- js/ui.datetimepicker-de.js +0 -0
- js/ui.datetimepicker.js +0 -0
- languages/wp-maintenance-mode-ar_AR.mo +0 -0
- languages/wp-maintenance-mode-ar_AR.po +0 -0
- languages/wp-maintenance-mode-be_BY.mo +0 -0
- languages/wp-maintenance-mode-be_BY.po +0 -0
- languages/wp-maintenance-mode-bn_BD.mo +0 -0
- languages/wp-maintenance-mode-bn_BD.po +0 -0
- languages/wp-maintenance-mode-da_DK.mo +0 -0
- languages/wp-maintenance-mode-da_DK.po +0 -0
- languages/wp-maintenance-mode-de_DE.mo +0 -0
- languages/wp-maintenance-mode-de_DE.po +0 -0
- languages/wp-maintenance-mode-es_ES.mo +0 -0
- languages/wp-maintenance-mode-es_ES.po +0 -0
- languages/wp-maintenance-mode-fr_FR.mo +0 -0
- languages/wp-maintenance-mode-fr_FR.po +0 -0
- languages/wp-maintenance-mode-hr.mo +0 -0
- languages/wp-maintenance-mode-hr.po +0 -0
- languages/wp-maintenance-mode-it_IT.mo +0 -0
- languages/wp-maintenance-mode-it_IT.po +0 -0
- languages/wp-maintenance-mode-nl_NL.mo +0 -0
- languages/wp-maintenance-mode-nl_NL.po +0 -0
- languages/wp-maintenance-mode-pl_PL.mo +0 -0
- languages/wp-maintenance-mode-pl_PL.po +0 -0
- languages/wp-maintenance-mode-ro_RO.mo +0 -0
- languages/wp-maintenance-mode-ro_RO.po +0 -0
- languages/wp-maintenance-mode-ru_RU.mo +0 -0
- languages/wp-maintenance-mode-ru_RU.po +432 -0
- languages/wp-maintenance-mode-sq_AL.mo +0 -0
- languages/wp-maintenance-mode-sq_AL.po +0 -0
- languages/wp-maintenance-mode-tr_TR.mo +0 -0
- languages/wp-maintenance-mode-tr_TR.po +0 -0
- languages/wp-maintenance-mode-xx_XX.pot +0 -0
- license.txt +0 -0
- readme.txt +46 -40
- screenshot-1.png +0 -0
- screenshot-10.png +0 -0
- screenshot-11.png +0 -0
- screenshot-12.png +0 -0
- screenshot-13.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- screenshot-6.png +0 -0
- screenshot-7.png +0 -0
- screenshot-8.png +0 -0
- screenshot-9.png +0 -0
- site.php +85 -85
- styles/af.css +0 -0
- styles/be.css +0 -0
- styles/cm.css +0 -0
- styles/dh.css +0 -0
- styles/es.css +0 -0
- styles/fl.css +0 -0
- styles/fv.css +0 -0
- styles/images/background.jpg +0 -0
- styles/images/bg.gif +0 -0
- styles/images/bg.jpg +0 -0
- styles/images/box-bg.jpg +0 -0
- styles/images/button.png +0 -0
- styles/images/do-not-enter.jpg +0 -0
- styles/images/es/bg-image.png +0 -0
- styles/images/es/bg.jpg +0 -0
- styles/images/es/button.png +0 -0
- styles/images/es/m-mode.png +0 -0
- styles/images/gnome-control_48px.png +0 -0
- styles/images/gnome_key_32px.png +0 -0
- styles/images/headline-af-de_DE.jpg +0 -0
- styles/images/headline-af-en_US.jpg +0 -0
- styles/images/headline-de_DE.jpg +0 -0
- styles/images/headline-en_US.jpg +0 -0
- styles/images/lego-bg.jpg +0 -0
- styles/images/lego-content.jpg +0 -0
- styles/images/leiste.jpg +0 -0
- styles/images/monster.jpg +0 -0
- styles/images/wartungsmodus.jpg +0 -0
- styles/ks.css +0 -0
- styles/ln.css +0 -0
- styles/monster.css +0 -0
- styles/nicki.css +0 -0
- styles/txt.css +0 -0
- styles/wartung-de_DE.swf +0 -0
- styles/wartung-es_ES.swf +0 -0
- styles/wartung.swf +0 -0
- uninstall.php +5 -5
- wp-maintenance-mode.php +1014 -1001
WP Maintenance Mode-da_DK.txt
CHANGED
File without changes
|
css/jquery.countdown.css
CHANGED
File without changes
|
css/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_flat_0_eeeeee_40x100.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_flat_55_c0402a_40x100.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_flat_55_eeeeee_40x100.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_glass_35_dddddd_1x400.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_glass_60_eeeeee_1x400.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_inset-hard_75_999999_1x100.png
CHANGED
File without changes
|
css/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png
CHANGED
File without changes
|
css/overcast/images/ui-icons_3383bb_256x240.png
CHANGED
File without changes
|
css/overcast/images/ui-icons_454545_256x240.png
CHANGED
File without changes
|
css/overcast/images/ui-icons_70b2e1_256x240.png
CHANGED
File without changes
|
css/overcast/images/ui-icons_999999_256x240.png
CHANGED
File without changes
|
css/overcast/images/ui-icons_fbc856_256x240.png
CHANGED
File without changes
|
css/overcast/jquery-ui-1.7.2.custom.css
CHANGED
File without changes
|
css/style.css
CHANGED
File without changes
|
index.php
CHANGED
File without changes
|
js/de_DE.datetimepicker.js
CHANGED
File without changes
|
js/jquery.countdown-ar.js
CHANGED
File without changes
|
js/jquery.countdown-cs.js
CHANGED
File without changes
|
js/jquery.countdown-da.js
CHANGED
File without changes
|
js/jquery.countdown-de.js
CHANGED
File without changes
|
js/jquery.countdown-es.js
CHANGED
File without changes
|
js/jquery.countdown-fa.js
CHANGED
File without changes
|
js/jquery.countdown-fi.js
CHANGED
File without changes
|
js/jquery.countdown-fr.js
CHANGED
File without changes
|
js/jquery.countdown-gl.js
CHANGED
File without changes
|
js/jquery.countdown-he.js
CHANGED
File without changes
|
js/jquery.countdown-hu.js
CHANGED
File without changes
|
js/jquery.countdown-id.js
CHANGED
File without changes
|
js/jquery.countdown-it.js
CHANGED
File without changes
|
js/jquery.countdown-ja.js
CHANGED
File without changes
|
js/jquery.countdown-ko.js
CHANGED
File without changes
|
js/jquery.countdown-lt.js
CHANGED
File without changes
|
js/jquery.countdown-lv.js
CHANGED
File without changes
|
js/jquery.countdown-my.js
CHANGED
File without changes
|
js/jquery.countdown-nb.js
CHANGED
File without changes
|
js/jquery.countdown-nl.js
CHANGED
File without changes
|
js/jquery.countdown-pl.js
CHANGED
File without changes
|
js/jquery.countdown-pt-BR.js
CHANGED
File without changes
|
js/jquery.countdown-ro.js
CHANGED
File without changes
|
js/jquery.countdown-ru.js
CHANGED
File without changes
|
js/jquery.countdown-sk.js
CHANGED
File without changes
|
js/jquery.countdown-sv.js
CHANGED
File without changes
|
js/jquery.countdown-tr.js
CHANGED
File without changes
|
js/jquery.countdown-uk.js
CHANGED
File without changes
|
js/jquery.countdown-zh-CN.js
CHANGED
File without changes
|
js/jquery.countdown-zh-TW.js
CHANGED
File without changes
|
js/jquery.countdown.js
CHANGED
File without changes
|
js/jquery.countdown.min.js
CHANGED
File without changes
|
js/jquery.countdown.pack.js
CHANGED
File without changes
|
js/ui.datetimepicker-de.js
CHANGED
File without changes
|
js/ui.datetimepicker.js
CHANGED
File without changes
|
languages/wp-maintenance-mode-ar_AR.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-ar_AR.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-be_BY.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-be_BY.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-bn_BD.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-bn_BD.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-da_DK.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-da_DK.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-de_DE.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-de_DE.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-es_ES.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-es_ES.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-fr_FR.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-fr_FR.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-hr.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-hr.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-it_IT.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-it_IT.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-nl_NL.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-nl_NL.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-pl_PL.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-pl_PL.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-ro_RO.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-ro_RO.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-ru_RU.mo
ADDED
Binary file
|
languages/wp-maintenance-mode-ru_RU.po
ADDED
@@ -0,0 +1,432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: \n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-01-04 12:57+0100\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Jim Jerginson <portablecomponentsforall@gmail.com>\n"
|
8 |
+
"Language-Team: http://www.portablecomponentsforall.com <portablecomponentsforall@gmail.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
15 |
+
"X-Poedit-Basepath: d:/xampp/htdocs/wpbeta/wp-content/plugins/wartungsmodus/\n"
|
16 |
+
"X-Textdomain-Support: yes\n"
|
17 |
+
"X-Poedit-Language: Russian\n"
|
18 |
+
"X-Poedit-Country: RUSSIAN FEDERATION\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
# @ wp-maintenance-mode
|
22 |
+
#. translators: plugin header field 'Description'
|
23 |
+
#: wp-maintenance-mode.php:0
|
24 |
+
msgid "The plugin adds a splash page to your blog that lets visitors know your blog is down for maintenance. Logged in users get full access to the blog including the front-end, depends of the settings."
|
25 |
+
msgstr "Плагин добавил splash страницу на ваш блог которая дает вам знать ваш блог закрыт на техническое обслуживание. Залогиненые пользователи имеют полный доступ к блогу включая front-end страницу блога,в зависимости от установок."
|
26 |
+
|
27 |
+
# @ default
|
28 |
+
#: wp-maintenance-mode.php:160
|
29 |
+
msgid "Settings"
|
30 |
+
msgstr "Установки"
|
31 |
+
|
32 |
+
# @ wp-maintenance-mode
|
33 |
+
#: wp-maintenance-mode.php:260
|
34 |
+
#: wp-maintenance-mode.php:454
|
35 |
+
#, php-format
|
36 |
+
msgid "Plugin %s settings <strong>updated</strong>."
|
37 |
+
msgstr "Установки %s плагина <strong>обновлено</strong>."
|
38 |
+
|
39 |
+
# @ wp-maintenance-mode
|
40 |
+
#: wp-maintenance-mode.php:263
|
41 |
+
#: wp-maintenance-mode.php:276
|
42 |
+
#, php-format
|
43 |
+
msgid "Plugin %s active status <strong>updated</strong>."
|
44 |
+
msgstr "Плагин %s активирован <strong>обновлено</strong>."
|
45 |
+
|
46 |
+
# @ wp-maintenance-mode
|
47 |
+
#: wp-maintenance-mode.php:266
|
48 |
+
msgid "Plugin Activate"
|
49 |
+
msgstr "Плагин активирован"
|
50 |
+
|
51 |
+
# @ wp-maintenance-mode
|
52 |
+
#: wp-maintenance-mode.php:270
|
53 |
+
#: wp-maintenance-mode.php:289
|
54 |
+
#: wp-maintenance-mode.php:333
|
55 |
+
msgid "False"
|
56 |
+
msgstr "Ложь"
|
57 |
+
|
58 |
+
# @ wp-maintenance-mode
|
59 |
+
#: wp-maintenance-mode.php:271
|
60 |
+
#: wp-maintenance-mode.php:290
|
61 |
+
#: wp-maintenance-mode.php:334
|
62 |
+
msgid "True"
|
63 |
+
msgstr "Истина"
|
64 |
+
|
65 |
+
# @ wp-maintenance-mode
|
66 |
+
#: wp-maintenance-mode.php:273
|
67 |
+
msgid "Update"
|
68 |
+
msgstr "Обновить"
|
69 |
+
|
70 |
+
# @ wp-maintenance-mode
|
71 |
+
#: wp-maintenance-mode.php:279
|
72 |
+
msgid "Plugin Settings"
|
73 |
+
msgstr "Настройки плагина"
|
74 |
+
|
75 |
+
# @ wp-maintenance-mode
|
76 |
+
#: wp-maintenance-mode.php:285
|
77 |
+
msgid "Countdown:"
|
78 |
+
msgstr "Обратный отсчет:"
|
79 |
+
|
80 |
+
# @ wp-maintenance-mode
|
81 |
+
#: wp-maintenance-mode.php:296
|
82 |
+
#: wp-maintenance-mode.php:299
|
83 |
+
msgid "Click for datepicker"
|
84 |
+
msgstr "Кликните для выбора даты"
|
85 |
+
|
86 |
+
# @ wp-maintenance-mode
|
87 |
+
#: wp-maintenance-mode.php:296
|
88 |
+
msgid "Date:"
|
89 |
+
msgstr "Дата:"
|
90 |
+
|
91 |
+
# @ wp-maintenance-mode
|
92 |
+
#: wp-maintenance-mode.php:300
|
93 |
+
msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
|
94 |
+
msgstr "Активируйте обратный отсчет для использования этого.Используйте значения и единицы или используйте обратный отсчет и установите дату."
|
95 |
+
|
96 |
+
# @ wp-maintenance-mode
|
97 |
+
#: wp-maintenance-mode.php:305
|
98 |
+
msgid "Value:"
|
99 |
+
msgstr "Значение:"
|
100 |
+
|
101 |
+
# @ wp-maintenance-mode
|
102 |
+
#: wp-maintenance-mode.php:313
|
103 |
+
msgid "Unit:"
|
104 |
+
msgstr "Блок:"
|
105 |
+
|
106 |
+
# @ wp-maintenance-mode
|
107 |
+
#: wp-maintenance-mode.php:317
|
108 |
+
msgid "second"
|
109 |
+
msgstr "второй"
|
110 |
+
|
111 |
+
# @ wp-maintenance-mode
|
112 |
+
#: wp-maintenance-mode.php:318
|
113 |
+
msgid "minute"
|
114 |
+
msgstr "минута"
|
115 |
+
|
116 |
+
# @ wp-maintenance-mode
|
117 |
+
#: wp-maintenance-mode.php:319
|
118 |
+
msgid "hour"
|
119 |
+
msgstr "час"
|
120 |
+
|
121 |
+
# @ wp-maintenance-mode
|
122 |
+
#: wp-maintenance-mode.php:320
|
123 |
+
msgid "day"
|
124 |
+
msgstr "день"
|
125 |
+
|
126 |
+
# @ wp-maintenance-mode
|
127 |
+
#: wp-maintenance-mode.php:321
|
128 |
+
msgid "week"
|
129 |
+
msgstr "неделя"
|
130 |
+
|
131 |
+
# @ wp-maintenance-mode
|
132 |
+
#: wp-maintenance-mode.php:322
|
133 |
+
msgid "month"
|
134 |
+
msgstr "месяц"
|
135 |
+
|
136 |
+
# @ wp-maintenance-mode
|
137 |
+
#: wp-maintenance-mode.php:323
|
138 |
+
msgid "year"
|
139 |
+
msgstr "год"
|
140 |
+
|
141 |
+
# @ wp-maintenance-mode
|
142 |
+
#: wp-maintenance-mode.php:329
|
143 |
+
msgid "Link:"
|
144 |
+
msgstr "Ссылка:"
|
145 |
+
|
146 |
+
# @ wp-maintenance-mode
|
147 |
+
#: wp-maintenance-mode.php:342
|
148 |
+
msgid "Theme:"
|
149 |
+
msgstr "Тема:"
|
150 |
+
|
151 |
+
# @ wp-maintenance-mode
|
152 |
+
#: wp-maintenance-mode.php:346
|
153 |
+
msgid "Own Style"
|
154 |
+
msgstr "Собственный стиль"
|
155 |
+
|
156 |
+
# @ wp-maintenance-mode
|
157 |
+
#: wp-maintenance-mode.php:347
|
158 |
+
msgid "Simple Text"
|
159 |
+
msgstr "Простой текст"
|
160 |
+
|
161 |
+
# @ wp-maintenance-mode
|
162 |
+
#: wp-maintenance-mode.php:348
|
163 |
+
msgid "The Truck"
|
164 |
+
msgstr "Грузовик"
|
165 |
+
|
166 |
+
# @ wp-maintenance-mode
|
167 |
+
#: wp-maintenance-mode.php:349
|
168 |
+
msgid "The Sun"
|
169 |
+
msgstr "Солнце"
|
170 |
+
|
171 |
+
# @ wp-maintenance-mode
|
172 |
+
#: wp-maintenance-mode.php:350
|
173 |
+
msgid "The FF Error"
|
174 |
+
msgstr "FF Ошибка"
|
175 |
+
|
176 |
+
# @ wp-maintenance-mode
|
177 |
+
#: wp-maintenance-mode.php:351
|
178 |
+
msgid "Monster"
|
179 |
+
msgstr "Монстр"
|
180 |
+
|
181 |
+
# @ wp-maintenance-mode
|
182 |
+
#: wp-maintenance-mode.php:352
|
183 |
+
msgid "Chastely"
|
184 |
+
msgstr "Целомудренно"
|
185 |
+
|
186 |
+
# @ wp-maintenance-mode
|
187 |
+
#: wp-maintenance-mode.php:353
|
188 |
+
msgid "Only Typo"
|
189 |
+
msgstr "Только Typo"
|
190 |
+
|
191 |
+
# @ wp-maintenance-mode
|
192 |
+
#: wp-maintenance-mode.php:354
|
193 |
+
msgid "Paint"
|
194 |
+
msgstr "Рисовать"
|
195 |
+
|
196 |
+
# @ wp-maintenance-mode
|
197 |
+
#: wp-maintenance-mode.php:356
|
198 |
+
msgid "Damask"
|
199 |
+
msgstr "Дамаск"
|
200 |
+
|
201 |
+
# @ wp-maintenance-mode
|
202 |
+
#: wp-maintenance-mode.php:357
|
203 |
+
msgid "Lego"
|
204 |
+
msgstr "Lego"
|
205 |
+
|
206 |
+
# @ wp-maintenance-mode
|
207 |
+
#: wp-maintenance-mode.php:364
|
208 |
+
msgid "Own Style URL (incl. http://):"
|
209 |
+
msgstr "Собственный URL Стиль (включ. http://)"
|
210 |
+
|
211 |
+
# @ wp-maintenance-mode
|
212 |
+
#: wp-maintenance-mode.php:406
|
213 |
+
msgid "Text:"
|
214 |
+
msgstr "Текст:"
|
215 |
+
|
216 |
+
# @ wp-maintenance-mode
|
217 |
+
#: wp-maintenance-mode.php:416
|
218 |
+
msgid "Excludes:"
|
219 |
+
msgstr "Исключает:"
|
220 |
+
|
221 |
+
# @ wp-maintenance-mode
|
222 |
+
#: wp-maintenance-mode.php:426
|
223 |
+
msgid "Role:"
|
224 |
+
msgstr "Роль:"
|
225 |
+
|
226 |
+
# @ wp-maintenance-mode
|
227 |
+
#: wp-maintenance-mode.php:457
|
228 |
+
msgid "Save"
|
229 |
+
msgstr "Сохранить"
|
230 |
+
|
231 |
+
# @ wp-maintenance-mode
|
232 |
+
#: wp-maintenance-mode.php:502
|
233 |
+
#: wp-maintenance-mode.php:545
|
234 |
+
msgid "Updated"
|
235 |
+
msgstr "Обновленный"
|
236 |
+
|
237 |
+
# @ wp-maintenance-mode
|
238 |
+
#: wp-maintenance-mode.php:697
|
239 |
+
#: wp-maintenance-mode.php:699
|
240 |
+
msgid "Deactivate or change Settings"
|
241 |
+
msgstr "Отключить или изменить настройки "
|
242 |
+
|
243 |
+
# @ wp-maintenance-mode
|
244 |
+
#: wp-maintenance-mode.php:625
|
245 |
+
msgid "seconds"
|
246 |
+
msgstr "секунды"
|
247 |
+
|
248 |
+
# @ wp-maintenance-mode
|
249 |
+
#: wp-maintenance-mode.php:629
|
250 |
+
msgid "minutes"
|
251 |
+
msgstr "минуты"
|
252 |
+
|
253 |
+
# @ wp-maintenance-mode
|
254 |
+
#: wp-maintenance-mode.php:633
|
255 |
+
msgid "hours"
|
256 |
+
msgstr "часы"
|
257 |
+
|
258 |
+
# @ wp-maintenance-mode
|
259 |
+
#: wp-maintenance-mode.php:637
|
260 |
+
msgid "days"
|
261 |
+
msgstr "дни"
|
262 |
+
|
263 |
+
# @ wp-maintenance-mode
|
264 |
+
#: wp-maintenance-mode.php:641
|
265 |
+
msgid "weeks"
|
266 |
+
msgstr "недели"
|
267 |
+
|
268 |
+
# @ wp-maintenance-mode
|
269 |
+
#: wp-maintenance-mode.php:649
|
270 |
+
msgid "years"
|
271 |
+
msgstr "годы"
|
272 |
+
|
273 |
+
# @ wp-maintenance-mode
|
274 |
+
#: wp-maintenance-mode.php:763
|
275 |
+
msgid "Plugin by:"
|
276 |
+
msgstr "Плагин от:"
|
277 |
+
|
278 |
+
# @ wp-maintenance-mode
|
279 |
+
#: wp-maintenance-mode.php:765
|
280 |
+
#: wp-maintenance-mode.php:767
|
281 |
+
#: wp-maintenance-mode.php:769
|
282 |
+
#: wp-maintenance-mode.php:771
|
283 |
+
#: wp-maintenance-mode.php:773
|
284 |
+
#: wp-maintenance-mode.php:775
|
285 |
+
#: wp-maintenance-mode.php:777
|
286 |
+
#: wp-maintenance-mode.php:779
|
287 |
+
#: wp-maintenance-mode.php:781
|
288 |
+
#: wp-maintenance-mode.php:783
|
289 |
+
#: wp-maintenance-mode.php:785
|
290 |
+
msgid "Design by:"
|
291 |
+
msgstr "Дизайн:"
|
292 |
+
|
293 |
+
# @ wp-maintenance-mode
|
294 |
+
#: site.php:12
|
295 |
+
#: site.php:48
|
296 |
+
msgid "Maintenance Mode"
|
297 |
+
msgstr "В режиме обслуживания"
|
298 |
+
|
299 |
+
# @ wp-maintenance-mode
|
300 |
+
#: site.php:62
|
301 |
+
msgid "Admin-Login"
|
302 |
+
msgstr "Admin-Войти"
|
303 |
+
|
304 |
+
# @ wp-maintenance-mode
|
305 |
+
#: wp-maintenance-mode.php:382
|
306 |
+
msgid "Title:"
|
307 |
+
msgstr "Название:"
|
308 |
+
|
309 |
+
# @ wp-maintenance-mode
|
310 |
+
#: wp-maintenance-mode.php:367
|
311 |
+
msgid "URL to the css-file"
|
312 |
+
msgstr "URL к css-файлу"
|
313 |
+
|
314 |
+
# @ wp-maintenance-mode
|
315 |
+
#: wp-maintenance-mode.php:385
|
316 |
+
#: wp-maintenance-mode.php:393
|
317 |
+
#: wp-maintenance-mode.php:401
|
318 |
+
msgid "Leave empty for default."
|
319 |
+
msgstr "Оставьте поле пустым, по умолчанию."
|
320 |
+
|
321 |
+
# @ wp-maintenance-mode
|
322 |
+
#: wp-maintenance-mode.php:390
|
323 |
+
msgid "Header:"
|
324 |
+
msgstr "Заголовок:"
|
325 |
+
|
326 |
+
# @ wp-maintenance-mode
|
327 |
+
#: wp-maintenance-mode.php:398
|
328 |
+
msgid "Heading:"
|
329 |
+
msgstr "Заголовок:"
|
330 |
+
|
331 |
+
# @ wp-maintenance-mode
|
332 |
+
#: wp-maintenance-mode.php:337
|
333 |
+
msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
|
334 |
+
msgstr "Пожалуйста оставьте линк к плагину - и дизайн-автора на своем сайте в режиме обслуживания."
|
335 |
+
|
336 |
+
# @ wp-maintenance-mode
|
337 |
+
#: wp-maintenance-mode.php:645
|
338 |
+
msgid "months"
|
339 |
+
msgstr "месяцы"
|
340 |
+
|
341 |
+
# @ wp-maintenance-mode
|
342 |
+
#: site.php:55
|
343 |
+
msgid "Access to the admin area blocked"
|
344 |
+
msgstr "Доступ к области администрирования закрыт"
|
345 |
+
|
346 |
+
# @ wp-maintenance-mode
|
347 |
+
#: site.php:58
|
348 |
+
msgid "Admin-Logout"
|
349 |
+
msgstr "Admin-Выход"
|
350 |
+
|
351 |
+
# @ wp-maintenance-mode
|
352 |
+
#: wp-maintenance-mode.php:447
|
353 |
+
msgid "Allowed userrole to see the frontend of this blog."
|
354 |
+
msgstr "Разрешенная роль пользователя для просмотра этого блога."
|
355 |
+
|
356 |
+
# @ wp-maintenance-mode
|
357 |
+
#: wp-maintenance-mode.php:695
|
358 |
+
msgid "Caution: Maintenance mode is <strong>active</strong>!"
|
359 |
+
msgstr "Осторожно: Режим обслуживания <strong>активен</strong>!"
|
360 |
+
|
361 |
+
# @ default
|
362 |
+
#: index.php:5
|
363 |
+
msgid "Cheatin’ uh?"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
# @ wp-maintenance-mode
|
367 |
+
#: wp-maintenance-mode.php:369
|
368 |
+
msgid "<strong>Coution:</strong> Please don´t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
|
369 |
+
msgstr "<strong>Осторожно:</strong> Пожалуйтса не копируйте stylesheet в вашу директорию плагинов, это должно быть удалено при следующем автоматическом обновлении плагина!"
|
370 |
+
|
371 |
+
# @ wp-maintenance-mode
|
372 |
+
#: wp-maintenance-mode.php:374
|
373 |
+
#: wp-maintenance-mode.php:377
|
374 |
+
msgid "Preview"
|
375 |
+
msgstr "Предпросмотр"
|
376 |
+
|
377 |
+
# @ wp-maintenance-mode
|
378 |
+
#. translators: plugin header field 'Name'
|
379 |
+
#: wp-maintenance-mode.php:0
|
380 |
+
msgid "WP Maintenance Mode"
|
381 |
+
msgstr "WP в режиме обслуживания"
|
382 |
+
|
383 |
+
# @ wp-maintenance-mode
|
384 |
+
#. translators: plugin header field 'PluginURI'
|
385 |
+
#: wp-maintenance-mode.php:0
|
386 |
+
msgid "http://bueltge.de/wp-wartungsmodus-plugin/101/"
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
# @ wp-maintenance-mode
|
390 |
+
#. translators: plugin header field 'Author'
|
391 |
+
#: wp-maintenance-mode.php:0
|
392 |
+
msgid "Frank Bültge"
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
# @ wp-maintenance-mode
|
396 |
+
#. translators: plugin header field 'AuthorURI'
|
397 |
+
#: wp-maintenance-mode.php:0
|
398 |
+
msgid "http://bueltge.de/"
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
# @ wp-maintenance-mode
|
402 |
+
#: wp-maintenance-mode.php:355
|
403 |
+
msgid "Animate (Flash)"
|
404 |
+
msgstr "Анимировать (Flash)"
|
405 |
+
|
406 |
+
# @ wp-maintenance-mode
|
407 |
+
#: wp-maintenance-mode.php:358
|
408 |
+
msgid "Chemistry"
|
409 |
+
msgstr "Химия"
|
410 |
+
|
411 |
+
# @ wp-maintenance-mode
|
412 |
+
#: wp-maintenance-mode.php:411
|
413 |
+
#, php-format
|
414 |
+
msgid "Use the first <em>%1$s</em> for the time value or countdown and second <em>%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes are possible"
|
415 |
+
msgstr "Используйте первый <em>%1$s</em> для значения времени или обратный отсчет и второй <em>%2$s</em> за единицу времени или обратный отсчет; HTML и Shortcodes возможны"
|
416 |
+
|
417 |
+
# @ wp-maintenance-mode
|
418 |
+
#. translators: plugin header field 'Version'
|
419 |
+
#: wp-maintenance-mode.php:0
|
420 |
+
msgid "1.6.7"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
# @ wp-maintenance-mode
|
424 |
+
#: wp-maintenance-mode.php:448
|
425 |
+
msgid "Super Admin has always access."
|
426 |
+
msgstr "Super Admin всегда имеет доступ."
|
427 |
+
|
428 |
+
# @ wp-maintenance-mode
|
429 |
+
#: wp-maintenance-mode.php:421
|
430 |
+
msgid "Exclude feed, pages, posts or archives from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
|
431 |
+
msgstr "Исключите feed, страницы, посты или архивы из режим обслуживания. Добавьте Slug страницы или поста как разделенных запятыми список.<br />Пример:"
|
432 |
+
|
languages/wp-maintenance-mode-sq_AL.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-sq_AL.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-tr_TR.mo
CHANGED
File without changes
|
languages/wp-maintenance-mode-tr_TR.po
CHANGED
File without changes
|
languages/wp-maintenance-mode-xx_XX.pot
CHANGED
File without changes
|
license.txt
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -7,8 +7,8 @@ Author URI: http://bueltge.de/
|
|
7 |
Donate link: http://bueltge.de/wunschliste/
|
8 |
Tags: maintenance, mode, admin, administration, unavailable, coming soon
|
9 |
Requires at least: 2.6
|
10 |
-
Tested up to: 3.
|
11 |
-
Stable tag: 1.6.
|
12 |
|
13 |
Adds a splash page to your site that lets visitors know your site is down for maintenance. Full access to the back- & front-end is optional.
|
14 |
|
@@ -19,33 +19,33 @@ Also you can add urls for exlude of maintenance mode.
|
|
19 |
|
20 |
You can add your own html and stylesheet and add the url of this style to the options of the plugin. Write your style to this markup and upload to the webspace; after add the url include http:// to the settings of this plugin and change th theme to `"Own Theme"`:
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
|
50 |
|
51 |
Also you can add content via hook:
|
@@ -57,10 +57,10 @@ Also you can add content via hook:
|
|
57 |
|
58 |
Example:
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
|
65 |
|
66 |
= Requirements =
|
@@ -88,17 +88,17 @@ Please visit [the official website](http://forum.mysqldumper.de/features-perl-cr
|
|
88 |
* On the right you find a link named "SQL Commands", after you click this link, you can set the two queries for the automatic backup.
|
89 |
* Click the link "new command", give it a name like "activate maintenance mode" and paste the code below in the required field and finally save this command:
|
90 |
|
91 |
-
`UPDATE
|
92 |
|
93 |
* Now you can set the second command to deactivate the maintenance mode like the first one with this code:
|
94 |
|
95 |
-
`UPDATE
|
96 |
|
97 |
= Note! =
|
98 |
You must edit three places of the code to your options:
|
99 |
|
100 |
* `wp-database` -> put here the name of your database.
|
101 |
-
*
|
102 |
|
103 |
When you have edited the code, save the two commands and go back to the MySQLDumper Configuration. Now you can choose the commands in the required field. For "Command before Dump" use the Command you named like "activate maintenance mode" and for "Command after Dump" use the other, named like "deactivate maintenance mode".
|
104 |
|
@@ -120,7 +120,7 @@ Please use a plugin for the form-function with the possibility Shortcode, like [
|
|
120 |
* Thanks to [Gianni Diurno](http://gidibao.net/ "Gianni Diurno") for italian language file and an [tutorial](http://gidibao.net/index.php/2010/09/16/wp-maintenance-mode-in-italiano/ "WP Maintenance Mode in italiano") for italien users
|
121 |
* Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
|
122 |
* Thanks to [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
|
123 |
-
* Thanks to
|
124 |
* Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
|
125 |
* Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
|
126 |
* Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
|
@@ -128,6 +128,7 @@ Please use a plugin for the form-function with the possibility Shortcode, like [
|
|
128 |
* Thanks to [Alejandro Garcia](http://blog.wrsmexico.com "blog.wrsmexico.com") for a spanish flash-file for the style "Animate"
|
129 |
* Thanks to [S.M. Mehdi Akram (Royal)](http://mehdiakram.wordpress.com/ "mehdiakram.wordpress.com") for (mother) bengali language files.
|
130 |
* Thanks to [Yaser Maadan](http://www.englize.com "www.englize.com") for a arabic language files
|
|
|
131 |
|
132 |
= More Plugins =
|
133 |
Please see also my [Premium Plugins](http://wpplugins.com/author/malo.conny/). Maybe you find an solution for your requirement.
|
@@ -141,6 +142,7 @@ You may also be interested in WordPress tips and tricks at [WP Engineer](http://
|
|
141 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
142 |
1. Click the `settings`-link for change time, link of authors, text and design
|
143 |
1. Activate under the settings and your blog is in maintenance mode
|
|
|
144 |
|
145 |
See on [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode").
|
146 |
|
@@ -196,11 +198,11 @@ Please visit [the official website](http://forum.mysqldumper.de/features-perl-cr
|
|
196 |
* On the right you find a link named "SQL Commands", after you click this link, you can set the two queries for the automatic backup.
|
197 |
* Click the link "new command", give it a name like "activate maintenance mode" and paste the code below in the required field and finally save this command:
|
198 |
|
199 |
-
|
200 |
|
201 |
* Now you can set the second command to deactivate the maintenance mode like the first one with this code:
|
202 |
|
203 |
-
|
204 |
|
205 |
= Note! =
|
206 |
You must edit three places of the code to your options:
|
@@ -239,7 +241,7 @@ Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/
|
|
239 |
* Thanks to [Gianni Diurno](http://gidibao.net/ "Gianni Diurno") for italian language file
|
240 |
* Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
|
241 |
* Thanks to [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
|
242 |
-
* Thanks to
|
243 |
* Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
|
244 |
* Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
|
245 |
* Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
|
@@ -249,6 +251,10 @@ Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/
|
|
249 |
|
250 |
|
251 |
== Changelog ==
|
|
|
|
|
|
|
|
|
252 |
= 1.6.9 (06/13/2011) =
|
253 |
* Small fix for empty string on custom design
|
254 |
|
7 |
Donate link: http://bueltge.de/wunschliste/
|
8 |
Tags: maintenance, mode, admin, administration, unavailable, coming soon
|
9 |
Requires at least: 2.6
|
10 |
+
Tested up to: 3.3
|
11 |
+
Stable tag: 1.6.10
|
12 |
|
13 |
Adds a splash page to your site that lets visitors know your site is down for maintenance. Full access to the back- & front-end is optional.
|
14 |
|
19 |
|
20 |
You can add your own html and stylesheet and add the url of this style to the options of the plugin. Write your style to this markup and upload to the webspace; after add the url include http:// to the settings of this plugin and change th theme to `"Own Theme"`:
|
21 |
|
22 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
23 |
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
24 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de" id="wartungsmodus" >
|
25 |
+
|
26 |
+
<head>
|
27 |
+
<title>Blogname - Maintenance Mode</title>
|
28 |
+
</head>
|
29 |
+
|
30 |
+
<body>
|
31 |
+
|
32 |
+
<div id="header">
|
33 |
+
<p>WP Dev</p>
|
34 |
+
</div>
|
35 |
+
|
36 |
+
<div id="content">
|
37 |
+
|
38 |
+
<h1>Maintenance Mode</h1>
|
39 |
+
<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in 231 weeks.</strong><br />Thank you for your understanding.</p>
|
40 |
+
<div class="admin"><a href="http://example.com/wp-admin/">Admin-Login</a></div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<div id="footer">
|
44 |
+
<p><a href="http://bueltge.de/">Plugin by: <img src="http://bueltge.de/favicon.ico" alt="bueltge.de" width="16" height="16" /></a></p>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
</body>
|
48 |
+
</html>
|
49 |
|
50 |
|
51 |
Also you can add content via hook:
|
57 |
|
58 |
Example:
|
59 |
|
60 |
+
function add_my_link() {
|
61 |
+
echo '<a href="http://mylink.com/">My Link</a>
|
62 |
+
}
|
63 |
+
add_action( 'wm_footer', 'add_my_link' );
|
64 |
|
65 |
|
66 |
= Requirements =
|
88 |
* On the right you find a link named "SQL Commands", after you click this link, you can set the two queries for the automatic backup.
|
89 |
* Click the link "new command", give it a name like "activate maintenance mode" and paste the code below in the required field and finally save this command:
|
90 |
|
91 |
+
`UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '1' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
|
92 |
|
93 |
* Now you can set the second command to deactivate the maintenance mode like the first one with this code:
|
94 |
|
95 |
+
`UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '0' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
|
96 |
|
97 |
= Note! =
|
98 |
You must edit three places of the code to your options:
|
99 |
|
100 |
* `wp-database` -> put here the name of your database.
|
101 |
+
* `wp-prefix_options` -> put here the name of your options-table with the prefix you use (normally wp_options). This you must edit twice in the code!
|
102 |
|
103 |
When you have edited the code, save the two commands and go back to the MySQLDumper Configuration. Now you can choose the commands in the required field. For "Command before Dump" use the Command you named like "activate maintenance mode" and for "Command after Dump" use the other, named like "deactivate maintenance mode".
|
104 |
|
120 |
* Thanks to [Gianni Diurno](http://gidibao.net/ "Gianni Diurno") for italian language file and an [tutorial](http://gidibao.net/index.php/2010/09/16/wp-maintenance-mode-in-italiano/ "WP Maintenance Mode in italiano") for italien users
|
121 |
* Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
|
122 |
* Thanks to [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
|
123 |
+
* Thanks to FatCow for belorussion language file
|
124 |
* Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
|
125 |
* Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
|
126 |
* Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
|
128 |
* Thanks to [Alejandro Garcia](http://blog.wrsmexico.com "blog.wrsmexico.com") for a spanish flash-file for the style "Animate"
|
129 |
* Thanks to [S.M. Mehdi Akram (Royal)](http://mehdiakram.wordpress.com/ "mehdiakram.wordpress.com") for (mother) bengali language files.
|
130 |
* Thanks to [Yaser Maadan](http://www.englize.com "www.englize.com") for a arabic language files
|
131 |
+
* Thanks to [Andrew Kovalev] (http://www.portablecomponentsforall.com/)
|
132 |
|
133 |
= More Plugins =
|
134 |
Please see also my [Premium Plugins](http://wpplugins.com/author/malo.conny/). Maybe you find an solution for your requirement.
|
142 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
143 |
1. Click the `settings`-link for change time, link of authors, text and design
|
144 |
1. Activate under the settings and your blog is in maintenance mode
|
145 |
+
1. Please check the **Exclude** option in settings for parts of your install; maybe an custom login-adress etc.
|
146 |
|
147 |
See on [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode").
|
148 |
|
198 |
* On the right you find a link named "SQL Commands", after you click this link, you can set the two queries for the automatic backup.
|
199 |
* Click the link "new command", give it a name like "activate maintenance mode" and paste the code below in the required field and finally save this command:
|
200 |
|
201 |
+
UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '1' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
|
202 |
|
203 |
* Now you can set the second command to deactivate the maintenance mode like the first one with this code:
|
204 |
|
205 |
+
UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '0' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
|
206 |
|
207 |
= Note! =
|
208 |
You must edit three places of the code to your options:
|
241 |
* Thanks to [Gianni Diurno](http://gidibao.net/ "Gianni Diurno") for italian language file
|
242 |
* Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
|
243 |
* Thanks to [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
|
244 |
+
* Thanks to FatCow for belorussion language file
|
245 |
* Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
|
246 |
* Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
|
247 |
* Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
|
251 |
|
252 |
|
253 |
== Changelog ==
|
254 |
+
= 1.9.10 (08/30/2011) =
|
255 |
+
* add hint in Admin Bar, if active
|
256 |
+
* small changes for WP Codex
|
257 |
+
|
258 |
= 1.6.9 (06/13/2011) =
|
259 |
* Small fix for empty string on custom design
|
260 |
|
screenshot-1.png
CHANGED
File without changes
|
screenshot-10.png
CHANGED
File without changes
|
screenshot-11.png
CHANGED
File without changes
|
screenshot-12.png
CHANGED
File without changes
|
screenshot-13.png
CHANGED
File without changes
|
screenshot-2.png
CHANGED
File without changes
|
screenshot-3.png
CHANGED
File without changes
|
screenshot-4.png
CHANGED
File without changes
|
screenshot-5.png
CHANGED
File without changes
|
screenshot-6.png
CHANGED
File without changes
|
screenshot-7.png
CHANGED
File without changes
|
screenshot-8.png
CHANGED
File without changes
|
screenshot-9.png
CHANGED
File without changes
|
site.php
CHANGED
@@ -1,91 +1,91 @@
|
|
1 |
-
<?php
|
2 |
-
if ( !isset($value) ) {
|
3 |
-
$value = get_option( FB_WM_TEXTDOMAIN );
|
4 |
-
$unitvalues = $WPMaintenanceMode->case_unit($value['unit']);
|
5 |
-
}
|
6 |
-
?>
|
7 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
8 |
-
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> id="wp_maintenance_mode" >
|
9 |
-
|
10 |
-
<head>
|
11 |
-
|
12 |
-
<title><?php if ( isset($value['title']) && ($value['title'] != '') ) echo stripslashes_deep( $value['title'] ); else { bloginfo('name'); echo ' - '; _e( 'Maintenance Mode', FB_WM_TEXTDOMAIN ); } ?></title>
|
13 |
-
|
14 |
-
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
15 |
-
<meta name="author" content="WP Maintenance Mode: Frank Bueltge, http://bueltge.de" />
|
16 |
-
<meta name="description" content="<?php bloginfo('name'); echo ' - '; bloginfo('description'); ?>" />
|
17 |
-
<meta name="robots" content="noindex,nofollow" />
|
18 |
-
<link rel="Shortcut Icon" type="image/x-icon" href="<?php echo get_option('home'); ?>/favicon.ico" />
|
19 |
-
<link rel="stylesheet" type="text/css" href="<?php echo WP_PLUGIN_URL . '/' . FB_WM_BASEDIR ?>/css/jquery.countdown.css" media="all" />
|
20 |
-
|
21 |
-
<?php
|
22 |
-
if ( !defined('WP_CONTENT_URL') )
|
23 |
-
define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
|
24 |
-
if ( !defined('WP_PLUGIN_URL') )
|
25 |
-
define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
|
26 |
-
|
27 |
-
if ( !defined('FB_WM_BASENAME') )
|
28 |
-
define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
|
29 |
-
if ( !defined('FB_WM_BASEDIR') )
|
30 |
-
define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
|
31 |
-
|
32 |
-
global $user_ID;
|
33 |
-
|
34 |
-
get_currentuserinfo();
|
35 |
-
$locale = get_locale();
|
36 |
-
|
37 |
-
wm_head(); ?>
|
38 |
-
|
39 |
-
</head>
|
40 |
-
|
41 |
-
<body>
|
42 |
-
|
43 |
-
<div id="header">
|
44 |
-
<p><?php if ( isset($value['header']) && ($value['header'] != '') ) echo stripslashes_deep( $value['header'] ); else { bloginfo('name'); echo ' - '; bloginfo('description'); } ?></p>
|
45 |
-
</div>
|
46 |
-
|
47 |
-
<div id="content">
|
48 |
-
<h1><?php if ( isset($value['heading']) && ($value['heading'] != '') ) echo stripslashes_deep( $value['heading'] ); else _e( 'Maintenance Mode', FB_WM_TEXTDOMAIN ); ?></h1>
|
49 |
-
|
50 |
-
<?php wm_content();
|
51 |
-
|
52 |
-
if (isset($user_ID) && $user_ID) {
|
53 |
-
$adminlogin = wp_logout_url();
|
54 |
-
if ( isset($rolestatus) && 'norights' == $rolestatus )
|
55 |
-
$adminloginmsg = '<h3>' . __( 'Access to the admin area blocked', FB_WM_TEXTDOMAIN ) . '</h3>';
|
56 |
-
else
|
57 |
-
$adminloginmsg = '';
|
58 |
-
$adminloginstr = __( 'Admin-Logout', FB_WM_TEXTDOMAIN );
|
59 |
-
} else {
|
60 |
-
$adminlogin = site_url('wp-login.php', 'login');
|
61 |
-
$adminloginmsg = '';
|
62 |
-
$adminloginstr = __( 'Admin-Login', FB_WM_TEXTDOMAIN );
|
63 |
-
} ?>
|
64 |
-
<?php echo $adminloginmsg; ?>
|
65 |
-
<div class="admin" onclick="location.href='<?php echo $adminlogin; ?>';" onkeypress="location.href='<?php echo $adminlogin; ?>';"><a href="<?php echo $adminlogin; ?>"><?php echo $adminloginstr; ?></a></div>
|
66 |
-
</div>
|
67 |
-
|
68 |
-
<?php wm_footer(); ?>
|
69 |
-
|
70 |
-
<?php
|
71 |
-
$td = WPMaintenanceMode::check_datetime();
|
72 |
-
if ( isset($td[2]) && 0 !== $td[2] ) {
|
73 |
-
|
74 |
-
$locale = substr($locale, 0, 2);
|
75 |
-
?>
|
76 |
-
<script type="text/javascript" src="<?php bloginfo('url') ?>/wp-includes/js/jquery/jquery.js"></script>
|
77 |
-
<script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown.pack.js', __FILE__ ); ?>"></script>
|
78 |
-
<?php if ( file_exists(FB_WM_BASE . '/js/jquery.countdown-' . $locale . '.js') ) { ?>
|
79 |
-
<script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown-' . $locale . '.js', __FILE__ ); ?>"></script>
|
80 |
-
<?php } ?>
|
81 |
<script type="text/javascript">
|
82 |
jQuery(document).ready( function($){
|
83 |
-
var austDay = new Date();
|
84 |
// 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
|
85 |
austDay = new Date(<?php echo $td[2]; ?>);
|
86 |
$('#countdown').countdown({until: austDay});
|
87 |
});
|
88 |
-
</script>
|
89 |
-
<?php } ?>
|
90 |
-
</body>
|
91 |
-
</html>
|
1 |
+
<?php
|
2 |
+
if ( !isset($value) ) {
|
3 |
+
$value = get_option( FB_WM_TEXTDOMAIN );
|
4 |
+
$unitvalues = $WPMaintenanceMode->case_unit($value['unit']);
|
5 |
+
}
|
6 |
+
?>
|
7 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
8 |
+
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> id="wp_maintenance_mode" >
|
9 |
+
|
10 |
+
<head>
|
11 |
+
|
12 |
+
<title><?php if ( isset($value['title']) && ($value['title'] != '') ) echo stripslashes_deep( $value['title'] ); else { bloginfo('name'); echo ' - '; _e( 'Maintenance Mode', FB_WM_TEXTDOMAIN ); } ?></title>
|
13 |
+
|
14 |
+
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
15 |
+
<meta name="author" content="WP Maintenance Mode: Frank Bueltge, http://bueltge.de" />
|
16 |
+
<meta name="description" content="<?php bloginfo('name'); echo ' - '; bloginfo('description'); ?>" />
|
17 |
+
<meta name="robots" content="noindex,nofollow" />
|
18 |
+
<link rel="Shortcut Icon" type="image/x-icon" href="<?php echo get_option('home'); ?>/favicon.ico" />
|
19 |
+
<link rel="stylesheet" type="text/css" href="<?php echo WP_PLUGIN_URL . '/' . FB_WM_BASEDIR ?>/css/jquery.countdown.css" media="all" />
|
20 |
+
|
21 |
+
<?php
|
22 |
+
if ( !defined('WP_CONTENT_URL') )
|
23 |
+
define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
|
24 |
+
if ( !defined('WP_PLUGIN_URL') )
|
25 |
+
define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
|
26 |
+
|
27 |
+
if ( !defined('FB_WM_BASENAME') )
|
28 |
+
define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
|
29 |
+
if ( !defined('FB_WM_BASEDIR') )
|
30 |
+
define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
|
31 |
+
|
32 |
+
global $user_ID;
|
33 |
+
|
34 |
+
get_currentuserinfo();
|
35 |
+
$locale = get_locale();
|
36 |
+
|
37 |
+
wm_head(); ?>
|
38 |
+
|
39 |
+
</head>
|
40 |
+
|
41 |
+
<body>
|
42 |
+
|
43 |
+
<div id="header">
|
44 |
+
<p><?php if ( isset($value['header']) && ($value['header'] != '') ) echo stripslashes_deep( $value['header'] ); else { bloginfo('name'); echo ' - '; bloginfo('description'); } ?></p>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
<div id="content">
|
48 |
+
<h1><?php if ( isset($value['heading']) && ($value['heading'] != '') ) echo stripslashes_deep( $value['heading'] ); else _e( 'Maintenance Mode', FB_WM_TEXTDOMAIN ); ?></h1>
|
49 |
+
|
50 |
+
<?php wm_content();
|
51 |
+
|
52 |
+
if (isset($user_ID) && $user_ID) {
|
53 |
+
$adminlogin = wp_logout_url();
|
54 |
+
if ( isset($rolestatus) && 'norights' == $rolestatus )
|
55 |
+
$adminloginmsg = '<h3>' . __( 'Access to the admin area blocked', FB_WM_TEXTDOMAIN ) . '</h3>';
|
56 |
+
else
|
57 |
+
$adminloginmsg = '';
|
58 |
+
$adminloginstr = __( 'Admin-Logout', FB_WM_TEXTDOMAIN );
|
59 |
+
} else {
|
60 |
+
$adminlogin = site_url('wp-login.php', 'login');
|
61 |
+
$adminloginmsg = '';
|
62 |
+
$adminloginstr = __( 'Admin-Login', FB_WM_TEXTDOMAIN );
|
63 |
+
} ?>
|
64 |
+
<?php echo $adminloginmsg; ?>
|
65 |
+
<div class="admin" onclick="location.href='<?php echo $adminlogin; ?>';" onkeypress="location.href='<?php echo $adminlogin; ?>';"><a href="<?php echo $adminlogin; ?>"><?php echo $adminloginstr; ?></a></div>
|
66 |
+
</div>
|
67 |
+
|
68 |
+
<?php wm_footer(); ?>
|
69 |
+
|
70 |
+
<?php
|
71 |
+
$td = WPMaintenanceMode::check_datetime();
|
72 |
+
if ( isset($td[2]) && 0 !== $td[2] ) {
|
73 |
+
|
74 |
+
$locale = substr($locale, 0, 2);
|
75 |
+
?>
|
76 |
+
<script type="text/javascript" src="<?php bloginfo('url') ?>/wp-includes/js/jquery/jquery.js"></script>
|
77 |
+
<script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown.pack.js', __FILE__ ); ?>"></script>
|
78 |
+
<?php if ( file_exists(FB_WM_BASE . '/js/jquery.countdown-' . $locale . '.js') ) { ?>
|
79 |
+
<script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown-' . $locale . '.js', __FILE__ ); ?>"></script>
|
80 |
+
<?php } ?>
|
81 |
<script type="text/javascript">
|
82 |
jQuery(document).ready( function($){
|
83 |
+
var austDay = new Date();
|
84 |
// 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
|
85 |
austDay = new Date(<?php echo $td[2]; ?>);
|
86 |
$('#countdown').countdown({until: austDay});
|
87 |
});
|
88 |
+
</script>
|
89 |
+
<?php } ?>
|
90 |
+
</body>
|
91 |
+
</html>
|
styles/af.css
CHANGED
File without changes
|
styles/be.css
CHANGED
File without changes
|
styles/cm.css
CHANGED
File without changes
|
styles/dh.css
CHANGED
File without changes
|
styles/es.css
CHANGED
File without changes
|
styles/fl.css
CHANGED
File without changes
|
styles/fv.css
CHANGED
File without changes
|
styles/images/background.jpg
CHANGED
File without changes
|
styles/images/bg.gif
CHANGED
File without changes
|
styles/images/bg.jpg
CHANGED
File without changes
|
styles/images/box-bg.jpg
CHANGED
File without changes
|
styles/images/button.png
CHANGED
File without changes
|
styles/images/do-not-enter.jpg
CHANGED
File without changes
|
styles/images/es/bg-image.png
CHANGED
File without changes
|
styles/images/es/bg.jpg
CHANGED
File without changes
|
styles/images/es/button.png
CHANGED
File without changes
|
styles/images/es/m-mode.png
CHANGED
File without changes
|
styles/images/gnome-control_48px.png
CHANGED
File without changes
|
styles/images/gnome_key_32px.png
CHANGED
File without changes
|
styles/images/headline-af-de_DE.jpg
CHANGED
File without changes
|
styles/images/headline-af-en_US.jpg
CHANGED
File without changes
|
styles/images/headline-de_DE.jpg
CHANGED
File without changes
|
styles/images/headline-en_US.jpg
CHANGED
File without changes
|
styles/images/lego-bg.jpg
CHANGED
File without changes
|
styles/images/lego-content.jpg
CHANGED
File without changes
|
styles/images/leiste.jpg
CHANGED
File without changes
|
styles/images/monster.jpg
CHANGED
File without changes
|
styles/images/wartungsmodus.jpg
CHANGED
File without changes
|
styles/ks.css
CHANGED
File without changes
|
styles/ln.css
CHANGED
File without changes
|
styles/monster.css
CHANGED
File without changes
|
styles/nicki.css
CHANGED
File without changes
|
styles/txt.css
CHANGED
File without changes
|
styles/wartung-de_DE.swf
CHANGED
File without changes
|
styles/wartung-es_ES.swf
CHANGED
File without changes
|
styles/wartung.swf
CHANGED
File without changes
|
uninstall.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') )
|
2 |
-
exit();
|
3 |
-
|
4 |
-
delete_option( 'wp-maintenance-mode' );
|
5 |
-
delete_option( 'wp-maintenance-mode-msqd' );
|
1 |
+
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') )
|
2 |
+
exit();
|
3 |
+
|
4 |
+
delete_option( 'wp-maintenance-mode' );
|
5 |
+
delete_option( 'wp-maintenance-mode-msqd' );
|
wp-maintenance-mode.php
CHANGED
@@ -1,1002 +1,1015 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: WP Maintenance Mode
|
4 |
-
* Plugin URI: http://bueltge.de/wp-wartungsmodus-plugin/101/
|
5 |
* Text Domain: wp-maintenance-mode
|
6 |
-
* Domain Path: /languages
|
7 |
-
* Description: The plugin adds a splash page to your blog that lets visitors know your blog is down for maintenance. Logged in users get full access to the blog including the front-end, depends of the settings.
|
8 |
-
* Author: Frank Bültge
|
9 |
-
* Author URI: http://bueltge.de/
|
10 |
-
* Donate URI: http://bueltge.de/wunschliste/
|
11 |
-
* Version: 1.6.
|
12 |
-
* Last change:
|
13 |
-
* Licence:
|
14 |
-
*/
|
15 |
-
|
16 |
-
/**
|
17 |
-
License:
|
18 |
-
==============================================================================
|
19 |
-
Copyright 2009-2010 Frank Bueltge (email : frank@bueltge.de)
|
20 |
-
|
21 |
-
This program is free software; you can redistribute it and/or modify
|
22 |
-
it under the terms of the GNU General Public License as published by
|
23 |
-
the Free Software Foundation; either version 2 of the License, or
|
24 |
-
(at your option) any later version.
|
25 |
-
|
26 |
-
This program is distributed in the hope that it will be useful,
|
27 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
28 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
29 |
-
GNU General Public License for more details.
|
30 |
-
|
31 |
-
You should have received a copy of the GNU General Public License
|
32 |
-
along with this program; if not, write to the Free Software
|
33 |
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
34 |
-
|
35 |
-
Requirements:
|
36 |
-
==============================================================================
|
37 |
-
This plugin requires WordPress >= 2.6 and tested with PHP Interpreter >= 5.3.1
|
38 |
-
*/
|
39 |
-
|
40 |
-
//avoid direct calls to this file, because now WP core and framework has been used
|
41 |
-
if ( !function_exists('add_action') ) {
|
42 |
-
header('Status: 403 Forbidden');
|
43 |
-
header('HTTP/1.1 403 Forbidden');
|
44 |
-
exit();
|
45 |
-
}
|
46 |
-
|
47 |
-
if ( !class_exists('WPMaintenanceMode') ) {
|
48 |
-
|
49 |
-
if ( !defined('WP_CONTENT_URL') )
|
50 |
-
define('WP_CONTENT_URL', site_url() . '/wp-content');
|
51 |
-
if ( !defined('WP_PLUGIN_URL') )
|
52 |
-
define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
|
53 |
-
|
54 |
-
define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
|
55 |
-
define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
|
56 |
-
define( 'FB_WM_BASE', rtrim (dirname (__FILE__), '/') );
|
57 |
-
define( 'FB_WM_TEXTDOMAIN', 'wp-maintenance-mode' );
|
58 |
-
|
59 |
-
class WPMaintenanceMode {
|
60 |
-
|
61 |
-
function WPMaintenanceMode() {
|
62 |
-
global $wp_version;
|
63 |
-
|
64 |
-
register_activation_hook( __FILE__, array(&$this, 'add_config') );
|
65 |
-
add_action( 'load-plugins.php', array(&$this, 'add_scripts') );
|
66 |
-
add_action( '
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
add_action( 'wp_ajax_wm_config-
|
76 |
-
add_action( '
|
77 |
-
}
|
78 |
-
|
79 |
-
|
80 |
-
function esc_attr($text) {
|
81 |
-
if ( function_exists('esc_attr') )
|
82 |
-
$text = esc_attr($text);
|
83 |
-
else
|
84 |
-
$text = attribute_escape($text);
|
85 |
-
|
86 |
-
return $text;
|
87 |
-
}
|
88 |
-
|
89 |
-
|
90 |
-
// function for WP < 2.8
|
91 |
-
function get_plugins_url($path = '', $plugin = '') {
|
92 |
-
|
93 |
-
if ( function_exists('plugin_url') )
|
94 |
-
return plugins_url($path, $plugin);
|
95 |
-
|
96 |
-
if ( function_exists('is_ssl') )
|
97 |
-
$scheme = ( is_ssl() ? 'https' : 'http' );
|
98 |
-
else
|
99 |
-
$scheme = 'http';
|
100 |
-
if ( function_exists('plugins_url') )
|
101 |
-
$url = plugins_url();
|
102 |
-
else
|
103 |
-
$url = WP_PLUGIN_URL;
|
104 |
-
if ( 0 === strpos($url, 'http') ) {
|
105 |
-
if ( function_exists('is_ssl') && is_ssl() )
|
106 |
-
$url = str_replace( 'http://', "{$scheme}://", $url );
|
107 |
-
}
|
108 |
-
|
109 |
-
if ( !empty($plugin) && is_string($plugin) )
|
110 |
-
{
|
111 |
-
$folder = dirname(plugin_basename($plugin));
|
112 |
-
if ('.' != $folder)
|
113 |
-
$url .= '/' . ltrim($folder, '/');
|
114 |
-
}
|
115 |
-
|
116 |
-
if ( !empty($path) && is_string($path) && ( FALSE === strpos($path, '..') ) )
|
117 |
-
$url .= '/' . ltrim($path, '/');
|
118 |
-
|
119 |
-
return apply_filters('plugins_url', $url, $path, $plugin);
|
120 |
-
}
|
121 |
-
|
122 |
-
|
123 |
-
function on_init() {
|
124 |
-
|
125 |
-
load_plugin_textdomain( FB_WM_TEXTDOMAIN, FALSE, FB_WM_BASEDIR . '/languages' );
|
126 |
-
|
127 |
-
$valuemsqld = (int) get_option( FB_WM_TEXTDOMAIN . '-msqld' );
|
128 |
-
|
129 |
-
if ( 1 === $valuemsqld )
|
130 |
-
$this->on_active();
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
$
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
//
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
$('#
|
175 |
-
$(
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
"
|
214 |
-
"wm_config-
|
215 |
-
"wm_config-
|
216 |
-
"wm_config-
|
217 |
-
"wm_config-
|
218 |
-
"wm_config-
|
219 |
-
"wm_config-
|
220 |
-
"wm_config-
|
221 |
-
"wm_config-
|
222 |
-
"wm_config-
|
223 |
-
"wm_config-
|
224 |
-
"wm_config-
|
225 |
-
"wm_config-
|
226 |
-
"wm_config-
|
227 |
-
"wm_config-cd-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
*
|
244 |
-
* @
|
245 |
-
* @param $
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
<
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
<
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
<
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
<option value="
|
320 |
-
<option value="
|
321 |
-
<option value="
|
322 |
-
<option value="
|
323 |
-
<option value="
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
<option value="
|
349 |
-
<option value="
|
350 |
-
<option value="
|
351 |
-
<option value="
|
352 |
-
<option value="
|
353 |
-
<option value="
|
354 |
-
<option value="
|
355 |
-
<option value="
|
356 |
-
<option value="
|
357 |
-
<option value="
|
358 |
-
<option value="
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
<
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
<
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
$value_exclude = $value['exclude'];
|
425 |
-
}
|
426 |
-
|
427 |
-
|
428 |
-
}
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
<
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
$role_name =
|
451 |
-
|
452 |
-
$role_name =
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
$selected = '
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
'
|
488 |
-
'
|
489 |
-
'
|
490 |
-
'
|
491 |
-
'
|
492 |
-
'
|
493 |
-
'
|
494 |
-
'
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
$this->
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
if ( isset($_POST['wm_config-
|
529 |
-
$this->data['
|
530 |
-
if ( isset($_POST['wm_config-
|
531 |
-
$this->data['
|
532 |
-
if ( isset($_POST['wm_config-
|
533 |
-
$this->data['
|
534 |
-
if ( isset($_POST['wm_config-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
$this->data['styleurl'] =
|
539 |
-
}
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
$this->data['
|
545 |
-
|
546 |
-
$this->data['
|
547 |
-
if ( isset($_POST['wm_config-
|
548 |
-
$this->data['
|
549 |
-
if ( isset($_POST['wm_config-
|
550 |
-
$this->data['
|
551 |
-
if ( isset($_POST['wm_config-
|
552 |
-
$this->data['
|
553 |
-
if ( isset($_POST['wm_config-
|
554 |
-
$this->data['
|
555 |
-
if ( isset($_POST['wm_config-
|
556 |
-
$this->data['
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
require (ABSPATH . WPINC . '/pluggable.php'); //
|
578 |
-
}
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
}
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
$
|
682 |
-
$
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
$date
|
694 |
-
|
695 |
-
|
696 |
-
if (
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
$date = $date[2].', '.$date[1].', '.$date[0];
|
701 |
-
}
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |