WP Maintenance Mode - Version 1.8.8

Version Description

(06/05/2013) = * Fix path to localized flash content * Fix preview function * Add ukrainian translation * Add czech translation * Fix exclude function for IP * Security fix for save status via Ajax

Download this release

Release Info

Developer Bueltge
Plugin Icon 128x128 WP Maintenance Mode
Version 1.8.8
Comparing to
See all releases

Code changes from version 1.8.7 to 1.8.8

css/jquery.countdown.css CHANGED
@@ -1,51 +1,51 @@
1
- /* jQuery Countdown styles 1.5.11. */
2
- .hasCountdown {
3
- border: 1px solid #ccc;
4
- background-color: #eee;
5
- }
6
- .countdown_rtl {
7
- direction: rtl;
8
- }
9
- .countdown_holding span {
10
- background-color: #ccc;
11
- }
12
- .countdown_row {
13
- clear: both;
14
- width: 100%;
15
- padding: 0px 2px;
16
- text-align: center;
17
- }
18
- .countdown_show1 .countdown_section {
19
- width: 98%;
20
- }
21
- .countdown_show2 .countdown_section {
22
- width: 48%;
23
- }
24
- .countdown_show3 .countdown_section {
25
- width: 32.5%;
26
- }
27
- .countdown_show4 .countdown_section {
28
- width: 24.5%;
29
- }
30
- .countdown_show5 .countdown_section {
31
- width: 19.5%;
32
- }
33
- .countdown_show6 .countdown_section {
34
- width: 16.25%;
35
- }
36
- .countdown_show7 .countdown_section {
37
- width: 14%;
38
- }
39
- .countdown_section {
40
- display: block;
41
- float: left;
42
- font-size: 75%;
43
- text-align: center;
44
- }
45
- .countdown_amount {
46
- font-size: 200%;
47
- }
48
- .countdown_descr {
49
- display: block;
50
- width: 100%;
51
- }
1
+ /* jQuery Countdown styles 1.5.11. */
2
+ .hasCountdown {
3
+ border: 1px solid #ccc;
4
+ background-color: #eee;
5
+ }
6
+ .countdown_rtl {
7
+ direction: rtl;
8
+ }
9
+ .countdown_holding span {
10
+ background-color: #ccc;
11
+ }
12
+ .countdown_row {
13
+ clear: both;
14
+ width: 100%;
15
+ padding: 0px 2px;
16
+ text-align: center;
17
+ }
18
+ .countdown_show1 .countdown_section {
19
+ width: 98%;
20
+ }
21
+ .countdown_show2 .countdown_section {
22
+ width: 48%;
23
+ }
24
+ .countdown_show3 .countdown_section {
25
+ width: 32.5%;
26
+ }
27
+ .countdown_show4 .countdown_section {
28
+ width: 24.5%;
29
+ }
30
+ .countdown_show5 .countdown_section {
31
+ width: 19.5%;
32
+ }
33
+ .countdown_show6 .countdown_section {
34
+ width: 16.25%;
35
+ }
36
+ .countdown_show7 .countdown_section {
37
+ width: 14%;
38
+ }
39
+ .countdown_section {
40
+ display: block;
41
+ float: left;
42
+ font-size: 75%;
43
+ text-align: center;
44
+ }
45
+ .countdown_amount {
46
+ font-size: 200%;
47
+ }
48
+ .countdown_descr {
49
+ display: block;
50
+ width: 100%;
51
+ }
css/style.css CHANGED
@@ -1,36 +1,36 @@
1
- #wm_config_tr, #wm_config_tr td {
2
- padding: 0;
3
- }
4
-
5
- #wm_config_row {
6
- margin: 10px;
7
- }
8
-
9
- .config_hidden {
10
- display: none;
11
- }
12
-
13
- #wm_message, #wm_message_update, #wm_message_active, #wm_message_active2, #wm_message_update2 {
14
- display: none;
15
- }
16
-
17
- #wphead #mm_in_admin_header {
18
- font: normal 11px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
19
- line-height: 17px;
20
- padding: 17px 0 0 0;
21
- float: left;
22
- color: #464646;
23
- }
24
- #wphead a#mm_in_admin_header:hover {
25
- text-decoration: underline;
26
- }
27
- /*
28
- .plugins-php #TB_window, .plugins-php #TB_window iframe {
29
- width: 96% !important;
30
- left: 1% !important;
31
- margin-left: 1% !important;
32
- }
33
- .plugins-php #TB_window iframe {
34
- width: 99% !important;
35
- }
36
  */
1
+ #wm_config_tr, #wm_config_tr td {
2
+ padding: 0;
3
+ }
4
+
5
+ #wm_config_row {
6
+ margin: 10px;
7
+ }
8
+
9
+ .config_hidden {
10
+ display: none;
11
+ }
12
+
13
+ #wm_message, #wm_message_update, #wm_message_active, #wm_message_active2, #wm_message_update2 {
14
+ display: none;
15
+ }
16
+
17
+ #wphead #mm_in_admin_header {
18
+ font: normal 11px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
19
+ line-height: 17px;
20
+ padding: 17px 0 0 0;
21
+ float: left;
22
+ color: #464646;
23
+ }
24
+ #wphead a#mm_in_admin_header:hover {
25
+ text-decoration: underline;
26
+ }
27
+ /*
28
+ .plugins-php #TB_window, .plugins-php #TB_window iframe {
29
+ width: 96% !important;
30
+ left: 1% !important;
31
+ margin-left: 1% !important;
32
+ }
33
+ .plugins-php #TB_window iframe {
34
+ width: 99% !important;
35
+ }
36
  */
inc/login-form.php CHANGED
@@ -1,57 +1,57 @@
1
- <?php
2
- /**
3
- * WordPress Login Form
4
- *
5
- * @since 11/25/2012
6
- * @uses [loginform redirect="http://my-redirect-url.com"]
7
- */
8
-
9
- class WPMaintenanceMode_Login_Form extends WPMaintenanceMode {
10
-
11
- public function __construct() {
12
-
13
- add_shortcode( 'loginform', array( $this, 'login_form_shortcode' ) );
14
- }
15
-
16
- public static function get_options() {
17
-
18
- return parent::get_options();
19
- }
20
-
21
- /**
22
- * Get a default login form
23
- *
24
- * @param $atts Array
25
- * @param $content String
26
- */
27
- public function login_form_shortcode( $atts, $content = NULL ) {
28
-
29
- $value = $this->get_options();
30
-
31
- extract( shortcode_atts(
32
- array(
33
- 'redirect' => ''
34
- ),
35
- $atts
36
- ) );
37
-
38
- // set default link
39
- if ( '' == get_permalink() )
40
- $redirect_default_url = home_url( '/' );
41
-
42
- if ( ! isset( $value['rewrite'] ) || empty( $value['rewrite'] ) )
43
- $redirect_url = $redirect_default_url;
44
- else
45
- $redirect_url = $value['rewrite'];
46
-
47
- $form = wp_login_form( array(
48
- 'echo' => FALSE,
49
- 'redirect' => $redirect_url
50
- ) );
51
-
52
- return $form;
53
- }
54
-
55
- } // end class
56
- new WPMaintenanceMode_Login_Form();
57
-
1
+ <?php
2
+ /**
3
+ * WordPress Login Form
4
+ *
5
+ * @since 11/25/2012
6
+ * @uses [loginform redirect="http://my-redirect-url.com"]
7
+ */
8
+
9
+ class WPMaintenanceMode_Login_Form extends WPMaintenanceMode {
10
+
11
+ public function __construct() {
12
+
13
+ add_shortcode( 'loginform', array( $this, 'login_form_shortcode' ) );
14
+ }
15
+
16
+ public static function get_options() {
17
+
18
+ return parent::get_options();
19
+ }
20
+
21
+ /**
22
+ * Get a default login form
23
+ *
24
+ * @param $atts Array
25
+ * @param $content String
26
+ */
27
+ public function login_form_shortcode( $atts, $content = NULL ) {
28
+
29
+ $value = $this->get_options();
30
+
31
+ extract( shortcode_atts(
32
+ array(
33
+ 'redirect' => ''
34
+ ),
35
+ $atts
36
+ ) );
37
+
38
+ // set default link
39
+ if ( '' == get_permalink() )
40
+ $redirect_default_url = home_url( '/' );
41
+
42
+ if ( ! isset( $value['rewrite'] ) || empty( $value['rewrite'] ) )
43
+ $redirect_url = $redirect_default_url;
44
+ else
45
+ $redirect_url = $value['rewrite'];
46
+
47
+ $form = wp_login_form( array(
48
+ 'echo' => FALSE,
49
+ 'redirect' => $redirect_url
50
+ ) );
51
+
52
+ return $form;
53
+ }
54
+
55
+ } // end class
56
+ new WPMaintenanceMode_Login_Form();
57
+
inc/wp-maintenance-mode-settings.php CHANGED
@@ -1,441 +1,441 @@
1
- <?php
2
- /**
3
- * Settings markup
4
- *
5
- * @since 09/20/2012
6
- */
7
- class WPMaintenanceMode_Settings {
8
-
9
- protected static $classobj;
10
-
11
- public function __construct() {
12
-
13
- if ( ! is_admin() )
14
- return;
15
-
16
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( FB_WM_BASENAME ) ) ) {
17
- // multisite install
18
- add_filter( 'network_admin_plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
19
- add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
20
- } else {
21
- // Single mode install of WP
22
- if ( version_compare( $GLOBALS['wp_version'], '2.7alpha', '>' ) ) {
23
- add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
24
- add_filter( 'plugin_action_links_' . FB_WM_BASENAME, array( $this, 'add_settings_link' ), 10, 2 );
25
- } else {
26
- add_action( 'after_plugin_row', array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
27
- add_filter( 'plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
28
- }
29
- }
30
-
31
- wp_enqueue_style( 'wp-maintenance-mode-options', plugin_dir_url( FB_WM_BASENAME ) . 'css/style.css' );
32
- }
33
-
34
- /**
35
- * Handler for the action 'init'. Instantiates this class.
36
- *
37
- * @since 2.0.0
38
- * @access public
39
- * @return $classobj
40
- */
41
- public static function get_object() {
42
-
43
- if ( NULL === self :: $classobj ) {
44
- self :: $classobj = new self;
45
- }
46
-
47
- return self :: $classobj;
48
- }
49
-
50
- function add_settings_link( $links, $file ) {
51
-
52
- if ( plugin_basename( FB_WM_BASENAME ) == $file )
53
- array_unshift(
54
- $links,
55
- sprintf( '<a id="wm-pluginconflink" href="javascript:void(0)" title="Configure this plugin">%s</a>', __('Settings') )
56
- );
57
-
58
- return $links;
59
- }
60
-
61
-
62
- function network_admin_add_settings_link( $links, $file ) {
63
-
64
- if ( plugin_basename( FB_WM_BASENAME ) == $file )
65
- $links[] = '<a id="wm-pluginconflink" href="javascript:void(0)" title="Configure this plugin">' . __('Settings') . '</a>';
66
-
67
- return $links;
68
- }
69
-
70
- /**
71
- * Add settings markup
72
- *
73
- * @param $wm_pluginfile Object
74
- * @param $wm_plugindata Object (array)
75
- * @param $wm_context Object (all, active, inactive)
76
- * @return void
77
- */
78
- public function add_config_form( $wm_pluginfile, $wm_plugindata, $wm_context ) {
79
- global $wp_roles;
80
-
81
- //if ( 0 < count($_POST['checked']) )
82
- // return;
83
-
84
- if ( is_multisite() && is_plugin_active_for_network( FB_WM_BASENAME ) )
85
- $value = get_site_option( FB_WM_TEXTDOMAIN );
86
- else
87
- $value = get_option( FB_WM_TEXTDOMAIN );
88
-
89
- // check the additional settings
90
- if ( ! isset( $value['notice'] ) )
91
- $value['notice'] = 1;
92
- if ( ! isset( $value['bypass'] ) )
93
- $value['bypass'] = 0;
94
- ?>
95
- <tr id="wm_config_tr" >
96
- <td colspan="3">
97
-
98
- <div id="wm_config_row" class="<?php echo ( isset($_GET['show']) && 'wmconfig' == $_GET['show'] ) ? '' : 'config_hidden' ;?>">
99
- <div class="updated fade" id="wm_message_update" style="background-color: #FFFBCC;">
100
- <p><?php echo sprintf( __( 'Plugin %s settings <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
101
- </div>
102
- <div class="error fade" id="wm_message_active" >
103
- <p><?php echo sprintf( __( 'Plugin %s active status <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
104
- </div>
105
-
106
- <h4><?php _e( 'Plugin Activate', FB_WM_TEXTDOMAIN ); ?></h4>
107
- <input type="hidden" name="wm_action" value="wm_config-active" />
108
- <p>
109
- <select name="wm_config-active" id="wm_config-active">
110
- <option value="0"<?php if ( isset($value['active']) && 0 === $value['active'] ) { echo ' selected="selected"'; } ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
111
- <option value="1"<?php if ( isset($value['active']) && 1 === $value['active'] ) { echo ' selected="selected"'; } ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
112
- </select>
113
- <input id="wm_config_active" type="button" value="<?php _e( 'Update', FB_WM_TEXTDOMAIN ); ?>" class="button-primary" />
114
- </p>
115
- <div class="plugin-update-tr">
116
- <p id="wm_message_active2" class="update-message"><?php echo sprintf( __( 'Plugin %s active status <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
117
- </div>
118
-
119
- <h4><?php _e( 'Plugin Settings', FB_WM_TEXTDOMAIN ); ?></h4>
120
- <input type="hidden" name="wm_action" value="wm_config-update" />
121
-
122
- <table class="form-table">
123
- <tr valign="top">
124
- <th scope="row">
125
- <label for="wm_config-radio"><?php _e( 'Countdown:', FB_WM_TEXTDOMAIN ); ?></label>
126
- </th>
127
- <td>
128
- <select name="wm_config-radio" id="wm_config-radio">
129
- <option value="0" <?php selected( $value['radio'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
130
- <option value="1" <?php selected( $value['radio'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
131
- </select>
132
- </td>
133
- </tr>
134
- <tr valign="top">
135
- <th scope="row">
136
- <label for="wm_config-date" title="<?php _e( 'Click for datepicker', FB_WM_TEXTDOMAIN ); ?>"><?php _e( 'Date:', FB_WM_TEXTDOMAIN ); ?></label>
137
- </th>
138
- <td>
139
- <input size="30" title="<?php _e( 'Click for datepicker', FB_WM_TEXTDOMAIN ); ?>" type="text" id="wm_config-date" name="wm_config-date" value="<?php if ( isset($value['date']) ) echo $value['date']; ?>" /><br />
140
- <small><?php _e( 'Activate countdown for using this. Use value and unit or use the countdown and set the date.', FB_WM_TEXTDOMAIN ); ?></small>
141
- </td>
142
- </tr>
143
- <tr valign="top">
144
- <th scope="row">
145
- <label for="wm_config-time"><?php _e( 'Value:', FB_WM_TEXTDOMAIN ); ?></label>
146
- </th>
147
- <td class="alternate">
148
- <input size="5" type="text" id="wm_config-time" name="wm_config-time" value="<?php if( isset($value['time']) ) echo $value['time']; ?>" />
149
- </td>
150
- </tr>
151
- <tr valign="top">
152
- <th scope="row">
153
- <label for="wm_config-unit"><?php _e( 'Unit:', FB_WM_TEXTDOMAIN ); ?></label>
154
- </th>
155
- <td class="alternate">
156
- <select name="wm_config-unit" id="wm_config-unit">
157
- <option value="0" <?php selected( $value['unit'], 0 ); ?>><?php _e('second', FB_WM_TEXTDOMAIN ); ?> </option>
158
- <option value="1" <?php selected( $value['unit'], 1 ); ?>><?php _e('minute', FB_WM_TEXTDOMAIN ); ?> </option>
159
- <option value="2" <?php selected( $value['unit'], 2 ); ?>><?php _e('hour', FB_WM_TEXTDOMAIN ); ?> </option>
160
- <option value="3" <?php selected( $value['unit'], 3 ); ?>><?php _e('day', FB_WM_TEXTDOMAIN ); ?> </option>
161
- <option value="4" <?php selected( $value['unit'], 4 ); ?>><?php _e('week', FB_WM_TEXTDOMAIN ); ?> </option>
162
- <option value="5" <?php selected( $value['unit'], 5 ); ?>><?php _e('month', FB_WM_TEXTDOMAIN ); ?> </option>
163
- <option value="6" <?php selected( $value['unit'], 6 ); ?>><?php _e('year', FB_WM_TEXTDOMAIN ); ?> </option>
164
- </select>
165
- </td>
166
- </tr>
167
- <tr valign="top">
168
- <th scope="row">
169
- <label for="wm_config-link"><?php _e( 'Link:', FB_WM_TEXTDOMAIN ); ?></label>
170
- </th>
171
- <td>
172
- <select name="wm_config-link" id="wm_config-link">
173
- <option value="0" <?php selected( $value['link'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
174
- <option value="1" <?php selected( $value['link'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
175
- </select>
176
- <br />
177
- <small><?php _e( 'Please leave a link to the plugin- and design-author on your maintenance mode site.', FB_WM_TEXTDOMAIN ); ?></small>
178
- </td>
179
- </tr>
180
- <tr valign="top">
181
- <th scope="row">
182
- <label for="wm_config-admin_link"><?php _e( 'Admin Link:', FB_WM_TEXTDOMAIN ); ?></label>
183
- </th>
184
- <td>
185
- <select name="wm_config-admin_link" id="wm_config-admin_link">
186
- <option value="0" <?php selected( $value['admin_link'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
187
- <option value="1" <?php selected( $value['admin_link'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
188
- </select>
189
- <br />
190
- <small><?php _e( 'Do you will a link to the admin area of your install?', FB_WM_TEXTDOMAIN ); ?></small>
191
- </td>
192
- </tr>
193
- <tr valign="top">
194
- <th scope="row">
195
- <label for="wm_config-theme"><?php _e( 'CSS Style:', FB_WM_TEXTDOMAIN ); ?></label>
196
- </th>
197
- <td class="alternate">
198
- <select name="wm_config-theme" id="wm_config-theme">
199
- <option value="0" <?php selected( $value['theme'], 0 ); ?>><?php _e('Own CSS Stylesheet', FB_WM_TEXTDOMAIN ); ?> </option>
200
- <option value="1" <?php selected( $value['theme'], 1 ); ?>><?php _e('Simple Text', FB_WM_TEXTDOMAIN ); ?> </option>
201
- <option value="2" <?php selected( $value['theme'], 2 ); ?>><?php _e('The Truck', FB_WM_TEXTDOMAIN ); ?> </option>
202
- <option value="3" <?php selected( $value['theme'], 3 ); ?>><?php _e('The Sun', FB_WM_TEXTDOMAIN ); ?> </option>
203
- <option value="4" <?php selected( $value['theme'], 4 ); ?>><?php _e('The FF Error', FB_WM_TEXTDOMAIN ); ?> </option>
204
- <option value="5" <?php selected( $value['theme'], 5 ); ?>><?php _e('Monster', FB_WM_TEXTDOMAIN ); ?> </option>
205
- <option value="6" <?php selected( $value['theme'], 6 ); ?>><?php _e('Chastely', FB_WM_TEXTDOMAIN ); ?> </option>
206
- <option value="7" <?php selected( $value['theme'], 7 ); ?>><?php _e('Only Typo', FB_WM_TEXTDOMAIN ); ?> </option>
207
- <option value="8" <?php selected( $value['theme'], 8 ); ?>><?php _e('Paint', FB_WM_TEXTDOMAIN ); ?> </option>
208
- <option value="9" <?php selected( $value['theme'], 9 ); ?>><?php _e('Animate (Flash)', FB_WM_TEXTDOMAIN ); ?> </option>
209
- <option value="10" <?php selected( $value['theme'], 10 ); ?>><?php _e('Damask', FB_WM_TEXTDOMAIN ); ?> </option>
210
- <option value="11" <?php selected( $value['theme'], 11 ); ?>><?php _e('Lego', FB_WM_TEXTDOMAIN ); ?> </option>
211
- <option value="12" <?php selected( $value['theme'], 12 ); ?>><?php _e('Chemistry', FB_WM_TEXTDOMAIN ); ?> </option>
212
- </select>
213
- </td>
214
- </tr>
215
- <tr valign="top">
216
- <th scope="row">
217
- <label for="wm_config-styleurl"><?php _e( 'Own CSS Style URL:', FB_WM_TEXTDOMAIN ); ?></label>
218
- </th>
219
- <td class="alternate">
220
- <input size="30" type="text" id="wm_config-styleurl" name="wm_config-styleurl" value="<?php if ( isset($value['styleurl']) ) echo $value['styleurl']; ?>" /> <small><?php _e( 'URL to the css-file (incl. http://)', FB_WM_TEXTDOMAIN ); ?></small>
221
- <br />
222
- <small><?php _e( '<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!', FB_WM_TEXTDOMAIN ); ?></small>
223
- </td>
224
- </tr>
225
- <tr valign="top">
226
- <th scope="row">
227
- <label for="wm_config-preview"><?php _e( 'Preview', FB_WM_TEXTDOMAIN ); ?></label>
228
- </th>
229
- <td class="alternate" style="padding:5px 0 0 0;">
230
- <script type="text/javascript">
231
- <!--
232
- var viewportwidth,
233
- viewportheight;
234
- if (typeof window.innerWidth != 'undefined' ) {
235
- viewportwidth = window.innerWidth-80,
236
- viewportheight = window.innerHeight-100
237
- } else if (typeof document.documentElement != 'undefined'
238
- && typeof document.documentElement.clientWidth !=
239
- 'undefined' && document.documentElement.clientWidth != 0)
240
- {
241
- viewportwidth = document.documentElement.clientWidth,
242
- viewportheight = document.documentElement.clientHeight
243
- } else { // older versions of IE
244
- viewportwidth = document.getElementsByTagName('body' )[0].clientWidth,
245
- viewportheight = document.getElementsByTagName('body' )[0].clientHeight
246
- }
247
- document.write('<a onclick="return false;" href="<?php echo WP_PLUGIN_URL . '/'
248
- . FB_WM_BASEDIR; ?>/index.php?KeepThis=true&amp;TB_iframe=true&amp;height='
249
- + viewportheight + '&amp;width=' + viewportwidth
250
- + '&amp;modal=false" class="thickbox button"><?php _e( 'Preview', FB_WM_TEXTDOMAIN ); ?></a>' );
251
- //-->
252
- </script>
253
- </td>
254
- </tr>
255
- <tr valign="top">
256
- <th scope="row">
257
- <label for="wm_config-index"><?php _e( 'noindex, nofollow:', FB_WM_TEXTDOMAIN ); ?></label>
258
- </th>
259
- <td>
260
- <select name="wm_config-index" id="wm_config-index">
261
- <option value="0" <?php selected( $value['index'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
262
- <option value="1" <?php selected( $value['index'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
263
- </select>
264
- <br />
265
- <small><?php _e( 'The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow.', FB_WM_TEXTDOMAIN ); ?></small>
266
- </td>
267
- </tr>
268
- <tr valign="top">
269
- <th scope="row">
270
- <label for="wm_config-title"><?php _e( 'Title:', FB_WM_TEXTDOMAIN ); ?></label>
271
- </th>
272
- <td>
273
- <input size="30" type="text" id="wm_config-title" name="wm_config-title" value="<?php if ( isset($value['title']) ) echo $value['title']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
274
- </td>
275
- </tr>
276
- <tr valign="top">
277
- <th scope="row">
278
- <label for="wm_config-header"><?php _e( 'Header:', FB_WM_TEXTDOMAIN ); ?></label>
279
- </th>
280
- <td class="alternate">
281
- <input size="30" type="text" id="wm_config-header" name="wm_config-header" value="<?php if ( isset($value['header']) ) echo $value['header']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
282
- </td>
283
- </tr>
284
- <tr valign="top">
285
- <th scope="row">
286
- <label for="wm_config-heading"><?php _e( 'Heading:', FB_WM_TEXTDOMAIN ); ?></label>
287
- </th>
288
- <td>
289
- <input size="30" type="text" id="wm_config-heading" name="wm_config-heading" value="<?php if ( isset($value['heading']) ) echo $value['heading']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
290
- </td>
291
- </tr>
292
- <tr valign="top">
293
- <th scope="row">
294
- <label for="wm_config-text"><?php _e( 'Text:', FB_WM_TEXTDOMAIN ); ?></label>
295
- </th>
296
- <td class="alternate">
297
- <textarea class="code" style="width: 95%;" cols="40" rows="4" name="wm_config-text" id="wm_config-text"><?php if ( isset($value['text']) ) echo esc_attr($value['text']); ?></textarea>
298
- <br />
299
- <small>
300
- <?php _e( '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.', FB_WM_TEXTDOMAIN ); ?>
301
- <?php _e( 'Use <code>[loginform]</code> for add the default login form in the maintenance page.', FB_WM_TEXTDOMAIN ); ?>
302
- </small>
303
- </td>
304
- </tr>
305
- <tr valign="top">
306
- <th scope="row">
307
- <label for="wm_config-exclude"><?php _e( 'Exclude:', FB_WM_TEXTDOMAIN ); ?></label>
308
- </th>
309
- <td>
310
- <?php
311
- if ( isset($value['exclude']) && '' !== $value['exclude'][0] ) {
312
- if ( is_array( $value['exclude'] ) && 1 <= count($value['exclude']) ) {
313
- $value_exclude = implode( ', ', $value['exclude'] );
314
- } else {
315
- $value_exclude = $value['exclude'];
316
- }
317
- } else {
318
- $value_exclude = NULL;
319
- }
320
- ?>
321
- <input class="large-text" size="30" type="text" id="wm_config-exclude" name="wm_config-exclude" value="<?php echo $value_exclude; ?>" />
322
- <br />
323
- <small><?php _e( 'Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:', FB_WM_TEXTDOMAIN ); ?> <code>wp-cron, feed, wp-admin, ?page_id=12, about, category/test, 127.0.0.1</code></small>
324
- </td>
325
- </tr>
326
-
327
- <tr valign="top">
328
- <th scope="row">
329
- <label for="wm_config-bypass"><?php _e( 'Bypass for Search Bots:', FB_WM_TEXTDOMAIN ); ?></label>
330
- </th>
331
- <td>
332
- <select name="wm_config-bypass" id="wm_config-bypass">
333
- <option value="0" <?php selected( $value['bypass'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
334
- <option value="1" <?php selected( $value['bypass'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
335
- </select>
336
- <small><?php _e( 'Allow Search Bots to bypass maintenance mode?', FB_WM_TEXTDOMAIN ); ?></small>
337
- </td>
338
- </tr>
339
-
340
- <tr valign="top">
341
- <th scope="row">
342
- <label for="wm_config-role"><?php _e( 'Backend Role:', FB_WM_TEXTDOMAIN ); ?></label>
343
- </th>
344
- <td class="alternate">
345
- <select name="wm_config-role" id="wm_config-role">
346
- <?php
347
- // fallback
348
- if ( ! isset($value['role'][0]) )
349
- $value['role'][0] = NULL;
350
-
351
- foreach ( $wp_roles->roles as $role => $name ) {
352
- if ( function_exists('translate_user_role') )
353
- $role_name = translate_user_role( $name['name'] );
354
- elseif ( function_exists('before_last_bar') )
355
- $role_name = before_last_bar( $name['name'], 'User role' );
356
- else
357
- $role_name = strrpos( $name['name'], '|' );
358
-
359
- if ($value['role'][0] !== $role)
360
- $selected = '';
361
- else
362
- $selected = ' selected="selected"';
363
- echo '<option value="' . $role . '"' . $selected . '>' . $role_name . ' (' . $role . ')' . ' </option>';
364
- }
365
- ?>
366
- </select>
367
- <small><?php _e( 'Allowed userrole to access the backend of this blog.', FB_WM_TEXTDOMAIN ); ?>
368
- <?php if ( is_multisite() ) { _e( 'Super Admin has always access.', FB_WM_TEXTDOMAIN ); } ?></small>
369
- </td>
370
- </tr>
371
- <tr valign="top">
372
- <th scope="row">
373
- <label for="wm_config-role_frontend"><?php _e( 'Frontend Role:', FB_WM_TEXTDOMAIN ); ?></label>
374
- </th>
375
- <td class="alternate">
376
- <select name="wm_config-role_frontend" id="wm_config-role_frontend">
377
- <?php
378
- // fallback
379
- if ( ! isset($value['role_frontend'][0]) )
380
- $value['role_frontend'][0] = NULL;
381
-
382
- foreach ( $wp_roles->roles as $role_frontend => $name ) {
383
- if ( function_exists('translate_user_role') )
384
- $role_name = translate_user_role( $name['name'] );
385
- elseif ( function_exists('before_last_bar') )
386
- $role_name = before_last_bar( $name['name'], 'User role' );
387
- else
388
- $role_name = strrpos( $name['name'], '|' );
389
-
390
- if ($value['role_frontend'][0] !== $role_frontend)
391
- $selected = '';
392
- else
393
- $selected = ' selected="selected"';
394
- echo '<option value="' . $role_frontend . '"' . $selected . '>' . $role_name . ' (' . $role_frontend . ')' . ' </option>';
395
- }
396
- ?>
397
- </select>
398
- <small><?php _e( 'Allowed userrole to see the frontend of this blog.', FB_WM_TEXTDOMAIN ); ?>
399
- <?php if ( is_multisite() ) { _e( 'Super Admin has always access.', FB_WM_TEXTDOMAIN ); } ?></small>
400
- </td>
401
- </tr>
402
- <tr valign="top">
403
- <th scope="row">
404
- <label for="wm_config-rewrite"><?php _e( 'Redirection:', FB_WM_TEXTDOMAIN ); ?></label>
405
- </th>
406
- <td class="alternate">
407
- <input class="large-text" size="30" type="text" id="wm_config-rewrite" name="wm_config-rewrite" value="<?php if ( isset($value['rewrite']) ) echo $value['rewrite']; ?>" />
408
- <br />
409
- <small><?php _e( 'If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)', FB_WM_TEXTDOMAIN ); ?></small>
410
- </td>
411
- </tr>
412
-
413
- <tr valign="top">
414
- <th scope="row">
415
- <label for="wm_config-notice"><?php _e( 'Notice:', FB_WM_TEXTDOMAIN ); ?></label>
416
- </th>
417
- <td>
418
- <select name="wm_config-notice" id="wm_config-notice">
419
- <option value="0" <?php selected( $value['notice'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
420
- <option value="1" <?php selected( $value['notice'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
421
- </select>
422
- <small><?php _e( 'Do you will see all notices, inside backend, the Admin Bar and the login screen?', FB_WM_TEXTDOMAIN ); ?></small>
423
- </td>
424
- </tr>
425
-
426
- </table>
427
- <br />
428
- <div class="plugin-update-tr">
429
- <p id="wm_message_update2" class="update-message"><?php echo sprintf( __( 'Plugin %s settings <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
430
- </div>
431
- <p id="submitbutton">
432
- <input id="wm_config_submit" type="button" value="<?php _e( 'Save', FB_WM_TEXTDOMAIN ); ?>" class="button-secondary" />
433
- </p>
434
- </div>
435
-
436
- </td>
437
- </tr>
438
- <?php
439
- }
440
-
441
- } // end class
1
+ <?php
2
+ /**
3
+ * Settings markup
4
+ *
5
+ * @since 09/20/2012
6
+ */
7
+ class WPMaintenanceMode_Settings {
8
+
9
+ protected static $classobj;
10
+
11
+ public function __construct() {
12
+
13
+ if ( ! is_admin() )
14
+ return;
15
+
16
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( FB_WM_BASENAME ) ) ) {
17
+ // multisite install
18
+ add_filter( 'network_admin_plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
19
+ add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
20
+ } else {
21
+ // Single mode install of WP
22
+ if ( version_compare( $GLOBALS['wp_version'], '2.7alpha', '>' ) ) {
23
+ add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
24
+ add_filter( 'plugin_action_links_' . FB_WM_BASENAME, array( $this, 'add_settings_link' ), 10, 2 );
25
+ } else {
26
+ add_action( 'after_plugin_row', array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
27
+ add_filter( 'plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
28
+ }
29
+ }
30
+
31
+ wp_enqueue_style( 'wp-maintenance-mode-options', plugin_dir_url( FB_WM_BASENAME ) . 'css/style.css' );
32
+ }
33
+
34
+ /**
35
+ * Handler for the action 'init'. Instantiates this class.
36
+ *
37
+ * @since 2.0.0
38
+ * @access public
39
+ * @return $classobj
40
+ */
41
+ public static function get_object() {
42
+
43
+ if ( NULL === self :: $classobj ) {
44
+ self :: $classobj = new self;
45
+ }
46
+
47
+ return self :: $classobj;
48
+ }
49
+
50
+ function add_settings_link( $links, $file ) {
51
+
52
+ if ( plugin_basename( FB_WM_BASENAME ) == $file )
53
+ array_unshift(
54
+ $links,
55
+ sprintf( '<a id="wm-pluginconflink" href="javascript:void(0)" title="Configure this plugin">%s</a>', __('Settings') )
56
+ );
57
+
58
+ return $links;
59
+ }
60
+
61
+
62
+ function network_admin_add_settings_link( $links, $file ) {
63
+
64
+ if ( plugin_basename( FB_WM_BASENAME ) == $file )
65
+ $links[] = '<a id="wm-pluginconflink" href="javascript:void(0)" title="Configure this plugin">' . __('Settings') . '</a>';
66
+
67
+ return $links;
68
+ }
69
+
70
+ /**
71
+ * Add settings markup
72
+ *
73
+ * @param $wm_pluginfile Object
74
+ * @param $wm_plugindata Object (array)
75
+ * @param $wm_context Object (all, active, inactive)
76
+ * @return void
77
+ */
78
+ public function add_config_form( $wm_pluginfile, $wm_plugindata, $wm_context ) {
79
+ global $wp_roles;
80
+
81
+ //if ( 0 < count($_POST['checked']) )
82
+ // return;
83
+
84
+ if ( is_multisite() && is_plugin_active_for_network( FB_WM_BASENAME ) )
85
+ $value = get_site_option( FB_WM_TEXTDOMAIN );
86
+ else
87
+ $value = get_option( FB_WM_TEXTDOMAIN );
88
+
89
+ // check the additional settings
90
+ if ( ! isset( $value['notice'] ) )
91
+ $value['notice'] = 1;
92
+ if ( ! isset( $value['bypass'] ) )
93
+ $value['bypass'] = 0;
94
+ ?>
95
+ <tr id="wm_config_tr" >
96
+ <td colspan="3">
97
+
98
+ <div id="wm_config_row" class="<?php echo ( isset($_GET['show']) && 'wmconfig' == $_GET['show'] ) ? '' : 'config_hidden' ;?>">
99
+ <div class="updated fade" id="wm_message_update" style="background-color: #FFFBCC;">
100
+ <p><?php echo sprintf( __( 'Plugin %s settings <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
101
+ </div>
102
+ <div class="error fade" id="wm_message_active" >
103
+ <p><?php echo sprintf( __( 'Plugin %s active status <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
104
+ </div>
105
+
106
+ <h4><?php _e( 'Plugin Activate', FB_WM_TEXTDOMAIN ); ?></h4>
107
+ <input type="hidden" name="wm_action" value="wm_config-active" />
108
+ <p>
109
+ <select name="wm_config-active" id="wm_config-active">
110
+ <option value="0"<?php if ( isset($value['active']) && 0 === $value['active'] ) { echo ' selected="selected"'; } ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
111
+ <option value="1"<?php if ( isset($value['active']) && 1 === $value['active'] ) { echo ' selected="selected"'; } ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
112
+ </select>
113
+ <input id="wm_config_active" type="button" value="<?php _e( 'Update', FB_WM_TEXTDOMAIN ); ?>" class="button-primary" />
114
+ </p>
115
+ <div class="plugin-update-tr">
116
+ <p id="wm_message_active2" class="update-message"><?php echo sprintf( __( 'Plugin %s active status <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
117
+ </div>
118
+
119
+ <h4><?php _e( 'Plugin Settings', FB_WM_TEXTDOMAIN ); ?></h4>
120
+ <input type="hidden" name="wm_action" value="wm_config-update" />
121
+
122
+ <table class="form-table">
123
+ <tr valign="top">
124
+ <th scope="row">
125
+ <label for="wm_config-radio"><?php _e( 'Countdown:', FB_WM_TEXTDOMAIN ); ?></label>
126
+ </th>
127
+ <td>
128
+ <select name="wm_config-radio" id="wm_config-radio">
129
+ <option value="0" <?php selected( $value['radio'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
130
+ <option value="1" <?php selected( $value['radio'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
131
+ </select>
132
+ </td>
133
+ </tr>
134
+ <tr valign="top">
135
+ <th scope="row">
136
+ <label for="wm_config-date" title="<?php _e( 'Click for datepicker', FB_WM_TEXTDOMAIN ); ?>"><?php _e( 'Date:', FB_WM_TEXTDOMAIN ); ?></label>
137
+ </th>
138
+ <td>
139
+ <input size="30" title="<?php _e( 'Click for datepicker', FB_WM_TEXTDOMAIN ); ?>" type="text" id="wm_config-date" name="wm_config-date" value="<?php if ( isset($value['date']) ) echo $value['date']; ?>" /><br />
140
+ <small><?php _e( 'Activate countdown for using this. Use value and unit or use the countdown and set the date.', FB_WM_TEXTDOMAIN ); ?></small>
141
+ </td>
142
+ </tr>
143
+ <tr valign="top">
144
+ <th scope="row">
145
+ <label for="wm_config-time"><?php _e( 'Value:', FB_WM_TEXTDOMAIN ); ?></label>
146
+ </th>
147
+ <td class="alternate">
148
+ <input size="5" type="text" id="wm_config-time" name="wm_config-time" value="<?php if( isset($value['time']) ) echo $value['time']; ?>" />
149
+ </td>
150
+ </tr>
151
+ <tr valign="top">
152
+ <th scope="row">
153
+ <label for="wm_config-unit"><?php _e( 'Unit:', FB_WM_TEXTDOMAIN ); ?></label>
154
+ </th>
155
+ <td class="alternate">
156
+ <select name="wm_config-unit" id="wm_config-unit">
157
+ <option value="0" <?php selected( $value['unit'], 0 ); ?>><?php _e('second', FB_WM_TEXTDOMAIN ); ?> </option>
158
+ <option value="1" <?php selected( $value['unit'], 1 ); ?>><?php _e('minute', FB_WM_TEXTDOMAIN ); ?> </option>
159
+ <option value="2" <?php selected( $value['unit'], 2 ); ?>><?php _e('hour', FB_WM_TEXTDOMAIN ); ?> </option>
160
+ <option value="3" <?php selected( $value['unit'], 3 ); ?>><?php _e('day', FB_WM_TEXTDOMAIN ); ?> </option>
161
+ <option value="4" <?php selected( $value['unit'], 4 ); ?>><?php _e('week', FB_WM_TEXTDOMAIN ); ?> </option>
162
+ <option value="5" <?php selected( $value['unit'], 5 ); ?>><?php _e('month', FB_WM_TEXTDOMAIN ); ?> </option>
163
+ <option value="6" <?php selected( $value['unit'], 6 ); ?>><?php _e('year', FB_WM_TEXTDOMAIN ); ?> </option>
164
+ </select>
165
+ </td>
166
+ </tr>
167
+ <tr valign="top">
168
+ <th scope="row">
169
+ <label for="wm_config-link"><?php _e( 'Link:', FB_WM_TEXTDOMAIN ); ?></label>
170
+ </th>
171
+ <td>
172
+ <select name="wm_config-link" id="wm_config-link">
173
+ <option value="0" <?php selected( $value['link'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
174
+ <option value="1" <?php selected( $value['link'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
175
+ </select>
176
+ <br />
177
+ <small><?php _e( 'Please leave a link to the plugin- and design-author on your maintenance mode site.', FB_WM_TEXTDOMAIN ); ?></small>
178
+ </td>
179
+ </tr>
180
+ <tr valign="top">
181
+ <th scope="row">
182
+ <label for="wm_config-admin_link"><?php _e( 'Admin Link:', FB_WM_TEXTDOMAIN ); ?></label>
183
+ </th>
184
+ <td>
185
+ <select name="wm_config-admin_link" id="wm_config-admin_link">
186
+ <option value="0" <?php selected( $value['admin_link'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
187
+ <option value="1" <?php selected( $value['admin_link'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
188
+ </select>
189
+ <br />
190
+ <small><?php _e( 'Do you will a link to the admin area of your install?', FB_WM_TEXTDOMAIN ); ?></small>
191
+ </td>
192
+ </tr>
193
+ <tr valign="top">
194
+ <th scope="row">
195
+ <label for="wm_config-theme"><?php _e( 'CSS Style:', FB_WM_TEXTDOMAIN ); ?></label>
196
+ </th>
197
+ <td class="alternate">
198
+ <select name="wm_config-theme" id="wm_config-theme">
199
+ <option value="0" <?php selected( $value['theme'], 0 ); ?>><?php _e('Own CSS Stylesheet', FB_WM_TEXTDOMAIN ); ?> </option>
200
+ <option value="1" <?php selected( $value['theme'], 1 ); ?>><?php _e('Simple Text', FB_WM_TEXTDOMAIN ); ?> </option>
201
+ <option value="2" <?php selected( $value['theme'], 2 ); ?>><?php _e('The Truck', FB_WM_TEXTDOMAIN ); ?> </option>
202
+ <option value="3" <?php selected( $value['theme'], 3 ); ?>><?php _e('The Sun', FB_WM_TEXTDOMAIN ); ?> </option>
203
+ <option value="4" <?php selected( $value['theme'], 4 ); ?>><?php _e('The FF Error', FB_WM_TEXTDOMAIN ); ?> </option>
204
+ <option value="5" <?php selected( $value['theme'], 5 ); ?>><?php _e('Monster', FB_WM_TEXTDOMAIN ); ?> </option>
205
+ <option value="6" <?php selected( $value['theme'], 6 ); ?>><?php _e('Chastely', FB_WM_TEXTDOMAIN ); ?> </option>
206
+ <option value="7" <?php selected( $value['theme'], 7 ); ?>><?php _e('Only Typo', FB_WM_TEXTDOMAIN ); ?> </option>
207
+ <option value="8" <?php selected( $value['theme'], 8 ); ?>><?php _e('Paint', FB_WM_TEXTDOMAIN ); ?> </option>
208
+ <option value="9" <?php selected( $value['theme'], 9 ); ?>><?php _e('Animate (Flash)', FB_WM_TEXTDOMAIN ); ?> </option>
209
+ <option value="10" <?php selected( $value['theme'], 10 ); ?>><?php _e('Damask', FB_WM_TEXTDOMAIN ); ?> </option>
210
+ <option value="11" <?php selected( $value['theme'], 11 ); ?>><?php _e('Lego', FB_WM_TEXTDOMAIN ); ?> </option>
211
+ <option value="12" <?php selected( $value['theme'], 12 ); ?>><?php _e('Chemistry', FB_WM_TEXTDOMAIN ); ?> </option>
212
+ </select>
213
+ </td>
214
+ </tr>
215
+ <tr valign="top">
216
+ <th scope="row">
217
+ <label for="wm_config-styleurl"><?php _e( 'Own CSS Style URL:', FB_WM_TEXTDOMAIN ); ?></label>
218
+ </th>
219
+ <td class="alternate">
220
+ <input size="30" type="text" id="wm_config-styleurl" name="wm_config-styleurl" value="<?php if ( isset($value['styleurl']) ) echo $value['styleurl']; ?>" /> <small><?php _e( 'URL to the css-file (incl. http://)', FB_WM_TEXTDOMAIN ); ?></small>
221
+ <br />
222
+ <small><?php _e( '<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!', FB_WM_TEXTDOMAIN ); ?></small>
223
+ </td>
224
+ </tr>
225
+ <tr valign="top">
226
+ <th scope="row">
227
+ <label for="wm_config-preview"><?php _e( 'Preview', FB_WM_TEXTDOMAIN ); ?></label>
228
+ </th>
229
+ <td class="alternate" style="padding:5px 0 0 0;">
230
+ <script type="text/javascript">
231
+ <!--
232
+ var viewportwidth,
233
+ viewportheight;
234
+ if (typeof window.innerWidth != 'undefined' ) {
235
+ viewportwidth = window.innerWidth-80,
236
+ viewportheight = window.innerHeight-100
237
+ } else if (typeof document.documentElement != 'undefined'
238
+ && typeof document.documentElement.clientWidth !=
239
+ 'undefined' && document.documentElement.clientWidth != 0)
240
+ {
241
+ viewportwidth = document.documentElement.clientWidth,
242
+ viewportheight = document.documentElement.clientHeight
243
+ } else { // older versions of IE
244
+ viewportwidth = document.getElementsByTagName('body' )[0].clientWidth,
245
+ viewportheight = document.getElementsByTagName('body' )[0].clientHeight
246
+ }
247
+ document.write('<a onclick="return false;" href="<?php echo WP_PLUGIN_URL . '/'
248
+ . FB_WM_BASEDIR; ?>/index.php?KeepThis=true&amp;TB_iframe=true&amp;height='
249
+ + viewportheight + '&amp;width=' + viewportwidth
250
+ + '&amp;modal=false" class="thickbox button"><?php _e( 'Preview', FB_WM_TEXTDOMAIN ); ?></a>' );
251
+ //-->
252
+ </script>
253
+ </td>
254
+ </tr>
255
+ <tr valign="top">
256
+ <th scope="row">
257
+ <label for="wm_config-index"><?php _e( 'noindex, nofollow:', FB_WM_TEXTDOMAIN ); ?></label>
258
+ </th>
259
+ <td>
260
+ <select name="wm_config-index" id="wm_config-index">
261
+ <option value="0" <?php selected( $value['index'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
262
+ <option value="1" <?php selected( $value['index'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
263
+ </select>
264
+ <br />
265
+ <small><?php _e( 'The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow.', FB_WM_TEXTDOMAIN ); ?></small>
266
+ </td>
267
+ </tr>
268
+ <tr valign="top">
269
+ <th scope="row">
270
+ <label for="wm_config-title"><?php _e( 'Title:', FB_WM_TEXTDOMAIN ); ?></label>
271
+ </th>
272
+ <td>
273
+ <input size="30" type="text" id="wm_config-title" name="wm_config-title" value="<?php if ( isset($value['title']) ) echo $value['title']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
274
+ </td>
275
+ </tr>
276
+ <tr valign="top">
277
+ <th scope="row">
278
+ <label for="wm_config-header"><?php _e( 'Header:', FB_WM_TEXTDOMAIN ); ?></label>
279
+ </th>
280
+ <td class="alternate">
281
+ <input size="30" type="text" id="wm_config-header" name="wm_config-header" value="<?php if ( isset($value['header']) ) echo $value['header']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
282
+ </td>
283
+ </tr>
284
+ <tr valign="top">
285
+ <th scope="row">
286
+ <label for="wm_config-heading"><?php _e( 'Heading:', FB_WM_TEXTDOMAIN ); ?></label>
287
+ </th>
288
+ <td>
289
+ <input size="30" type="text" id="wm_config-heading" name="wm_config-heading" value="<?php if ( isset($value['heading']) ) echo $value['heading']; ?>" /> <small><?php _e( 'Leave empty for default.', FB_WM_TEXTDOMAIN ); ?></small>
290
+ </td>
291
+ </tr>
292
+ <tr valign="top">
293
+ <th scope="row">
294
+ <label for="wm_config-text"><?php _e( 'Text:', FB_WM_TEXTDOMAIN ); ?></label>
295
+ </th>
296
+ <td class="alternate">
297
+ <textarea class="code" style="width: 95%;" cols="40" rows="4" name="wm_config-text" id="wm_config-text"><?php if ( isset($value['text']) ) echo esc_attr($value['text']); ?></textarea>
298
+ <br />
299
+ <small>
300
+ <?php _e( '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.', FB_WM_TEXTDOMAIN ); ?>
301
+ <?php _e( 'Use <code>[loginform]</code> for add the default login form in the maintenance page.', FB_WM_TEXTDOMAIN ); ?>
302
+ </small>
303
+ </td>
304
+ </tr>
305
+ <tr valign="top">
306
+ <th scope="row">
307
+ <label for="wm_config-exclude"><?php _e( 'Exclude:', FB_WM_TEXTDOMAIN ); ?></label>
308
+ </th>
309
+ <td>
310
+ <?php
311
+ if ( isset($value['exclude']) && '' !== $value['exclude'][0] ) {
312
+ if ( is_array( $value['exclude'] ) && 1 <= count($value['exclude']) ) {
313
+ $value_exclude = implode( ', ', $value['exclude'] );
314
+ } else {
315
+ $value_exclude = $value['exclude'];
316
+ }
317
+ } else {
318
+ $value_exclude = NULL;
319
+ }
320
+ ?>
321
+ <input class="large-text" size="30" type="text" id="wm_config-exclude" name="wm_config-exclude" value="<?php echo $value_exclude; ?>" />
322
+ <br />
323
+ <small><?php _e( 'Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:', FB_WM_TEXTDOMAIN ); ?> <code>wp-cron, feed, wp-admin, ?page_id=12, about, category/test, 127.0.0.1</code></small>
324
+ </td>
325
+ </tr>
326
+
327
+ <tr valign="top">
328
+ <th scope="row">
329
+ <label for="wm_config-bypass"><?php _e( 'Bypass for Search Bots:', FB_WM_TEXTDOMAIN ); ?></label>
330
+ </th>
331
+ <td>
332
+ <select name="wm_config-bypass" id="wm_config-bypass">
333
+ <option value="0" <?php selected( $value['bypass'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
334
+ <option value="1" <?php selected( $value['bypass'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
335
+ </select>
336
+ <small><?php _e( 'Allow Search Bots to bypass maintenance mode?', FB_WM_TEXTDOMAIN ); ?></small>
337
+ </td>
338
+ </tr>
339
+
340
+ <tr valign="top">
341
+ <th scope="row">
342
+ <label for="wm_config-role"><?php _e( 'Backend Role:', FB_WM_TEXTDOMAIN ); ?></label>
343
+ </th>
344
+ <td class="alternate">
345
+ <select name="wm_config-role" id="wm_config-role">
346
+ <?php
347
+ // fallback
348
+ if ( ! isset($value['role'][0]) )
349
+ $value['role'][0] = NULL;
350
+
351
+ foreach ( $wp_roles->roles as $role => $name ) {
352
+ if ( function_exists('translate_user_role') )
353
+ $role_name = translate_user_role( $name['name'] );
354
+ elseif ( function_exists('before_last_bar') )
355
+ $role_name = before_last_bar( $name['name'], 'User role' );
356
+ else
357
+ $role_name = strrpos( $name['name'], '|' );
358
+
359
+ if ($value['role'][0] !== $role)
360
+ $selected = '';
361
+ else
362
+ $selected = ' selected="selected"';
363
+ echo '<option value="' . $role . '"' . $selected . '>' . $role_name . ' (' . $role . ')' . ' </option>';
364
+ }
365
+ ?>
366
+ </select>
367
+ <small><?php _e( 'Allowed userrole to access the backend of this blog.', FB_WM_TEXTDOMAIN ); ?>
368
+ <?php if ( is_multisite() ) { _e( 'Super Admin has always access.', FB_WM_TEXTDOMAIN ); } ?></small>
369
+ </td>
370
+ </tr>
371
+ <tr valign="top">
372
+ <th scope="row">
373
+ <label for="wm_config-role_frontend"><?php _e( 'Frontend Role:', FB_WM_TEXTDOMAIN ); ?></label>
374
+ </th>
375
+ <td class="alternate">
376
+ <select name="wm_config-role_frontend" id="wm_config-role_frontend">
377
+ <?php
378
+ // fallback
379
+ if ( ! isset($value['role_frontend'][0]) )
380
+ $value['role_frontend'][0] = NULL;
381
+
382
+ foreach ( $wp_roles->roles as $role_frontend => $name ) {
383
+ if ( function_exists('translate_user_role') )
384
+ $role_name = translate_user_role( $name['name'] );
385
+ elseif ( function_exists('before_last_bar') )
386
+ $role_name = before_last_bar( $name['name'], 'User role' );
387
+ else
388
+ $role_name = strrpos( $name['name'], '|' );
389
+
390
+ if ($value['role_frontend'][0] !== $role_frontend)
391
+ $selected = '';
392
+ else
393
+ $selected = ' selected="selected"';
394
+ echo '<option value="' . $role_frontend . '"' . $selected . '>' . $role_name . ' (' . $role_frontend . ')' . ' </option>';
395
+ }
396
+ ?>
397
+ </select>
398
+ <small><?php _e( 'Allowed userrole to see the frontend of this blog.', FB_WM_TEXTDOMAIN ); ?>
399
+ <?php if ( is_multisite() ) { _e( 'Super Admin has always access.', FB_WM_TEXTDOMAIN ); } ?></small>
400
+ </td>
401
+ </tr>
402
+ <tr valign="top">
403
+ <th scope="row">
404
+ <label for="wm_config-rewrite"><?php _e( 'Redirection:', FB_WM_TEXTDOMAIN ); ?></label>
405
+ </th>
406
+ <td class="alternate">
407
+ <input class="large-text" size="30" type="text" id="wm_config-rewrite" name="wm_config-rewrite" value="<?php if ( isset($value['rewrite']) ) echo $value['rewrite']; ?>" />
408
+ <br />
409
+ <small><?php _e( 'If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)', FB_WM_TEXTDOMAIN ); ?></small>
410
+ </td>
411
+ </tr>
412
+
413
+ <tr valign="top">
414
+ <th scope="row">
415
+ <label for="wm_config-notice"><?php _e( 'Notice:', FB_WM_TEXTDOMAIN ); ?></label>
416
+ </th>
417
+ <td>
418
+ <select name="wm_config-notice" id="wm_config-notice">
419
+ <option value="0" <?php selected( $value['notice'], 0 ); ?>><?php _e('False', FB_WM_TEXTDOMAIN ); ?> </option>
420
+ <option value="1" <?php selected( $value['notice'], 1 ); ?>><?php _e('True', FB_WM_TEXTDOMAIN ); ?> </option>
421
+ </select>
422
+ <small><?php _e( 'Do you will see all notices, inside backend, the Admin Bar and the login screen?', FB_WM_TEXTDOMAIN ); ?></small>
423
+ </td>
424
+ </tr>
425
+
426
+ </table>
427
+ <br />
428
+ <div class="plugin-update-tr">
429
+ <p id="wm_message_update2" class="update-message"><?php echo sprintf( __( 'Plugin %s settings <strong>updated</strong>.', FB_WM_TEXTDOMAIN ), $wm_plugindata['Name'] ); ?></p>
430
+ </div>
431
+ <p id="submitbutton">
432
+ <input id="wm_config_submit" type="button" value="<?php _e( 'Save', FB_WM_TEXTDOMAIN ); ?>" class="button-secondary" />
433
+ </p>
434
+ </div>
435
+
436
+ </td>
437
+ </tr>
438
+ <?php
439
+ }
440
+
441
+ } // end class
index.php CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
-
3
- if ( ! function_exists( 'fb_find_wp_config_path' ) ) {
4
- function fb_find_wp_config_path() {
5
-
6
- $dir = dirname(__FILE__);
7
-
8
- do {
9
- if( file_exists( $dir . "/wp-config.php" ) ) {
10
- return $dir;
11
- var_dump($dir);
12
- }
13
- } while ( $dir = realpath( "$dir/.." ) );
14
-
15
- return NULL;
16
- }
17
- }
18
-
19
- if ( ! defined( 'ABSPATH' ) ) {
20
- define( 'WP_USE_THEMES', FALSE );
21
- require_once( fb_find_wp_config_path() . '/wp-config.php' );
22
- }
23
-
24
- if( ! defined( 'ABSPATH' ) || ! current_user_can('unfiltered_html') ) {
25
- wp_die( __('Cheatin&#8217; uh?') );
26
- exit;
27
- }
28
- // Allow alternative splash page
29
- if ( ! file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
30
- include 'site.php';
1
+ <?php
2
+
3
+ if ( ! function_exists( 'fb_find_wp_config_path' ) ) {
4
+ function fb_find_wp_config_path() {
5
+
6
+ $dir = dirname(__FILE__);
7
+
8
+ do {
9
+ if( file_exists( $dir . "/wp-config.php" ) ) {
10
+ return $dir;
11
+ var_dump($dir);
12
+ }
13
+ } while ( $dir = realpath( "$dir/.." ) );
14
+
15
+ return NULL;
16
+ }
17
+ }
18
+
19
+ if ( ! defined( 'ABSPATH' ) ) {
20
+ define( 'WP_USE_THEMES', FALSE );
21
+ require_once( fb_find_wp_config_path() . '/wp-config.php' );
22
+ }
23
+
24
+ if( ! defined( 'ABSPATH' ) || ! current_user_can('unfiltered_html') ) {
25
+ wp_die( __('Cheatin&#8217; uh?') );
26
+ exit;
27
+ }
28
+ // Allow alternative splash page
29
+ if ( ! file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
30
+ include 'site.php';
js/jquery-ui-timepicker-addon.js CHANGED
@@ -1,1919 +1,1919 @@
1
- /*
2
- * jQuery timepicker addon
3
- * By: Trent Richardson [http://trentrichardson.com]
4
- * Version 1.2
5
- * Last Modified: 02/02/2013
6
- *
7
- * Copyright 2013 Trent Richardson
8
- * You may use this project under MIT or GPL licenses.
9
- * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
10
- * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
11
- */
12
-
13
- /*jslint evil: true, white: false, undef: false, nomen: false */
14
-
15
- (function($) {
16
-
17
- /*
18
- * Lets not redefine timepicker, Prevent "Uncaught RangeError: Maximum call stack size exceeded"
19
- */
20
- $.ui.timepicker = $.ui.timepicker || {};
21
- if ($.ui.timepicker.version) {
22
- return;
23
- }
24
-
25
- /*
26
- * Extend jQueryUI, get it started with our version number
27
- */
28
- $.extend($.ui, {
29
- timepicker: {
30
- version: "1.2"
31
- }
32
- });
33
-
34
- /*
35
- * Timepicker manager.
36
- * Use the singleton instance of this class, $.timepicker, to interact with the time picker.
37
- * Settings for (groups of) time pickers are maintained in an instance object,
38
- * allowing multiple different settings on the same page.
39
- */
40
- var Timepicker = function() {
41
- this.regional = []; // Available regional settings, indexed by language code
42
- this.regional[''] = { // Default regional settings
43
- currentText: 'Now',
44
- closeText: 'Done',
45
- amNames: ['AM', 'A'],
46
- pmNames: ['PM', 'P'],
47
- timeFormat: 'HH:mm',
48
- timeSuffix: '',
49
- timeOnlyTitle: 'Choose Time',
50
- timeText: 'Time',
51
- hourText: 'Hour',
52
- minuteText: 'Minute',
53
- secondText: 'Second',
54
- millisecText: 'Millisecond',
55
- timezoneText: 'Time Zone',
56
- isRTL: false
57
- };
58
- this._defaults = { // Global defaults for all the datetime picker instances
59
- showButtonPanel: true,
60
- timeOnly: false,
61
- showHour: true,
62
- showMinute: true,
63
- showSecond: false,
64
- showMillisec: false,
65
- showTimezone: false,
66
- showTime: true,
67
- stepHour: 1,
68
- stepMinute: 1,
69
- stepSecond: 1,
70
- stepMillisec: 1,
71
- hour: 0,
72
- minute: 0,
73
- second: 0,
74
- millisec: 0,
75
- timezone: null,
76
- useLocalTimezone: false,
77
- defaultTimezone: "+0000",
78
- hourMin: 0,
79
- minuteMin: 0,
80
- secondMin: 0,
81
- millisecMin: 0,
82
- hourMax: 23,
83
- minuteMax: 59,
84
- secondMax: 59,
85
- millisecMax: 999,
86
- minDateTime: null,
87
- maxDateTime: null,
88
- onSelect: null,
89
- hourGrid: 0,
90
- minuteGrid: 0,
91
- secondGrid: 0,
92
- millisecGrid: 0,
93
- alwaysSetTime: true,
94
- separator: ' ',
95
- altFieldTimeOnly: true,
96
- altTimeFormat: null,
97
- altSeparator: null,
98
- altTimeSuffix: null,
99
- pickerTimeFormat: null,
100
- pickerTimeSuffix: null,
101
- showTimepicker: true,
102
- timezoneIso8601: false,
103
- timezoneList: null,
104
- addSliderAccess: false,
105
- sliderAccessArgs: null,
106
- controlType: 'slider',
107
- defaultValue: null,
108
- parse: 'strict'
109
- };
110
- $.extend(this._defaults, this.regional['']);
111
- };
112
-
113
- $.extend(Timepicker.prototype, {
114
- $input: null,
115
- $altInput: null,
116
- $timeObj: null,
117
- inst: null,
118
- hour_slider: null,
119
- minute_slider: null,
120
- second_slider: null,
121
- millisec_slider: null,
122
- timezone_select: null,
123
- hour: 0,
124
- minute: 0,
125
- second: 0,
126
- millisec: 0,
127
- timezone: null,
128
- defaultTimezone: "+0000",
129
- hourMinOriginal: null,
130
- minuteMinOriginal: null,
131
- secondMinOriginal: null,
132
- millisecMinOriginal: null,
133
- hourMaxOriginal: null,
134
- minuteMaxOriginal: null,
135
- secondMaxOriginal: null,
136
- millisecMaxOriginal: null,
137
- ampm: '',
138
- formattedDate: '',
139
- formattedTime: '',
140
- formattedDateTime: '',
141
- timezoneList: null,
142
- units: ['hour','minute','second','millisec'],
143
- control: null,
144
-
145
- /*
146
- * Override the default settings for all instances of the time picker.
147
- * @param settings object - the new settings to use as defaults (anonymous object)
148
- * @return the manager object
149
- */
150
- setDefaults: function(settings) {
151
- extendRemove(this._defaults, settings || {});
152
- return this;
153
- },
154
-
155
- /*
156
- * Create a new Timepicker instance
157
- */
158
- _newInst: function($input, o) {
159
- var tp_inst = new Timepicker(),
160
- inlineSettings = {},
161
- fns = {},
162
- overrides, i;
163
-
164
- for (var attrName in this._defaults) {
165
- if(this._defaults.hasOwnProperty(attrName)){
166
- var attrValue = $input.attr('time:' + attrName);
167
- if (attrValue) {
168
- try {
169
- inlineSettings[attrName] = eval(attrValue);
170
- } catch (err) {
171
- inlineSettings[attrName] = attrValue;
172
- }
173
- }
174
- }
175
- }
176
- overrides = {
177
- beforeShow: function (input, dp_inst) {
178
- if ($.isFunction(tp_inst._defaults.evnts.beforeShow)) {
179
- return tp_inst._defaults.evnts.beforeShow.call($input[0], input, dp_inst, tp_inst);
180
- }
181
- },
182
- onChangeMonthYear: function (year, month, dp_inst) {
183
- // Update the time as well : this prevents the time from disappearing from the $input field.
184
- tp_inst._updateDateTime(dp_inst);
185
- if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
186
- tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
187
- }
188
- },
189
- onClose: function (dateText, dp_inst) {
190
- if (tp_inst.timeDefined === true && $input.val() !== '') {
191
- tp_inst._updateDateTime(dp_inst);
192
- }
193
- if ($.isFunction(tp_inst._defaults.evnts.onClose)) {
194
- tp_inst._defaults.evnts.onClose.call($input[0], dateText, dp_inst, tp_inst);
195
- }
196
- }
197
- };
198
- for (i in overrides) {
199
- if (overrides.hasOwnProperty(i)) {
200
- fns[i] = o[i] || null;
201
- }
202
- }
203
- tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, o, overrides, {
204
- evnts:fns,
205
- timepicker: tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
206
- });
207
- tp_inst.amNames = $.map(tp_inst._defaults.amNames, function(val) {
208
- return val.toUpperCase();
209
- });
210
- tp_inst.pmNames = $.map(tp_inst._defaults.pmNames, function(val) {
211
- return val.toUpperCase();
212
- });
213
-
214
- // controlType is string - key to our this._controls
215
- if(typeof(tp_inst._defaults.controlType) === 'string'){
216
- if($.fn[tp_inst._defaults.controlType] === undefined){
217
- tp_inst._defaults.controlType = 'select';
218
- }
219
- tp_inst.control = tp_inst._controls[tp_inst._defaults.controlType];
220
- }
221
- // controlType is an object and must implement create, options, value methods
222
- else{
223
- tp_inst.control = tp_inst._defaults.controlType;
224
- }
225
-
226
- if (tp_inst._defaults.timezoneList === null) {
227
- var timezoneList = ['-1200', '-1100', '-1000', '-0930', '-0900', '-0800', '-0700', '-0600', '-0500', '-0430', '-0400', '-0330', '-0300', '-0200', '-0100', '+0000',
228
- '+0100', '+0200', '+0300', '+0330', '+0400', '+0430', '+0500', '+0530', '+0545', '+0600', '+0630', '+0700', '+0800', '+0845', '+0900', '+0930',
229
- '+1000', '+1030', '+1100', '+1130', '+1200', '+1245', '+1300', '+1400'];
230
-
231
- if (tp_inst._defaults.timezoneIso8601) {
232
- timezoneList = $.map(timezoneList, function(val) {
233
- return val == '+0000' ? 'Z' : (val.substring(0, 3) + ':' + val.substring(3));
234
- });
235
- }
236
- tp_inst._defaults.timezoneList = timezoneList;
237
- }
238
-
239
- tp_inst.timezone = tp_inst._defaults.timezone;
240
- tp_inst.hour = tp_inst._defaults.hour < tp_inst._defaults.hourMin? tp_inst._defaults.hourMin :
241
- tp_inst._defaults.hour > tp_inst._defaults.hourMax? tp_inst._defaults.hourMax : tp_inst._defaults.hour;
242
- tp_inst.minute = tp_inst._defaults.minute < tp_inst._defaults.minuteMin? tp_inst._defaults.minuteMin :
243
- tp_inst._defaults.minute > tp_inst._defaults.minuteMax? tp_inst._defaults.minuteMax : tp_inst._defaults.minute;
244
- tp_inst.second = tp_inst._defaults.second < tp_inst._defaults.secondMin? tp_inst._defaults.secondMin :
245
- tp_inst._defaults.second > tp_inst._defaults.secondMax? tp_inst._defaults.secondMax : tp_inst._defaults.second;
246
- tp_inst.millisec = tp_inst._defaults.millisec < tp_inst._defaults.millisecMin? tp_inst._defaults.millisecMin :
247
- tp_inst._defaults.millisec > tp_inst._defaults.millisecMax? tp_inst._defaults.millisecMax : tp_inst._defaults.millisec;
248
- tp_inst.ampm = '';
249
- tp_inst.$input = $input;
250
-
251
- if (o.altField) {
252
- tp_inst.$altInput = $(o.altField).css({
253
- cursor: 'pointer'
254
- }).focus(function() {
255
- $input.trigger("focus");
256
- });
257
- }
258
-
259
- if (tp_inst._defaults.minDate === 0 || tp_inst._defaults.minDateTime === 0) {
260
- tp_inst._defaults.minDate = new Date();
261
- }
262
- if (tp_inst._defaults.maxDate === 0 || tp_inst._defaults.maxDateTime === 0) {
263
- tp_inst._defaults.maxDate = new Date();
264
- }
265
-
266
- // datepicker needs minDate/maxDate, timepicker needs minDateTime/maxDateTime..
267
- if (tp_inst._defaults.minDate !== undefined && tp_inst._defaults.minDate instanceof Date) {
268
- tp_inst._defaults.minDateTime = new Date(tp_inst._defaults.minDate.getTime());
269
- }
270
- if (tp_inst._defaults.minDateTime !== undefined && tp_inst._defaults.minDateTime instanceof Date) {
271
- tp_inst._defaults.minDate = new Date(tp_inst._defaults.minDateTime.getTime());
272
- }
273
- if (tp_inst._defaults.maxDate !== undefined && tp_inst._defaults.maxDate instanceof Date) {
274
- tp_inst._defaults.maxDateTime = new Date(tp_inst._defaults.maxDate.getTime());
275
- }
276
- if (tp_inst._defaults.maxDateTime !== undefined && tp_inst._defaults.maxDateTime instanceof Date) {
277
- tp_inst._defaults.maxDate = new Date(tp_inst._defaults.maxDateTime.getTime());
278
- }
279
- tp_inst.$input.bind('focus', function() {
280
- tp_inst._onFocus();
281
- });
282
-
283
- return tp_inst;
284
- },
285
-
286
- /*
287
- * add our sliders to the calendar
288
- */
289
- _addTimePicker: function(dp_inst) {
290
- var currDT = (this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val();
291
-
292
- this.timeDefined = this._parseTime(currDT);
293
- this._limitMinMaxDateTime(dp_inst, false);
294
- this._injectTimePicker();
295
- },
296
-
297
- /*
298
- * parse the time string from input value or _setTime
299
- */
300
- _parseTime: function(timeString, withDate) {
301
- if (!this.inst) {
302
- this.inst = $.datepicker._getInst(this.$input[0]);
303
- }
304
-
305
- if (withDate || !this._defaults.timeOnly) {
306
- var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat');
307
- try {
308
- var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.datepicker._getFormatConfig(this.inst), this._defaults);
309
- if (!parseRes.timeObj) {
310
- return false;
311
- }
312
- $.extend(this, parseRes.timeObj);
313
- } catch (err) {
314
- $.timepicker.log("Error parsing the date/time string: " + err +
315
- "\ndate/time string = " + timeString +
316
- "\ntimeFormat = " + this._defaults.timeFormat +
317
- "\ndateFormat = " + dp_dateFormat);
318
- return false;
319
- }
320
- return true;
321
- } else {
322
- var timeObj = $.datepicker.parseTime(this._defaults.timeFormat, timeString, this._defaults);
323
- if (!timeObj) {
324
- return false;
325
- }
326
- $.extend(this, timeObj);
327
- return true;
328
- }
329
- },
330
-
331
- /*
332
- * generate and inject html for timepicker into ui datepicker
333
- */
334
- _injectTimePicker: function() {
335
- var $dp = this.inst.dpDiv,
336
- o = this.inst.settings,
337
- tp_inst = this,
338
- litem = '',
339
- uitem = '',
340
- max = {},
341
- gridSize = {},
342
- size = null;
343
-
344
- // Prevent displaying twice
345
- if ($dp.find("div.ui-timepicker-div").length === 0 && o.showTimepicker) {
346
- var noDisplay = ' style="display:none;"',
347
- html = '<div class="ui-timepicker-div'+ (o.isRTL? ' ui-timepicker-rtl' : '') +'"><dl>' + '<dt class="ui_tpicker_time_label"' + ((o.showTime) ? '' : noDisplay) + '>' + o.timeText + '</dt>' +
348
- '<dd class="ui_tpicker_time"' + ((o.showTime) ? '' : noDisplay) + '></dd>';
349
-
350
- // Create the markup
351
- for(var i=0,l=this.units.length; i<l; i++){
352
- litem = this.units[i];
353
- uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
354
- // Added by Peter Medeiros:
355
- // - Figure out what the hour/minute/second max should be based on the step values.
356
- // - Example: if stepMinute is 15, then minMax is 45.
357
- max[litem] = parseInt((o[litem+'Max'] - ((o[litem+'Max'] - o[litem+'Min']) % o['step'+uitem])), 10);
358
- gridSize[litem] = 0;
359
-
360
- html += '<dt class="ui_tpicker_'+ litem +'_label"' + ((o['show'+uitem]) ? '' : noDisplay) + '>' + o[litem +'Text'] + '</dt>' +
361
- '<dd class="ui_tpicker_'+ litem +'"><div class="ui_tpicker_'+ litem +'_slider"' + ((o['show'+uitem]) ? '' : noDisplay) + '></div>';
362
-
363
- if (o['show'+uitem] && o[litem+'Grid'] > 0) {
364
- html += '<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
365
-
366
- if(litem == 'hour'){
367
- for (var h = o[litem+'Min']; h <= max[litem]; h += parseInt(o[litem+'Grid'], 10)) {
368
- gridSize[litem]++;
369
- var tmph = $.datepicker.formatTime(useAmpm(o.pickerTimeFormat || o.timeFormat)? 'hht':'HH', {hour:h}, o);
370
- html += '<td data-for="'+litem+'">' + tmph + '</td>';
371
- }
372
- }
373
- else{
374
- for (var m = o[litem+'Min']; m <= max[litem]; m += parseInt(o[litem+'Grid'], 10)) {
375
- gridSize[litem]++;
376
- html += '<td data-for="'+litem+'">' + ((m < 10) ? '0' : '') + m + '</td>';
377
- }
378
- }
379
-
380
- html += '</tr></table></div>';
381
- }
382
- html += '</dd>';
383
- }
384
-
385
- // Timezone
386
- html += '<dt class="ui_tpicker_timezone_label"' + ((o.showTimezone) ? '' : noDisplay) + '>' + o.timezoneText + '</dt>';
387
- html += '<dd class="ui_tpicker_timezone" ' + ((o.showTimezone) ? '' : noDisplay) + '></dd>';
388
-
389
- // Create the elements from string
390
- html += '</dl></div>';
391
- var $tp = $(html);
392
-
393
- // if we only want time picker...
394
- if (o.timeOnly === true) {
395
- $tp.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all">' + '<div class="ui-datepicker-title">' + o.timeOnlyTitle + '</div>' + '</div>');
396
- $dp.find('.ui-datepicker-header, .ui-datepicker-calendar').hide();
397
- }
398
-
399
- // add sliders, adjust grids, add events
400
- for(var i=0,l=tp_inst.units.length; i<l; i++){
401
- litem = tp_inst.units[i];
402
- uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
403
-
404
- // add the slider
405
- tp_inst[litem+'_slider'] = tp_inst.control.create(tp_inst, $tp.find('.ui_tpicker_'+litem+'_slider'), litem, tp_inst[litem], o[litem+'Min'], max[litem], o['step'+uitem]);
406
-
407
- // adjust the grid and add click event
408
- if (o['show'+uitem] && o[litem+'Grid'] > 0) {
409
- size = 100 * gridSize[litem] * o[litem+'Grid'] / (max[litem] - o[litem+'Min']);
410
- $tp.find('.ui_tpicker_'+litem+' table').css({
411
- width: size + "%",
412
- marginLeft: o.isRTL? '0' : ((size / (-2 * gridSize[litem])) + "%"),
413
- marginRight: o.isRTL? ((size / (-2 * gridSize[litem])) + "%") : '0',
414
- borderCollapse: 'collapse'
415
- }).find("td").click(function(e){
416
- var $t = $(this),
417
- h = $t.html(),
418
- n = parseInt(h.replace(/[^0-9]/g),10),
419
- ap = h.replace(/[^apm]/ig),
420
- f = $t.data('for'); // loses scope, so we use data-for
421
-
422
- if(f == 'hour'){
423
- if(ap.indexOf('p') !== -1 && n < 12){
424
- n += 12;
425
- }
426
- else{
427
- if(ap.indexOf('a') !== -1 && n === 12){
428
- n = 0;
429
- }
430
- }
431
- }
432
-
433
- tp_inst.control.value(tp_inst, tp_inst[f+'_slider'], litem, n);
434
-
435
- tp_inst._onTimeChange();
436
- tp_inst._onSelectHandler();
437
- })
438
- .css({
439
- cursor: 'pointer',
440
- width: (100 / gridSize[litem]) + '%',
441
- textAlign: 'center',
442
- overflow: 'hidden'
443
- });
444
- } // end if grid > 0
445
- } // end for loop
446
-
447
- // Add timezone options
448
- this.timezone_select = $tp.find('.ui_tpicker_timezone').append('<select></select>').find("select");
449
- $.fn.append.apply(this.timezone_select,
450
- $.map(o.timezoneList, function(val, idx) {
451
- return $("<option />").val(typeof val == "object" ? val.value : val).text(typeof val == "object" ? val.label : val);
452
- }));
453
- if (typeof(this.timezone) != "undefined" && this.timezone !== null && this.timezone !== "") {
454
- var local_date = new Date(this.inst.selectedYear, this.inst.selectedMonth, this.inst.selectedDay, 12);
455
- var local_timezone = $.timepicker.timeZoneOffsetString(local_date);
456
- if (local_timezone == this.timezone) {
457
- selectLocalTimeZone(tp_inst);
458
- } else {
459
- this.timezone_select.val(this.timezone);
460
- }
461
- } else {
462
- if (typeof(this.hour) != "undefined" && this.hour !== null && this.hour !== "") {
463
- this.timezone_select.val(o.defaultTimezone);
464
- } else {
465
- selectLocalTimeZone(tp_inst);
466
- }
467
- }
468
- this.timezone_select.change(function() {
469
- tp_inst._defaults.useLocalTimezone = false;
470
- tp_inst._onTimeChange();
471
- tp_inst._onSelectHandler();
472
- });
473
- // End timezone options
474
-
475
- // inject timepicker into datepicker
476
- var $buttonPanel = $dp.find('.ui-datepicker-buttonpane');
477
- if ($buttonPanel.length) {
478
- $buttonPanel.before($tp);
479
- } else {
480
- $dp.append($tp);
481
- }
482
-
483
- this.$timeObj = $tp.find('.ui_tpicker_time');
484
-
485
- if (this.inst !== null) {
486
- var timeDefined = this.timeDefined;
487
- this._onTimeChange();
488
- this.timeDefined = timeDefined;
489
- }
490
-
491
- // slideAccess integration: http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/
492
- if (this._defaults.addSliderAccess) {
493
- var sliderAccessArgs = this._defaults.sliderAccessArgs,
494
- rtl = this._defaults.isRTL;
495
- sliderAccessArgs.isRTL = rtl;
496
-
497
- setTimeout(function() { // fix for inline mode
498
- if ($tp.find('.ui-slider-access').length === 0) {
499
- $tp.find('.ui-slider:visible').sliderAccess(sliderAccessArgs);
500
-
501
- // fix any grids since sliders are shorter
502
- var sliderAccessWidth = $tp.find('.ui-slider-access:eq(0)').outerWidth(true);
503
- if (sliderAccessWidth) {
504
- $tp.find('table:visible').each(function() {
505
- var $g = $(this),
506
- oldWidth = $g.outerWidth(),
507
- oldMarginLeft = $g.css(rtl? 'marginRight':'marginLeft').toString().replace('%', ''),
508
- newWidth = oldWidth - sliderAccessWidth,
509
- newMarginLeft = ((oldMarginLeft * newWidth) / oldWidth) + '%',
510
- css = { width: newWidth, marginRight: 0, marginLeft: 0 };
511
- css[rtl? 'marginRight':'marginLeft'] = newMarginLeft;
512
- $g.css(css);
513
- });
514
- }
515
- }
516
- }, 10);
517
- }
518
- // end slideAccess integration
519
-
520
- }
521
- },
522
-
523
- /*
524
- * This function tries to limit the ability to go outside the
525
- * min/max date range
526
- */
527
- _limitMinMaxDateTime: function(dp_inst, adjustSliders) {
528
- var o = this._defaults,
529
- dp_date = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay);
530
-
531
- if (!this._defaults.showTimepicker) {
532
- return;
533
- } // No time so nothing to check here
534
-
535
- if ($.datepicker._get(dp_inst, 'minDateTime') !== null && $.datepicker._get(dp_inst, 'minDateTime') !== undefined && dp_date) {
536
- var minDateTime = $.datepicker._get(dp_inst, 'minDateTime'),
537
- minDateTimeDate = new Date(minDateTime.getFullYear(), minDateTime.getMonth(), minDateTime.getDate(), 0, 0, 0, 0);
538
-
539
- if (this.hourMinOriginal === null || this.minuteMinOriginal === null || this.secondMinOriginal === null || this.millisecMinOriginal === null) {
540
- this.hourMinOriginal = o.hourMin;
541
- this.minuteMinOriginal = o.minuteMin;
542
- this.secondMinOriginal = o.secondMin;
543
- this.millisecMinOriginal = o.millisecMin;
544
- }
545
-
546
- if (dp_inst.settings.timeOnly || minDateTimeDate.getTime() == dp_date.getTime()) {
547
- this._defaults.hourMin = minDateTime.getHours();
548
- if (this.hour <= this._defaults.hourMin) {
549
- this.hour = this._defaults.hourMin;
550
- this._defaults.minuteMin = minDateTime.getMinutes();
551
- if (this.minute <= this._defaults.minuteMin) {
552
- this.minute = this._defaults.minuteMin;
553
- this._defaults.secondMin = minDateTime.getSeconds();
554
- if (this.second <= this._defaults.secondMin) {
555
- this.second = this._defaults.secondMin;
556
- this._defaults.millisecMin = minDateTime.getMilliseconds();
557
- } else {
558
- if (this.millisec < this._defaults.millisecMin) {
559
- this.millisec = this._defaults.millisecMin;
560
- }
561
- this._defaults.millisecMin = this.millisecMinOriginal;
562
- }
563
- } else {
564
- this._defaults.secondMin = this.secondMinOriginal;
565
- this._defaults.millisecMin = this.millisecMinOriginal;
566
- }
567
- } else {
568
- this._defaults.minuteMin = this.minuteMinOriginal;
569
- this._defaults.secondMin = this.secondMinOriginal;
570
- this._defaults.millisecMin = this.millisecMinOriginal;
571
- }
572
- } else {
573
- this._defaults.hourMin = this.hourMinOriginal;
574
- this._defaults.minuteMin = this.minuteMinOriginal;
575
- this._defaults.secondMin = this.secondMinOriginal;
576
- this._defaults.millisecMin = this.millisecMinOriginal;
577
- }
578
- }
579
-
580
- if ($.datepicker._get(dp_inst, 'maxDateTime') !== null && $.datepicker._get(dp_inst, 'maxDateTime') !== undefined && dp_date) {
581
- var maxDateTime = $.datepicker._get(dp_inst, 'maxDateTime'),
582
- maxDateTimeDate = new Date(maxDateTime.getFullYear(), maxDateTime.getMonth(), maxDateTime.getDate(), 0, 0, 0, 0);
583
-
584
- if (this.hourMaxOriginal === null || this.minuteMaxOriginal === null || this.secondMaxOriginal === null) {
585
- this.hourMaxOriginal = o.hourMax;
586
- this.minuteMaxOriginal = o.minuteMax;
587
- this.secondMaxOriginal = o.secondMax;
588
- this.millisecMaxOriginal = o.millisecMax;
589
- }
590
-
591
- if (dp_inst.settings.timeOnly || maxDateTimeDate.getTime() == dp_date.getTime()) {
592
- this._defaults.hourMax = maxDateTime.getHours();
593
- if (this.hour >= this._defaults.hourMax) {
594
- this.hour = this._defaults.hourMax;
595
- this._defaults.minuteMax = maxDateTime.getMinutes();
596
- if (this.minute >= this._defaults.minuteMax) {
597
- this.minute = this._defaults.minuteMax;
598
- this._defaults.secondMax = maxDateTime.getSeconds();
599
- if (this.second >= this._defaults.secondMax) {
600
- this.second = this._defaults.secondMax;
601
- this._defaults.millisecMax = maxDateTime.getMilliseconds();
602
- } else {
603
- if (this.millisec > this._defaults.millisecMax) {
604
- this.millisec = this._defaults.millisecMax;
605
- }
606
- this._defaults.millisecMax = this.millisecMaxOriginal;
607
- }
608
- } else {
609
- this._defaults.secondMax = this.secondMaxOriginal;
610
- this._defaults.millisecMax = this.millisecMaxOriginal;
611
- }
612
- } else {
613
- this._defaults.minuteMax = this.minuteMaxOriginal;
614
- this._defaults.secondMax = this.secondMaxOriginal;
615
- this._defaults.millisecMax = this.millisecMaxOriginal;
616
- }
617
- } else {
618
- this._defaults.hourMax = this.hourMaxOriginal;
619
- this._defaults.minuteMax = this.minuteMaxOriginal;
620
- this._defaults.secondMax = this.secondMaxOriginal;
621
- this._defaults.millisecMax = this.millisecMaxOriginal;
622
- }
623
- }
624
-
625
- if (adjustSliders !== undefined && adjustSliders === true) {
626
- var hourMax = parseInt((this._defaults.hourMax - ((this._defaults.hourMax - this._defaults.hourMin) % this._defaults.stepHour)), 10),
627
- minMax = parseInt((this._defaults.minuteMax - ((this._defaults.minuteMax - this._defaults.minuteMin) % this._defaults.stepMinute)), 10),
628
- secMax = parseInt((this._defaults.secondMax - ((this._defaults.secondMax - this._defaults.secondMin) % this._defaults.stepSecond)), 10),
629
- millisecMax = parseInt((this._defaults.millisecMax - ((this._defaults.millisecMax - this._defaults.millisecMin) % this._defaults.stepMillisec)), 10);
630
-
631
- if (this.hour_slider) {
632
- this.control.options(this, this.hour_slider, 'hour', { min: this._defaults.hourMin, max: hourMax });
633
- this.control.value(this, this.hour_slider, 'hour', this.hour - (this.hour % this._defaults.stepHour));
634
- }
635
- if (this.minute_slider) {
636
- this.control.options(this, this.minute_slider, 'minute', { min: this._defaults.minuteMin, max: minMax });
637
- this.control.value(this, this.minute_slider, 'minute', this.minute - (this.minute % this._defaults.stepMinute));
638
- }
639
- if (this.second_slider) {
640
- this.control.options(this, this.second_slider, 'second', { min: this._defaults.secondMin, max: secMax });
641
- this.control.value(this, this.second_slider, 'second', this.second - (this.second % this._defaults.stepSecond));
642
- }
643
- if (this.millisec_slider) {
644
- this.control.options(this, this.millisec_slider, 'millisec', { min: this._defaults.millisecMin, max: millisecMax });
645
- this.control.value(this, this.millisec_slider, 'millisec', this.millisec - (this.millisec % this._defaults.stepMillisec));
646
- }
647
- }
648
-
649
- },
650
-
651
- /*
652
- * when a slider moves, set the internal time...
653
- * on time change is also called when the time is updated in the text field
654
- */
655
- _onTimeChange: function() {
656
- var hour = (this.hour_slider) ? this.control.value(this, this.hour_slider, 'hour') : false,
657
- minute = (this.minute_slider) ? this.control.value(this, this.minute_slider, 'minute') : false,
658
- second = (this.second_slider) ? this.control.value(this, this.second_slider, 'second') : false,
659
- millisec = (this.millisec_slider) ? this.control.value(this, this.millisec_slider, 'millisec') : false,
660
- timezone = (this.timezone_select) ? this.timezone_select.val() : false,
661
- o = this._defaults,
662
- pickerTimeFormat = o.pickerTimeFormat || o.timeFormat,
663
- pickerTimeSuffix = o.pickerTimeSuffix || o.timeSuffix;
664
-
665
- if (typeof(hour) == 'object') {
666
- hour = false;
667
- }
668
- if (typeof(minute) == 'object') {
669
- minute = false;
670
- }
671
- if (typeof(second) == 'object') {
672
- second = false;
673
- }
674
- if (typeof(millisec) == 'object') {
675
- millisec = false;
676
- }
677
- if (typeof(timezone) == 'object') {
678
- timezone = false;
679
- }
680
-
681
- if (hour !== false) {
682
- hour = parseInt(hour, 10);
683
- }
684
- if (minute !== false) {
685
- minute = parseInt(minute, 10);
686
- }
687
- if (second !== false) {
688
- second = parseInt(second, 10);
689
- }
690
- if (millisec !== false) {
691
- millisec = parseInt(millisec, 10);
692
- }
693
-
694
- var ampm = o[hour < 12 ? 'amNames' : 'pmNames'][0];
695
-
696
- // If the update was done in the input field, the input field should not be updated.
697
- // If the update was done using the sliders, update the input field.
698
- var hasChanged = (hour != this.hour || minute != this.minute || second != this.second || millisec != this.millisec
699
- || (this.ampm.length > 0 && (hour < 12) != ($.inArray(this.ampm.toUpperCase(), this.amNames) !== -1))
700
- || ((this.timezone === null && timezone != this.defaultTimezone) || (this.timezone !== null && timezone != this.timezone)));
701
-
702
- if (hasChanged) {
703
-
704
- if (hour !== false) {
705
- this.hour = hour;
706
- }
707
- if (minute !== false) {
708
- this.minute = minute;
709
- }
710
- if (second !== false) {
711
- this.second = second;
712
- }
713
- if (millisec !== false) {
714
- this.millisec = millisec;
715
- }
716
- if (timezone !== false) {
717
- this.timezone = timezone;
718
- }
719
-
720
- if (!this.inst) {
721
- this.inst = $.datepicker._getInst(this.$input[0]);
722
- }
723
-
724
- this._limitMinMaxDateTime(this.inst, true);
725
- }
726
- if (useAmpm(o.timeFormat)) {
727
- this.ampm = ampm;
728
- }
729
-
730
- // Updates the time within the timepicker
731
- this.formattedTime = $.datepicker.formatTime(o.timeFormat, this, o);
732
- if (this.$timeObj) {
733
- if(pickerTimeFormat === o.timeFormat){
734
- this.$timeObj.text(this.formattedTime + pickerTimeSuffix);
735
- }
736
- else{
737
- this.$timeObj.text($.datepicker.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
738
- }
739
- }
740
-
741
- this.timeDefined = true;
742
- if (hasChanged) {
743
- this._updateDateTime();
744
- }
745
- },
746
-
747
- /*
748
- * call custom onSelect.
749
- * bind to sliders slidestop, and grid click.
750
- */
751
- _onSelectHandler: function() {
752
- var onSelect = this._defaults.onSelect || this.inst.settings.onSelect;
753
- var inputEl = this.$input ? this.$input[0] : null;
754
- if (onSelect && inputEl) {
755
- onSelect.apply(inputEl, [this.formattedDateTime, this]);
756
- }
757
- },
758
-
759
- /*
760
- * update our input with the new date time..
761
- */
762
- _updateDateTime: function(dp_inst) {
763
- dp_inst = this.inst || dp_inst;
764
- var dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
765
- dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
766
- formatCfg = $.datepicker._getFormatConfig(dp_inst),
767
- timeAvailable = dt !== null && this.timeDefined;
768
- this.formattedDate = $.datepicker.formatDate(dateFmt, (dt === null ? new Date() : dt), formatCfg);
769
- var formattedDateTime = this.formattedDate;
770
-
771
- // if a slider was changed but datepicker doesn't have a value yet, set it
772
- if(dp_inst.lastVal==""){
773
- dp_inst.currentYear=dp_inst.selectedYear;
774
- dp_inst.currentMonth=dp_inst.selectedMonth;
775
- dp_inst.currentDay=dp_inst.selectedDay;
776
- }
777
-
778
- /*
779
- * remove following lines to force every changes in date picker to change the input value
780
- * Bug descriptions: when an input field has a default value, and click on the field to pop up the date picker.
781
- * If the user manually empty the value in the input field, the date picker will never change selected value.
782
- */
783
- //if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0)) {
784
- // return;
785
- //}
786
-
787
- if (this._defaults.timeOnly === true) {
788
- formattedDateTime = this.formattedTime;
789
- } else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
790
- formattedDateTime += this._defaults.separator + this.formattedTime + this._defaults.timeSuffix;
791
- }
792
-
793
- this.formattedDateTime = formattedDateTime;
794
-
795
- if (!this._defaults.showTimepicker) {
796
- this.$input.val(this.formattedDate);
797
- } else if (this.$altInput && this._defaults.altFieldTimeOnly === true) {
798
- this.$altInput.val(this.formattedTime);
799
- this.$input.val(this.formattedDate);
800
- } else if (this.$altInput) {
801
- this.$input.val(formattedDateTime);
802
- var altFormattedDateTime = '',
803
- altSeparator = this._defaults.altSeparator ? this._defaults.altSeparator : this._defaults.separator,
804
- altTimeSuffix = this._defaults.altTimeSuffix ? this._defaults.altTimeSuffix : this._defaults.timeSuffix;
805
-
806
- if (this._defaults.altFormat) altFormattedDateTime = $.datepicker.formatDate(this._defaults.altFormat, (dt === null ? new Date() : dt), formatCfg);
807
- else altFormattedDateTime = this.formattedDate;
808
- if (altFormattedDateTime) altFormattedDateTime += altSeparator;
809
- if (this._defaults.altTimeFormat) altFormattedDateTime += $.datepicker.formatTime(this._defaults.altTimeFormat, this, this._defaults) + altTimeSuffix;
810
- else altFormattedDateTime += this.formattedTime + altTimeSuffix;
811
- this.$altInput.val(altFormattedDateTime);
812
- } else {
813
- this.$input.val(formattedDateTime);
814
- }
815
-
816
- this.$input.trigger("change");
817
- },
818
-
819
- _onFocus: function() {
820
- if (!this.$input.val() && this._defaults.defaultValue) {
821
- this.$input.val(this._defaults.defaultValue);
822
- var inst = $.datepicker._getInst(this.$input.get(0)),
823
- tp_inst = $.datepicker._get(inst, 'timepicker');
824
- if (tp_inst) {
825
- if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
826
- try {
827
- $.datepicker._updateDatepicker(inst);
828
- } catch (err) {
829
- $.timepicker.log(err);
830
- }
831
- }
832
- }
833
- }
834
- },
835
-
836
- /*
837
- * Small abstraction to control types
838
- * We can add more, just be sure to follow the pattern: create, options, value
839
- */
840
- _controls: {
841
- // slider methods
842
- slider: {
843
- create: function(tp_inst, obj, unit, val, min, max, step){
844
- var rtl = tp_inst._defaults.isRTL; // if rtl go -60->0 instead of 0->60
845
- return obj.prop('slide', null).slider({
846
- orientation: "horizontal",
847
- value: rtl? val*-1 : val,
848
- min: rtl? max*-1 : min,
849
- max: rtl? min*-1 : max,
850
- step: step,
851
- slide: function(event, ui) {
852
- tp_inst.control.value(tp_inst, $(this), unit, rtl? ui.value*-1:ui.value);
853
- tp_inst._onTimeChange();
854
- },
855
- stop: function(event, ui) {
856
- tp_inst._onSelectHandler();
857
- }
858
- });
859
- },
860
- options: function(tp_inst, obj, unit, opts, val){
861
- if(tp_inst._defaults.isRTL){
862
- if(typeof(opts) == 'string'){
863
- if(opts == 'min' || opts == 'max'){
864
- if(val !== undefined)
865
- return obj.slider(opts, val*-1);
866
- return Math.abs(obj.slider(opts));
867
- }
868
- return obj.slider(opts);
869
- }
870
- var min = opts.min,
871
- max = opts.max;
872
- opts.min = opts.max = null;
873
- if(min !== undefined)
874
- opts.max = min * -1;
875
- if(max !== undefined)
876
- opts.min = max * -1;
877
- return obj.slider(opts);
878
- }
879
- if(typeof(opts) == 'string' && val !== undefined)
880
- return obj.slider(opts, val);
881
- return obj.slider(opts);
882
- },
883
- value: function(tp_inst, obj, unit, val){
884
- if(tp_inst._defaults.isRTL){
885
- if(val !== undefined)
886
- return obj.slider('value', val*-1);
887
- return Math.abs(obj.slider('value'));
888
- }
889
- if(val !== undefined)
890
- return obj.slider('value', val);
891
- return obj.slider('value');
892
- }
893
- },
894
- // select methods
895
- select: {
896
- create: function(tp_inst, obj, unit, val, min, max, step){
897
- var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">',
898
- ul = tp_inst._defaults.timeFormat.indexOf('t') !== -1? 'toLowerCase':'toUpperCase',
899
- m = 0;
900
-
901
- for(var i=min; i<=max; i+=step){
902
- sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>';
903
- if(unit == 'hour' && useAmpm(tp_inst._defaults.pickerTimeFormat || tp_inst._defaults.timeFormat))
904
- sel += $.datepicker.formatTime("hh TT", {hour:i}, tp_inst._defaults);
905
- else if(unit == 'millisec' || i >= 10) sel += i;
906
- else sel += '0'+ i.toString();
907
- sel += '</option>';
908
- }
909
- sel += '</select>';
910
-
911
- obj.children('select').remove();
912
-
913
- $(sel).appendTo(obj).change(function(e){
914
- tp_inst._onTimeChange();
915
- tp_inst._onSelectHandler();
916
- });
917
-
918
- return obj;
919
- },
920
- options: function(tp_inst, obj, unit, opts, val){
921
- var o = {},
922
- $t = obj.children('select');
923
- if(typeof(opts) == 'string'){
924
- if(val === undefined)
925
- return $t.data(opts);
926
- o[opts] = val;
927
- }
928
- else o = opts;
929
- return tp_inst.control.create(tp_inst, obj, $t.data('unit'), $t.val(), o.min || $t.data('min'), o.max || $t.data('max'), o.step || $t.data('step'));
930
- },
931
- value: function(tp_inst, obj, unit, val){
932
- var $t = obj.children('select');
933
- if(val !== undefined)
934
- return $t.val(val);
935
- return $t.val();
936
- }
937
- }
938
- } // end _controls
939
-
940
- });
941
-
942
- $.fn.extend({
943
- /*
944
- * shorthand just to use timepicker..
945
- */
946
- timepicker: function(o) {
947
- o = o || {};
948
- var tmp_args = Array.prototype.slice.call(arguments);
949
-
950
- if (typeof o == 'object') {
951
- tmp_args[0] = $.extend(o, {
952
- timeOnly: true
953
- });
954
- }
955
-
956
- return $(this).each(function() {
957
- $.fn.datetimepicker.apply($(this), tmp_args);
958
- });
959
- },
960
-
961
- /*
962
- * extend timepicker to datepicker
963
- */
964
- datetimepicker: function(o) {
965
- o = o || {};
966
- var tmp_args = arguments;
967
-
968
- if (typeof(o) == 'string') {
969
- if (o == 'getDate') {
970
- return $.fn.datepicker.apply($(this[0]), tmp_args);
971
- } else {
972
- return this.each(function() {
973
- var $t = $(this);
974
- $t.datepicker.apply($t, tmp_args);
975
- });
976
- }
977
- } else {
978
- return this.each(function() {
979
- var $t = $(this);
980
- $t.datepicker($.timepicker._newInst($t, o)._defaults);
981
- });
982
- }
983
- }
984
- });
985
-
986
- /*
987
- * Public Utility to parse date and time
988
- */
989
- $.datepicker.parseDateTime = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
990
- var parseRes = parseDateTimeInternal(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings);
991
- if (parseRes.timeObj) {
992
- var t = parseRes.timeObj;
993
- parseRes.date.setHours(t.hour, t.minute, t.second, t.millisec);
994
- }
995
-
996
- return parseRes.date;
997
- };
998
-
999
- /*
1000
- * Public utility to parse time
1001
- */
1002
- $.datepicker.parseTime = function(timeFormat, timeString, options) {
1003
- var o = extendRemove(extendRemove({}, $.timepicker._defaults), options || {});
1004
-
1005
- // Strict parse requires the timeString to match the timeFormat exactly
1006
- var strictParse = function(f, s, o){
1007
-
1008
- // pattern for standard and localized AM/PM markers
1009
- var getPatternAmpm = function(amNames, pmNames) {
1010
- var markers = [];
1011
- if (amNames) {
1012
- $.merge(markers, amNames);
1013
- }
1014
- if (pmNames) {
1015
- $.merge(markers, pmNames);
1016
- }
1017
- markers = $.map(markers, function(val) {
1018
- return val.replace(/[.*+?|()\[\]{}\\]/g, '\\$&');
1019
- });
1020
- return '(' + markers.join('|') + ')?';
1021
- };
1022
-
1023
- // figure out position of time elements.. cause js cant do named captures
1024
- var getFormatPositions = function(timeFormat) {
1025
- var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|t{1,2}|z|'.*?')/g),
1026
- orders = {
1027
- h: -1,
1028
- m: -1,
1029
- s: -1,
1030
- l: -1,
1031
- t: -1,
1032
- z: -1
1033
- };
1034
-
1035
- if (finds) {
1036
- for (var i = 0; i < finds.length; i++) {
1037
- if (orders[finds[i].toString().charAt(0)] == -1) {
1038
- orders[finds[i].toString().charAt(0)] = i + 1;
1039
- }
1040
- }
1041
- }
1042
- return orders;
1043
- };
1044
-
1045
- var regstr = '^' + f.toString()
1046
- .replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g, function (match) {
1047
- var ml = match.length;
1048
- switch (match.charAt(0).toLowerCase()) {
1049
- case 'h': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1050
- case 'm': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1051
- case 's': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1052
- case 'l': return '(\\d?\\d?\\d)';
1053
- case 'z': return '(z|[-+]\\d\\d:?\\d\\d|\\S+)?';
1054
- case 't': return getPatternAmpm(o.amNames, o.pmNames);
1055
- default: // literal escaped in quotes
1056
- return '(' + match.replace(/\'/g, "").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g, function (m) { return "\\" + m; }) + ')?';
1057
- }
1058
- })
1059
- .replace(/\s/g, '\\s?') +
1060
- o.timeSuffix + '$',
1061
- order = getFormatPositions(f),
1062
- ampm = '',
1063
- treg;
1064
-
1065
- treg = s.match(new RegExp(regstr, 'i'));
1066
-
1067
- var resTime = {
1068
- hour: 0,
1069
- minute: 0,
1070
- second: 0,
1071
- millisec: 0
1072
- };
1073
-
1074
- if (treg) {
1075
- if (order.t !== -1) {
1076
- if (treg[order.t] === undefined || treg[order.t].length === 0) {
1077
- ampm = '';
1078
- resTime.ampm = '';
1079
- } else {
1080
- ampm = $.inArray(treg[order.t].toUpperCase(), o.amNames) !== -1 ? 'AM' : 'PM';
1081
- resTime.ampm = o[ampm == 'AM' ? 'amNames' : 'pmNames'][0];
1082
- }
1083
- }
1084
-
1085
- if (order.h !== -1) {
1086
- if (ampm == 'AM' && treg[order.h] == '12') {
1087
- resTime.hour = 0; // 12am = 0 hour
1088
- } else {
1089
- if (ampm == 'PM' && treg[order.h] != '12') {
1090
- resTime.hour = parseInt(treg[order.h], 10) + 12; // 12pm = 12 hour, any other pm = hour + 12
1091
- } else {
1092
- resTime.hour = Number(treg[order.h]);
1093
- }
1094
- }
1095
- }
1096
-
1097
- if (order.m !== -1) {
1098
- resTime.minute = Number(treg[order.m]);
1099
- }
1100
- if (order.s !== -1) {
1101
- resTime.second = Number(treg[order.s]);
1102
- }
1103
- if (order.l !== -1) {
1104
- resTime.millisec = Number(treg[order.l]);
1105
- }
1106
- if (order.z !== -1 && treg[order.z] !== undefined) {
1107
- var tz = treg[order.z].toUpperCase();
1108
- switch (tz.length) {
1109
- case 1:
1110
- // Z
1111
- tz = o.timezoneIso8601 ? 'Z' : '+0000';
1112
- break;
1113
- case 5:
1114
- // +hhmm
1115
- if (o.timezoneIso8601) {
1116
- tz = tz.substring(1) == '0000' ? 'Z' : tz.substring(0, 3) + ':' + tz.substring(3);
1117
- }
1118
- break;
1119
- case 6:
1120
- // +hh:mm
1121
- if (!o.timezoneIso8601) {
1122
- tz = tz == 'Z' || tz.substring(1) == '00:00' ? '+0000' : tz.replace(/:/, '');
1123
- } else {
1124
- if (tz.substring(1) == '00:00') {
1125
- tz = 'Z';
1126
- }
1127
- }
1128
- break;
1129
- }
1130
- resTime.timezone = tz;
1131
- }
1132
-
1133
-
1134
- return resTime;
1135
- }
1136
- return false;
1137
- };// end strictParse
1138
-
1139
- // First try JS Date, if that fails, use strictParse
1140
- var looseParse = function(f,s,o){
1141
- try{
1142
- var d = new Date('2012-01-01 '+ s);
1143
- if(isNaN(d.getTime())){
1144
- d = new Date('2012-01-01T'+ s);
1145
- if(isNaN(d.getTime())){
1146
- d = new Date('01/01/2012 '+ s);
1147
- if(isNaN(d.getTime())){
1148
- throw "Unable to parse time with native Date: "+ s;
1149
- }
1150
- }
1151
- }
1152
-
1153
- return {
1154
- hour: d.getHours(),
1155
- minute: d.getMinutes(),
1156
- second: d.getSeconds(),
1157
- millisec: d.getMilliseconds(),
1158
- timezone: $.timepicker.timeZoneOffsetString(d)
1159
- };
1160
- }
1161
- catch(err){
1162
- try{
1163
- return strictParse(f,s,o);
1164
- }
1165
- catch(err2){
1166
- $.timepicker.log("Unable to parse \ntimeString: "+ s +"\ntimeFormat: "+ f);
1167
- }
1168
- }
1169
- return false;
1170
- }; // end looseParse
1171
-
1172
- if(typeof o.parse === "function"){
1173
- return o.parse(timeFormat, timeString, o)
1174
- }
1175
- if(o.parse === 'loose'){
1176
- return looseParse(timeFormat, timeString, o);
1177
- }
1178
- return strictParse(timeFormat, timeString, o);
1179
- };
1180
-
1181
- /*
1182
- * Public utility to format the time
1183
- * format = string format of the time
1184
- * time = a {}, not a Date() for timezones
1185
- * options = essentially the regional[].. amNames, pmNames, ampm
1186
- */
1187
- $.datepicker.formatTime = function(format, time, options) {
1188
- options = options || {};
1189
- options = $.extend({}, $.timepicker._defaults, options);
1190
- time = $.extend({
1191
- hour: 0,
1192
- minute: 0,
1193
- second: 0,
1194
- millisec: 0,
1195
- timezone: '+0000'
1196
- }, time);
1197
-
1198
- var tmptime = format,
1199
- ampmName = options.amNames[0],
1200
- hour = parseInt(time.hour, 10);
1201
-
1202
- if (hour > 11) {
1203
- ampmName = options.pmNames[0];
1204
- }
1205
-
1206
- tmptime = tmptime.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[lz]|('.*?'|".*?"))/g, function(match) {
1207
- switch (match) {
1208
- case 'HH':
1209
- return ('0' + hour).slice(-2);
1210
- case 'H':
1211
- return hour;
1212
- case 'hh':
1213
- return ('0' + convert24to12(hour)).slice(-2);
1214
- case 'h':
1215
- return convert24to12(hour);
1216
- case 'mm':
1217
- return ('0' + time.minute).slice(-2);
1218
- case 'm':
1219
- return time.minute;
1220
- case 'ss':
1221
- return ('0' + time.second).slice(-2);
1222
- case 's':
1223
- return time.second;
1224
- case 'l':
1225
- return ('00' + time.millisec).slice(-3);
1226
- case 'z':
1227
- return time.timezone === null? options.defaultTimezone : time.timezone;
1228
- case 'T':
1229
- return ampmName.charAt(0).toUpperCase();
1230
- case 'TT':
1231
- return ampmName.toUpperCase();
1232
- case 't':
1233
- return ampmName.charAt(0).toLowerCase();
1234
- case 'tt':
1235
- return ampmName.toLowerCase();
1236
- default:
1237
- return match.replace(/\'/g, "") || "'";
1238
- }
1239
- });
1240
-
1241
- tmptime = $.trim(tmptime);
1242
- return tmptime;
1243
- };
1244
-
1245
- /*
1246
- * the bad hack :/ override datepicker so it doesnt close on select
1247
- // inspired: http://stackoverflow.com/questions/1252512/jquery-datepicker-prevent-closing-picker-when-clicking-a-date/1762378#1762378
1248
- */
1249
- $.datepicker._base_selectDate = $.datepicker._selectDate;
1250
- $.datepicker._selectDate = function(id, dateStr) {
1251
- var inst = this._getInst($(id)[0]),
1252
- tp_inst = this._get(inst, 'timepicker');
1253
-
1254
- if (tp_inst) {
1255
- tp_inst._limitMinMaxDateTime(inst, true);
1256
- inst.inline = inst.stay_open = true;
1257
- //This way the onSelect handler called from calendarpicker get the full dateTime
1258
- this._base_selectDate(id, dateStr);
1259
- inst.inline = inst.stay_open = false;
1260
- this._notifyChange(inst);
1261
- this._updateDatepicker(inst);
1262
- } else {
1263
- this._base_selectDate(id, dateStr);
1264
- }
1265
- };
1266
-
1267
- /*
1268
- * second bad hack :/ override datepicker so it triggers an event when changing the input field
1269
- * and does not redraw the datepicker on every selectDate event
1270
- */
1271
- $.datepicker._base_updateDatepicker = $.datepicker._updateDatepicker;
1272
- $.datepicker._updateDatepicker = function(inst) {
1273
-
1274
- // don't popup the datepicker if there is another instance already opened
1275
- var input = inst.input[0];
1276
- if ($.datepicker._curInst && $.datepicker._curInst != inst && $.datepicker._datepickerShowing && $.datepicker._lastInput != input) {
1277
- return;
1278
- }
1279
-
1280
- if (typeof(inst.stay_open) !== 'boolean' || inst.stay_open === false) {
1281
-
1282
- this._base_updateDatepicker(inst);
1283
-
1284
- // Reload the time control when changing something in the input text field.
1285
- var tp_inst = this._get(inst, 'timepicker');
1286
- if (tp_inst) {
1287
- tp_inst._addTimePicker(inst);
1288
-
1289
- // if (tp_inst._defaults.useLocalTimezone) { //checks daylight saving with the new date.
1290
- // var date = new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay, 12);
1291
- // selectLocalTimeZone(tp_inst, date);
1292
- // tp_inst._onTimeChange();
1293
- // }
1294
- }
1295
- }
1296
- };
1297
-
1298
- /*
1299
- * third bad hack :/ override datepicker so it allows spaces and colon in the input field
1300
- */
1301
- $.datepicker._base_doKeyPress = $.datepicker._doKeyPress;
1302
- $.datepicker._doKeyPress = function(event) {
1303
- var inst = $.datepicker._getInst(event.target),
1304
- tp_inst = $.datepicker._get(inst, 'timepicker');
1305
-
1306
- if (tp_inst) {
1307
- if ($.datepicker._get(inst, 'constrainInput')) {
1308
- var ampm = useAmpm(tp_inst._defaults.timeFormat),
1309
- dateChars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')),
1310
- datetimeChars = tp_inst._defaults.timeFormat.toString()
1311
- .replace(/[hms]/g, '')
1312
- .replace(/TT/g, ampm ? 'APM' : '')
1313
- .replace(/Tt/g, ampm ? 'AaPpMm' : '')
1314
- .replace(/tT/g, ampm ? 'AaPpMm' : '')
1315
- .replace(/T/g, ampm ? 'AP' : '')
1316
- .replace(/tt/g, ampm ? 'apm' : '')
1317
- .replace(/t/g, ampm ? 'ap' : '') +
1318
- " " + tp_inst._defaults.separator +
1319
- tp_inst._defaults.timeSuffix +
1320
- (tp_inst._defaults.showTimezone ? tp_inst._defaults.timezoneList.join('') : '') +
1321
- (tp_inst._defaults.amNames.join('')) + (tp_inst._defaults.pmNames.join('')) +
1322
- dateChars,
1323
- chr = String.fromCharCode(event.charCode === undefined ? event.keyCode : event.charCode);
1324
- return event.ctrlKey || (chr < ' ' || !dateChars || datetimeChars.indexOf(chr) > -1);
1325
- }
1326
- }
1327
-
1328
- return $.datepicker._base_doKeyPress(event);
1329
- };
1330
-
1331
- /*
1332
- * Fourth bad hack :/ override _updateAlternate function used in inline mode to init altField
1333
- */
1334
- $.datepicker._base_updateAlternate = $.datepicker._updateAlternate;
1335
- /* Update any alternate field to synchronise with the main field. */
1336
- $.datepicker._updateAlternate = function(inst) {
1337
- var tp_inst = this._get(inst, 'timepicker');
1338
- if(tp_inst){
1339
- var altField = tp_inst._defaults.altField;
1340
- if (altField) { // update alternate field too
1341
- var altFormat = tp_inst._defaults.altFormat || tp_inst._defaults.dateFormat,
1342
- date = this._getDate(inst),
1343
- formatCfg = $.datepicker._getFormatConfig(inst),
1344
- altFormattedDateTime = '',
1345
- altSeparator = tp_inst._defaults.altSeparator ? tp_inst._defaults.altSeparator : tp_inst._defaults.separator,
1346
- altTimeSuffix = tp_inst._defaults.altTimeSuffix ? tp_inst._defaults.altTimeSuffix : tp_inst._defaults.timeSuffix,
1347
- altTimeFormat = tp_inst._defaults.altTimeFormat !== null ? tp_inst._defaults.altTimeFormat : tp_inst._defaults.timeFormat;
1348
-
1349
- altFormattedDateTime += $.datepicker.formatTime(altTimeFormat, tp_inst, tp_inst._defaults) + altTimeSuffix;
1350
- if(!tp_inst._defaults.timeOnly && !tp_inst._defaults.altFieldTimeOnly && date !== null){
1351
- if(tp_inst._defaults.altFormat)
1352
- altFormattedDateTime = $.datepicker.formatDate(tp_inst._defaults.altFormat, date, formatCfg) + altSeparator + altFormattedDateTime;
1353
- else altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
1354
- }
1355
- $(altField).val(altFormattedDateTime);
1356
- }
1357
- }
1358
- else{
1359
- $.datepicker._base_updateAlternate(inst);
1360
- }
1361
- };
1362
-
1363
- /*
1364
- * Override key up event to sync manual input changes.
1365
- */
1366
- $.datepicker._base_doKeyUp = $.datepicker._doKeyUp;
1367
- $.datepicker._doKeyUp = function(event) {
1368
- var inst = $.datepicker._getInst(event.target),
1369
- tp_inst = $.datepicker._get(inst, 'timepicker');
1370
-
1371
- if (tp_inst) {
1372
- if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
1373
- try {
1374
- $.datepicker._updateDatepicker(inst);
1375
- } catch (err) {
1376
- $.timepicker.log(err);
1377
- }
1378
- }
1379
- }
1380
-
1381
- return $.datepicker._base_doKeyUp(event);
1382
- };
1383
-
1384
- /*
1385
- * override "Today" button to also grab the time.
1386
- */
1387
- $.datepicker._base_gotoToday = $.datepicker._gotoToday;
1388
- $.datepicker._gotoToday = function(id) {
1389
- var inst = this._getInst($(id)[0]),
1390
- $dp = inst.dpDiv;
1391
- this._base_gotoToday(id);
1392
- var tp_inst = this._get(inst, 'timepicker');
1393
- selectLocalTimeZone(tp_inst);
1394
- var now = new Date();
1395
- this._setTime(inst, now);
1396
- $('.ui-datepicker-today', $dp).click();
1397
- };
1398
-
1399
- /*
1400
- * Disable & enable the Time in the datetimepicker
1401
- */
1402
- $.datepicker._disableTimepickerDatepicker = function(target) {
1403
- var inst = this._getInst(target);
1404
- if (!inst) {
1405
- return;
1406
- }
1407
-
1408
- var tp_inst = this._get(inst, 'timepicker');
1409
- $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1410
- if (tp_inst) {
1411
- tp_inst._defaults.showTimepicker = false;
1412
- tp_inst._updateDateTime(inst);
1413
- }
1414
- };
1415
-
1416
- $.datepicker._enableTimepickerDatepicker = function(target) {
1417
- var inst = this._getInst(target);
1418
- if (!inst) {
1419
- return;
1420
- }
1421
-
1422
- var tp_inst = this._get(inst, 'timepicker');
1423
- $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1424
- if (tp_inst) {
1425
- tp_inst._defaults.showTimepicker = true;
1426
- tp_inst._addTimePicker(inst); // Could be disabled on page load
1427
- tp_inst._updateDateTime(inst);
1428
- }
1429
- };
1430
-
1431
- /*
1432
- * Create our own set time function
1433
- */
1434
- $.datepicker._setTime = function(inst, date) {
1435
- var tp_inst = this._get(inst, 'timepicker');
1436
- if (tp_inst) {
1437
- var defaults = tp_inst._defaults;
1438
-
1439
- // calling _setTime with no date sets time to defaults
1440
- tp_inst.hour = date ? date.getHours() : defaults.hour;
1441
- tp_inst.minute = date ? date.getMinutes() : defaults.minute;
1442
- tp_inst.second = date ? date.getSeconds() : defaults.second;
1443
- tp_inst.millisec = date ? date.getMilliseconds() : defaults.millisec;
1444
-
1445
- //check if within min/max times..
1446
- tp_inst._limitMinMaxDateTime(inst, true);
1447
-
1448
- tp_inst._onTimeChange();
1449
- tp_inst._updateDateTime(inst);
1450
- }
1451
- };
1452
-
1453
- /*
1454
- * Create new public method to set only time, callable as $().datepicker('setTime', date)
1455
- */
1456
- $.datepicker._setTimeDatepicker = function(target, date, withDate) {
1457
- var inst = this._getInst(target);
1458
- if (!inst) {
1459
- return;
1460
- }
1461
-
1462
- var tp_inst = this._get(inst, 'timepicker');
1463
-
1464
- if (tp_inst) {
1465
- this._setDateFromField(inst);
1466
- var tp_date;
1467
- if (date) {
1468
- if (typeof date == "string") {
1469
- tp_inst._parseTime(date, withDate);
1470
- tp_date = new Date();
1471
- tp_date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1472
- } else {
1473
- tp_date = new Date(date.getTime());
1474
- }
1475
- if (tp_date.toString() == 'Invalid Date') {
1476
- tp_date = undefined;
1477
- }
1478
- this._setTime(inst, tp_date);
1479
- }
1480
- }
1481
-
1482
- };
1483
-
1484
- /*
1485
- * override setDate() to allow setting time too within Date object
1486
- */
1487
- $.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
1488
- $.datepicker._setDateDatepicker = function(target, date) {
1489
- var inst = this._getInst(target);
1490
- if (!inst) {
1491
- return;
1492
- }
1493
-
1494
- var tp_date = (date instanceof Date) ? new Date(date.getTime()) : date;
1495
-
1496
- this._updateDatepicker(inst);
1497
- this._base_setDateDatepicker.apply(this, arguments);
1498
- this._setTimeDatepicker(target, tp_date, true);
1499
- };
1500
-
1501
- /*
1502
- * override getDate() to allow getting time too within Date object
1503
- */
1504
- $.datepicker._base_getDateDatepicker = $.datepicker._getDateDatepicker;
1505
- $.datepicker._getDateDatepicker = function(target, noDefault) {
1506
- var inst = this._getInst(target);
1507
- if (!inst) {
1508
- return;
1509
- }
1510
-
1511
- var tp_inst = this._get(inst, 'timepicker');
1512
-
1513
- if (tp_inst) {
1514
- // if it hasn't yet been defined, grab from field
1515
- if(inst.lastVal === undefined){
1516
- this._setDateFromField(inst, noDefault);
1517
- }
1518
-
1519
- var date = this._getDate(inst);
1520
- if (date && tp_inst._parseTime($(target).val(), tp_inst.timeOnly)) {
1521
- date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1522
- }
1523
- return date;
1524
- }
1525
- return this._base_getDateDatepicker(target, noDefault);
1526
- };
1527
-
1528
- /*
1529
- * override parseDate() because UI 1.8.14 throws an error about "Extra characters"
1530
- * An option in datapicker to ignore extra format characters would be nicer.
1531
- */
1532
- $.datepicker._base_parseDate = $.datepicker.parseDate;
1533
- $.datepicker.parseDate = function(format, value, settings) {
1534
- var date;
1535
- try {
1536
- date = this._base_parseDate(format, value, settings);
1537
- } catch (err) {
1538
- // Hack! The error message ends with a colon, a space, and
1539
- // the "extra" characters. We rely on that instead of
1540
- // attempting to perfectly reproduce the parsing algorithm.
1541
- date = this._base_parseDate(format, value.substring(0,value.length-(err.length-err.indexOf(':')-2)), settings);
1542
- $.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
1543
- }
1544
- return date;
1545
- };
1546
-
1547
- /*
1548
- * override formatDate to set date with time to the input
1549
- */
1550
- $.datepicker._base_formatDate = $.datepicker._formatDate;
1551
- $.datepicker._formatDate = function(inst, day, month, year) {
1552
- var tp_inst = this._get(inst, 'timepicker');
1553
- if (tp_inst) {
1554
- tp_inst._updateDateTime(inst);
1555
- return tp_inst.$input.val();
1556
- }
1557
- return this._base_formatDate(inst);
1558
- };
1559
-
1560
- /*
1561
- * override options setter to add time to maxDate(Time) and minDate(Time). MaxDate
1562
- */
1563
- $.datepicker._base_optionDatepicker = $.datepicker._optionDatepicker;
1564
- $.datepicker._optionDatepicker = function(target, name, value) {
1565
- var inst = this._getInst(target),
1566
- name_clone;
1567
- if (!inst) {
1568
- return null;
1569
- }
1570
-
1571
- var tp_inst = this._get(inst, 'timepicker');
1572
- if (tp_inst) {
1573
- var min = null,
1574
- max = null,
1575
- onselect = null,
1576
- overrides = tp_inst._defaults.evnts,
1577
- fns = {},
1578
- prop;
1579
- if (typeof name == 'string') { // if min/max was set with the string
1580
- if (name === 'minDate' || name === 'minDateTime') {
1581
- min = value;
1582
- } else if (name === 'maxDate' || name === 'maxDateTime') {
1583
- max = value;
1584
- } else if (name === 'onSelect') {
1585
- onselect = value;
1586
- } else if (overrides.hasOwnProperty(name)) {
1587
- if (typeof (value) === 'undefined') {
1588
- return overrides[name];
1589
- }
1590
- fns[name] = value;
1591
- name_clone = {}; //empty results in exiting function after overrides updated
1592
- }
1593
- } else if (typeof name == 'object') { //if min/max was set with the JSON
1594
- if (name.minDate) {
1595
- min = name.minDate;
1596
- } else if (name.minDateTime) {
1597
- min = name.minDateTime;
1598
- } else if (name.maxDate) {
1599
- max = name.maxDate;
1600
- } else if (name.maxDateTime) {
1601
- max = name.maxDateTime;
1602
- }
1603
- for (prop in overrides) {
1604
- if (overrides.hasOwnProperty(prop) && name[prop]) {
1605
- fns[prop] = name[prop];
1606
- }
1607
- }
1608
- }
1609
- for (prop in fns) {
1610
- if (fns.hasOwnProperty(prop)) {
1611
- overrides[prop] = fns[prop];
1612
- if (!name_clone) { name_clone = $.extend({}, name);}
1613
- delete name_clone[prop];
1614
- }
1615
- }
1616
- if (name_clone && isEmptyObject(name_clone)) { return; }
1617
- if (min) { //if min was set
1618
- if (min === 0) {
1619
- min = new Date();
1620
- } else {
1621
- min = new Date(min);
1622
- }
1623
- tp_inst._defaults.minDate = min;
1624
- tp_inst._defaults.minDateTime = min;
1625
- } else if (max) { //if max was set
1626
- if (max === 0) {
1627
- max = new Date();
1628
- } else {
1629
- max = new Date(max);
1630
- }
1631
- tp_inst._defaults.maxDate = max;
1632
- tp_inst._defaults.maxDateTime = max;
1633
- } else if (onselect) {
1634
- tp_inst._defaults.onSelect = onselect;
1635
- }
1636
- }
1637
- if (value === undefined) {
1638
- return this._base_optionDatepicker.call($.datepicker, target, name);
1639
- }
1640
- return this._base_optionDatepicker.call($.datepicker, target, name_clone || name, value);
1641
- };
1642
- /*
1643
- * jQuery isEmptyObject does not check hasOwnProperty - if someone has added to the object prototype,
1644
- * it will return false for all objects
1645
- */
1646
- var isEmptyObject = function(obj) {
1647
- var prop;
1648
- for (prop in obj) {
1649
- if (obj.hasOwnProperty(obj)) {
1650
- return false;
1651
- }
1652
- }
1653
- return true;
1654
- };
1655
-
1656
- /*
1657
- * jQuery extend now ignores nulls!
1658
- */
1659
- var extendRemove = function(target, props) {
1660
- $.extend(target, props);
1661
- for (var name in props) {
1662
- if (props[name] === null || props[name] === undefined) {
1663
- target[name] = props[name];
1664
- }
1665
- }
1666
- return target;
1667
- };
1668
-
1669
- /*
1670
- * Determine by the time format if should use ampm
1671
- * Returns true if should use ampm, false if not
1672
- */
1673
- var useAmpm = function(timeFormat){
1674
- return (timeFormat.indexOf('t') !== -1 && timeFormat.indexOf('h') !== -1);
1675
- };
1676
-
1677
- /*
1678
- * Converts 24 hour format into 12 hour
1679
- * Returns 12 hour without leading 0
1680
- */
1681
- var convert24to12 = function(hour) {
1682
- if (hour > 12) {
1683
- hour = hour - 12;
1684
- }
1685
-
1686
- if (hour == 0) {
1687
- hour = 12;
1688
- }
1689
-
1690
- return String(hour);
1691
- };
1692
-
1693
- /*
1694
- * Splits datetime string into date ans time substrings.
1695
- * Throws exception when date can't be parsed
1696
- * Returns [dateString, timeString]
1697
- */
1698
- var splitDateTime = function(dateFormat, dateTimeString, dateSettings, timeSettings) {
1699
- try {
1700
- // The idea is to get the number separator occurances in datetime and the time format requested (since time has
1701
- // fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
1702
- var separator = timeSettings && timeSettings.separator ? timeSettings.separator : $.timepicker._defaults.separator,
1703
- format = timeSettings && timeSettings.timeFormat ? timeSettings.timeFormat : $.timepicker._defaults.timeFormat,
1704
- timeParts = format.split(separator), // how many occurances of separator may be in our format?
1705
- timePartsLen = timeParts.length,
1706
- allParts = dateTimeString.split(separator),
1707
- allPartsLen = allParts.length;
1708
-
1709
- if (allPartsLen > 1) {
1710
- return [
1711
- allParts.splice(0,allPartsLen-timePartsLen).join(separator),
1712
- allParts.splice(0,timePartsLen).join(separator)
1713
- ];
1714
- }
1715
-
1716
- } catch (err) {
1717
- $.timepicker.log('Could not split the date from the time. Please check the following datetimepicker options' +
1718
- "\nthrown error: " + err +
1719
- "\ndateTimeString" + dateTimeString +
1720
- "\ndateFormat = " + dateFormat +
1721
- "\nseparator = " + timeSettings.separator +
1722
- "\ntimeFormat = " + timeSettings.timeFormat);
1723
-
1724
- if (err.indexOf(":") >= 0) {
1725
- // Hack! The error message ends with a colon, a space, and
1726
- // the "extra" characters. We rely on that instead of
1727
- // attempting to perfectly reproduce the parsing algorithm.
1728
- var dateStringLength = dateTimeString.length - (err.length - err.indexOf(':') - 2),
1729
- timeString = dateTimeString.substring(dateStringLength);
1730
-
1731
- return [$.trim(dateTimeString.substring(0, dateStringLength)), $.trim(dateTimeString.substring(dateStringLength))];
1732
-
1733
- } else {
1734
- throw err;
1735
- }
1736
- }
1737
- return [dateTimeString, ''];
1738
- };
1739
-
1740
- /*
1741
- * Internal function to parse datetime interval
1742
- * Returns: {date: Date, timeObj: Object}, where
1743
- * date - parsed date without time (type Date)
1744
- * timeObj = {hour: , minute: , second: , millisec: } - parsed time. Optional
1745
- */
1746
- var parseDateTimeInternal = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
1747
- var date;
1748
- var splitRes = splitDateTime(dateFormat, dateTimeString, dateSettings, timeSettings);
1749
- date = $.datepicker._base_parseDate(dateFormat, splitRes[0], dateSettings);
1750
- if (splitRes[1] !== '') {
1751
- var timeString = splitRes[1],
1752
- parsedTime = $.datepicker.parseTime(timeFormat, timeString, timeSettings);
1753
-
1754
- if (parsedTime === null) {
1755
- throw 'Wrong time format';
1756
- }
1757
- return {
1758
- date: date,
1759
- timeObj: parsedTime
1760
- };
1761
- } else {
1762
- return {
1763
- date: date
1764
- };
1765
- }
1766
- };
1767
-
1768
- /*
1769
- * Internal function to set timezone_select to the local timezone
1770
- */
1771
- var selectLocalTimeZone = function(tp_inst, date) {
1772
- if (tp_inst && tp_inst.timezone_select) {
1773
- tp_inst._defaults.useLocalTimezone = true;
1774
- var now = typeof date !== 'undefined' ? date : new Date();
1775
- var tzoffset = $.timepicker.timeZoneOffsetString(now);
1776
- if (tp_inst._defaults.timezoneIso8601) {
1777
- tzoffset = tzoffset.substring(0, 3) + ':' + tzoffset.substring(3);
1778
- }
1779
- tp_inst.timezone_select.val(tzoffset);
1780
- }
1781
- };
1782
-
1783
- /*
1784
- * Create a Singleton Insance
1785
- */
1786
- $.timepicker = new Timepicker();
1787
-
1788
- /**
1789
- * Get the timezone offset as string from a date object (eg '+0530' for UTC+5.5)
1790
- * @param date
1791
- * @return string
1792
- */
1793
- $.timepicker.timeZoneOffsetString = function(date) {
1794
- var off = date.getTimezoneOffset() * -1,
1795
- minutes = off % 60,
1796
- hours = (off - minutes) / 60;
1797
- return (off >= 0 ? '+' : '-') + ('0' + (hours * 101).toString()).slice(-2) + ('0' + (minutes * 101).toString()).slice(-2);
1798
- };
1799
-
1800
- /**
1801
- * Calls `timepicker()` on the `startTime` and `endTime` elements, and configures them to
1802
- * enforce date range limits.
1803
- * n.b. The input value must be correctly formatted (reformatting is not supported)
1804
- * @param Element startTime
1805
- * @param Element endTime
1806
- * @param obj options Options for the timepicker() call
1807
- * @return jQuery
1808
- */
1809
- $.timepicker.timeRange = function(startTime, endTime, options) {
1810
- return $.timepicker.handleRange('timepicker', startTime, endTime, options);
1811
- };
1812
-
1813
- /**
1814
- * Calls `datetimepicker` on the `startTime` and `endTime` elements, and configures them to
1815
- * enforce date range limits.
1816
- * @param Element startTime
1817
- * @param Element endTime
1818
- * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1819
- * a boolean value that can be used to reformat the input values to the `dateFormat`.
1820
- * @param string method Can be used to specify the type of picker to be added
1821
- * @return jQuery
1822
- */
1823
- $.timepicker.dateTimeRange = function(startTime, endTime, options) {
1824
- $.timepicker.dateRange(startTime, endTime, options, 'datetimepicker');
1825
- };
1826
-
1827
- /**
1828
- * Calls `method` on the `startTime` and `endTime` elements, and configures them to
1829
- * enforce date range limits.
1830
- * @param Element startTime
1831
- * @param Element endTime
1832
- * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1833
- * a boolean value that can be used to reformat the input values to the `dateFormat`.
1834
- * @param string method Can be used to specify the type of picker to be added
1835
- * @return jQuery
1836
- */
1837
- $.timepicker.dateRange = function(startTime, endTime, options, method) {
1838
- method = method || 'datepicker';
1839
- $.timepicker.handleRange(method, startTime, endTime, options);
1840
- };
1841
-
1842
- /**
1843
- * Calls `method` on the `startTime` and `endTime` elements, and configures them to
1844
- * enforce date range limits.
1845
- * @param string method Can be used to specify the type of picker to be added
1846
- * @param Element startTime
1847
- * @param Element endTime
1848
- * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1849
- * a boolean value that can be used to reformat the input values to the `dateFormat`.
1850
- * @return jQuery
1851
- */
1852
- $.timepicker.handleRange = function(method, startTime, endTime, options) {
1853
- $.fn[method].call(startTime, $.extend({
1854
- onClose: function(dateText, inst) {
1855
- checkDates(this, endTime, dateText);
1856
- },
1857
- onSelect: function(selectedDateTime) {
1858
- selected(this, endTime, 'minDate');
1859
- }
1860
- }, options, options.start));
1861
- $.fn[method].call(endTime, $.extend({
1862
- onClose: function(dateText, inst) {
1863
- checkDates(this, startTime, dateText);
1864
- },
1865
- onSelect: function(selectedDateTime) {
1866
- selected(this, startTime, 'maxDate');
1867
- }
1868
- }, options, options.end));
1869
- // timepicker doesn't provide access to its 'timeFormat' option,
1870
- // nor could I get datepicker.formatTime() to behave with times, so I
1871
- // have disabled reformatting for timepicker
1872
- if (method != 'timepicker' && options.reformat) {
1873
- $([startTime, endTime]).each(function() {
1874
- var format = $(this)[method].call($(this), 'option', 'dateFormat'),
1875
- date = new Date($(this).val());
1876
- if ($(this).val() && date) {
1877
- $(this).val($.datepicker.formatDate(format, date));
1878
- }
1879
- });
1880
- }
1881
- checkDates(startTime, endTime, startTime.val());
1882
-
1883
- function checkDates(changed, other, dateText) {
1884
- if (other.val() && (new Date(startTime.val()) > new Date(endTime.val()))) {
1885
- other.val(dateText);
1886
- }
1887
- }
1888
- selected(startTime, endTime, 'minDate');
1889
- selected(endTime, startTime, 'maxDate');
1890
-
1891
- function selected(changed, other, option) {
1892
- if (!$(changed).val()) {
1893
- return;
1894
- }
1895
- var date = $(changed)[method].call($(changed), 'getDate');
1896
- // timepicker doesn't implement 'getDate' and returns a jQuery
1897
- if (date.getTime) {
1898
- $(other)[method].call($(other), 'option', option, date);
1899
- }
1900
- }
1901
- return $([startTime.get(0), endTime.get(0)]);
1902
- };
1903
-
1904
- /**
1905
- * Log error or data to the console during error or debugging
1906
- * @param Object err pass any type object to log to the console during error or debugging
1907
- * @return void
1908
- */
1909
- $.timepicker.log = function(err){
1910
- if(window.console)
1911
- console.log(err);
1912
- };
1913
-
1914
- /*
1915
- * Keep up with the version
1916
- */
1917
- $.timepicker.version = "1.2";
1918
-
1919
- })(jQuery);
1
+ /*
2
+ * jQuery timepicker addon
3
+ * By: Trent Richardson [http://trentrichardson.com]
4
+ * Version 1.2
5
+ * Last Modified: 02/02/2013
6
+ *
7
+ * Copyright 2013 Trent Richardson
8
+ * You may use this project under MIT or GPL licenses.
9
+ * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
10
+ * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
11
+ */
12
+
13
+ /*jslint evil: true, white: false, undef: false, nomen: false */
14
+
15
+ (function($) {
16
+
17
+ /*
18
+ * Lets not redefine timepicker, Prevent "Uncaught RangeError: Maximum call stack size exceeded"
19
+ */
20
+ $.ui.timepicker = $.ui.timepicker || {};
21
+ if ($.ui.timepicker.version) {
22
+ return;
23
+ }
24
+
25
+ /*
26
+ * Extend jQueryUI, get it started with our version number
27
+ */
28
+ $.extend($.ui, {
29
+ timepicker: {
30
+ version: "1.2"
31
+ }
32
+ });
33
+
34
+ /*
35
+ * Timepicker manager.
36
+ * Use the singleton instance of this class, $.timepicker, to interact with the time picker.
37
+ * Settings for (groups of) time pickers are maintained in an instance object,
38
+ * allowing multiple different settings on the same page.
39
+ */
40
+ var Timepicker = function() {
41
+ this.regional = []; // Available regional settings, indexed by language code
42
+ this.regional[''] = { // Default regional settings
43
+ currentText: 'Now',
44
+ closeText: 'Done',
45
+ amNames: ['AM', 'A'],
46
+ pmNames: ['PM', 'P'],
47
+ timeFormat: 'HH:mm',
48
+ timeSuffix: '',
49
+ timeOnlyTitle: 'Choose Time',
50
+ timeText: 'Time',
51
+ hourText: 'Hour',
52
+ minuteText: 'Minute',
53
+ secondText: 'Second',
54
+ millisecText: 'Millisecond',
55
+ timezoneText: 'Time Zone',
56
+ isRTL: false
57
+ };
58
+ this._defaults = { // Global defaults for all the datetime picker instances
59
+ showButtonPanel: true,
60
+ timeOnly: false,
61
+ showHour: true,
62
+ showMinute: true,
63
+ showSecond: false,
64
+ showMillisec: false,
65
+ showTimezone: false,
66
+ showTime: true,
67
+ stepHour: 1,
68
+ stepMinute: 1,
69
+ stepSecond: 1,
70
+ stepMillisec: 1,
71
+ hour: 0,
72
+ minute: 0,
73
+ second: 0,
74
+ millisec: 0,
75
+ timezone: null,
76
+ useLocalTimezone: false,
77
+ defaultTimezone: "+0000",
78
+ hourMin: 0,
79
+ minuteMin: 0,
80
+ secondMin: 0,
81
+ millisecMin: 0,
82
+ hourMax: 23,
83
+ minuteMax: 59,
84
+ secondMax: 59,
85
+ millisecMax: 999,
86
+ minDateTime: null,
87
+ maxDateTime: null,
88
+ onSelect: null,
89
+ hourGrid: 0,
90
+ minuteGrid: 0,
91
+ secondGrid: 0,
92
+ millisecGrid: 0,
93
+ alwaysSetTime: true,
94
+ separator: ' ',
95
+ altFieldTimeOnly: true,
96
+ altTimeFormat: null,
97
+ altSeparator: null,
98
+ altTimeSuffix: null,
99
+ pickerTimeFormat: null,
100
+ pickerTimeSuffix: null,
101
+ showTimepicker: true,
102
+ timezoneIso8601: false,
103
+ timezoneList: null,
104
+ addSliderAccess: false,
105
+ sliderAccessArgs: null,
106
+ controlType: 'slider',
107
+ defaultValue: null,
108
+ parse: 'strict'
109
+ };
110
+ $.extend(this._defaults, this.regional['']);
111
+ };
112
+
113
+ $.extend(Timepicker.prototype, {
114
+ $input: null,
115
+ $altInput: null,
116
+ $timeObj: null,
117
+ inst: null,
118
+ hour_slider: null,
119
+ minute_slider: null,
120
+ second_slider: null,
121
+ millisec_slider: null,
122
+ timezone_select: null,
123
+ hour: 0,
124
+ minute: 0,
125
+ second: 0,
126
+ millisec: 0,
127
+ timezone: null,
128
+ defaultTimezone: "+0000",
129
+ hourMinOriginal: null,
130
+ minuteMinOriginal: null,
131
+ secondMinOriginal: null,
132
+ millisecMinOriginal: null,
133
+ hourMaxOriginal: null,
134
+ minuteMaxOriginal: null,
135
+ secondMaxOriginal: null,
136
+ millisecMaxOriginal: null,
137
+ ampm: '',
138
+ formattedDate: '',
139
+ formattedTime: '',
140
+ formattedDateTime: '',
141
+ timezoneList: null,
142
+ units: ['hour','minute','second','millisec'],
143
+ control: null,
144
+
145
+ /*
146
+ * Override the default settings for all instances of the time picker.
147
+ * @param settings object - the new settings to use as defaults (anonymous object)
148
+ * @return the manager object
149
+ */
150
+ setDefaults: function(settings) {
151
+ extendRemove(this._defaults, settings || {});
152
+ return this;
153
+ },
154
+
155
+ /*
156
+ * Create a new Timepicker instance
157
+ */
158
+ _newInst: function($input, o) {
159
+ var tp_inst = new Timepicker(),
160
+ inlineSettings = {},
161
+ fns = {},
162
+ overrides, i;
163
+
164
+ for (var attrName in this._defaults) {
165
+ if(this._defaults.hasOwnProperty(attrName)){
166
+ var attrValue = $input.attr('time:' + attrName);
167
+ if (attrValue) {
168
+ try {
169
+ inlineSettings[attrName] = eval(attrValue);
170
+ } catch (err) {
171
+ inlineSettings[attrName] = attrValue;
172
+ }
173
+ }
174
+ }
175
+ }
176
+ overrides = {
177
+ beforeShow: function (input, dp_inst) {
178
+ if ($.isFunction(tp_inst._defaults.evnts.beforeShow)) {
179
+ return tp_inst._defaults.evnts.beforeShow.call($input[0], input, dp_inst, tp_inst);
180
+ }
181
+ },
182
+ onChangeMonthYear: function (year, month, dp_inst) {
183
+ // Update the time as well : this prevents the time from disappearing from the $input field.
184
+ tp_inst._updateDateTime(dp_inst);
185
+ if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
186
+ tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
187
+ }
188
+ },
189
+ onClose: function (dateText, dp_inst) {
190
+ if (tp_inst.timeDefined === true && $input.val() !== '') {
191
+ tp_inst._updateDateTime(dp_inst);
192
+ }
193
+ if ($.isFunction(tp_inst._defaults.evnts.onClose)) {
194
+ tp_inst._defaults.evnts.onClose.call($input[0], dateText, dp_inst, tp_inst);
195
+ }
196
+ }
197
+ };
198
+ for (i in overrides) {
199
+ if (overrides.hasOwnProperty(i)) {
200
+ fns[i] = o[i] || null;
201
+ }
202
+ }
203
+ tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, o, overrides, {
204
+ evnts:fns,
205
+ timepicker: tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
206
+ });
207
+ tp_inst.amNames = $.map(tp_inst._defaults.amNames, function(val) {
208
+ return val.toUpperCase();
209
+ });
210
+ tp_inst.pmNames = $.map(tp_inst._defaults.pmNames, function(val) {
211
+ return val.toUpperCase();
212
+ });
213
+
214
+ // controlType is string - key to our this._controls
215
+ if(typeof(tp_inst._defaults.controlType) === 'string'){
216
+ if($.fn[tp_inst._defaults.controlType] === undefined){
217
+ tp_inst._defaults.controlType = 'select';
218
+ }
219
+ tp_inst.control = tp_inst._controls[tp_inst._defaults.controlType];
220
+ }
221
+ // controlType is an object and must implement create, options, value methods
222
+ else{
223
+ tp_inst.control = tp_inst._defaults.controlType;
224
+ }
225
+
226
+ if (tp_inst._defaults.timezoneList === null) {
227
+ var timezoneList = ['-1200', '-1100', '-1000', '-0930', '-0900', '-0800', '-0700', '-0600', '-0500', '-0430', '-0400', '-0330', '-0300', '-0200', '-0100', '+0000',
228
+ '+0100', '+0200', '+0300', '+0330', '+0400', '+0430', '+0500', '+0530', '+0545', '+0600', '+0630', '+0700', '+0800', '+0845', '+0900', '+0930',
229
+ '+1000', '+1030', '+1100', '+1130', '+1200', '+1245', '+1300', '+1400'];
230
+
231
+ if (tp_inst._defaults.timezoneIso8601) {
232
+ timezoneList = $.map(timezoneList, function(val) {
233
+ return val == '+0000' ? 'Z' : (val.substring(0, 3) + ':' + val.substring(3));
234
+ });
235
+ }
236
+ tp_inst._defaults.timezoneList = timezoneList;
237
+ }
238
+
239
+ tp_inst.timezone = tp_inst._defaults.timezone;
240
+ tp_inst.hour = tp_inst._defaults.hour < tp_inst._defaults.hourMin? tp_inst._defaults.hourMin :
241
+ tp_inst._defaults.hour > tp_inst._defaults.hourMax? tp_inst._defaults.hourMax : tp_inst._defaults.hour;
242
+ tp_inst.minute = tp_inst._defaults.minute < tp_inst._defaults.minuteMin? tp_inst._defaults.minuteMin :
243
+ tp_inst._defaults.minute > tp_inst._defaults.minuteMax? tp_inst._defaults.minuteMax : tp_inst._defaults.minute;
244
+ tp_inst.second = tp_inst._defaults.second < tp_inst._defaults.secondMin? tp_inst._defaults.secondMin :
245
+ tp_inst._defaults.second > tp_inst._defaults.secondMax? tp_inst._defaults.secondMax : tp_inst._defaults.second;
246
+ tp_inst.millisec = tp_inst._defaults.millisec < tp_inst._defaults.millisecMin? tp_inst._defaults.millisecMin :
247
+ tp_inst._defaults.millisec > tp_inst._defaults.millisecMax? tp_inst._defaults.millisecMax : tp_inst._defaults.millisec;
248
+ tp_inst.ampm = '';
249
+ tp_inst.$input = $input;
250
+
251
+ if (o.altField) {
252
+ tp_inst.$altInput = $(o.altField).css({
253
+ cursor: 'pointer'
254
+ }).focus(function() {
255
+ $input.trigger("focus");
256
+ });
257
+ }
258
+
259
+ if (tp_inst._defaults.minDate === 0 || tp_inst._defaults.minDateTime === 0) {
260
+ tp_inst._defaults.minDate = new Date();
261
+ }
262
+ if (tp_inst._defaults.maxDate === 0 || tp_inst._defaults.maxDateTime === 0) {
263
+ tp_inst._defaults.maxDate = new Date();
264
+ }
265
+
266
+ // datepicker needs minDate/maxDate, timepicker needs minDateTime/maxDateTime..
267
+ if (tp_inst._defaults.minDate !== undefined && tp_inst._defaults.minDate instanceof Date) {
268
+ tp_inst._defaults.minDateTime = new Date(tp_inst._defaults.minDate.getTime());
269
+ }
270
+ if (tp_inst._defaults.minDateTime !== undefined && tp_inst._defaults.minDateTime instanceof Date) {
271
+ tp_inst._defaults.minDate = new Date(tp_inst._defaults.minDateTime.getTime());
272
+ }
273
+ if (tp_inst._defaults.maxDate !== undefined && tp_inst._defaults.maxDate instanceof Date) {
274
+ tp_inst._defaults.maxDateTime = new Date(tp_inst._defaults.maxDate.getTime());
275
+ }
276
+ if (tp_inst._defaults.maxDateTime !== undefined && tp_inst._defaults.maxDateTime instanceof Date) {
277
+ tp_inst._defaults.maxDate = new Date(tp_inst._defaults.maxDateTime.getTime());
278
+ }
279
+ tp_inst.$input.bind('focus', function() {
280
+ tp_inst._onFocus();
281
+ });
282
+
283
+ return tp_inst;
284
+ },
285
+
286
+ /*
287
+ * add our sliders to the calendar
288
+ */
289
+ _addTimePicker: function(dp_inst) {
290
+ var currDT = (this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val();
291
+
292
+ this.timeDefined = this._parseTime(currDT);
293
+ this._limitMinMaxDateTime(dp_inst, false);
294
+ this._injectTimePicker();
295
+ },
296
+
297
+ /*
298
+ * parse the time string from input value or _setTime
299
+ */
300
+ _parseTime: function(timeString, withDate) {
301
+ if (!this.inst) {
302
+ this.inst = $.datepicker._getInst(this.$input[0]);
303
+ }
304
+
305
+ if (withDate || !this._defaults.timeOnly) {
306
+ var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat');
307
+ try {
308
+ var parseRes = parseDateTimeInternal(dp_dateFormat, this._defaults.timeFormat, timeString, $.datepicker._getFormatConfig(this.inst), this._defaults);
309
+ if (!parseRes.timeObj) {
310
+ return false;
311
+ }
312
+ $.extend(this, parseRes.timeObj);
313
+ } catch (err) {
314
+ $.timepicker.log("Error parsing the date/time string: " + err +
315
+ "\ndate/time string = " + timeString +
316
+ "\ntimeFormat = " + this._defaults.timeFormat +
317
+ "\ndateFormat = " + dp_dateFormat);
318
+ return false;
319
+ }
320
+ return true;
321
+ } else {
322
+ var timeObj = $.datepicker.parseTime(this._defaults.timeFormat, timeString, this._defaults);
323
+ if (!timeObj) {
324
+ return false;
325
+ }
326
+ $.extend(this, timeObj);
327
+ return true;
328
+ }
329
+ },
330
+
331
+ /*
332
+ * generate and inject html for timepicker into ui datepicker
333
+ */
334
+ _injectTimePicker: function() {
335
+ var $dp = this.inst.dpDiv,
336
+ o = this.inst.settings,
337
+ tp_inst = this,
338
+ litem = '',
339
+ uitem = '',
340
+ max = {},
341
+ gridSize = {},
342
+ size = null;
343
+
344
+ // Prevent displaying twice
345
+ if ($dp.find("div.ui-timepicker-div").length === 0 && o.showTimepicker) {
346
+ var noDisplay = ' style="display:none;"',
347
+ html = '<div class="ui-timepicker-div'+ (o.isRTL? ' ui-timepicker-rtl' : '') +'"><dl>' + '<dt class="ui_tpicker_time_label"' + ((o.showTime) ? '' : noDisplay) + '>' + o.timeText + '</dt>' +
348
+ '<dd class="ui_tpicker_time"' + ((o.showTime) ? '' : noDisplay) + '></dd>';
349
+
350
+ // Create the markup
351
+ for(var i=0,l=this.units.length; i<l; i++){
352
+ litem = this.units[i];
353
+ uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
354
+ // Added by Peter Medeiros:
355
+ // - Figure out what the hour/minute/second max should be based on the step values.
356
+ // - Example: if stepMinute is 15, then minMax is 45.
357
+ max[litem] = parseInt((o[litem+'Max'] - ((o[litem+'Max'] - o[litem+'Min']) % o['step'+uitem])), 10);
358
+ gridSize[litem] = 0;
359
+
360
+ html += '<dt class="ui_tpicker_'+ litem +'_label"' + ((o['show'+uitem]) ? '' : noDisplay) + '>' + o[litem +'Text'] + '</dt>' +
361
+ '<dd class="ui_tpicker_'+ litem +'"><div class="ui_tpicker_'+ litem +'_slider"' + ((o['show'+uitem]) ? '' : noDisplay) + '></div>';
362
+
363
+ if (o['show'+uitem] && o[litem+'Grid'] > 0) {
364
+ html += '<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
365
+
366
+ if(litem == 'hour'){
367
+ for (var h = o[litem+'Min']; h <= max[litem]; h += parseInt(o[litem+'Grid'], 10)) {
368
+ gridSize[litem]++;
369
+ var tmph = $.datepicker.formatTime(useAmpm(o.pickerTimeFormat || o.timeFormat)? 'hht':'HH', {hour:h}, o);
370
+ html += '<td data-for="'+litem+'">' + tmph + '</td>';
371
+ }
372
+ }
373
+ else{
374
+ for (var m = o[litem+'Min']; m <= max[litem]; m += parseInt(o[litem+'Grid'], 10)) {
375
+ gridSize[litem]++;
376
+ html += '<td data-for="'+litem+'">' + ((m < 10) ? '0' : '') + m + '</td>';
377
+ }
378
+ }
379
+
380
+ html += '</tr></table></div>';
381
+ }
382
+ html += '</dd>';
383
+ }
384
+
385
+ // Timezone
386
+ html += '<dt class="ui_tpicker_timezone_label"' + ((o.showTimezone) ? '' : noDisplay) + '>' + o.timezoneText + '</dt>';
387
+ html += '<dd class="ui_tpicker_timezone" ' + ((o.showTimezone) ? '' : noDisplay) + '></dd>';
388
+
389
+ // Create the elements from string
390
+ html += '</dl></div>';
391
+ var $tp = $(html);
392
+
393
+ // if we only want time picker...
394
+ if (o.timeOnly === true) {
395
+ $tp.prepend('<div class="ui-widget-header ui-helper-clearfix ui-corner-all">' + '<div class="ui-datepicker-title">' + o.timeOnlyTitle + '</div>' + '</div>');
396
+ $dp.find('.ui-datepicker-header, .ui-datepicker-calendar').hide();
397
+ }
398
+
399
+ // add sliders, adjust grids, add events
400
+ for(var i=0,l=tp_inst.units.length; i<l; i++){
401
+ litem = tp_inst.units[i];
402
+ uitem = litem.substr(0,1).toUpperCase() + litem.substr(1);
403
+
404
+ // add the slider
405
+ tp_inst[litem+'_slider'] = tp_inst.control.create(tp_inst, $tp.find('.ui_tpicker_'+litem+'_slider'), litem, tp_inst[litem], o[litem+'Min'], max[litem], o['step'+uitem]);
406
+
407
+ // adjust the grid and add click event
408
+ if (o['show'+uitem] && o[litem+'Grid'] > 0) {
409
+ size = 100 * gridSize[litem] * o[litem+'Grid'] / (max[litem] - o[litem+'Min']);
410
+ $tp.find('.ui_tpicker_'+litem+' table').css({
411
+ width: size + "%",
412
+ marginLeft: o.isRTL? '0' : ((size / (-2 * gridSize[litem])) + "%"),
413
+ marginRight: o.isRTL? ((size / (-2 * gridSize[litem])) + "%") : '0',
414
+ borderCollapse: 'collapse'
415
+ }).find("td").click(function(e){
416
+ var $t = $(this),
417
+ h = $t.html(),
418
+ n = parseInt(h.replace(/[^0-9]/g),10),
419
+ ap = h.replace(/[^apm]/ig),
420
+ f = $t.data('for'); // loses scope, so we use data-for
421
+
422
+ if(f == 'hour'){
423
+ if(ap.indexOf('p') !== -1 && n < 12){
424
+ n += 12;
425
+ }
426
+ else{
427
+ if(ap.indexOf('a') !== -1 && n === 12){
428
+ n = 0;
429
+ }
430
+ }
431
+ }
432
+
433
+ tp_inst.control.value(tp_inst, tp_inst[f+'_slider'], litem, n);
434
+
435
+ tp_inst._onTimeChange();
436
+ tp_inst._onSelectHandler();
437
+ })
438
+ .css({
439
+ cursor: 'pointer',
440
+ width: (100 / gridSize[litem]) + '%',
441
+ textAlign: 'center',
442
+ overflow: 'hidden'
443
+ });
444
+ } // end if grid > 0
445
+ } // end for loop
446
+
447
+ // Add timezone options
448
+ this.timezone_select = $tp.find('.ui_tpicker_timezone').append('<select></select>').find("select");
449
+ $.fn.append.apply(this.timezone_select,
450
+ $.map(o.timezoneList, function(val, idx) {
451
+ return $("<option />").val(typeof val == "object" ? val.value : val).text(typeof val == "object" ? val.label : val);
452
+ }));
453
+ if (typeof(this.timezone) != "undefined" && this.timezone !== null && this.timezone !== "") {
454
+ var local_date = new Date(this.inst.selectedYear, this.inst.selectedMonth, this.inst.selectedDay, 12);
455
+ var local_timezone = $.timepicker.timeZoneOffsetString(local_date);
456
+ if (local_timezone == this.timezone) {
457
+ selectLocalTimeZone(tp_inst);
458
+ } else {
459
+ this.timezone_select.val(this.timezone);
460
+ }
461
+ } else {
462
+ if (typeof(this.hour) != "undefined" && this.hour !== null && this.hour !== "") {
463
+ this.timezone_select.val(o.defaultTimezone);
464
+ } else {
465
+ selectLocalTimeZone(tp_inst);
466
+ }
467
+ }
468
+ this.timezone_select.change(function() {
469
+ tp_inst._defaults.useLocalTimezone = false;
470
+ tp_inst._onTimeChange();
471
+ tp_inst._onSelectHandler();
472
+ });
473
+ // End timezone options
474
+
475
+ // inject timepicker into datepicker
476
+ var $buttonPanel = $dp.find('.ui-datepicker-buttonpane');
477
+ if ($buttonPanel.length) {
478
+ $buttonPanel.before($tp);
479
+ } else {
480
+ $dp.append($tp);
481
+ }
482
+
483
+ this.$timeObj = $tp.find('.ui_tpicker_time');
484
+
485
+ if (this.inst !== null) {
486
+ var timeDefined = this.timeDefined;
487
+ this._onTimeChange();
488
+ this.timeDefined = timeDefined;
489
+ }
490
+
491
+ // slideAccess integration: http://trentrichardson.com/2011/11/11/jquery-ui-sliders-and-touch-accessibility/
492
+ if (this._defaults.addSliderAccess) {
493
+ var sliderAccessArgs = this._defaults.sliderAccessArgs,
494
+ rtl = this._defaults.isRTL;
495
+ sliderAccessArgs.isRTL = rtl;
496
+
497
+ setTimeout(function() { // fix for inline mode
498
+ if ($tp.find('.ui-slider-access').length === 0) {
499
+ $tp.find('.ui-slider:visible').sliderAccess(sliderAccessArgs);
500
+
501
+ // fix any grids since sliders are shorter
502
+ var sliderAccessWidth = $tp.find('.ui-slider-access:eq(0)').outerWidth(true);
503
+ if (sliderAccessWidth) {
504
+ $tp.find('table:visible').each(function() {
505
+ var $g = $(this),
506
+ oldWidth = $g.outerWidth(),
507
+ oldMarginLeft = $g.css(rtl? 'marginRight':'marginLeft').toString().replace('%', ''),
508
+ newWidth = oldWidth - sliderAccessWidth,
509
+ newMarginLeft = ((oldMarginLeft * newWidth) / oldWidth) + '%',
510
+ css = { width: newWidth, marginRight: 0, marginLeft: 0 };
511
+ css[rtl? 'marginRight':'marginLeft'] = newMarginLeft;
512
+ $g.css(css);
513
+ });
514
+ }
515
+ }
516
+ }, 10);
517
+ }
518
+ // end slideAccess integration
519
+
520
+ }
521
+ },
522
+
523
+ /*
524
+ * This function tries to limit the ability to go outside the
525
+ * min/max date range
526
+ */
527
+ _limitMinMaxDateTime: function(dp_inst, adjustSliders) {
528
+ var o = this._defaults,
529
+ dp_date = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay);
530
+
531
+ if (!this._defaults.showTimepicker) {
532
+ return;
533
+ } // No time so nothing to check here
534
+
535
+ if ($.datepicker._get(dp_inst, 'minDateTime') !== null && $.datepicker._get(dp_inst, 'minDateTime') !== undefined && dp_date) {
536
+ var minDateTime = $.datepicker._get(dp_inst, 'minDateTime'),
537
+ minDateTimeDate = new Date(minDateTime.getFullYear(), minDateTime.getMonth(), minDateTime.getDate(), 0, 0, 0, 0);
538
+
539
+ if (this.hourMinOriginal === null || this.minuteMinOriginal === null || this.secondMinOriginal === null || this.millisecMinOriginal === null) {
540
+ this.hourMinOriginal = o.hourMin;
541
+ this.minuteMinOriginal = o.minuteMin;
542
+ this.secondMinOriginal = o.secondMin;
543
+ this.millisecMinOriginal = o.millisecMin;
544
+ }
545
+
546
+ if (dp_inst.settings.timeOnly || minDateTimeDate.getTime() == dp_date.getTime()) {
547
+ this._defaults.hourMin = minDateTime.getHours();
548
+ if (this.hour <= this._defaults.hourMin) {
549
+ this.hour = this._defaults.hourMin;
550
+ this._defaults.minuteMin = minDateTime.getMinutes();
551
+ if (this.minute <= this._defaults.minuteMin) {
552
+ this.minute = this._defaults.minuteMin;
553
+ this._defaults.secondMin = minDateTime.getSeconds();
554
+ if (this.second <= this._defaults.secondMin) {
555
+ this.second = this._defaults.secondMin;
556
+ this._defaults.millisecMin = minDateTime.getMilliseconds();
557
+ } else {
558
+ if (this.millisec < this._defaults.millisecMin) {
559
+ this.millisec = this._defaults.millisecMin;
560
+ }
561
+ this._defaults.millisecMin = this.millisecMinOriginal;
562
+ }
563
+ } else {
564
+ this._defaults.secondMin = this.secondMinOriginal;
565
+ this._defaults.millisecMin = this.millisecMinOriginal;
566
+ }
567
+ } else {
568
+ this._defaults.minuteMin = this.minuteMinOriginal;
569
+ this._defaults.secondMin = this.secondMinOriginal;
570
+ this._defaults.millisecMin = this.millisecMinOriginal;
571
+ }
572
+ } else {
573
+ this._defaults.hourMin = this.hourMinOriginal;
574
+ this._defaults.minuteMin = this.minuteMinOriginal;
575
+ this._defaults.secondMin = this.secondMinOriginal;
576
+ this._defaults.millisecMin = this.millisecMinOriginal;
577
+ }
578
+ }
579
+
580
+ if ($.datepicker._get(dp_inst, 'maxDateTime') !== null && $.datepicker._get(dp_inst, 'maxDateTime') !== undefined && dp_date) {
581
+ var maxDateTime = $.datepicker._get(dp_inst, 'maxDateTime'),
582
+ maxDateTimeDate = new Date(maxDateTime.getFullYear(), maxDateTime.getMonth(), maxDateTime.getDate(), 0, 0, 0, 0);
583
+
584
+ if (this.hourMaxOriginal === null || this.minuteMaxOriginal === null || this.secondMaxOriginal === null) {
585
+ this.hourMaxOriginal = o.hourMax;
586
+ this.minuteMaxOriginal = o.minuteMax;
587
+ this.secondMaxOriginal = o.secondMax;
588
+ this.millisecMaxOriginal = o.millisecMax;
589
+ }
590
+
591
+ if (dp_inst.settings.timeOnly || maxDateTimeDate.getTime() == dp_date.getTime()) {
592
+ this._defaults.hourMax = maxDateTime.getHours();
593
+ if (this.hour >= this._defaults.hourMax) {
594
+ this.hour = this._defaults.hourMax;
595
+ this._defaults.minuteMax = maxDateTime.getMinutes();
596
+ if (this.minute >= this._defaults.minuteMax) {
597
+ this.minute = this._defaults.minuteMax;
598
+ this._defaults.secondMax = maxDateTime.getSeconds();
599
+ if (this.second >= this._defaults.secondMax) {
600
+ this.second = this._defaults.secondMax;
601
+ this._defaults.millisecMax = maxDateTime.getMilliseconds();
602
+ } else {
603
+ if (this.millisec > this._defaults.millisecMax) {
604
+ this.millisec = this._defaults.millisecMax;
605
+ }
606
+ this._defaults.millisecMax = this.millisecMaxOriginal;
607
+ }
608
+ } else {
609
+ this._defaults.secondMax = this.secondMaxOriginal;
610
+ this._defaults.millisecMax = this.millisecMaxOriginal;
611
+ }
612
+ } else {
613
+ this._defaults.minuteMax = this.minuteMaxOriginal;
614
+ this._defaults.secondMax = this.secondMaxOriginal;
615
+ this._defaults.millisecMax = this.millisecMaxOriginal;
616
+ }
617
+ } else {
618
+ this._defaults.hourMax = this.hourMaxOriginal;
619
+ this._defaults.minuteMax = this.minuteMaxOriginal;
620
+ this._defaults.secondMax = this.secondMaxOriginal;
621
+ this._defaults.millisecMax = this.millisecMaxOriginal;
622
+ }
623
+ }
624
+
625
+ if (adjustSliders !== undefined && adjustSliders === true) {
626
+ var hourMax = parseInt((this._defaults.hourMax - ((this._defaults.hourMax - this._defaults.hourMin) % this._defaults.stepHour)), 10),
627
+ minMax = parseInt((this._defaults.minuteMax - ((this._defaults.minuteMax - this._defaults.minuteMin) % this._defaults.stepMinute)), 10),
628
+ secMax = parseInt((this._defaults.secondMax - ((this._defaults.secondMax - this._defaults.secondMin) % this._defaults.stepSecond)), 10),
629
+ millisecMax = parseInt((this._defaults.millisecMax - ((this._defaults.millisecMax - this._defaults.millisecMin) % this._defaults.stepMillisec)), 10);
630
+
631
+ if (this.hour_slider) {
632
+ this.control.options(this, this.hour_slider, 'hour', { min: this._defaults.hourMin, max: hourMax });
633
+ this.control.value(this, this.hour_slider, 'hour', this.hour - (this.hour % this._defaults.stepHour));
634
+ }
635
+ if (this.minute_slider) {
636
+ this.control.options(this, this.minute_slider, 'minute', { min: this._defaults.minuteMin, max: minMax });
637
+ this.control.value(this, this.minute_slider, 'minute', this.minute - (this.minute % this._defaults.stepMinute));
638
+ }
639
+ if (this.second_slider) {
640
+ this.control.options(this, this.second_slider, 'second', { min: this._defaults.secondMin, max: secMax });
641
+ this.control.value(this, this.second_slider, 'second', this.second - (this.second % this._defaults.stepSecond));
642
+ }
643
+ if (this.millisec_slider) {
644
+ this.control.options(this, this.millisec_slider, 'millisec', { min: this._defaults.millisecMin, max: millisecMax });
645
+ this.control.value(this, this.millisec_slider, 'millisec', this.millisec - (this.millisec % this._defaults.stepMillisec));
646
+ }
647
+ }
648
+
649
+ },
650
+
651
+ /*
652
+ * when a slider moves, set the internal time...
653
+ * on time change is also called when the time is updated in the text field
654
+ */
655
+ _onTimeChange: function() {
656
+ var hour = (this.hour_slider) ? this.control.value(this, this.hour_slider, 'hour') : false,
657
+ minute = (this.minute_slider) ? this.control.value(this, this.minute_slider, 'minute') : false,
658
+ second = (this.second_slider) ? this.control.value(this, this.second_slider, 'second') : false,
659
+ millisec = (this.millisec_slider) ? this.control.value(this, this.millisec_slider, 'millisec') : false,
660
+ timezone = (this.timezone_select) ? this.timezone_select.val() : false,
661
+ o = this._defaults,
662
+ pickerTimeFormat = o.pickerTimeFormat || o.timeFormat,
663
+ pickerTimeSuffix = o.pickerTimeSuffix || o.timeSuffix;
664
+
665
+ if (typeof(hour) == 'object') {
666
+ hour = false;
667
+ }
668
+ if (typeof(minute) == 'object') {
669
+ minute = false;
670
+ }
671
+ if (typeof(second) == 'object') {
672
+ second = false;
673
+ }
674
+ if (typeof(millisec) == 'object') {
675
+ millisec = false;
676
+ }
677
+ if (typeof(timezone) == 'object') {
678
+ timezone = false;
679
+ }
680
+
681
+ if (hour !== false) {
682
+ hour = parseInt(hour, 10);
683
+ }
684
+ if (minute !== false) {
685
+ minute = parseInt(minute, 10);
686
+ }
687
+ if (second !== false) {
688
+ second = parseInt(second, 10);
689
+ }
690
+ if (millisec !== false) {
691
+ millisec = parseInt(millisec, 10);
692
+ }
693
+
694
+ var ampm = o[hour < 12 ? 'amNames' : 'pmNames'][0];
695
+
696
+ // If the update was done in the input field, the input field should not be updated.
697
+ // If the update was done using the sliders, update the input field.
698
+ var hasChanged = (hour != this.hour || minute != this.minute || second != this.second || millisec != this.millisec
699
+ || (this.ampm.length > 0 && (hour < 12) != ($.inArray(this.ampm.toUpperCase(), this.amNames) !== -1))
700
+ || ((this.timezone === null && timezone != this.defaultTimezone) || (this.timezone !== null && timezone != this.timezone)));
701
+
702
+ if (hasChanged) {
703
+
704
+ if (hour !== false) {
705
+ this.hour = hour;
706
+ }
707
+ if (minute !== false) {
708
+ this.minute = minute;
709
+ }
710
+ if (second !== false) {
711
+ this.second = second;
712
+ }
713
+ if (millisec !== false) {
714
+ this.millisec = millisec;
715
+ }
716
+ if (timezone !== false) {
717
+ this.timezone = timezone;
718
+ }
719
+
720
+ if (!this.inst) {
721
+ this.inst = $.datepicker._getInst(this.$input[0]);
722
+ }
723
+
724
+ this._limitMinMaxDateTime(this.inst, true);
725
+ }
726
+ if (useAmpm(o.timeFormat)) {
727
+ this.ampm = ampm;
728
+ }
729
+
730
+ // Updates the time within the timepicker
731
+ this.formattedTime = $.datepicker.formatTime(o.timeFormat, this, o);
732
+ if (this.$timeObj) {
733
+ if(pickerTimeFormat === o.timeFormat){
734
+ this.$timeObj.text(this.formattedTime + pickerTimeSuffix);
735
+ }
736
+ else{
737
+ this.$timeObj.text($.datepicker.formatTime(pickerTimeFormat, this, o) + pickerTimeSuffix);
738
+ }
739
+ }
740
+
741
+ this.timeDefined = true;
742
+ if (hasChanged) {
743
+ this._updateDateTime();
744
+ }
745
+ },
746
+
747
+ /*
748
+ * call custom onSelect.
749
+ * bind to sliders slidestop, and grid click.
750
+ */
751
+ _onSelectHandler: function() {
752
+ var onSelect = this._defaults.onSelect || this.inst.settings.onSelect;
753
+ var inputEl = this.$input ? this.$input[0] : null;
754
+ if (onSelect && inputEl) {
755
+ onSelect.apply(inputEl, [this.formattedDateTime, this]);
756
+ }
757
+ },
758
+
759
+ /*
760
+ * update our input with the new date time..
761
+ */
762
+ _updateDateTime: function(dp_inst) {
763
+ dp_inst = this.inst || dp_inst;
764
+ var dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
765
+ dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
766
+ formatCfg = $.datepicker._getFormatConfig(dp_inst),
767
+ timeAvailable = dt !== null && this.timeDefined;
768
+ this.formattedDate = $.datepicker.formatDate(dateFmt, (dt === null ? new Date() : dt), formatCfg);
769
+ var formattedDateTime = this.formattedDate;
770
+
771
+ // if a slider was changed but datepicker doesn't have a value yet, set it
772
+ if(dp_inst.lastVal==""){
773
+ dp_inst.currentYear=dp_inst.selectedYear;
774
+ dp_inst.currentMonth=dp_inst.selectedMonth;
775
+ dp_inst.currentDay=dp_inst.selectedDay;
776
+ }
777
+
778
+ /*
779
+ * remove following lines to force every changes in date picker to change the input value
780
+ * Bug descriptions: when an input field has a default value, and click on the field to pop up the date picker.
781
+ * If the user manually empty the value in the input field, the date picker will never change selected value.
782
+ */
783
+ //if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0)) {
784
+ // return;
785
+ //}
786
+
787
+ if (this._defaults.timeOnly === true) {
788
+ formattedDateTime = this.formattedTime;
789
+ } else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
790
+ formattedDateTime += this._defaults.separator + this.formattedTime + this._defaults.timeSuffix;
791
+ }
792
+
793
+ this.formattedDateTime = formattedDateTime;
794
+
795
+ if (!this._defaults.showTimepicker) {
796
+ this.$input.val(this.formattedDate);
797
+ } else if (this.$altInput && this._defaults.altFieldTimeOnly === true) {
798
+ this.$altInput.val(this.formattedTime);
799
+ this.$input.val(this.formattedDate);
800
+ } else if (this.$altInput) {
801
+ this.$input.val(formattedDateTime);
802
+ var altFormattedDateTime = '',
803
+ altSeparator = this._defaults.altSeparator ? this._defaults.altSeparator : this._defaults.separator,
804
+ altTimeSuffix = this._defaults.altTimeSuffix ? this._defaults.altTimeSuffix : this._defaults.timeSuffix;
805
+
806
+ if (this._defaults.altFormat) altFormattedDateTime = $.datepicker.formatDate(this._defaults.altFormat, (dt === null ? new Date() : dt), formatCfg);
807
+ else altFormattedDateTime = this.formattedDate;
808
+ if (altFormattedDateTime) altFormattedDateTime += altSeparator;
809
+ if (this._defaults.altTimeFormat) altFormattedDateTime += $.datepicker.formatTime(this._defaults.altTimeFormat, this, this._defaults) + altTimeSuffix;
810
+ else altFormattedDateTime += this.formattedTime + altTimeSuffix;
811
+ this.$altInput.val(altFormattedDateTime);
812
+ } else {
813
+ this.$input.val(formattedDateTime);
814
+ }
815
+
816
+ this.$input.trigger("change");
817
+ },
818
+
819
+ _onFocus: function() {
820
+ if (!this.$input.val() && this._defaults.defaultValue) {
821
+ this.$input.val(this._defaults.defaultValue);
822
+ var inst = $.datepicker._getInst(this.$input.get(0)),
823
+ tp_inst = $.datepicker._get(inst, 'timepicker');
824
+ if (tp_inst) {
825
+ if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
826
+ try {
827
+ $.datepicker._updateDatepicker(inst);
828
+ } catch (err) {
829
+ $.timepicker.log(err);
830
+ }
831
+ }
832
+ }
833
+ }
834
+ },
835
+
836
+ /*
837
+ * Small abstraction to control types
838
+ * We can add more, just be sure to follow the pattern: create, options, value
839
+ */
840
+ _controls: {
841
+ // slider methods
842
+ slider: {
843
+ create: function(tp_inst, obj, unit, val, min, max, step){
844
+ var rtl = tp_inst._defaults.isRTL; // if rtl go -60->0 instead of 0->60
845
+ return obj.prop('slide', null).slider({
846
+ orientation: "horizontal",
847
+ value: rtl? val*-1 : val,
848
+ min: rtl? max*-1 : min,
849
+ max: rtl? min*-1 : max,
850
+ step: step,
851
+ slide: function(event, ui) {
852
+ tp_inst.control.value(tp_inst, $(this), unit, rtl? ui.value*-1:ui.value);
853
+ tp_inst._onTimeChange();
854
+ },
855
+ stop: function(event, ui) {
856
+ tp_inst._onSelectHandler();
857
+ }
858
+ });
859
+ },
860
+ options: function(tp_inst, obj, unit, opts, val){
861
+ if(tp_inst._defaults.isRTL){
862
+ if(typeof(opts) == 'string'){
863
+ if(opts == 'min' || opts == 'max'){
864
+ if(val !== undefined)
865
+ return obj.slider(opts, val*-1);
866
+ return Math.abs(obj.slider(opts));
867
+ }
868
+ return obj.slider(opts);
869
+ }
870
+ var min = opts.min,
871
+ max = opts.max;
872
+ opts.min = opts.max = null;
873
+ if(min !== undefined)
874
+ opts.max = min * -1;
875
+ if(max !== undefined)
876
+ opts.min = max * -1;
877
+ return obj.slider(opts);
878
+ }
879
+ if(typeof(opts) == 'string' && val !== undefined)
880
+ return obj.slider(opts, val);
881
+ return obj.slider(opts);
882
+ },
883
+ value: function(tp_inst, obj, unit, val){
884
+ if(tp_inst._defaults.isRTL){
885
+ if(val !== undefined)
886
+ return obj.slider('value', val*-1);
887
+ return Math.abs(obj.slider('value'));
888
+ }
889
+ if(val !== undefined)
890
+ return obj.slider('value', val);
891
+ return obj.slider('value');
892
+ }
893
+ },
894
+ // select methods
895
+ select: {
896
+ create: function(tp_inst, obj, unit, val, min, max, step){
897
+ var sel = '<select class="ui-timepicker-select" data-unit="'+ unit +'" data-min="'+ min +'" data-max="'+ max +'" data-step="'+ step +'">',
898
+ ul = tp_inst._defaults.timeFormat.indexOf('t') !== -1? 'toLowerCase':'toUpperCase',
899
+ m = 0;
900
+
901
+ for(var i=min; i<=max; i+=step){
902
+ sel += '<option value="'+ i +'"'+ (i==val? ' selected':'') +'>';
903
+ if(unit == 'hour' && useAmpm(tp_inst._defaults.pickerTimeFormat || tp_inst._defaults.timeFormat))
904
+ sel += $.datepicker.formatTime("hh TT", {hour:i}, tp_inst._defaults);
905
+ else if(unit == 'millisec' || i >= 10) sel += i;
906
+ else sel += '0'+ i.toString();
907
+ sel += '</option>';
908
+ }
909
+ sel += '</select>';
910
+
911
+ obj.children('select').remove();
912
+
913
+ $(sel).appendTo(obj).change(function(e){
914
+ tp_inst._onTimeChange();
915
+ tp_inst._onSelectHandler();
916
+ });
917
+
918
+ return obj;
919
+ },
920
+ options: function(tp_inst, obj, unit, opts, val){
921
+ var o = {},
922
+ $t = obj.children('select');
923
+ if(typeof(opts) == 'string'){
924
+ if(val === undefined)
925
+ return $t.data(opts);
926
+ o[opts] = val;
927
+ }
928
+ else o = opts;
929
+ return tp_inst.control.create(tp_inst, obj, $t.data('unit'), $t.val(), o.min || $t.data('min'), o.max || $t.data('max'), o.step || $t.data('step'));
930
+ },
931
+ value: function(tp_inst, obj, unit, val){
932
+ var $t = obj.children('select');
933
+ if(val !== undefined)
934
+ return $t.val(val);
935
+ return $t.val();
936
+ }
937
+ }
938
+ } // end _controls
939
+
940
+ });
941
+
942
+ $.fn.extend({
943
+ /*
944
+ * shorthand just to use timepicker..
945
+ */
946
+ timepicker: function(o) {
947
+ o = o || {};
948
+ var tmp_args = Array.prototype.slice.call(arguments);
949
+
950
+ if (typeof o == 'object') {
951
+ tmp_args[0] = $.extend(o, {
952
+ timeOnly: true
953
+ });
954
+ }
955
+
956
+ return $(this).each(function() {
957
+ $.fn.datetimepicker.apply($(this), tmp_args);
958
+ });
959
+ },
960
+
961
+ /*
962
+ * extend timepicker to datepicker
963
+ */
964
+ datetimepicker: function(o) {
965
+ o = o || {};
966
+ var tmp_args = arguments;
967
+
968
+ if (typeof(o) == 'string') {
969
+ if (o == 'getDate') {
970
+ return $.fn.datepicker.apply($(this[0]), tmp_args);
971
+ } else {
972
+ return this.each(function() {
973
+ var $t = $(this);
974
+ $t.datepicker.apply($t, tmp_args);
975
+ });
976
+ }
977
+ } else {
978
+ return this.each(function() {
979
+ var $t = $(this);
980
+ $t.datepicker($.timepicker._newInst($t, o)._defaults);
981
+ });
982
+ }
983
+ }
984
+ });
985
+
986
+ /*
987
+ * Public Utility to parse date and time
988
+ */
989
+ $.datepicker.parseDateTime = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
990
+ var parseRes = parseDateTimeInternal(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings);
991
+ if (parseRes.timeObj) {
992
+ var t = parseRes.timeObj;
993
+ parseRes.date.setHours(t.hour, t.minute, t.second, t.millisec);
994
+ }
995
+
996
+ return parseRes.date;
997
+ };
998
+
999
+ /*
1000
+ * Public utility to parse time
1001
+ */
1002
+ $.datepicker.parseTime = function(timeFormat, timeString, options) {
1003
+ var o = extendRemove(extendRemove({}, $.timepicker._defaults), options || {});
1004
+
1005
+ // Strict parse requires the timeString to match the timeFormat exactly
1006
+ var strictParse = function(f, s, o){
1007
+
1008
+ // pattern for standard and localized AM/PM markers
1009
+ var getPatternAmpm = function(amNames, pmNames) {
1010
+ var markers = [];
1011
+ if (amNames) {
1012
+ $.merge(markers, amNames);
1013
+ }
1014
+ if (pmNames) {
1015
+ $.merge(markers, pmNames);
1016
+ }
1017
+ markers = $.map(markers, function(val) {
1018
+ return val.replace(/[.*+?|()\[\]{}\\]/g, '\\$&');
1019
+ });
1020
+ return '(' + markers.join('|') + ')?';
1021
+ };
1022
+
1023
+ // figure out position of time elements.. cause js cant do named captures
1024
+ var getFormatPositions = function(timeFormat) {
1025
+ var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|t{1,2}|z|'.*?')/g),
1026
+ orders = {
1027
+ h: -1,
1028
+ m: -1,
1029
+ s: -1,
1030
+ l: -1,
1031
+ t: -1,
1032
+ z: -1
1033
+ };
1034
+
1035
+ if (finds) {
1036
+ for (var i = 0; i < finds.length; i++) {
1037
+ if (orders[finds[i].toString().charAt(0)] == -1) {
1038
+ orders[finds[i].toString().charAt(0)] = i + 1;
1039
+ }
1040
+ }
1041
+ }
1042
+ return orders;
1043
+ };
1044
+
1045
+ var regstr = '^' + f.toString()
1046
+ .replace(/([hH]{1,2}|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g, function (match) {
1047
+ var ml = match.length;
1048
+ switch (match.charAt(0).toLowerCase()) {
1049
+ case 'h': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1050
+ case 'm': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1051
+ case 's': return ml === 1? '(\\d?\\d)':'(\\d{'+ml+'})';
1052
+ case 'l': return '(\\d?\\d?\\d)';
1053
+ case 'z': return '(z|[-+]\\d\\d:?\\d\\d|\\S+)?';
1054
+ case 't': return getPatternAmpm(o.amNames, o.pmNames);
1055
+ default: // literal escaped in quotes
1056
+ return '(' + match.replace(/\'/g, "").replace(/(\.|\$|\^|\\|\/|\(|\)|\[|\]|\?|\+|\*)/g, function (m) { return "\\" + m; }) + ')?';
1057
+ }
1058
+ })
1059
+ .replace(/\s/g, '\\s?') +
1060
+ o.timeSuffix + '$',
1061
+ order = getFormatPositions(f),
1062
+ ampm = '',
1063
+ treg;
1064
+
1065
+ treg = s.match(new RegExp(regstr, 'i'));
1066
+
1067
+ var resTime = {
1068
+ hour: 0,
1069
+ minute: 0,
1070
+ second: 0,
1071
+ millisec: 0
1072
+ };
1073
+
1074
+ if (treg) {
1075
+ if (order.t !== -1) {
1076
+ if (treg[order.t] === undefined || treg[order.t].length === 0) {
1077
+ ampm = '';
1078
+ resTime.ampm = '';
1079
+ } else {
1080
+ ampm = $.inArray(treg[order.t].toUpperCase(), o.amNames) !== -1 ? 'AM' : 'PM';
1081
+ resTime.ampm = o[ampm == 'AM' ? 'amNames' : 'pmNames'][0];
1082
+ }
1083
+ }
1084
+
1085
+ if (order.h !== -1) {
1086
+ if (ampm == 'AM' && treg[order.h] == '12') {
1087
+ resTime.hour = 0; // 12am = 0 hour
1088
+ } else {
1089
+ if (ampm == 'PM' && treg[order.h] != '12') {
1090
+ resTime.hour = parseInt(treg[order.h], 10) + 12; // 12pm = 12 hour, any other pm = hour + 12
1091
+ } else {
1092
+ resTime.hour = Number(treg[order.h]);
1093
+ }
1094
+ }
1095
+ }
1096
+
1097
+ if (order.m !== -1) {
1098
+ resTime.minute = Number(treg[order.m]);
1099
+ }
1100
+ if (order.s !== -1) {
1101
+ resTime.second = Number(treg[order.s]);
1102
+ }
1103
+ if (order.l !== -1) {
1104
+ resTime.millisec = Number(treg[order.l]);
1105
+ }
1106
+ if (order.z !== -1 && treg[order.z] !== undefined) {
1107
+ var tz = treg[order.z].toUpperCase();
1108
+ switch (tz.length) {
1109
+ case 1:
1110
+ // Z
1111
+ tz = o.timezoneIso8601 ? 'Z' : '+0000';
1112
+ break;
1113
+ case 5:
1114
+ // +hhmm
1115
+ if (o.timezoneIso8601) {
1116
+ tz = tz.substring(1) == '0000' ? 'Z' : tz.substring(0, 3) + ':' + tz.substring(3);
1117
+ }
1118
+ break;
1119
+ case 6:
1120
+ // +hh:mm
1121
+ if (!o.timezoneIso8601) {
1122
+ tz = tz == 'Z' || tz.substring(1) == '00:00' ? '+0000' : tz.replace(/:/, '');
1123
+ } else {
1124
+ if (tz.substring(1) == '00:00') {
1125
+ tz = 'Z';
1126
+ }
1127
+ }
1128
+ break;
1129
+ }
1130
+ resTime.timezone = tz;
1131
+ }
1132
+
1133
+
1134
+ return resTime;
1135
+ }
1136
+ return false;
1137
+ };// end strictParse
1138
+
1139
+ // First try JS Date, if that fails, use strictParse
1140
+ var looseParse = function(f,s,o){
1141
+ try{
1142
+ var d = new Date('2012-01-01 '+ s);
1143
+ if(isNaN(d.getTime())){
1144
+ d = new Date('2012-01-01T'+ s);
1145
+ if(isNaN(d.getTime())){
1146
+ d = new Date('01/01/2012 '+ s);
1147
+ if(isNaN(d.getTime())){
1148
+ throw "Unable to parse time with native Date: "+ s;
1149
+ }
1150
+ }
1151
+ }
1152
+
1153
+ return {
1154
+ hour: d.getHours(),
1155
+ minute: d.getMinutes(),
1156
+ second: d.getSeconds(),
1157
+ millisec: d.getMilliseconds(),
1158
+ timezone: $.timepicker.timeZoneOffsetString(d)
1159
+ };
1160
+ }
1161
+ catch(err){
1162
+ try{
1163
+ return strictParse(f,s,o);
1164
+ }
1165
+ catch(err2){
1166
+ $.timepicker.log("Unable to parse \ntimeString: "+ s +"\ntimeFormat: "+ f);
1167
+ }
1168
+ }
1169
+ return false;
1170
+ }; // end looseParse
1171
+
1172
+ if(typeof o.parse === "function"){
1173
+ return o.parse(timeFormat, timeString, o)
1174
+ }
1175
+ if(o.parse === 'loose'){
1176
+ return looseParse(timeFormat, timeString, o);
1177
+ }
1178
+ return strictParse(timeFormat, timeString, o);
1179
+ };
1180
+
1181
+ /*
1182
+ * Public utility to format the time
1183
+ * format = string format of the time
1184
+ * time = a {}, not a Date() for timezones
1185
+ * options = essentially the regional[].. amNames, pmNames, ampm
1186
+ */
1187
+ $.datepicker.formatTime = function(format, time, options) {
1188
+ options = options || {};
1189
+ options = $.extend({}, $.timepicker._defaults, options);
1190
+ time = $.extend({
1191
+ hour: 0,
1192
+ minute: 0,
1193
+ second: 0,
1194
+ millisec: 0,
1195
+ timezone: '+0000'
1196
+ }, time);
1197
+
1198
+ var tmptime = format,
1199
+ ampmName = options.amNames[0],
1200
+ hour = parseInt(time.hour, 10);
1201
+
1202
+ if (hour > 11) {
1203
+ ampmName = options.pmNames[0];
1204
+ }
1205
+
1206
+ tmptime = tmptime.replace(/(?:HH?|hh?|mm?|ss?|[tT]{1,2}|[lz]|('.*?'|".*?"))/g, function(match) {
1207
+ switch (match) {
1208
+ case 'HH':
1209
+ return ('0' + hour).slice(-2);
1210
+ case 'H':
1211
+ return hour;
1212
+ case 'hh':
1213
+ return ('0' + convert24to12(hour)).slice(-2);
1214
+ case 'h':
1215
+ return convert24to12(hour);
1216
+ case 'mm':
1217
+ return ('0' + time.minute).slice(-2);
1218
+ case 'm':
1219
+ return time.minute;
1220
+ case 'ss':
1221
+ return ('0' + time.second).slice(-2);
1222
+ case 's':
1223
+ return time.second;
1224
+ case 'l':
1225
+ return ('00' + time.millisec).slice(-3);
1226
+ case 'z':
1227
+ return time.timezone === null? options.defaultTimezone : time.timezone;
1228
+ case 'T':
1229
+ return ampmName.charAt(0).toUpperCase();
1230
+ case 'TT':
1231
+ return ampmName.toUpperCase();
1232
+ case 't':
1233
+ return ampmName.charAt(0).toLowerCase();
1234
+ case 'tt':
1235
+ return ampmName.toLowerCase();
1236
+ default:
1237
+ return match.replace(/\'/g, "") || "'";
1238
+ }
1239
+ });
1240
+
1241
+ tmptime = $.trim(tmptime);
1242
+ return tmptime;
1243
+ };
1244
+
1245
+ /*
1246
+ * the bad hack :/ override datepicker so it doesnt close on select
1247
+ // inspired: http://stackoverflow.com/questions/1252512/jquery-datepicker-prevent-closing-picker-when-clicking-a-date/1762378#1762378
1248
+ */
1249
+ $.datepicker._base_selectDate = $.datepicker._selectDate;
1250
+ $.datepicker._selectDate = function(id, dateStr) {
1251
+ var inst = this._getInst($(id)[0]),
1252
+ tp_inst = this._get(inst, 'timepicker');
1253
+
1254
+ if (tp_inst) {
1255
+ tp_inst._limitMinMaxDateTime(inst, true);
1256
+ inst.inline = inst.stay_open = true;
1257
+ //This way the onSelect handler called from calendarpicker get the full dateTime
1258
+ this._base_selectDate(id, dateStr);
1259
+ inst.inline = inst.stay_open = false;
1260
+ this._notifyChange(inst);
1261
+ this._updateDatepicker(inst);
1262
+ } else {
1263
+ this._base_selectDate(id, dateStr);
1264
+ }
1265
+ };
1266
+
1267
+ /*
1268
+ * second bad hack :/ override datepicker so it triggers an event when changing the input field
1269
+ * and does not redraw the datepicker on every selectDate event
1270
+ */
1271
+ $.datepicker._base_updateDatepicker = $.datepicker._updateDatepicker;
1272
+ $.datepicker._updateDatepicker = function(inst) {
1273
+
1274
+ // don't popup the datepicker if there is another instance already opened
1275
+ var input = inst.input[0];
1276
+ if ($.datepicker._curInst && $.datepicker._curInst != inst && $.datepicker._datepickerShowing && $.datepicker._lastInput != input) {
1277
+ return;
1278
+ }
1279
+
1280
+ if (typeof(inst.stay_open) !== 'boolean' || inst.stay_open === false) {
1281
+
1282
+ this._base_updateDatepicker(inst);
1283
+
1284
+ // Reload the time control when changing something in the input text field.
1285
+ var tp_inst = this._get(inst, 'timepicker');
1286
+ if (tp_inst) {
1287
+ tp_inst._addTimePicker(inst);
1288
+
1289
+ // if (tp_inst._defaults.useLocalTimezone) { //checks daylight saving with the new date.
1290
+ // var date = new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay, 12);
1291
+ // selectLocalTimeZone(tp_inst, date);
1292
+ // tp_inst._onTimeChange();
1293
+ // }
1294
+ }
1295
+ }
1296
+ };
1297
+
1298
+ /*
1299
+ * third bad hack :/ override datepicker so it allows spaces and colon in the input field
1300
+ */
1301
+ $.datepicker._base_doKeyPress = $.datepicker._doKeyPress;
1302
+ $.datepicker._doKeyPress = function(event) {
1303
+ var inst = $.datepicker._getInst(event.target),
1304
+ tp_inst = $.datepicker._get(inst, 'timepicker');
1305
+
1306
+ if (tp_inst) {
1307
+ if ($.datepicker._get(inst, 'constrainInput')) {
1308
+ var ampm = useAmpm(tp_inst._defaults.timeFormat),
1309
+ dateChars = $.datepicker._possibleChars($.datepicker._get(inst, 'dateFormat')),
1310
+ datetimeChars = tp_inst._defaults.timeFormat.toString()
1311
+ .replace(/[hms]/g, '')
1312
+ .replace(/TT/g, ampm ? 'APM' : '')
1313
+ .replace(/Tt/g, ampm ? 'AaPpMm' : '')
1314
+ .replace(/tT/g, ampm ? 'AaPpMm' : '')
1315
+ .replace(/T/g, ampm ? 'AP' : '')
1316
+ .replace(/tt/g, ampm ? 'apm' : '')
1317
+ .replace(/t/g, ampm ? 'ap' : '') +
1318
+ " " + tp_inst._defaults.separator +
1319
+ tp_inst._defaults.timeSuffix +
1320
+ (tp_inst._defaults.showTimezone ? tp_inst._defaults.timezoneList.join('') : '') +
1321
+ (tp_inst._defaults.amNames.join('')) + (tp_inst._defaults.pmNames.join('')) +
1322
+ dateChars,
1323
+ chr = String.fromCharCode(event.charCode === undefined ? event.keyCode : event.charCode);
1324
+ return event.ctrlKey || (chr < ' ' || !dateChars || datetimeChars.indexOf(chr) > -1);
1325
+ }
1326
+ }
1327
+
1328
+ return $.datepicker._base_doKeyPress(event);
1329
+ };
1330
+
1331
+ /*
1332
+ * Fourth bad hack :/ override _updateAlternate function used in inline mode to init altField
1333
+ */
1334
+ $.datepicker._base_updateAlternate = $.datepicker._updateAlternate;
1335
+ /* Update any alternate field to synchronise with the main field. */
1336
+ $.datepicker._updateAlternate = function(inst) {
1337
+ var tp_inst = this._get(inst, 'timepicker');
1338
+ if(tp_inst){
1339
+ var altField = tp_inst._defaults.altField;
1340
+ if (altField) { // update alternate field too
1341
+ var altFormat = tp_inst._defaults.altFormat || tp_inst._defaults.dateFormat,
1342
+ date = this._getDate(inst),
1343
+ formatCfg = $.datepicker._getFormatConfig(inst),
1344
+ altFormattedDateTime = '',
1345
+ altSeparator = tp_inst._defaults.altSeparator ? tp_inst._defaults.altSeparator : tp_inst._defaults.separator,
1346
+ altTimeSuffix = tp_inst._defaults.altTimeSuffix ? tp_inst._defaults.altTimeSuffix : tp_inst._defaults.timeSuffix,
1347
+ altTimeFormat = tp_inst._defaults.altTimeFormat !== null ? tp_inst._defaults.altTimeFormat : tp_inst._defaults.timeFormat;
1348
+
1349
+ altFormattedDateTime += $.datepicker.formatTime(altTimeFormat, tp_inst, tp_inst._defaults) + altTimeSuffix;
1350
+ if(!tp_inst._defaults.timeOnly && !tp_inst._defaults.altFieldTimeOnly && date !== null){
1351
+ if(tp_inst._defaults.altFormat)
1352
+ altFormattedDateTime = $.datepicker.formatDate(tp_inst._defaults.altFormat, date, formatCfg) + altSeparator + altFormattedDateTime;
1353
+ else altFormattedDateTime = tp_inst.formattedDate + altSeparator + altFormattedDateTime;
1354
+ }
1355
+ $(altField).val(altFormattedDateTime);
1356
+ }
1357
+ }
1358
+ else{
1359
+ $.datepicker._base_updateAlternate(inst);
1360
+ }
1361
+ };
1362
+
1363
+ /*
1364
+ * Override key up event to sync manual input changes.
1365
+ */
1366
+ $.datepicker._base_doKeyUp = $.datepicker._doKeyUp;
1367
+ $.datepicker._doKeyUp = function(event) {
1368
+ var inst = $.datepicker._getInst(event.target),
1369
+ tp_inst = $.datepicker._get(inst, 'timepicker');
1370
+
1371
+ if (tp_inst) {
1372
+ if (tp_inst._defaults.timeOnly && (inst.input.val() != inst.lastVal)) {
1373
+ try {
1374
+ $.datepicker._updateDatepicker(inst);
1375
+ } catch (err) {
1376
+ $.timepicker.log(err);
1377
+ }
1378
+ }
1379
+ }
1380
+
1381
+ return $.datepicker._base_doKeyUp(event);
1382
+ };
1383
+
1384
+ /*
1385
+ * override "Today" button to also grab the time.
1386
+ */
1387
+ $.datepicker._base_gotoToday = $.datepicker._gotoToday;
1388
+ $.datepicker._gotoToday = function(id) {
1389
+ var inst = this._getInst($(id)[0]),
1390
+ $dp = inst.dpDiv;
1391
+ this._base_gotoToday(id);
1392
+ var tp_inst = this._get(inst, 'timepicker');
1393
+ selectLocalTimeZone(tp_inst);
1394
+ var now = new Date();
1395
+ this._setTime(inst, now);
1396
+ $('.ui-datepicker-today', $dp).click();
1397
+ };
1398
+
1399
+ /*
1400
+ * Disable & enable the Time in the datetimepicker
1401
+ */
1402
+ $.datepicker._disableTimepickerDatepicker = function(target) {
1403
+ var inst = this._getInst(target);
1404
+ if (!inst) {
1405
+ return;
1406
+ }
1407
+
1408
+ var tp_inst = this._get(inst, 'timepicker');
1409
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1410
+ if (tp_inst) {
1411
+ tp_inst._defaults.showTimepicker = false;
1412
+ tp_inst._updateDateTime(inst);
1413
+ }
1414
+ };
1415
+
1416
+ $.datepicker._enableTimepickerDatepicker = function(target) {
1417
+ var inst = this._getInst(target);
1418
+ if (!inst) {
1419
+ return;
1420
+ }
1421
+
1422
+ var tp_inst = this._get(inst, 'timepicker');
1423
+ $(target).datepicker('getDate'); // Init selected[Year|Month|Day]
1424
+ if (tp_inst) {
1425
+ tp_inst._defaults.showTimepicker = true;
1426
+ tp_inst._addTimePicker(inst); // Could be disabled on page load
1427
+ tp_inst._updateDateTime(inst);
1428
+ }
1429
+ };
1430
+
1431
+ /*
1432
+ * Create our own set time function
1433
+ */
1434
+ $.datepicker._setTime = function(inst, date) {
1435
+ var tp_inst = this._get(inst, 'timepicker');
1436
+ if (tp_inst) {
1437
+ var defaults = tp_inst._defaults;
1438
+
1439
+ // calling _setTime with no date sets time to defaults
1440
+ tp_inst.hour = date ? date.getHours() : defaults.hour;
1441
+ tp_inst.minute = date ? date.getMinutes() : defaults.minute;
1442
+ tp_inst.second = date ? date.getSeconds() : defaults.second;
1443
+ tp_inst.millisec = date ? date.getMilliseconds() : defaults.millisec;
1444
+
1445
+ //check if within min/max times..
1446
+ tp_inst._limitMinMaxDateTime(inst, true);
1447
+
1448
+ tp_inst._onTimeChange();
1449
+ tp_inst._updateDateTime(inst);
1450
+ }
1451
+ };
1452
+
1453
+ /*
1454
+ * Create new public method to set only time, callable as $().datepicker('setTime', date)
1455
+ */
1456
+ $.datepicker._setTimeDatepicker = function(target, date, withDate) {
1457
+ var inst = this._getInst(target);
1458
+ if (!inst) {
1459
+ return;
1460
+ }
1461
+
1462
+ var tp_inst = this._get(inst, 'timepicker');
1463
+
1464
+ if (tp_inst) {
1465
+ this._setDateFromField(inst);
1466
+ var tp_date;
1467
+ if (date) {
1468
+ if (typeof date == "string") {
1469
+ tp_inst._parseTime(date, withDate);
1470
+ tp_date = new Date();
1471
+ tp_date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1472
+ } else {
1473
+ tp_date = new Date(date.getTime());
1474
+ }
1475
+ if (tp_date.toString() == 'Invalid Date') {
1476
+ tp_date = undefined;
1477
+ }
1478
+ this._setTime(inst, tp_date);
1479
+ }
1480
+ }
1481
+
1482
+ };
1483
+
1484
+ /*
1485
+ * override setDate() to allow setting time too within Date object
1486
+ */
1487
+ $.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
1488
+ $.datepicker._setDateDatepicker = function(target, date) {
1489
+ var inst = this._getInst(target);
1490
+ if (!inst) {
1491
+ return;
1492
+ }
1493
+
1494
+ var tp_date = (date instanceof Date) ? new Date(date.getTime()) : date;
1495
+
1496
+ this._updateDatepicker(inst);
1497
+ this._base_setDateDatepicker.apply(this, arguments);
1498
+ this._setTimeDatepicker(target, tp_date, true);
1499
+ };
1500
+
1501
+ /*
1502
+ * override getDate() to allow getting time too within Date object
1503
+ */
1504
+ $.datepicker._base_getDateDatepicker = $.datepicker._getDateDatepicker;
1505
+ $.datepicker._getDateDatepicker = function(target, noDefault) {
1506
+ var inst = this._getInst(target);
1507
+ if (!inst) {
1508
+ return;
1509
+ }
1510
+
1511
+ var tp_inst = this._get(inst, 'timepicker');
1512
+
1513
+ if (tp_inst) {
1514
+ // if it hasn't yet been defined, grab from field
1515
+ if(inst.lastVal === undefined){
1516
+ this._setDateFromField(inst, noDefault);
1517
+ }
1518
+
1519
+ var date = this._getDate(inst);
1520
+ if (date && tp_inst._parseTime($(target).val(), tp_inst.timeOnly)) {
1521
+ date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
1522
+ }
1523
+ return date;
1524
+ }
1525
+ return this._base_getDateDatepicker(target, noDefault);
1526
+ };
1527
+
1528
+ /*
1529
+ * override parseDate() because UI 1.8.14 throws an error about "Extra characters"
1530
+ * An option in datapicker to ignore extra format characters would be nicer.
1531
+ */
1532
+ $.datepicker._base_parseDate = $.datepicker.parseDate;
1533
+ $.datepicker.parseDate = function(format, value, settings) {
1534
+ var date;
1535
+ try {
1536
+ date = this._base_parseDate(format, value, settings);
1537
+ } catch (err) {
1538
+ // Hack! The error message ends with a colon, a space, and
1539
+ // the "extra" characters. We rely on that instead of
1540
+ // attempting to perfectly reproduce the parsing algorithm.
1541
+ date = this._base_parseDate(format, value.substring(0,value.length-(err.length-err.indexOf(':')-2)), settings);
1542
+ $.timepicker.log("Error parsing the date string: " + err + "\ndate string = " + value + "\ndate format = " + format);
1543
+ }
1544
+ return date;
1545
+ };
1546
+
1547
+ /*
1548
+ * override formatDate to set date with time to the input
1549
+ */
1550
+ $.datepicker._base_formatDate = $.datepicker._formatDate;
1551
+ $.datepicker._formatDate = function(inst, day, month, year) {
1552
+ var tp_inst = this._get(inst, 'timepicker');
1553
+ if (tp_inst) {
1554
+ tp_inst._updateDateTime(inst);
1555
+ return tp_inst.$input.val();
1556
+ }
1557
+ return this._base_formatDate(inst);
1558
+ };
1559
+
1560
+ /*
1561
+ * override options setter to add time to maxDate(Time) and minDate(Time). MaxDate
1562
+ */
1563
+ $.datepicker._base_optionDatepicker = $.datepicker._optionDatepicker;
1564
+ $.datepicker._optionDatepicker = function(target, name, value) {
1565
+ var inst = this._getInst(target),
1566
+ name_clone;
1567
+ if (!inst) {
1568
+ return null;
1569
+ }
1570
+
1571
+ var tp_inst = this._get(inst, 'timepicker');
1572
+ if (tp_inst) {
1573
+ var min = null,
1574
+ max = null,
1575
+ onselect = null,
1576
+ overrides = tp_inst._defaults.evnts,
1577
+ fns = {},
1578
+ prop;
1579
+ if (typeof name == 'string') { // if min/max was set with the string
1580
+ if (name === 'minDate' || name === 'minDateTime') {
1581
+ min = value;
1582
+ } else if (name === 'maxDate' || name === 'maxDateTime') {
1583
+ max = value;
1584
+ } else if (name === 'onSelect') {
1585
+ onselect = value;
1586
+ } else if (overrides.hasOwnProperty(name)) {
1587
+ if (typeof (value) === 'undefined') {
1588
+ return overrides[name];
1589
+ }
1590
+ fns[name] = value;
1591
+ name_clone = {}; //empty results in exiting function after overrides updated
1592
+ }
1593
+ } else if (typeof name == 'object') { //if min/max was set with the JSON
1594
+ if (name.minDate) {
1595
+ min = name.minDate;
1596
+ } else if (name.minDateTime) {
1597
+ min = name.minDateTime;
1598
+ } else if (name.maxDate) {
1599
+ max = name.maxDate;
1600
+ } else if (name.maxDateTime) {
1601
+ max = name.maxDateTime;
1602
+ }
1603
+ for (prop in overrides) {
1604
+ if (overrides.hasOwnProperty(prop) && name[prop]) {
1605
+ fns[prop] = name[prop];
1606
+ }
1607
+ }
1608
+ }
1609
+ for (prop in fns) {
1610
+ if (fns.hasOwnProperty(prop)) {
1611
+ overrides[prop] = fns[prop];
1612
+ if (!name_clone) { name_clone = $.extend({}, name);}
1613
+ delete name_clone[prop];
1614
+ }
1615
+ }
1616
+ if (name_clone && isEmptyObject(name_clone)) { return; }
1617
+ if (min) { //if min was set
1618
+ if (min === 0) {
1619
+ min = new Date();
1620
+ } else {
1621
+ min = new Date(min);
1622
+ }
1623
+ tp_inst._defaults.minDate = min;
1624
+ tp_inst._defaults.minDateTime = min;
1625
+ } else if (max) { //if max was set
1626
+ if (max === 0) {
1627
+ max = new Date();
1628
+ } else {
1629
+ max = new Date(max);
1630
+ }
1631
+ tp_inst._defaults.maxDate = max;
1632
+ tp_inst._defaults.maxDateTime = max;
1633
+ } else if (onselect) {
1634
+ tp_inst._defaults.onSelect = onselect;
1635
+ }
1636
+ }
1637
+ if (value === undefined) {
1638
+ return this._base_optionDatepicker.call($.datepicker, target, name);
1639
+ }
1640
+ return this._base_optionDatepicker.call($.datepicker, target, name_clone || name, value);
1641
+ };
1642
+ /*
1643
+ * jQuery isEmptyObject does not check hasOwnProperty - if someone has added to the object prototype,
1644
+ * it will return false for all objects
1645
+ */
1646
+ var isEmptyObject = function(obj) {
1647
+ var prop;
1648
+ for (prop in obj) {
1649
+ if (obj.hasOwnProperty(obj)) {
1650
+ return false;
1651
+ }
1652
+ }
1653
+ return true;
1654
+ };
1655
+
1656
+ /*
1657
+ * jQuery extend now ignores nulls!
1658
+ */
1659
+ var extendRemove = function(target, props) {
1660
+ $.extend(target, props);
1661
+ for (var name in props) {
1662
+ if (props[name] === null || props[name] === undefined) {
1663
+ target[name] = props[name];
1664
+ }
1665
+ }
1666
+ return target;
1667
+ };
1668
+
1669
+ /*
1670
+ * Determine by the time format if should use ampm
1671
+ * Returns true if should use ampm, false if not
1672
+ */
1673
+ var useAmpm = function(timeFormat){
1674
+ return (timeFormat.indexOf('t') !== -1 && timeFormat.indexOf('h') !== -1);
1675
+ };
1676
+
1677
+ /*
1678
+ * Converts 24 hour format into 12 hour
1679
+ * Returns 12 hour without leading 0
1680
+ */
1681
+ var convert24to12 = function(hour) {
1682
+ if (hour > 12) {
1683
+ hour = hour - 12;
1684
+ }
1685
+
1686
+ if (hour == 0) {
1687
+ hour = 12;
1688
+ }
1689
+
1690
+ return String(hour);
1691
+ };
1692
+
1693
+ /*
1694
+ * Splits datetime string into date ans time substrings.
1695
+ * Throws exception when date can't be parsed
1696
+ * Returns [dateString, timeString]
1697
+ */
1698
+ var splitDateTime = function(dateFormat, dateTimeString, dateSettings, timeSettings) {
1699
+ try {
1700
+ // The idea is to get the number separator occurances in datetime and the time format requested (since time has
1701
+ // fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
1702
+ var separator = timeSettings && timeSettings.separator ? timeSettings.separator : $.timepicker._defaults.separator,
1703
+ format = timeSettings && timeSettings.timeFormat ? timeSettings.timeFormat : $.timepicker._defaults.timeFormat,
1704
+ timeParts = format.split(separator), // how many occurances of separator may be in our format?
1705
+ timePartsLen = timeParts.length,
1706
+ allParts = dateTimeString.split(separator),
1707
+ allPartsLen = allParts.length;
1708
+
1709
+ if (allPartsLen > 1) {
1710
+ return [
1711
+ allParts.splice(0,allPartsLen-timePartsLen).join(separator),
1712
+ allParts.splice(0,timePartsLen).join(separator)
1713
+ ];
1714
+ }
1715
+
1716
+ } catch (err) {
1717
+ $.timepicker.log('Could not split the date from the time. Please check the following datetimepicker options' +
1718
+ "\nthrown error: " + err +
1719
+ "\ndateTimeString" + dateTimeString +
1720
+ "\ndateFormat = " + dateFormat +
1721
+ "\nseparator = " + timeSettings.separator +
1722
+ "\ntimeFormat = " + timeSettings.timeFormat);
1723
+
1724
+ if (err.indexOf(":") >= 0) {
1725
+ // Hack! The error message ends with a colon, a space, and
1726
+ // the "extra" characters. We rely on that instead of
1727
+ // attempting to perfectly reproduce the parsing algorithm.
1728
+ var dateStringLength = dateTimeString.length - (err.length - err.indexOf(':') - 2),
1729
+ timeString = dateTimeString.substring(dateStringLength);
1730
+
1731
+ return [$.trim(dateTimeString.substring(0, dateStringLength)), $.trim(dateTimeString.substring(dateStringLength))];
1732
+
1733
+ } else {
1734
+ throw err;
1735
+ }
1736
+ }
1737
+ return [dateTimeString, ''];
1738
+ };
1739
+
1740
+ /*
1741
+ * Internal function to parse datetime interval
1742
+ * Returns: {date: Date, timeObj: Object}, where
1743
+ * date - parsed date without time (type Date)
1744
+ * timeObj = {hour: , minute: , second: , millisec: } - parsed time. Optional
1745
+ */
1746
+ var parseDateTimeInternal = function(dateFormat, timeFormat, dateTimeString, dateSettings, timeSettings) {
1747
+ var date;
1748
+ var splitRes = splitDateTime(dateFormat, dateTimeString, dateSettings, timeSettings);
1749
+ date = $.datepicker._base_parseDate(dateFormat, splitRes[0], dateSettings);
1750
+ if (splitRes[1] !== '') {
1751
+ var timeString = splitRes[1],
1752
+ parsedTime = $.datepicker.parseTime(timeFormat, timeString, timeSettings);
1753
+
1754
+ if (parsedTime === null) {
1755
+ throw 'Wrong time format';
1756
+ }
1757
+ return {
1758
+ date: date,
1759
+ timeObj: parsedTime
1760
+ };
1761
+ } else {
1762
+ return {
1763
+ date: date
1764
+ };
1765
+ }
1766
+ };
1767
+
1768
+ /*
1769
+ * Internal function to set timezone_select to the local timezone
1770
+ */
1771
+ var selectLocalTimeZone = function(tp_inst, date) {
1772
+ if (tp_inst && tp_inst.timezone_select) {
1773
+ tp_inst._defaults.useLocalTimezone = true;
1774
+ var now = typeof date !== 'undefined' ? date : new Date();
1775
+ var tzoffset = $.timepicker.timeZoneOffsetString(now);
1776
+ if (tp_inst._defaults.timezoneIso8601) {
1777
+ tzoffset = tzoffset.substring(0, 3) + ':' + tzoffset.substring(3);
1778
+ }
1779
+ tp_inst.timezone_select.val(tzoffset);
1780
+ }
1781
+ };
1782
+
1783
+ /*
1784
+ * Create a Singleton Insance
1785
+ */
1786
+ $.timepicker = new Timepicker();
1787
+
1788
+ /**
1789
+ * Get the timezone offset as string from a date object (eg '+0530' for UTC+5.5)
1790
+ * @param date
1791
+ * @return string
1792
+ */
1793
+ $.timepicker.timeZoneOffsetString = function(date) {
1794
+ var off = date.getTimezoneOffset() * -1,
1795
+ minutes = off % 60,
1796
+ hours = (off - minutes) / 60;
1797
+ return (off >= 0 ? '+' : '-') + ('0' + (hours * 101).toString()).slice(-2) + ('0' + (minutes * 101).toString()).slice(-2);
1798
+ };
1799
+
1800
+ /**
1801
+ * Calls `timepicker()` on the `startTime` and `endTime` elements, and configures them to
1802
+ * enforce date range limits.
1803
+ * n.b. The input value must be correctly formatted (reformatting is not supported)
1804
+ * @param Element startTime
1805
+ * @param Element endTime
1806
+ * @param obj options Options for the timepicker() call
1807
+ * @return jQuery
1808
+ */
1809
+ $.timepicker.timeRange = function(startTime, endTime, options) {
1810
+ return $.timepicker.handleRange('timepicker', startTime, endTime, options);
1811
+ };
1812
+
1813
+ /**
1814
+ * Calls `datetimepicker` on the `startTime` and `endTime` elements, and configures them to
1815
+ * enforce date range limits.
1816
+ * @param Element startTime
1817
+ * @param Element endTime
1818
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1819
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
1820
+ * @param string method Can be used to specify the type of picker to be added
1821
+ * @return jQuery
1822
+ */
1823
+ $.timepicker.dateTimeRange = function(startTime, endTime, options) {
1824
+ $.timepicker.dateRange(startTime, endTime, options, 'datetimepicker');
1825
+ };
1826
+
1827
+ /**
1828
+ * Calls `method` on the `startTime` and `endTime` elements, and configures them to
1829
+ * enforce date range limits.
1830
+ * @param Element startTime
1831
+ * @param Element endTime
1832
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1833
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
1834
+ * @param string method Can be used to specify the type of picker to be added
1835
+ * @return jQuery
1836
+ */
1837
+ $.timepicker.dateRange = function(startTime, endTime, options, method) {
1838
+ method = method || 'datepicker';
1839
+ $.timepicker.handleRange(method, startTime, endTime, options);
1840
+ };
1841
+
1842
+ /**
1843
+ * Calls `method` on the `startTime` and `endTime` elements, and configures them to
1844
+ * enforce date range limits.
1845
+ * @param string method Can be used to specify the type of picker to be added
1846
+ * @param Element startTime
1847
+ * @param Element endTime
1848
+ * @param obj options Options for the `timepicker()` call. Also supports `reformat`,
1849
+ * a boolean value that can be used to reformat the input values to the `dateFormat`.
1850
+ * @return jQuery
1851
+ */
1852
+ $.timepicker.handleRange = function(method, startTime, endTime, options) {
1853
+ $.fn[method].call(startTime, $.extend({
1854
+ onClose: function(dateText, inst) {
1855
+ checkDates(this, endTime, dateText);
1856
+ },
1857
+ onSelect: function(selectedDateTime) {
1858
+ selected(this, endTime, 'minDate');
1859
+ }
1860
+ }, options, options.start));
1861
+ $.fn[method].call(endTime, $.extend({
1862
+ onClose: function(dateText, inst) {
1863
+ checkDates(this, startTime, dateText);
1864
+ },
1865
+ onSelect: function(selectedDateTime) {
1866
+ selected(this, startTime, 'maxDate');
1867
+ }
1868
+ }, options, options.end));
1869
+ // timepicker doesn't provide access to its 'timeFormat' option,
1870
+ // nor could I get datepicker.formatTime() to behave with times, so I
1871
+ // have disabled reformatting for timepicker
1872
+ if (method != 'timepicker' && options.reformat) {
1873
+ $([startTime, endTime]).each(function() {
1874
+ var format = $(this)[method].call($(this), 'option', 'dateFormat'),
1875
+ date = new Date($(this).val());
1876
+ if ($(this).val() && date) {
1877
+ $(this).val($.datepicker.formatDate(format, date));
1878
+ }
1879
+ });
1880
+ }
1881
+ checkDates(startTime, endTime, startTime.val());
1882
+
1883
+ function checkDates(changed, other, dateText) {
1884
+ if (other.val() && (new Date(startTime.val()) > new Date(endTime.val()))) {
1885
+ other.val(dateText);
1886
+ }
1887
+ }
1888
+ selected(startTime, endTime, 'minDate');
1889
+ selected(endTime, startTime, 'maxDate');
1890
+
1891
+ function selected(changed, other, option) {
1892
+ if (!$(changed).val()) {
1893
+ return;
1894
+ }
1895
+ var date = $(changed)[method].call($(changed), 'getDate');
1896
+ // timepicker doesn't implement 'getDate' and returns a jQuery
1897
+ if (date.getTime) {
1898
+ $(other)[method].call($(other), 'option', option, date);
1899
+ }
1900
+ }
1901
+ return $([startTime.get(0), endTime.get(0)]);
1902
+ };
1903
+
1904
+ /**
1905
+ * Log error or data to the console during error or debugging
1906
+ * @param Object err pass any type object to log to the console during error or debugging
1907
+ * @return void
1908
+ */
1909
+ $.timepicker.log = function(err){
1910
+ if(window.console)
1911
+ console.log(err);
1912
+ };
1913
+
1914
+ /*
1915
+ * Keep up with the version
1916
+ */
1917
+ $.timepicker.version = "1.2";
1918
+
1919
+ })(jQuery);
js/wp-maintenance-mode.js CHANGED
@@ -1,90 +1,92 @@
1
- jQuery(document).ready( function($){
2
-
3
- $('#wm-pluginconflink').click(function(s){$('#wm_config_row').slideToggle('fast'); });
4
- $('#wm_config_active').click(function(){ wm_config_active(); });
5
- $('#wm_config_submit').click(function(){ wm_config_update(); });
6
- //$("#wm_config-date").datepicker({ dateFormat: 'dd-mm-yy' });
7
- $("#wm_config-date").datetimepicker({ timeFormat: 'HH:mm:ss', dateFormat: 'dd-mm-yy' });
8
-
9
- function wm_config_active() {
10
-
11
- var active_Val = $('#wm_config-active').val();
12
- $.post( ajaxurl, {
13
- "action" : "wm_config-active",
14
- "wm_config-active" : active_Val
15
- },
16
-
17
- function(data) {
18
- $('#wm_message_active, #wm_message_active2').show('fast').animate({opacity: 1.0},
19
- 3000).hide('slow');
20
- }
21
- );
22
- // show admin bar and message note
23
- if ( active_Val == 1 )
24
- $('#wp-admin-bar-mm_alert, #message.error').show('fast');
25
- // hide admin bar and message note
26
- if ( active_Val == 0 )
27
- $('#wp-admin-bar-mm_alert, #message.error').hide('fast');
28
- }
29
-
30
- function wm_config_update() {
31
-
32
- time_Val = $('#wm_config-time').val();
33
- link_Val = $('#wm_config-link').val();
34
- admin_link_Val = $('#wm_config-admin_link').val();
35
- rewrite_Val = $('#wm_config-rewrite').val();
36
- notice_Val = $('#wm_config-notice').val();
37
- unit_Val = $('#wm_config-unit').val();
38
- theme_Val = $('#wm_config-theme').val();
39
- styleurl_Val = $('#wm_config-styleurl').val();
40
- index_Val = $('#wm_config-index').val();
41
- title_Val = $('#wm_config-title').val();
42
- header_Val = $('#wm_config-header').val();
43
- heading_Val = $('#wm_config-heading').val();
44
- text_Val = $('#wm_config-text').val();
45
- exclude_Val = $('#wm_config-exclude').val();
46
- bypass_Val = $('#wm_config-bypass').val();
47
- role_Val = $('#wm_config-role').val();
48
- role_frontend_Val = $('#wm_config-role_frontend').val();
49
- radio_Val = $('#wm_config-radio').val();
50
- date_Val = $('#wm_config-date').val();
51
- cd_day_Val = $('#wm_config-cd-day').val();
52
- cd_month_Val = $('#wm_config-cd-month').val();
53
- cd_year_Val = $('#wm_config-cd-year').val();
54
- url = '/wp-admin/admin-ajax.php';
55
- $.post( ajaxurl , {
56
- "action" : "wm_config-update",
57
- "wm_config-time" : time_Val,
58
- "wm_config-unit" : unit_Val,
59
- "wm_config-link" : link_Val,
60
- "wm_config-admin_link" : admin_link_Val,
61
- "wm_config-rewrite" : rewrite_Val,
62
- "wm_config-notice" : notice_Val,
63
- "wm_config-theme" : theme_Val,
64
- "wm_config-styleurl" : styleurl_Val,
65
- "wm_config-index" : index_Val,
66
- "wm_config-title" : title_Val,
67
- "wm_config-header" : header_Val,
68
- "wm_config-heading" : heading_Val,
69
- "wm_config-text" : text_Val,
70
- "wm_config-exclude" : exclude_Val,
71
- "wm_config-bypass" : bypass_Val,
72
- "wm_config-role" : role_Val,
73
- "wm_config-role_frontend" : role_frontend_Val,
74
- "wm_config-radio" : radio_Val,
75
- "wm_config-date" : date_Val,
76
- "wm_config-cd-day" : cd_day_Val,
77
- "wm_config-cd-month" : cd_month_Val,
78
- "wm_config-cd-year" : cd_year_Val
79
- },
80
-
81
- function(data) {
82
- $('#wm_message_update, #wm_message_update2').show('fast').animate({opacity: 1.0},
83
- 3000).hide('slow');
84
- }
85
- );
86
-
87
- return false;
88
- }
89
-
 
 
90
  });
1
+ jQuery(document).ready( function($){
2
+
3
+ $('#wm-pluginconflink').click(function(s){$('#wm_config_row').slideToggle('fast'); });
4
+ $('#wm_config_active').click(function(){ wm_config_active(); });
5
+ $('#wm_config_submit').click(function(){ wm_config_update(); });
6
+ //$("#wm_config-date").datepicker({ dateFormat: 'dd-mm-yy' });
7
+ $("#wm_config-date").datetimepicker({ timeFormat: 'HH:mm:ss', dateFormat: 'dd-mm-yy' });
8
+
9
+ function wm_config_active() {
10
+
11
+ var active_Val = $('#wm_config-active').val();
12
+ $.post( ajaxurl, {
13
+ "action" : "wm_config-active",
14
+ "wm_config-active" : active_Val,
15
+ "nonce" : wp_maintenance_mode_vars._nonce
16
+ },
17
+
18
+ function(data) {
19
+ $('#wm_message_active, #wm_message_active2').show('fast').animate({opacity: 1.0},
20
+ 3000).hide('slow');
21
+ }
22
+ );
23
+ // show admin bar and message note
24
+ if ( active_Val == 1 )
25
+ $('#wp-admin-bar-mm_alert, #message.error').show('fast');
26
+ // hide admin bar and message note
27
+ if ( active_Val == 0 )
28
+ $('#wp-admin-bar-mm_alert, #message.error').hide('fast');
29
+ }
30
+
31
+ function wm_config_update() {
32
+
33
+ time_Val = $('#wm_config-time').val();
34
+ link_Val = $('#wm_config-link').val();
35
+ admin_link_Val = $('#wm_config-admin_link').val();
36
+ rewrite_Val = $('#wm_config-rewrite').val();
37
+ notice_Val = $('#wm_config-notice').val();
38
+ unit_Val = $('#wm_config-unit').val();
39
+ theme_Val = $('#wm_config-theme').val();
40
+ styleurl_Val = $('#wm_config-styleurl').val();
41
+ index_Val = $('#wm_config-index').val();
42
+ title_Val = $('#wm_config-title').val();
43
+ header_Val = $('#wm_config-header').val();
44
+ heading_Val = $('#wm_config-heading').val();
45
+ text_Val = $('#wm_config-text').val();
46
+ exclude_Val = $('#wm_config-exclude').val();
47
+ bypass_Val = $('#wm_config-bypass').val();
48
+ role_Val = $('#wm_config-role').val();
49
+ role_frontend_Val = $('#wm_config-role_frontend').val();
50
+ radio_Val = $('#wm_config-radio').val();
51
+ date_Val = $('#wm_config-date').val();
52
+ cd_day_Val = $('#wm_config-cd-day').val();
53
+ cd_month_Val = $('#wm_config-cd-month').val();
54
+ cd_year_Val = $('#wm_config-cd-year').val();
55
+ url = '/wp-admin/admin-ajax.php';
56
+ $.post( ajaxurl , {
57
+ "action" : "wm_config-update",
58
+ "nonce" : wp_maintenance_mode_vars._nonce,
59
+ "wm_config-time" : time_Val,
60
+ "wm_config-unit" : unit_Val,
61
+ "wm_config-link" : link_Val,
62
+ "wm_config-admin_link" : admin_link_Val,
63
+ "wm_config-rewrite" : rewrite_Val,
64
+ "wm_config-notice" : notice_Val,
65
+ "wm_config-theme" : theme_Val,
66
+ "wm_config-styleurl" : styleurl_Val,
67
+ "wm_config-index" : index_Val,
68
+ "wm_config-title" : title_Val,
69
+ "wm_config-header" : header_Val,
70
+ "wm_config-heading" : heading_Val,
71
+ "wm_config-text" : text_Val,
72
+ "wm_config-exclude" : exclude_Val,
73
+ "wm_config-bypass" : bypass_Val,
74
+ "wm_config-role" : role_Val,
75
+ "wm_config-role_frontend" : role_frontend_Val,
76
+ "wm_config-radio" : radio_Val,
77
+ "wm_config-date" : date_Val,
78
+ "wm_config-cd-day" : cd_day_Val,
79
+ "wm_config-cd-month" : cd_month_Val,
80
+ "wm_config-cd-year" : cd_year_Val
81
+ },
82
+
83
+ function(data) {
84
+ $('#wm_message_update, #wm_message_update2').show('fast').animate({opacity: 1.0},
85
+ 3000).hide('slow');
86
+ }
87
+ );
88
+
89
+ return false;
90
+ }
91
+
92
  });
languages/wp-maintenance-mode-cs_CZ.po CHANGED
@@ -1,531 +1,531 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-05-17 21:32+0100\n"
7
- "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
- "Language-Team: \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=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
13
- "X-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: Czech\n"
15
- "X-Poedit-Country: CZECH REPUBLIC\n"
16
- "X-Poedit-SourceCharset: utf-8\n"
17
- "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"
18
- "X-Poedit-Basepath: ../\n"
19
- "X-Textdomain-Support: yes\n"
20
- "X-Poedit-SearchPath-0: .\n"
21
-
22
- #@ default
23
- #: inc/wp-maintenance-mode-settings.php:55
24
- #: inc/wp-maintenance-mode-settings.php:65
25
- msgid "Settings"
26
- msgstr ""
27
-
28
- #@ wp-maintenance-mode
29
- #: inc/wp-maintenance-mode-settings.php:100
30
- #: inc/wp-maintenance-mode-settings.php:429
31
- #, php-format
32
- msgid "Plugin %s settings <strong>updated</strong>."
33
- msgstr "Nastavení pluginu %s <strong>aktualizováno</strong>."
34
-
35
- #@ wp-maintenance-mode
36
- #: inc/wp-maintenance-mode-settings.php:103
37
- #: inc/wp-maintenance-mode-settings.php:116
38
- #, php-format
39
- msgid "Plugin %s active status <strong>updated</strong>."
40
- msgstr "Status pluginu %s <strong>aktualizován</strong>."
41
-
42
- #@ wp-maintenance-mode
43
- #: inc/wp-maintenance-mode-settings.php:106
44
- msgid "Plugin Activate"
45
- msgstr "Zapnout režim údržby"
46
-
47
- #@ wp-maintenance-mode
48
- #: inc/wp-maintenance-mode-settings.php:110
49
- #: inc/wp-maintenance-mode-settings.php:129
50
- #: inc/wp-maintenance-mode-settings.php:173
51
- #: inc/wp-maintenance-mode-settings.php:186
52
- #: inc/wp-maintenance-mode-settings.php:261
53
- #: inc/wp-maintenance-mode-settings.php:333
54
- #: inc/wp-maintenance-mode-settings.php:419
55
- msgid "False"
56
- msgstr "Ne"
57
-
58
- #@ wp-maintenance-mode
59
- #: inc/wp-maintenance-mode-settings.php:111
60
- #: inc/wp-maintenance-mode-settings.php:130
61
- #: inc/wp-maintenance-mode-settings.php:174
62
- #: inc/wp-maintenance-mode-settings.php:187
63
- #: inc/wp-maintenance-mode-settings.php:262
64
- #: inc/wp-maintenance-mode-settings.php:334
65
- #: inc/wp-maintenance-mode-settings.php:420
66
- msgid "True"
67
- msgstr "Ano"
68
-
69
- #@ wp-maintenance-mode
70
- #: inc/wp-maintenance-mode-settings.php:113
71
- msgid "Update"
72
- msgstr "Změnit"
73
-
74
- #@ wp-maintenance-mode
75
- #: inc/wp-maintenance-mode-settings.php:119
76
- msgid "Plugin Settings"
77
- msgstr "Nastavení pluginu"
78
-
79
- #@ wp-maintenance-mode
80
- #: inc/wp-maintenance-mode-settings.php:125
81
- msgid "Countdown:"
82
- msgstr "Odpočítávání:"
83
-
84
- #@ wp-maintenance-mode
85
- #: inc/wp-maintenance-mode-settings.php:136
86
- #: inc/wp-maintenance-mode-settings.php:139
87
- msgid "Click for datepicker"
88
- msgstr "Klikněte pro výběr data"
89
-
90
- #@ wp-maintenance-mode
91
- #: inc/wp-maintenance-mode-settings.php:136
92
- msgid "Date:"
93
- msgstr "Datum:"
94
-
95
- #@ wp-maintenance-mode
96
- #: inc/wp-maintenance-mode-settings.php:140
97
- msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
98
- msgstr "Použije se jen, když zapnete odpočítávání. Nastavte hodnotu a jednotku, nebo nastavte datum odpočítávání."
99
-
100
- #@ wp-maintenance-mode
101
- #: inc/wp-maintenance-mode-settings.php:145
102
- msgid "Value:"
103
- msgstr "Hodnota:"
104
-
105
- #@ wp-maintenance-mode
106
- #: inc/wp-maintenance-mode-settings.php:153
107
- msgid "Unit:"
108
- msgstr "Jednotka:"
109
-
110
- #@ wp-maintenance-mode
111
- #: inc/wp-maintenance-mode-settings.php:157
112
- msgid "second"
113
- msgstr "sekunda/sekund"
114
-
115
- #@ wp-maintenance-mode
116
- #: inc/wp-maintenance-mode-settings.php:158
117
- msgid "minute"
118
- msgstr "minuta/minut"
119
-
120
- #@ wp-maintenance-mode
121
- #: inc/wp-maintenance-mode-settings.php:159
122
- msgid "hour"
123
- msgstr "hodina/hodin"
124
-
125
- #@ wp-maintenance-mode
126
- #: inc/wp-maintenance-mode-settings.php:160
127
- msgid "day"
128
- msgstr "den/dny"
129
-
130
- #@ wp-maintenance-mode
131
- #: inc/wp-maintenance-mode-settings.php:161
132
- msgid "week"
133
- msgstr "týden/týdny"
134
-
135
- #@ wp-maintenance-mode
136
- #: inc/wp-maintenance-mode-settings.php:162
137
- msgid "month"
138
- msgstr "měsíc/měsíce"
139
-
140
- #@ wp-maintenance-mode
141
- #: inc/wp-maintenance-mode-settings.php:163
142
- msgid "year"
143
- msgstr "rok/roky"
144
-
145
- #@ wp-maintenance-mode
146
- #: inc/wp-maintenance-mode-settings.php:169
147
- msgid "Link:"
148
- msgstr "Odkaz na plugin:"
149
-
150
- #@ wp-maintenance-mode
151
- #: inc/wp-maintenance-mode-settings.php:177
152
- msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
153
- msgstr "Prosím nechte odkaz na plugin na vaší stránce v režimu údržby."
154
-
155
- #@ wp-maintenance-mode
156
- #: inc/wp-maintenance-mode-settings.php:182
157
- msgid "Admin Link:"
158
- msgstr "Odkaz na administraci:"
159
-
160
- #@ wp-maintenance-mode
161
- #: inc/wp-maintenance-mode-settings.php:190
162
- msgid "Do you will a link to the admin area of your install?"
163
- msgstr "Chcete zobrazit odkaz pro přihlášení?"
164
-
165
- #@ wp-maintenance-mode
166
- #: inc/wp-maintenance-mode-settings.php:195
167
- msgid "CSS Style:"
168
- msgstr "CSS styl:"
169
-
170
- #@ wp-maintenance-mode
171
- #: inc/wp-maintenance-mode-settings.php:199
172
- msgid "Own CSS Stylesheet"
173
- msgstr "Vlastní CSS soubor"
174
-
175
- #@ wp-maintenance-mode
176
- #: inc/wp-maintenance-mode-settings.php:200
177
- msgid "Simple Text"
178
- msgstr "Jednoduchý text"
179
-
180
- #@ wp-maintenance-mode
181
- #: inc/wp-maintenance-mode-settings.php:201
182
- msgid "The Truck"
183
- msgstr "Kamion"
184
-
185
- #@ wp-maintenance-mode
186
- #: inc/wp-maintenance-mode-settings.php:202
187
- msgid "The Sun"
188
- msgstr "Slunce"
189
-
190
- #@ wp-maintenance-mode
191
- #: inc/wp-maintenance-mode-settings.php:203
192
- msgid "The FF Error"
193
- msgstr "Chyba Firefoxu"
194
-
195
- #@ wp-maintenance-mode
196
- #: inc/wp-maintenance-mode-settings.php:204
197
- msgid "Monster"
198
- msgstr "Příšera"
199
-
200
- #@ wp-maintenance-mode
201
- #: inc/wp-maintenance-mode-settings.php:205
202
- msgid "Chastely"
203
- msgstr "Decentní"
204
-
205
- #@ wp-maintenance-mode
206
- #: inc/wp-maintenance-mode-settings.php:206
207
- msgid "Only Typo"
208
- msgstr "Typografický"
209
-
210
- #@ wp-maintenance-mode
211
- #: inc/wp-maintenance-mode-settings.php:207
212
- msgid "Paint"
213
- msgstr "Malba"
214
-
215
- #@ wp-maintenance-mode
216
- #: inc/wp-maintenance-mode-settings.php:208
217
- msgid "Animate (Flash)"
218
- msgstr "Animace (flash v němčině)"
219
-
220
- #@ wp-maintenance-mode
221
- #: inc/wp-maintenance-mode-settings.php:209
222
- msgid "Damask"
223
- msgstr "Damaškový"
224
-
225
- #@ wp-maintenance-mode
226
- #: inc/wp-maintenance-mode-settings.php:210
227
- msgid "Lego"
228
- msgstr "Lego"
229
-
230
- #@ wp-maintenance-mode
231
- #: inc/wp-maintenance-mode-settings.php:211
232
- msgid "Chemistry"
233
- msgstr "Chemie"
234
-
235
- #@ wp-maintenance-mode
236
- #: inc/wp-maintenance-mode-settings.php:217
237
- msgid "Own CSS Style URL:"
238
- msgstr "Adresa vlastního CSS stylu:"
239
-
240
- #@ wp-maintenance-mode
241
- #: inc/wp-maintenance-mode-settings.php:220
242
- msgid "URL to the css-file (incl. http://)"
243
- msgstr "Adresa souboru (včetně http://)"
244
-
245
- #@ wp-maintenance-mode
246
- #: inc/wp-maintenance-mode-settings.php:222
247
- msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
248
- msgstr "<strong>Pozor:</strong> Nedávejte soubor do složky pluginu. Při případné aktualizaci by byl vymazán."
249
-
250
- #@ wp-maintenance-mode
251
- #: inc/wp-maintenance-mode-settings.php:227
252
- #: inc/wp-maintenance-mode-settings.php:250
253
- msgid "Preview"
254
- msgstr "Náhled (nejprve uložte předvolby)"
255
-
256
- #@ wp-maintenance-mode
257
- #: inc/wp-maintenance-mode-settings.php:257
258
- msgid "noindex, nofollow:"
259
- msgstr "noindex, nofollow:"
260
-
261
- #@ wp-maintenance-mode
262
- #: inc/wp-maintenance-mode-settings.php:265
263
- msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
264
- msgstr "Nastavte ANO, aby se obsah neindexoval; nastavte NE pro indexování."
265
-
266
- #@ wp-maintenance-mode
267
- #: inc/wp-maintenance-mode-settings.php:270
268
- msgid "Title:"
269
- msgstr "Záhlaví:"
270
-
271
- #@ wp-maintenance-mode
272
- #: inc/wp-maintenance-mode-settings.php:273
273
- #: inc/wp-maintenance-mode-settings.php:281
274
- #: inc/wp-maintenance-mode-settings.php:289
275
- msgid "Leave empty for default."
276
- msgstr "Když necháte prázdné, tak se použije výchozí."
277
-
278
- #@ wp-maintenance-mode
279
- #: inc/wp-maintenance-mode-settings.php:278
280
- msgid "Header:"
281
- msgstr "Nadpis:"
282
-
283
- #@ wp-maintenance-mode
284
- #: inc/wp-maintenance-mode-settings.php:286
285
- msgid "Heading:"
286
- msgstr "Hlavička:"
287
-
288
- #@ wp-maintenance-mode
289
- #: inc/wp-maintenance-mode-settings.php:294
290
- msgid "Text:"
291
- msgstr "Text:"
292
-
293
- #@ wp-maintenance-mode
294
- #: inc/wp-maintenance-mode-settings.php:300
295
- #, php-format
296
- 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."
297
- msgstr "Použijte <em>%1$s</em> pro časový údaj nebo odpočítávání a <em>%2$s</em> pro jednotku času nebo jednotku odpočítávání; Je možné použít HTML a zkratkové kódy."
298
-
299
- #@ wp-maintenance-mode
300
- #: inc/wp-maintenance-mode-settings.php:301
301
- msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
302
- msgstr "Kód <code>[loginform]</code> zobrazí standardní přihlašovací formulář na stránce v režimu ůdržby."
303
-
304
- #@ wp-maintenance-mode
305
- #: inc/wp-maintenance-mode-settings.php:307
306
- msgid "Exclude:"
307
- msgstr "Vynechat:"
308
-
309
- #@ wp-maintenance-mode
310
- #: inc/wp-maintenance-mode-settings.php:323
311
- msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
312
- msgstr "Zadejte adresy, které chcete vyloučit.<br />Příklady:"
313
-
314
- #@ wp-maintenance-mode
315
- #: inc/wp-maintenance-mode-settings.php:329
316
- msgid "Bypass for Search Bots:"
317
- msgstr "Povolit vyhledávací roboty:"
318
-
319
- #@ wp-maintenance-mode
320
- #: inc/wp-maintenance-mode-settings.php:336
321
- msgid "Allow Search Bots to bypass maintenance mode?"
322
- msgstr "Nechat vyhledávací roboty obejít režim údržby?"
323
-
324
- #@ wp-maintenance-mode
325
- #: inc/wp-maintenance-mode-settings.php:342
326
- msgid "Backend Role:"
327
- msgstr "Přístup do administrace:"
328
-
329
- #@ wp-maintenance-mode
330
- #: inc/wp-maintenance-mode-settings.php:367
331
- msgid "Allowed userrole to access the backend of this blog."
332
- msgstr "Uživatelé, kteří budou mít přístup k administraci blogu."
333
-
334
- #@ wp-maintenance-mode
335
- #: inc/wp-maintenance-mode-settings.php:368
336
- #: inc/wp-maintenance-mode-settings.php:399
337
- msgid "Super Admin has always access."
338
- msgstr "Super Admin má vždy přístup."
339
-
340
- #@ wp-maintenance-mode
341
- #: inc/wp-maintenance-mode-settings.php:373
342
- msgid "Frontend Role:"
343
- msgstr "Kdo může vidět web:"
344
-
345
- #@ wp-maintenance-mode
346
- #: inc/wp-maintenance-mode-settings.php:398
347
- msgid "Allowed userrole to see the frontend of this blog."
348
- msgstr "Kdo si po přihlášení může prohlédnout web."
349
-
350
- #@ wp-maintenance-mode
351
- #: inc/wp-maintenance-mode-settings.php:404
352
- msgid "Redirection:"
353
- msgstr "Přesměrování:"
354
-
355
- #@ wp-maintenance-mode
356
- #: inc/wp-maintenance-mode-settings.php:409
357
- msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
358
- msgstr "Pokud nechcete po přihlášení otevřít nástěnku (adresa včetně http://)."
359
-
360
- #@ wp-maintenance-mode
361
- #: inc/wp-maintenance-mode-settings.php:415
362
- msgid "Notice:"
363
- msgstr "Připomínka:"
364
-
365
- #@ wp-maintenance-mode
366
- #: inc/wp-maintenance-mode-settings.php:422
367
- msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
368
- msgstr "Uvidíte upozornění na režim údržby v administraci a na přihlašovací stránce."
369
-
370
- #@ wp-maintenance-mode
371
- #: inc/wp-maintenance-mode-settings.php:432
372
- msgid "Save"
373
- msgstr "Uložit"
374
-
375
- #@ default
376
- #: index.php:25
377
- msgid "Cheatin&#8217; uh?"
378
- msgstr ""
379
-
380
- #@ wp-maintenance-mode
381
- #: site.php:29
382
- #: site.php:70
383
- msgid "Maintenance Mode"
384
- msgstr "Režim údržby"
385
-
386
- #@ wp-maintenance-mode
387
- #: site.php:90
388
- msgid "Access to the admin area blocked"
389
- msgstr "Přístup do administrace je zakázán"
390
-
391
- #@ wp-maintenance-mode
392
- #: site.php:93
393
- msgid "Admin-Logout"
394
- msgstr "Odhlášení z administrace"
395
-
396
- #@ wp-maintenance-mode
397
- #: site.php:98
398
- msgid "Admin-Login"
399
- msgstr "Přihlášení k administraci"
400
-
401
- #@ wp-maintenance-mode
402
- #. translators: plugin header field 'Name'
403
- #: wp-maintenance-mode.php:0
404
- msgid "WP Maintenance Mode"
405
- msgstr "WP Maintenance Mode"
406
-
407
- #@ wp-maintenance-mode
408
- #. translators: plugin header field 'PluginURI'
409
- #: wp-maintenance-mode.php:0
410
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
411
- msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
412
-
413
- #@ wp-maintenance-mode
414
- #. translators: plugin header field 'Description'
415
- #: wp-maintenance-mode.php:0
416
- 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."
417
- msgstr "Plugin přidá krycí domácí stránku s upozorněním, že se blog upravuje. Přihlášení uživatelé mohou vidět vzhled webu, pokud to povolíte v nastavení."
418
-
419
- #@ wp-maintenance-mode
420
- #. translators: plugin header field 'Author'
421
- #: wp-maintenance-mode.php:0
422
- msgid "Frank B&uuml;ltge"
423
- msgstr "Frank B&uuml;ltge"
424
-
425
- #@ wp-maintenance-mode
426
- #. translators: plugin header field 'AuthorURI'
427
- #: wp-maintenance-mode.php:0
428
- msgid "http://bueltge.de/"
429
- msgstr "http://bueltge.de/"
430
-
431
- #@ wp-maintenance-mode
432
- #. translators: plugin header field 'Version'
433
- #: wp-maintenance-mode.php:0
434
- msgid "1.8.7"
435
- msgstr "1.8.7"
436
-
437
- #@ wp-maintenance-mode
438
- #: wp-maintenance-mode.php:340
439
- msgid "Maintenance mode"
440
- msgstr "Režim údržby"
441
-
442
- #@ wp-maintenance-mode
443
- #: wp-maintenance-mode.php:341
444
- #, php-format
445
- msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
446
- msgstr ""
447
- "<p>Omlouváme se.<br />Na stránce právě probíhá plánovaná údržba.<br /><strong>\n"
448
- "Prosím zkuste se sem vrátit za %1$s %2$s</strong><br />Děkujeme za pochopení.</p>"
449
-
450
- #@ wp-maintenance-mode
451
- #: wp-maintenance-mode.php:384
452
- #: wp-maintenance-mode.php:464
453
- msgid "Updated"
454
- msgstr "Uloženo"
455
-
456
- #@ wp-maintenance-mode
457
- #: wp-maintenance-mode.php:643
458
- msgid "seconds"
459
- msgstr "sekundy"
460
-
461
- #@ wp-maintenance-mode
462
- #: wp-maintenance-mode.php:647
463
- msgid "minutes"
464
- msgstr "minuty"
465
-
466
- #@ wp-maintenance-mode
467
- #: wp-maintenance-mode.php:651
468
- msgid "hours"
469
- msgstr "hodiny"
470
-
471
- #@ wp-maintenance-mode
472
- #: wp-maintenance-mode.php:655
473
- msgid "days"
474
- msgstr "dny"
475
-
476
- #@ wp-maintenance-mode
477
- #: wp-maintenance-mode.php:659
478
- msgid "weeks"
479
- msgstr "týdny"
480
-
481
- #@ wp-maintenance-mode
482
- #: wp-maintenance-mode.php:663
483
- msgid "months"
484
- msgstr "měsíce"
485
-
486
- #@ wp-maintenance-mode
487
- #: wp-maintenance-mode.php:667
488
- msgid "years"
489
- msgstr "roky"
490
-
491
- #@ wp-maintenance-mode
492
- #: wp-maintenance-mode.php:729
493
- msgid " &amp; WP Super Cache flushed."
494
- msgstr " &amp; WP Super Cache vyprázdněna."
495
-
496
- #@ wp-maintenance-mode
497
- #: wp-maintenance-mode.php:736
498
- msgid " &amp; W3 Total Cache for pages flushed."
499
- msgstr " &amp; W3 Total Cache vyprázdněna."
500
-
501
- #@ wp-maintenance-mode
502
- #: wp-maintenance-mode.php:741
503
- #: wp-maintenance-mode.php:1059
504
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
505
- msgstr "Pozor: Režim údržby je <strong>zapnutý</strong>!"
506
-
507
- #@ wp-maintenance-mode
508
- #: wp-maintenance-mode.php:743
509
- msgid "Deactivate or change Settings"
510
- msgstr "Vypnout nebo změnit nastavení"
511
-
512
- #@ wp-maintenance-mode
513
- #: wp-maintenance-mode.php:851
514
- msgid "Plugin by:"
515
- msgstr "Plugin od:"
516
-
517
- #@ wp-maintenance-mode
518
- #: wp-maintenance-mode.php:853
519
- #: wp-maintenance-mode.php:855
520
- #: wp-maintenance-mode.php:857
521
- #: wp-maintenance-mode.php:859
522
- #: wp-maintenance-mode.php:861
523
- #: wp-maintenance-mode.php:863
524
- #: wp-maintenance-mode.php:865
525
- #: wp-maintenance-mode.php:867
526
- #: wp-maintenance-mode.php:869
527
- #: wp-maintenance-mode.php:871
528
- #: wp-maintenance-mode.php:873
529
- msgid "Design by:"
530
- msgstr "Design:"
531
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-05-17 21:32+0100\n"
7
+ "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
+ "Language-Team: \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=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
13
+ "X-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: Czech\n"
15
+ "X-Poedit-Country: CZECH REPUBLIC\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "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"
18
+ "X-Poedit-Basepath: ../\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+
22
+ #@ default
23
+ #: inc/wp-maintenance-mode-settings.php:55
24
+ #: inc/wp-maintenance-mode-settings.php:65
25
+ msgid "Settings"
26
+ msgstr ""
27
+
28
+ #@ wp-maintenance-mode
29
+ #: inc/wp-maintenance-mode-settings.php:100
30
+ #: inc/wp-maintenance-mode-settings.php:429
31
+ #, php-format
32
+ msgid "Plugin %s settings <strong>updated</strong>."
33
+ msgstr "Nastavení pluginu %s <strong>aktualizováno</strong>."
34
+
35
+ #@ wp-maintenance-mode
36
+ #: inc/wp-maintenance-mode-settings.php:103
37
+ #: inc/wp-maintenance-mode-settings.php:116
38
+ #, php-format
39
+ msgid "Plugin %s active status <strong>updated</strong>."
40
+ msgstr "Status pluginu %s <strong>aktualizován</strong>."
41
+
42
+ #@ wp-maintenance-mode
43
+ #: inc/wp-maintenance-mode-settings.php:106
44
+ msgid "Plugin Activate"
45
+ msgstr "Zapnout režim údržby"
46
+
47
+ #@ wp-maintenance-mode
48
+ #: inc/wp-maintenance-mode-settings.php:110
49
+ #: inc/wp-maintenance-mode-settings.php:129
50
+ #: inc/wp-maintenance-mode-settings.php:173
51
+ #: inc/wp-maintenance-mode-settings.php:186
52
+ #: inc/wp-maintenance-mode-settings.php:261
53
+ #: inc/wp-maintenance-mode-settings.php:333
54
+ #: inc/wp-maintenance-mode-settings.php:419
55
+ msgid "False"
56
+ msgstr "Ne"
57
+
58
+ #@ wp-maintenance-mode
59
+ #: inc/wp-maintenance-mode-settings.php:111
60
+ #: inc/wp-maintenance-mode-settings.php:130
61
+ #: inc/wp-maintenance-mode-settings.php:174
62
+ #: inc/wp-maintenance-mode-settings.php:187
63
+ #: inc/wp-maintenance-mode-settings.php:262
64
+ #: inc/wp-maintenance-mode-settings.php:334
65
+ #: inc/wp-maintenance-mode-settings.php:420
66
+ msgid "True"
67
+ msgstr "Ano"
68
+
69
+ #@ wp-maintenance-mode
70
+ #: inc/wp-maintenance-mode-settings.php:113
71
+ msgid "Update"
72
+ msgstr "Změnit"
73
+
74
+ #@ wp-maintenance-mode
75
+ #: inc/wp-maintenance-mode-settings.php:119
76
+ msgid "Plugin Settings"
77
+ msgstr "Nastavení pluginu"
78
+
79
+ #@ wp-maintenance-mode
80
+ #: inc/wp-maintenance-mode-settings.php:125
81
+ msgid "Countdown:"
82
+ msgstr "Odpočítávání:"
83
+
84
+ #@ wp-maintenance-mode
85
+ #: inc/wp-maintenance-mode-settings.php:136
86
+ #: inc/wp-maintenance-mode-settings.php:139
87
+ msgid "Click for datepicker"
88
+ msgstr "Klikněte pro výběr data"
89
+
90
+ #@ wp-maintenance-mode
91
+ #: inc/wp-maintenance-mode-settings.php:136
92
+ msgid "Date:"
93
+ msgstr "Datum:"
94
+
95
+ #@ wp-maintenance-mode
96
+ #: inc/wp-maintenance-mode-settings.php:140
97
+ msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
98
+ msgstr "Použije se jen, když zapnete odpočítávání. Nastavte hodnotu a jednotku, nebo nastavte datum odpočítávání."
99
+
100
+ #@ wp-maintenance-mode
101
+ #: inc/wp-maintenance-mode-settings.php:145
102
+ msgid "Value:"
103
+ msgstr "Hodnota:"
104
+
105
+ #@ wp-maintenance-mode
106
+ #: inc/wp-maintenance-mode-settings.php:153
107
+ msgid "Unit:"
108
+ msgstr "Jednotka:"
109
+
110
+ #@ wp-maintenance-mode
111
+ #: inc/wp-maintenance-mode-settings.php:157
112
+ msgid "second"
113
+ msgstr "sekunda/sekund"
114
+
115
+ #@ wp-maintenance-mode
116
+ #: inc/wp-maintenance-mode-settings.php:158
117
+ msgid "minute"
118
+ msgstr "minuta/minut"
119
+
120
+ #@ wp-maintenance-mode
121
+ #: inc/wp-maintenance-mode-settings.php:159
122
+ msgid "hour"
123
+ msgstr "hodina/hodin"
124
+
125
+ #@ wp-maintenance-mode
126
+ #: inc/wp-maintenance-mode-settings.php:160
127
+ msgid "day"
128
+ msgstr "den/dny"
129
+
130
+ #@ wp-maintenance-mode
131
+ #: inc/wp-maintenance-mode-settings.php:161
132
+ msgid "week"
133
+ msgstr "týden/týdny"
134
+
135
+ #@ wp-maintenance-mode
136
+ #: inc/wp-maintenance-mode-settings.php:162
137
+ msgid "month"
138
+ msgstr "měsíc/měsíce"
139
+
140
+ #@ wp-maintenance-mode
141
+ #: inc/wp-maintenance-mode-settings.php:163
142
+ msgid "year"
143
+ msgstr "rok/roky"
144
+
145
+ #@ wp-maintenance-mode
146
+ #: inc/wp-maintenance-mode-settings.php:169
147
+ msgid "Link:"
148
+ msgstr "Odkaz na plugin:"
149
+
150
+ #@ wp-maintenance-mode
151
+ #: inc/wp-maintenance-mode-settings.php:177
152
+ msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
153
+ msgstr "Prosím nechte odkaz na plugin na vaší stránce v režimu údržby."
154
+
155
+ #@ wp-maintenance-mode
156
+ #: inc/wp-maintenance-mode-settings.php:182
157
+ msgid "Admin Link:"
158
+ msgstr "Odkaz na administraci:"
159
+
160
+ #@ wp-maintenance-mode
161
+ #: inc/wp-maintenance-mode-settings.php:190
162
+ msgid "Do you will a link to the admin area of your install?"
163
+ msgstr "Chcete zobrazit odkaz pro přihlášení?"
164
+
165
+ #@ wp-maintenance-mode
166
+ #: inc/wp-maintenance-mode-settings.php:195
167
+ msgid "CSS Style:"
168
+ msgstr "CSS styl:"
169
+
170
+ #@ wp-maintenance-mode
171
+ #: inc/wp-maintenance-mode-settings.php:199
172
+ msgid "Own CSS Stylesheet"
173
+ msgstr "Vlastní CSS soubor"
174
+
175
+ #@ wp-maintenance-mode
176
+ #: inc/wp-maintenance-mode-settings.php:200
177
+ msgid "Simple Text"
178
+ msgstr "Jednoduchý text"
179
+
180
+ #@ wp-maintenance-mode
181
+ #: inc/wp-maintenance-mode-settings.php:201
182
+ msgid "The Truck"
183
+ msgstr "Kamion"
184
+
185
+ #@ wp-maintenance-mode
186
+ #: inc/wp-maintenance-mode-settings.php:202
187
+ msgid "The Sun"
188
+ msgstr "Slunce"
189
+
190
+ #@ wp-maintenance-mode
191
+ #: inc/wp-maintenance-mode-settings.php:203
192
+ msgid "The FF Error"
193
+ msgstr "Chyba Firefoxu"
194
+
195
+ #@ wp-maintenance-mode
196
+ #: inc/wp-maintenance-mode-settings.php:204
197
+ msgid "Monster"
198
+ msgstr "Příšera"
199
+
200
+ #@ wp-maintenance-mode
201
+ #: inc/wp-maintenance-mode-settings.php:205
202
+ msgid "Chastely"
203
+ msgstr "Decentní"
204
+
205
+ #@ wp-maintenance-mode
206
+ #: inc/wp-maintenance-mode-settings.php:206
207
+ msgid "Only Typo"
208
+ msgstr "Typografický"
209
+
210
+ #@ wp-maintenance-mode
211
+ #: inc/wp-maintenance-mode-settings.php:207
212
+ msgid "Paint"
213
+ msgstr "Malba"
214
+
215
+ #@ wp-maintenance-mode
216
+ #: inc/wp-maintenance-mode-settings.php:208
217
+ msgid "Animate (Flash)"
218
+ msgstr "Animace (flash v němčině)"
219
+
220
+ #@ wp-maintenance-mode
221
+ #: inc/wp-maintenance-mode-settings.php:209
222
+ msgid "Damask"
223
+ msgstr "Damaškový"
224
+
225
+ #@ wp-maintenance-mode
226
+ #: inc/wp-maintenance-mode-settings.php:210
227
+ msgid "Lego"
228
+ msgstr "Lego"
229
+
230
+ #@ wp-maintenance-mode
231
+ #: inc/wp-maintenance-mode-settings.php:211
232
+ msgid "Chemistry"
233
+ msgstr "Chemie"
234
+
235
+ #@ wp-maintenance-mode
236
+ #: inc/wp-maintenance-mode-settings.php:217
237
+ msgid "Own CSS Style URL:"
238
+ msgstr "Adresa vlastního CSS stylu:"
239
+
240
+ #@ wp-maintenance-mode
241
+ #: inc/wp-maintenance-mode-settings.php:220
242
+ msgid "URL to the css-file (incl. http://)"
243
+ msgstr "Adresa souboru (včetně http://)"
244
+
245
+ #@ wp-maintenance-mode
246
+ #: inc/wp-maintenance-mode-settings.php:222
247
+ msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
248
+ msgstr "<strong>Pozor:</strong> Nedávejte soubor do složky pluginu. Při případné aktualizaci by byl vymazán."
249
+
250
+ #@ wp-maintenance-mode
251
+ #: inc/wp-maintenance-mode-settings.php:227
252
+ #: inc/wp-maintenance-mode-settings.php:250
253
+ msgid "Preview"
254
+ msgstr "Náhled (nejprve uložte předvolby)"
255
+
256
+ #@ wp-maintenance-mode
257
+ #: inc/wp-maintenance-mode-settings.php:257
258
+ msgid "noindex, nofollow:"
259
+ msgstr "noindex, nofollow:"
260
+
261
+ #@ wp-maintenance-mode
262
+ #: inc/wp-maintenance-mode-settings.php:265
263
+ msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
264
+ msgstr "Nastavte ANO, aby se obsah neindexoval; nastavte NE pro indexování."
265
+
266
+ #@ wp-maintenance-mode
267
+ #: inc/wp-maintenance-mode-settings.php:270
268
+ msgid "Title:"
269
+ msgstr "Záhlaví:"
270
+
271
+ #@ wp-maintenance-mode
272
+ #: inc/wp-maintenance-mode-settings.php:273
273
+ #: inc/wp-maintenance-mode-settings.php:281
274
+ #: inc/wp-maintenance-mode-settings.php:289
275
+ msgid "Leave empty for default."
276
+ msgstr "Když necháte prázdné, tak se použije výchozí."
277
+
278
+ #@ wp-maintenance-mode
279
+ #: inc/wp-maintenance-mode-settings.php:278
280
+ msgid "Header:"
281
+ msgstr "Nadpis:"
282
+
283
+ #@ wp-maintenance-mode
284
+ #: inc/wp-maintenance-mode-settings.php:286
285
+ msgid "Heading:"
286
+ msgstr "Hlavička:"
287
+
288
+ #@ wp-maintenance-mode
289
+ #: inc/wp-maintenance-mode-settings.php:294
290
+ msgid "Text:"
291
+ msgstr "Text:"
292
+
293
+ #@ wp-maintenance-mode
294
+ #: inc/wp-maintenance-mode-settings.php:300
295
+ #, php-format
296
+ 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."
297
+ msgstr "Použijte <em>%1$s</em> pro časový údaj nebo odpočítávání a <em>%2$s</em> pro jednotku času nebo jednotku odpočítávání; Je možné použít HTML a zkratkové kódy."
298
+
299
+ #@ wp-maintenance-mode
300
+ #: inc/wp-maintenance-mode-settings.php:301
301
+ msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
302
+ msgstr "Kód <code>[loginform]</code> zobrazí standardní přihlašovací formulář na stránce v režimu ůdržby."
303
+
304
+ #@ wp-maintenance-mode
305
+ #: inc/wp-maintenance-mode-settings.php:307
306
+ msgid "Exclude:"
307
+ msgstr "Vynechat:"
308
+
309
+ #@ wp-maintenance-mode
310
+ #: inc/wp-maintenance-mode-settings.php:323
311
+ msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
312
+ msgstr "Zadejte adresy, které chcete vyloučit.<br />Příklady:"
313
+
314
+ #@ wp-maintenance-mode
315
+ #: inc/wp-maintenance-mode-settings.php:329
316
+ msgid "Bypass for Search Bots:"
317
+ msgstr "Povolit vyhledávací roboty:"
318
+
319
+ #@ wp-maintenance-mode
320
+ #: inc/wp-maintenance-mode-settings.php:336
321
+ msgid "Allow Search Bots to bypass maintenance mode?"
322
+ msgstr "Nechat vyhledávací roboty obejít režim údržby?"
323
+
324
+ #@ wp-maintenance-mode
325
+ #: inc/wp-maintenance-mode-settings.php:342
326
+ msgid "Backend Role:"
327
+ msgstr "Přístup do administrace:"
328
+
329
+ #@ wp-maintenance-mode
330
+ #: inc/wp-maintenance-mode-settings.php:367
331
+ msgid "Allowed userrole to access the backend of this blog."
332
+ msgstr "Uživatelé, kteří budou mít přístup k administraci blogu."
333
+
334
+ #@ wp-maintenance-mode
335
+ #: inc/wp-maintenance-mode-settings.php:368
336
+ #: inc/wp-maintenance-mode-settings.php:399
337
+ msgid "Super Admin has always access."
338
+ msgstr "Super Admin má vždy přístup."
339
+
340
+ #@ wp-maintenance-mode
341
+ #: inc/wp-maintenance-mode-settings.php:373
342
+ msgid "Frontend Role:"
343
+ msgstr "Kdo může vidět web:"
344
+
345
+ #@ wp-maintenance-mode
346
+ #: inc/wp-maintenance-mode-settings.php:398
347
+ msgid "Allowed userrole to see the frontend of this blog."
348
+ msgstr "Kdo si po přihlášení může prohlédnout web."
349
+
350
+ #@ wp-maintenance-mode
351
+ #: inc/wp-maintenance-mode-settings.php:404
352
+ msgid "Redirection:"
353
+ msgstr "Přesměrování:"
354
+
355
+ #@ wp-maintenance-mode
356
+ #: inc/wp-maintenance-mode-settings.php:409
357
+ msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
358
+ msgstr "Pokud nechcete po přihlášení otevřít nástěnku (adresa včetně http://)."
359
+
360
+ #@ wp-maintenance-mode
361
+ #: inc/wp-maintenance-mode-settings.php:415
362
+ msgid "Notice:"
363
+ msgstr "Připomínka:"
364
+
365
+ #@ wp-maintenance-mode
366
+ #: inc/wp-maintenance-mode-settings.php:422
367
+ msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
368
+ msgstr "Uvidíte upozornění na režim údržby v administraci a na přihlašovací stránce."
369
+
370
+ #@ wp-maintenance-mode
371
+ #: inc/wp-maintenance-mode-settings.php:432
372
+ msgid "Save"
373
+ msgstr "Uložit"
374
+
375
+ #@ default
376
+ #: index.php:25
377
+ msgid "Cheatin&#8217; uh?"
378
+ msgstr ""
379
+
380
+ #@ wp-maintenance-mode
381
+ #: site.php:29
382
+ #: site.php:70
383
+ msgid "Maintenance Mode"
384
+ msgstr "Režim údržby"
385
+
386
+ #@ wp-maintenance-mode
387
+ #: site.php:90
388
+ msgid "Access to the admin area blocked"
389
+ msgstr "Přístup do administrace je zakázán"
390
+
391
+ #@ wp-maintenance-mode
392
+ #: site.php:93
393
+ msgid "Admin-Logout"
394
+ msgstr "Odhlášení z administrace"
395
+
396
+ #@ wp-maintenance-mode
397
+ #: site.php:98
398
+ msgid "Admin-Login"
399
+ msgstr "Přihlášení k administraci"
400
+
401
+ #@ wp-maintenance-mode
402
+ #. translators: plugin header field 'Name'
403
+ #: wp-maintenance-mode.php:0
404
+ msgid "WP Maintenance Mode"
405
+ msgstr "WP Maintenance Mode"
406
+
407
+ #@ wp-maintenance-mode
408
+ #. translators: plugin header field 'PluginURI'
409
+ #: wp-maintenance-mode.php:0
410
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
411
+ msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
412
+
413
+ #@ wp-maintenance-mode
414
+ #. translators: plugin header field 'Description'
415
+ #: wp-maintenance-mode.php:0
416
+ 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."
417
+ msgstr "Plugin přidá krycí domácí stránku s upozorněním, že se blog upravuje. Přihlášení uživatelé mohou vidět vzhled webu, pokud to povolíte v nastavení."
418
+
419
+ #@ wp-maintenance-mode
420
+ #. translators: plugin header field 'Author'
421
+ #: wp-maintenance-mode.php:0
422
+ msgid "Frank B&uuml;ltge"
423
+ msgstr "Frank B&uuml;ltge"
424
+
425
+ #@ wp-maintenance-mode
426
+ #. translators: plugin header field 'AuthorURI'
427
+ #: wp-maintenance-mode.php:0
428
+ msgid "http://bueltge.de/"
429
+ msgstr "http://bueltge.de/"
430
+
431
+ #@ wp-maintenance-mode
432
+ #. translators: plugin header field 'Version'
433
+ #: wp-maintenance-mode.php:0
434
+ msgid "1.8.7"
435
+ msgstr "1.8.7"
436
+
437
+ #@ wp-maintenance-mode
438
+ #: wp-maintenance-mode.php:340
439
+ msgid "Maintenance mode"
440
+ msgstr "Režim údržby"
441
+
442
+ #@ wp-maintenance-mode
443
+ #: wp-maintenance-mode.php:341
444
+ #, php-format
445
+ msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
446
+ msgstr ""
447
+ "<p>Omlouváme se.<br />Na stránce právě probíhá plánovaná údržba.<br /><strong>\n"
448
+ "Prosím zkuste se sem vrátit za %1$s %2$s</strong><br />Děkujeme za pochopení.</p>"
449
+
450
+ #@ wp-maintenance-mode
451
+ #: wp-maintenance-mode.php:384
452
+ #: wp-maintenance-mode.php:464
453
+ msgid "Updated"
454
+ msgstr "Uloženo"
455
+
456
+ #@ wp-maintenance-mode
457
+ #: wp-maintenance-mode.php:643
458
+ msgid "seconds"
459
+ msgstr "sekundy"
460
+
461
+ #@ wp-maintenance-mode
462
+ #: wp-maintenance-mode.php:647
463
+ msgid "minutes"
464
+ msgstr "minuty"
465
+
466
+ #@ wp-maintenance-mode
467
+ #: wp-maintenance-mode.php:651
468
+ msgid "hours"
469
+ msgstr "hodiny"
470
+
471
+ #@ wp-maintenance-mode
472
+ #: wp-maintenance-mode.php:655
473
+ msgid "days"
474
+ msgstr "dny"
475
+
476
+ #@ wp-maintenance-mode
477
+ #: wp-maintenance-mode.php:659
478
+ msgid "weeks"
479
+ msgstr "týdny"
480
+
481
+ #@ wp-maintenance-mode
482
+ #: wp-maintenance-mode.php:663
483
+ msgid "months"
484
+ msgstr "měsíce"
485
+
486
+ #@ wp-maintenance-mode
487
+ #: wp-maintenance-mode.php:667
488
+ msgid "years"
489
+ msgstr "roky"
490
+
491
+ #@ wp-maintenance-mode
492
+ #: wp-maintenance-mode.php:729
493
+ msgid " &amp; WP Super Cache flushed."
494
+ msgstr " &amp; WP Super Cache vyprázdněna."
495
+
496
+ #@ wp-maintenance-mode
497
+ #: wp-maintenance-mode.php:736
498
+ msgid " &amp; W3 Total Cache for pages flushed."
499
+ msgstr " &amp; W3 Total Cache vyprázdněna."
500
+
501
+ #@ wp-maintenance-mode
502
+ #: wp-maintenance-mode.php:741
503
+ #: wp-maintenance-mode.php:1059
504
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
505
+ msgstr "Pozor: Režim údržby je <strong>zapnutý</strong>!"
506
+
507
+ #@ wp-maintenance-mode
508
+ #: wp-maintenance-mode.php:743
509
+ msgid "Deactivate or change Settings"
510
+ msgstr "Vypnout nebo změnit nastavení"
511
+
512
+ #@ wp-maintenance-mode
513
+ #: wp-maintenance-mode.php:851
514
+ msgid "Plugin by:"
515
+ msgstr "Plugin od:"
516
+
517
+ #@ wp-maintenance-mode
518
+ #: wp-maintenance-mode.php:853
519
+ #: wp-maintenance-mode.php:855
520
+ #: wp-maintenance-mode.php:857
521
+ #: wp-maintenance-mode.php:859
522
+ #: wp-maintenance-mode.php:861
523
+ #: wp-maintenance-mode.php:863
524
+ #: wp-maintenance-mode.php:865
525
+ #: wp-maintenance-mode.php:867
526
+ #: wp-maintenance-mode.php:869
527
+ #: wp-maintenance-mode.php:871
528
+ #: wp-maintenance-mode.php:873
529
+ msgid "Design by:"
530
+ msgstr "Design:"
531
+
languages/wp-maintenance-mode-de_DE.mo CHANGED
File without changes
languages/wp-maintenance-mode-de_DE.po CHANGED
@@ -1,531 +1,531 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-03-21 12:20:53+0000\n"
7
- "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
- "Language-Team: \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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "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"
18
- "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #: site.php:27
24
- #: site.php:65
25
- #@ wp-maintenance-mode
26
- msgid "Maintenance Mode"
27
- msgstr "Wartungsmodus"
28
-
29
- #: site.php:72
30
- #@ wp-maintenance-mode
31
- msgid "Access to the admin area blocked"
32
- msgstr "Zugang zum Admin-Bereich wurde blockiert"
33
-
34
- #: site.php:75
35
- #@ wp-maintenance-mode
36
- msgid "Admin-Logout"
37
- msgstr "Admin-Logout"
38
-
39
- #: site.php:80
40
- #@ wp-maintenance-mode
41
- msgid "Admin-Login"
42
- msgstr "Admin-Login"
43
-
44
- #: inc/wp-maintenance-mode-settings.php:55
45
- #: inc/wp-maintenance-mode-settings.php:65
46
- #@ default
47
- msgid "Settings"
48
- msgstr "Einstellungen"
49
-
50
- #: wp-maintenance-mode.php:304
51
- #@ wp-maintenance-mode
52
- msgid "Maintenance mode"
53
- msgstr "Wartungsmodus"
54
-
55
- #: wp-maintenance-mode.php:305
56
- #, php-format
57
- #@ wp-maintenance-mode
58
- msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
59
- msgstr "<p>Es tut uns leid..<br />Auf unserer Site werden aktuelle Wartungsarbeiten durchgeführt.<br /><strong>Bitte besuche uns in %1$s %2$s</strong> wieder.<br />Vielen Dank für das Verständnis.</p>"
60
-
61
- #: wp-maintenance-mode.php:348
62
- #: wp-maintenance-mode.php:428
63
- #@ wp-maintenance-mode
64
- msgid "Updated"
65
- msgstr "Gespeichert"
66
-
67
- #: wp-maintenance-mode.php:607
68
- #@ wp-maintenance-mode
69
- msgid "seconds"
70
- msgstr "Sekunden"
71
-
72
- #: wp-maintenance-mode.php:611
73
- #@ wp-maintenance-mode
74
- msgid "minutes"
75
- msgstr "Minuten"
76
-
77
- #: wp-maintenance-mode.php:615
78
- #@ wp-maintenance-mode
79
- msgid "hours"
80
- msgstr "Stunden"
81
-
82
- #: wp-maintenance-mode.php:619
83
- #@ wp-maintenance-mode
84
- msgid "days"
85
- msgstr "Tagen"
86
-
87
- #: wp-maintenance-mode.php:623
88
- #@ wp-maintenance-mode
89
- msgid "weeks"
90
- msgstr "Wochen"
91
-
92
- #: wp-maintenance-mode.php:627
93
- #@ wp-maintenance-mode
94
- msgid "months"
95
- msgstr "Monate"
96
-
97
- #: wp-maintenance-mode.php:631
98
- #@ wp-maintenance-mode
99
- msgid "years"
100
- msgstr "Jahren"
101
-
102
- #: wp-maintenance-mode.php:693
103
- #@ wp-maintenance-mode
104
- msgid " &amp; WP Super Cache flushed."
105
- msgstr " &amp; WP Super Cache aktualisiert."
106
-
107
- #: wp-maintenance-mode.php:700
108
- #@ wp-maintenance-mode
109
- msgid " &amp; W3 Total Cache for pages flushed."
110
- msgstr " &amp; W3 Total Cache für Seiten aktualisiert."
111
-
112
- #: wp-maintenance-mode.php:705
113
- #: wp-maintenance-mode.php:1013
114
- #@ wp-maintenance-mode
115
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
116
- msgstr "Achtung: Wartungsmodus ist <strong>aktiv</strong>!"
117
-
118
- #: wp-maintenance-mode.php:707
119
- #@ wp-maintenance-mode
120
- msgid "Deactivate or change Settings"
121
- msgstr "Deaktivieren oder Einstellungen ändern "
122
-
123
- #: wp-maintenance-mode.php:815
124
- #@ wp-maintenance-mode
125
- msgid "Plugin by:"
126
- msgstr "Plugin von:"
127
-
128
- #: wp-maintenance-mode.php:817
129
- #: wp-maintenance-mode.php:819
130
- #: wp-maintenance-mode.php:821
131
- #: wp-maintenance-mode.php:823
132
- #: wp-maintenance-mode.php:825
133
- #: wp-maintenance-mode.php:827
134
- #: wp-maintenance-mode.php:829
135
- #: wp-maintenance-mode.php:831
136
- #: wp-maintenance-mode.php:833
137
- #: wp-maintenance-mode.php:835
138
- #: wp-maintenance-mode.php:837
139
- #@ wp-maintenance-mode
140
- msgid "Design by:"
141
- msgstr "Design von:"
142
-
143
- #: inc/wp-maintenance-mode-settings.php:100
144
- #: inc/wp-maintenance-mode-settings.php:429
145
- #, php-format
146
- #@ wp-maintenance-mode
147
- msgid "Plugin %s settings <strong>updated</strong>."
148
- msgstr "Plugin %s Einstellungen <strong>gespeichert</strong>."
149
-
150
- #: inc/wp-maintenance-mode-settings.php:103
151
- #: inc/wp-maintenance-mode-settings.php:116
152
- #, php-format
153
- #@ wp-maintenance-mode
154
- msgid "Plugin %s active status <strong>updated</strong>."
155
- msgstr "Plugin %s aktiv-status <strong>aktualisiert</strong>."
156
-
157
- #: inc/wp-maintenance-mode-settings.php:106
158
- #@ wp-maintenance-mode
159
- msgid "Plugin Activate"
160
- msgstr "Plugin aktivieren"
161
-
162
- #: inc/wp-maintenance-mode-settings.php:110
163
- #: inc/wp-maintenance-mode-settings.php:129
164
- #: inc/wp-maintenance-mode-settings.php:173
165
- #: inc/wp-maintenance-mode-settings.php:186
166
- #: inc/wp-maintenance-mode-settings.php:261
167
- #: inc/wp-maintenance-mode-settings.php:333
168
- #: inc/wp-maintenance-mode-settings.php:419
169
- #@ wp-maintenance-mode
170
- msgid "False"
171
- msgstr "Nein"
172
-
173
- #: inc/wp-maintenance-mode-settings.php:111
174
- #: inc/wp-maintenance-mode-settings.php:130
175
- #: inc/wp-maintenance-mode-settings.php:174
176
- #: inc/wp-maintenance-mode-settings.php:187
177
- #: inc/wp-maintenance-mode-settings.php:262
178
- #: inc/wp-maintenance-mode-settings.php:334
179
- #: inc/wp-maintenance-mode-settings.php:420
180
- #@ wp-maintenance-mode
181
- msgid "True"
182
- msgstr "Ja"
183
-
184
- #: inc/wp-maintenance-mode-settings.php:113
185
- #@ wp-maintenance-mode
186
- msgid "Update"
187
- msgstr "Aktualisieren"
188
-
189
- #: inc/wp-maintenance-mode-settings.php:119
190
- #@ wp-maintenance-mode
191
- msgid "Plugin Settings"
192
- msgstr "Plugin Einstellungen"
193
-
194
- #: inc/wp-maintenance-mode-settings.php:125
195
- #@ wp-maintenance-mode
196
- msgid "Countdown:"
197
- msgstr "Countdown:"
198
-
199
- #: inc/wp-maintenance-mode-settings.php:136
200
- #: inc/wp-maintenance-mode-settings.php:139
201
- #@ wp-maintenance-mode
202
- msgid "Click for datepicker"
203
- msgstr "Klick für den Datums-Picker"
204
-
205
- #: inc/wp-maintenance-mode-settings.php:136
206
- #@ wp-maintenance-mode
207
- msgid "Date:"
208
- msgstr "Datum:"
209
-
210
- #: inc/wp-maintenance-mode-settings.php:140
211
- #@ wp-maintenance-mode
212
- msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
213
- msgstr "Aktiviere den Countdown um ihn zu nutzen. Vergebe Wert und Einheit oder wähle ein Datum für den Countdown."
214
-
215
- #: inc/wp-maintenance-mode-settings.php:145
216
- #@ wp-maintenance-mode
217
- msgid "Value:"
218
- msgstr "Wert:"
219
-
220
- #: inc/wp-maintenance-mode-settings.php:153
221
- #@ wp-maintenance-mode
222
- msgid "Unit:"
223
- msgstr "Einheit:"
224
-
225
- #: inc/wp-maintenance-mode-settings.php:157
226
- #@ wp-maintenance-mode
227
- msgid "second"
228
- msgstr "sekunde"
229
-
230
- #: inc/wp-maintenance-mode-settings.php:158
231
- #@ wp-maintenance-mode
232
- msgid "minute"
233
- msgstr "minute"
234
-
235
- #: inc/wp-maintenance-mode-settings.php:159
236
- #@ wp-maintenance-mode
237
- msgid "hour"
238
- msgstr "stunde"
239
-
240
- #: inc/wp-maintenance-mode-settings.php:160
241
- #@ wp-maintenance-mode
242
- msgid "day"
243
- msgstr "tag"
244
-
245
- #: inc/wp-maintenance-mode-settings.php:161
246
- #@ wp-maintenance-mode
247
- msgid "week"
248
- msgstr "woche"
249
-
250
- #: inc/wp-maintenance-mode-settings.php:162
251
- #@ wp-maintenance-mode
252
- msgid "month"
253
- msgstr "monat"
254
-
255
- #: inc/wp-maintenance-mode-settings.php:163
256
- #@ wp-maintenance-mode
257
- msgid "year"
258
- msgstr "jahr"
259
-
260
- #: inc/wp-maintenance-mode-settings.php:169
261
- #@ wp-maintenance-mode
262
- msgid "Link:"
263
- msgstr "Link:"
264
-
265
- #: inc/wp-maintenance-mode-settings.php:177
266
- #@ wp-maintenance-mode
267
- msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
268
- msgstr "Bitte hinterlasse einen Link zum Plugin- und Design-Autor auf deiner Wartungsmodus-Seite."
269
-
270
- #: inc/wp-maintenance-mode-settings.php:182
271
- #@ wp-maintenance-mode
272
- msgid "Admin Link:"
273
- msgstr "Admin Link:"
274
-
275
- #: inc/wp-maintenance-mode-settings.php:190
276
- #@ wp-maintenance-mode
277
- msgid "Do you will a link to the admin area of your install?"
278
- msgstr "Willst du einen Link zum Admin Bereich dieser Installation?"
279
-
280
- #: inc/wp-maintenance-mode-settings.php:200
281
- #@ wp-maintenance-mode
282
- msgid "Simple Text"
283
- msgstr "Einfach Text"
284
-
285
- #: inc/wp-maintenance-mode-settings.php:201
286
- #@ wp-maintenance-mode
287
- msgid "The Truck"
288
- msgstr "Der Truck"
289
-
290
- #: inc/wp-maintenance-mode-settings.php:202
291
- #@ wp-maintenance-mode
292
- msgid "The Sun"
293
- msgstr "The Sun"
294
-
295
- #: inc/wp-maintenance-mode-settings.php:203
296
- #@ wp-maintenance-mode
297
- msgid "The FF Error"
298
- msgstr "The FF Error"
299
-
300
- #: inc/wp-maintenance-mode-settings.php:204
301
- #@ wp-maintenance-mode
302
- msgid "Monster"
303
- msgstr "Monster"
304
-
305
- #: inc/wp-maintenance-mode-settings.php:205
306
- #@ wp-maintenance-mode
307
- msgid "Chastely"
308
- msgstr "Chastely"
309
-
310
- #: inc/wp-maintenance-mode-settings.php:206
311
- #@ wp-maintenance-mode
312
- msgid "Only Typo"
313
- msgstr "Only Typo"
314
-
315
- #: inc/wp-maintenance-mode-settings.php:207
316
- #@ wp-maintenance-mode
317
- msgid "Paint"
318
- msgstr "Paint"
319
-
320
- #: inc/wp-maintenance-mode-settings.php:208
321
- #@ wp-maintenance-mode
322
- msgid "Animate (Flash)"
323
- msgstr "Animate (Flash)"
324
-
325
- #: inc/wp-maintenance-mode-settings.php:209
326
- #@ wp-maintenance-mode
327
- msgid "Damask"
328
- msgstr "Damask"
329
-
330
- #: inc/wp-maintenance-mode-settings.php:210
331
- #@ wp-maintenance-mode
332
- msgid "Lego"
333
- msgstr "Lego"
334
-
335
- #: inc/wp-maintenance-mode-settings.php:211
336
- #@ wp-maintenance-mode
337
- msgid "Chemistry"
338
- msgstr "Chemielabor"
339
-
340
- #: inc/wp-maintenance-mode-settings.php:220
341
- #@ wp-maintenance-mode
342
- msgid "URL to the css-file (incl. http://)"
343
- msgstr "URL zur css-Datei (inkl. http://)"
344
-
345
- #: inc/wp-maintenance-mode-settings.php:222
346
- #@ wp-maintenance-mode
347
- msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
348
- msgstr "<strong>Hinweis:</strong> Bitte speichere das Sytelsheet nicht im Plugin-Ordner, der Ordner wird beim automatischen Update ersetzt!"
349
-
350
- #: inc/wp-maintenance-mode-settings.php:227
351
- #: inc/wp-maintenance-mode-settings.php:250
352
- #@ wp-maintenance-mode
353
- msgid "Preview"
354
- msgstr "Vorschau"
355
-
356
- #: inc/wp-maintenance-mode-settings.php:257
357
- #@ wp-maintenance-mode
358
- msgid "noindex, nofollow:"
359
- msgstr "noindex, nofollow:"
360
-
361
- #: inc/wp-maintenance-mode-settings.php:265
362
- #@ wp-maintenance-mode
363
- msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
364
- msgstr "Der robots meta Tag gibt die Möglichkeit die Indizierung der Site durch Suchmaschinen zu steuern. Wähle den Wert, der auf Wartungsseite genutzt werden soll. Setze Ja für nonidex, nofollow; setze Nein für index, follow."
365
-
366
- #: inc/wp-maintenance-mode-settings.php:270
367
- #@ wp-maintenance-mode
368
- msgid "Title:"
369
- msgstr "Titel:"
370
-
371
- #: inc/wp-maintenance-mode-settings.php:273
372
- #: inc/wp-maintenance-mode-settings.php:281
373
- #: inc/wp-maintenance-mode-settings.php:289
374
- #@ wp-maintenance-mode
375
- msgid "Leave empty for default."
376
- msgstr "Leer lassen für den Standardtext."
377
-
378
- #: inc/wp-maintenance-mode-settings.php:278
379
- #@ wp-maintenance-mode
380
- msgid "Header:"
381
- msgstr "Header:"
382
-
383
- #: inc/wp-maintenance-mode-settings.php:286
384
- #@ wp-maintenance-mode
385
- msgid "Heading:"
386
- msgstr "Überschrift:"
387
-
388
- #: inc/wp-maintenance-mode-settings.php:294
389
- #@ wp-maintenance-mode
390
- msgid "Text:"
391
- msgstr "Text:"
392
-
393
- #: inc/wp-maintenance-mode-settings.php:307
394
- #, fuzzy
395
- #@ wp-maintenance-mode
396
- msgid "Exclude:"
397
- msgstr "Ausnahmen:"
398
-
399
- #: inc/wp-maintenance-mode-settings.php:323
400
- #@ wp-maintenance-mode
401
- msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
402
- msgstr "Die Ausnahme des Wartungsmodus ist möglich für Inhalte aller Art, auch der Feed. Füge den Titelform (Slug) hinzu, als Komma-Separierte Liste.<br />Beispiel:"
403
-
404
- #: inc/wp-maintenance-mode-settings.php:342
405
- #@ wp-maintenance-mode
406
- msgid "Backend Role:"
407
- msgstr "Backendrolle:"
408
-
409
- #: inc/wp-maintenance-mode-settings.php:367
410
- #@ wp-maintenance-mode
411
- msgid "Allowed userrole to access the backend of this blog."
412
- msgstr "Erlaubte User-Rolle für das Sehen des Backend von diesem Blog."
413
-
414
- #: inc/wp-maintenance-mode-settings.php:368
415
- #: inc/wp-maintenance-mode-settings.php:399
416
- #@ wp-maintenance-mode
417
- msgid "Super Admin has always access."
418
- msgstr "Super Admin hat immer Zugang."
419
-
420
- #: inc/wp-maintenance-mode-settings.php:373
421
- #@ wp-maintenance-mode
422
- msgid "Frontend Role:"
423
- msgstr "Frontendrolle:"
424
-
425
- #: inc/wp-maintenance-mode-settings.php:398
426
- #@ wp-maintenance-mode
427
- msgid "Allowed userrole to see the frontend of this blog."
428
- msgstr "Erlaubte User-Rolle für das Sehen des Frontend von diesem Blog."
429
-
430
- #: inc/wp-maintenance-mode-settings.php:404
431
- #@ wp-maintenance-mode
432
- msgid "Redirection:"
433
- msgstr "Weiterleitung:"
434
-
435
- #: inc/wp-maintenance-mode-settings.php:409
436
- #@ wp-maintenance-mode
437
- msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
438
- msgstr "Wenn du nach dem Login eine Weiterleitung verändert zum Standard, dem Dashboard, wünschst, dann definiere eine URL. (inkl. http://)"
439
-
440
- #: inc/wp-maintenance-mode-settings.php:432
441
- #@ wp-maintenance-mode
442
- msgid "Save"
443
- msgstr "Speichern"
444
-
445
- #: inc/wp-maintenance-mode-settings.php:300
446
- #, php-format
447
- #@ wp-maintenance-mode
448
- 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."
449
- msgstr "Nutze zu erst <em>%1$s</em>für die Zeitwerte oder den Countdown und den zweiten String <em>%2$s</em> für die Einheit der Zeit oder der Countdown-Werte; HTML und Shortcodes sind möglich."
450
-
451
- #: inc/wp-maintenance-mode-settings.php:301
452
- #@ wp-maintenance-mode
453
- msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
454
- msgstr "Nutze <code>[loginform]</code> für das Hinzufügen eines Login Formulars auf der Wartungsseite."
455
-
456
- #: inc/wp-maintenance-mode-settings.php:415
457
- #@ wp-maintenance-mode
458
- msgid "Notice:"
459
- msgstr "Hinweis:"
460
-
461
- #: inc/wp-maintenance-mode-settings.php:422
462
- #@ wp-maintenance-mode
463
- msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
464
- msgstr "Willst du alle Hinweise zum aktiven Wartungsmodus sehen, im Backend, in der Admin Bar und im Login Screen?"
465
-
466
- #: index.php:25
467
- #@ default
468
- msgid "Cheatin&#8217; uh?"
469
- msgstr ""
470
-
471
- #. translators: plugin header field 'Name'
472
- #: wp-maintenance-mode.php:0
473
- #@ wp-maintenance-mode
474
- msgid "WP Maintenance Mode"
475
- msgstr "WP Wartungsmodus"
476
-
477
- #. translators: plugin header field 'PluginURI'
478
- #: wp-maintenance-mode.php:0
479
- #@ wp-maintenance-mode
480
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
481
- msgstr ""
482
-
483
- #. translators: plugin header field 'Description'
484
- #: wp-maintenance-mode.php:0
485
- #@ wp-maintenance-mode
486
- 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."
487
- msgstr "Das Plugin aktiviert eine Wartungsseite im Frontend und informiert Besucher deiner Installation über die Wartung und zu erwartende Ausfallzeit. Eingeloggte Nutzer haben vollen Zugriff auf Frontend und Backend, abhängig von den vergebenen Einstellungen."
488
-
489
- #. translators: plugin header field 'Author'
490
- #: wp-maintenance-mode.php:0
491
- #@ wp-maintenance-mode
492
- msgid "Frank B&uuml;ltge"
493
- msgstr ""
494
-
495
- #. translators: plugin header field 'AuthorURI'
496
- #: wp-maintenance-mode.php:0
497
- #@ wp-maintenance-mode
498
- msgid "http://bueltge.de/"
499
- msgstr ""
500
-
501
- #: inc/wp-maintenance-mode-settings.php:195
502
- #@ wp-maintenance-mode
503
- msgid "CSS Style:"
504
- msgstr "CSS Style:"
505
-
506
- #: inc/wp-maintenance-mode-settings.php:199
507
- #@ wp-maintenance-mode
508
- msgid "Own CSS Stylesheet"
509
- msgstr "Eigenes CSS Stylesheet"
510
-
511
- #: inc/wp-maintenance-mode-settings.php:217
512
- #@ wp-maintenance-mode
513
- msgid "Own CSS Style URL:"
514
- msgstr "Eigene CSS Stylesheet URL:"
515
-
516
- #: inc/wp-maintenance-mode-settings.php:329
517
- #@ wp-maintenance-mode
518
- msgid "Bypass for Search Bots:"
519
- msgstr "Bypass für Such-Robots:"
520
-
521
- #: inc/wp-maintenance-mode-settings.php:336
522
- #@ wp-maintenance-mode
523
- msgid "Allow Search Bots to bypass maintenance mode?"
524
- msgstr "Erlaube Suchmaschinen-Robots den Wartungsmodus zu umgehen?"
525
-
526
- #. translators: plugin header field 'Version'
527
- #: wp-maintenance-mode.php:0
528
- #@ wp-maintenance-mode
529
- msgid "1.8.7"
530
- msgstr ""
531
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-03-21 12:20:53+0000\n"
7
+ "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
+ "Language-Team: \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-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "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"
18
+ "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #: site.php:27
24
+ #: site.php:65
25
+ #@ wp-maintenance-mode
26
+ msgid "Maintenance Mode"
27
+ msgstr "Wartungsmodus"
28
+
29
+ #: site.php:72
30
+ #@ wp-maintenance-mode
31
+ msgid "Access to the admin area blocked"
32
+ msgstr "Zugang zum Admin-Bereich wurde blockiert"
33
+
34
+ #: site.php:75
35
+ #@ wp-maintenance-mode
36
+ msgid "Admin-Logout"
37
+ msgstr "Admin-Logout"
38
+
39
+ #: site.php:80
40
+ #@ wp-maintenance-mode
41
+ msgid "Admin-Login"
42
+ msgstr "Admin-Login"
43
+
44
+ #: inc/wp-maintenance-mode-settings.php:55
45
+ #: inc/wp-maintenance-mode-settings.php:65
46
+ #@ default
47
+ msgid "Settings"
48
+ msgstr "Einstellungen"
49
+
50
+ #: wp-maintenance-mode.php:304
51
+ #@ wp-maintenance-mode
52
+ msgid "Maintenance mode"
53
+ msgstr "Wartungsmodus"
54
+
55
+ #: wp-maintenance-mode.php:305
56
+ #, php-format
57
+ #@ wp-maintenance-mode
58
+ msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
59
+ msgstr "<p>Es tut uns leid..<br />Auf unserer Site werden aktuelle Wartungsarbeiten durchgeführt.<br /><strong>Bitte besuche uns in %1$s %2$s</strong> wieder.<br />Vielen Dank für das Verständnis.</p>"
60
+
61
+ #: wp-maintenance-mode.php:348
62
+ #: wp-maintenance-mode.php:428
63
+ #@ wp-maintenance-mode
64
+ msgid "Updated"
65
+ msgstr "Gespeichert"
66
+
67
+ #: wp-maintenance-mode.php:607
68
+ #@ wp-maintenance-mode
69
+ msgid "seconds"
70
+ msgstr "Sekunden"
71
+
72
+ #: wp-maintenance-mode.php:611
73
+ #@ wp-maintenance-mode
74
+ msgid "minutes"
75
+ msgstr "Minuten"
76
+
77
+ #: wp-maintenance-mode.php:615
78
+ #@ wp-maintenance-mode
79
+ msgid "hours"
80
+ msgstr "Stunden"
81
+
82
+ #: wp-maintenance-mode.php:619
83
+ #@ wp-maintenance-mode
84
+ msgid "days"
85
+ msgstr "Tagen"
86
+
87
+ #: wp-maintenance-mode.php:623
88
+ #@ wp-maintenance-mode
89
+ msgid "weeks"
90
+ msgstr "Wochen"
91
+
92
+ #: wp-maintenance-mode.php:627
93
+ #@ wp-maintenance-mode
94
+ msgid "months"
95
+ msgstr "Monate"
96
+
97
+ #: wp-maintenance-mode.php:631
98
+ #@ wp-maintenance-mode
99
+ msgid "years"
100
+ msgstr "Jahren"
101
+
102
+ #: wp-maintenance-mode.php:693
103
+ #@ wp-maintenance-mode
104
+ msgid " &amp; WP Super Cache flushed."
105
+ msgstr " &amp; WP Super Cache aktualisiert."
106
+
107
+ #: wp-maintenance-mode.php:700
108
+ #@ wp-maintenance-mode
109
+ msgid " &amp; W3 Total Cache for pages flushed."
110
+ msgstr " &amp; W3 Total Cache für Seiten aktualisiert."
111
+
112
+ #: wp-maintenance-mode.php:705
113
+ #: wp-maintenance-mode.php:1013
114
+ #@ wp-maintenance-mode
115
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
116
+ msgstr "Achtung: Wartungsmodus ist <strong>aktiv</strong>!"
117
+
118
+ #: wp-maintenance-mode.php:707
119
+ #@ wp-maintenance-mode
120
+ msgid "Deactivate or change Settings"
121
+ msgstr "Deaktivieren oder Einstellungen ändern "
122
+
123
+ #: wp-maintenance-mode.php:815
124
+ #@ wp-maintenance-mode
125
+ msgid "Plugin by:"
126
+ msgstr "Plugin von:"
127
+
128
+ #: wp-maintenance-mode.php:817
129
+ #: wp-maintenance-mode.php:819
130
+ #: wp-maintenance-mode.php:821
131
+ #: wp-maintenance-mode.php:823
132
+ #: wp-maintenance-mode.php:825
133
+ #: wp-maintenance-mode.php:827
134
+ #: wp-maintenance-mode.php:829
135
+ #: wp-maintenance-mode.php:831
136
+ #: wp-maintenance-mode.php:833
137
+ #: wp-maintenance-mode.php:835
138
+ #: wp-maintenance-mode.php:837
139
+ #@ wp-maintenance-mode
140
+ msgid "Design by:"
141
+ msgstr "Design von:"
142
+
143
+ #: inc/wp-maintenance-mode-settings.php:100
144
+ #: inc/wp-maintenance-mode-settings.php:429
145
+ #, php-format
146
+ #@ wp-maintenance-mode
147
+ msgid "Plugin %s settings <strong>updated</strong>."
148
+ msgstr "Plugin %s Einstellungen <strong>gespeichert</strong>."
149
+
150
+ #: inc/wp-maintenance-mode-settings.php:103
151
+ #: inc/wp-maintenance-mode-settings.php:116
152
+ #, php-format
153
+ #@ wp-maintenance-mode
154
+ msgid "Plugin %s active status <strong>updated</strong>."
155
+ msgstr "Plugin %s aktiv-status <strong>aktualisiert</strong>."
156
+
157
+ #: inc/wp-maintenance-mode-settings.php:106
158
+ #@ wp-maintenance-mode
159
+ msgid "Plugin Activate"
160
+ msgstr "Plugin aktivieren"
161
+
162
+ #: inc/wp-maintenance-mode-settings.php:110
163
+ #: inc/wp-maintenance-mode-settings.php:129
164
+ #: inc/wp-maintenance-mode-settings.php:173
165
+ #: inc/wp-maintenance-mode-settings.php:186
166
+ #: inc/wp-maintenance-mode-settings.php:261
167
+ #: inc/wp-maintenance-mode-settings.php:333
168
+ #: inc/wp-maintenance-mode-settings.php:419
169
+ #@ wp-maintenance-mode
170
+ msgid "False"
171
+ msgstr "Nein"
172
+
173
+ #: inc/wp-maintenance-mode-settings.php:111
174
+ #: inc/wp-maintenance-mode-settings.php:130
175
+ #: inc/wp-maintenance-mode-settings.php:174
176
+ #: inc/wp-maintenance-mode-settings.php:187
177
+ #: inc/wp-maintenance-mode-settings.php:262
178
+ #: inc/wp-maintenance-mode-settings.php:334
179
+ #: inc/wp-maintenance-mode-settings.php:420
180
+ #@ wp-maintenance-mode
181
+ msgid "True"
182
+ msgstr "Ja"
183
+
184
+ #: inc/wp-maintenance-mode-settings.php:113
185
+ #@ wp-maintenance-mode
186
+ msgid "Update"
187
+ msgstr "Aktualisieren"
188
+
189
+ #: inc/wp-maintenance-mode-settings.php:119
190
+ #@ wp-maintenance-mode
191
+ msgid "Plugin Settings"
192
+ msgstr "Plugin Einstellungen"
193
+
194
+ #: inc/wp-maintenance-mode-settings.php:125
195
+ #@ wp-maintenance-mode
196
+ msgid "Countdown:"
197
+ msgstr "Countdown:"
198
+
199
+ #: inc/wp-maintenance-mode-settings.php:136
200
+ #: inc/wp-maintenance-mode-settings.php:139
201
+ #@ wp-maintenance-mode
202
+ msgid "Click for datepicker"
203
+ msgstr "Klick für den Datums-Picker"
204
+
205
+ #: inc/wp-maintenance-mode-settings.php:136
206
+ #@ wp-maintenance-mode
207
+ msgid "Date:"
208
+ msgstr "Datum:"
209
+
210
+ #: inc/wp-maintenance-mode-settings.php:140
211
+ #@ wp-maintenance-mode
212
+ msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
213
+ msgstr "Aktiviere den Countdown um ihn zu nutzen. Vergebe Wert und Einheit oder wähle ein Datum für den Countdown."
214
+
215
+ #: inc/wp-maintenance-mode-settings.php:145
216
+ #@ wp-maintenance-mode
217
+ msgid "Value:"
218
+ msgstr "Wert:"
219
+
220
+ #: inc/wp-maintenance-mode-settings.php:153
221
+ #@ wp-maintenance-mode
222
+ msgid "Unit:"
223
+ msgstr "Einheit:"
224
+
225
+ #: inc/wp-maintenance-mode-settings.php:157
226
+ #@ wp-maintenance-mode
227
+ msgid "second"
228
+ msgstr "sekunde"
229
+
230
+ #: inc/wp-maintenance-mode-settings.php:158
231
+ #@ wp-maintenance-mode
232
+ msgid "minute"
233
+ msgstr "minute"
234
+
235
+ #: inc/wp-maintenance-mode-settings.php:159
236
+ #@ wp-maintenance-mode
237
+ msgid "hour"
238
+ msgstr "stunde"
239
+
240
+ #: inc/wp-maintenance-mode-settings.php:160
241
+ #@ wp-maintenance-mode
242
+ msgid "day"
243
+ msgstr "tag"
244
+
245
+ #: inc/wp-maintenance-mode-settings.php:161
246
+ #@ wp-maintenance-mode
247
+ msgid "week"
248
+ msgstr "woche"
249
+
250
+ #: inc/wp-maintenance-mode-settings.php:162
251
+ #@ wp-maintenance-mode
252
+ msgid "month"
253
+ msgstr "monat"
254
+
255
+ #: inc/wp-maintenance-mode-settings.php:163
256
+ #@ wp-maintenance-mode
257
+ msgid "year"
258
+ msgstr "jahr"
259
+
260
+ #: inc/wp-maintenance-mode-settings.php:169
261
+ #@ wp-maintenance-mode
262
+ msgid "Link:"
263
+ msgstr "Link:"
264
+
265
+ #: inc/wp-maintenance-mode-settings.php:177
266
+ #@ wp-maintenance-mode
267
+ msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
268
+ msgstr "Bitte hinterlasse einen Link zum Plugin- und Design-Autor auf deiner Wartungsmodus-Seite."
269
+
270
+ #: inc/wp-maintenance-mode-settings.php:182
271
+ #@ wp-maintenance-mode
272
+ msgid "Admin Link:"
273
+ msgstr "Admin Link:"
274
+
275
+ #: inc/wp-maintenance-mode-settings.php:190
276
+ #@ wp-maintenance-mode
277
+ msgid "Do you will a link to the admin area of your install?"
278
+ msgstr "Willst du einen Link zum Admin Bereich dieser Installation?"
279
+
280
+ #: inc/wp-maintenance-mode-settings.php:200
281
+ #@ wp-maintenance-mode
282
+ msgid "Simple Text"
283
+ msgstr "Einfach Text"
284
+
285
+ #: inc/wp-maintenance-mode-settings.php:201
286
+ #@ wp-maintenance-mode
287
+ msgid "The Truck"
288
+ msgstr "Der Truck"
289
+
290
+ #: inc/wp-maintenance-mode-settings.php:202
291
+ #@ wp-maintenance-mode
292
+ msgid "The Sun"
293
+ msgstr "The Sun"
294
+
295
+ #: inc/wp-maintenance-mode-settings.php:203
296
+ #@ wp-maintenance-mode
297
+ msgid "The FF Error"
298
+ msgstr "The FF Error"
299
+
300
+ #: inc/wp-maintenance-mode-settings.php:204
301
+ #@ wp-maintenance-mode
302
+ msgid "Monster"
303
+ msgstr "Monster"
304
+
305
+ #: inc/wp-maintenance-mode-settings.php:205
306
+ #@ wp-maintenance-mode
307
+ msgid "Chastely"
308
+ msgstr "Chastely"
309
+
310
+ #: inc/wp-maintenance-mode-settings.php:206
311
+ #@ wp-maintenance-mode
312
+ msgid "Only Typo"
313
+ msgstr "Only Typo"
314
+
315
+ #: inc/wp-maintenance-mode-settings.php:207
316
+ #@ wp-maintenance-mode
317
+ msgid "Paint"
318
+ msgstr "Paint"
319
+
320
+ #: inc/wp-maintenance-mode-settings.php:208
321
+ #@ wp-maintenance-mode
322
+ msgid "Animate (Flash)"
323
+ msgstr "Animate (Flash)"
324
+
325
+ #: inc/wp-maintenance-mode-settings.php:209
326
+ #@ wp-maintenance-mode
327
+ msgid "Damask"
328
+ msgstr "Damask"
329
+
330
+ #: inc/wp-maintenance-mode-settings.php:210
331
+ #@ wp-maintenance-mode
332
+ msgid "Lego"
333
+ msgstr "Lego"
334
+
335
+ #: inc/wp-maintenance-mode-settings.php:211
336
+ #@ wp-maintenance-mode
337
+ msgid "Chemistry"
338
+ msgstr "Chemielabor"
339
+
340
+ #: inc/wp-maintenance-mode-settings.php:220
341
+ #@ wp-maintenance-mode
342
+ msgid "URL to the css-file (incl. http://)"
343
+ msgstr "URL zur css-Datei (inkl. http://)"
344
+
345
+ #: inc/wp-maintenance-mode-settings.php:222
346
+ #@ wp-maintenance-mode
347
+ msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
348
+ msgstr "<strong>Hinweis:</strong> Bitte speichere das Sytelsheet nicht im Plugin-Ordner, der Ordner wird beim automatischen Update ersetzt!"
349
+
350
+ #: inc/wp-maintenance-mode-settings.php:227
351
+ #: inc/wp-maintenance-mode-settings.php:250
352
+ #@ wp-maintenance-mode
353
+ msgid "Preview"
354
+ msgstr "Vorschau"
355
+
356
+ #: inc/wp-maintenance-mode-settings.php:257
357
+ #@ wp-maintenance-mode
358
+ msgid "noindex, nofollow:"
359
+ msgstr "noindex, nofollow:"
360
+
361
+ #: inc/wp-maintenance-mode-settings.php:265
362
+ #@ wp-maintenance-mode
363
+ msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
364
+ msgstr "Der robots meta Tag gibt die Möglichkeit die Indizierung der Site durch Suchmaschinen zu steuern. Wähle den Wert, der auf Wartungsseite genutzt werden soll. Setze Ja für nonidex, nofollow; setze Nein für index, follow."
365
+
366
+ #: inc/wp-maintenance-mode-settings.php:270
367
+ #@ wp-maintenance-mode
368
+ msgid "Title:"
369
+ msgstr "Titel:"
370
+
371
+ #: inc/wp-maintenance-mode-settings.php:273
372
+ #: inc/wp-maintenance-mode-settings.php:281
373
+ #: inc/wp-maintenance-mode-settings.php:289
374
+ #@ wp-maintenance-mode
375
+ msgid "Leave empty for default."
376
+ msgstr "Leer lassen für den Standardtext."
377
+
378
+ #: inc/wp-maintenance-mode-settings.php:278
379
+ #@ wp-maintenance-mode
380
+ msgid "Header:"
381
+ msgstr "Header:"
382
+
383
+ #: inc/wp-maintenance-mode-settings.php:286
384
+ #@ wp-maintenance-mode
385
+ msgid "Heading:"
386
+ msgstr "Überschrift:"
387
+
388
+ #: inc/wp-maintenance-mode-settings.php:294
389
+ #@ wp-maintenance-mode
390
+ msgid "Text:"
391
+ msgstr "Text:"
392
+
393
+ #: inc/wp-maintenance-mode-settings.php:307
394
+ #, fuzzy
395
+ #@ wp-maintenance-mode
396
+ msgid "Exclude:"
397
+ msgstr "Ausnahmen:"
398
+
399
+ #: inc/wp-maintenance-mode-settings.php:323
400
+ #@ wp-maintenance-mode
401
+ msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
402
+ msgstr "Die Ausnahme des Wartungsmodus ist möglich für Inhalte aller Art, auch der Feed. Füge den Titelform (Slug) hinzu, als Komma-Separierte Liste.<br />Beispiel:"
403
+
404
+ #: inc/wp-maintenance-mode-settings.php:342
405
+ #@ wp-maintenance-mode
406
+ msgid "Backend Role:"
407
+ msgstr "Backendrolle:"
408
+
409
+ #: inc/wp-maintenance-mode-settings.php:367
410
+ #@ wp-maintenance-mode
411
+ msgid "Allowed userrole to access the backend of this blog."
412
+ msgstr "Erlaubte User-Rolle für das Sehen des Backend von diesem Blog."
413
+
414
+ #: inc/wp-maintenance-mode-settings.php:368
415
+ #: inc/wp-maintenance-mode-settings.php:399
416
+ #@ wp-maintenance-mode
417
+ msgid "Super Admin has always access."
418
+ msgstr "Super Admin hat immer Zugang."
419
+
420
+ #: inc/wp-maintenance-mode-settings.php:373
421
+ #@ wp-maintenance-mode
422
+ msgid "Frontend Role:"
423
+ msgstr "Frontendrolle:"
424
+
425
+ #: inc/wp-maintenance-mode-settings.php:398
426
+ #@ wp-maintenance-mode
427
+ msgid "Allowed userrole to see the frontend of this blog."
428
+ msgstr "Erlaubte User-Rolle für das Sehen des Frontend von diesem Blog."
429
+
430
+ #: inc/wp-maintenance-mode-settings.php:404
431
+ #@ wp-maintenance-mode
432
+ msgid "Redirection:"
433
+ msgstr "Weiterleitung:"
434
+
435
+ #: inc/wp-maintenance-mode-settings.php:409
436
+ #@ wp-maintenance-mode
437
+ msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
438
+ msgstr "Wenn du nach dem Login eine Weiterleitung verändert zum Standard, dem Dashboard, wünschst, dann definiere eine URL. (inkl. http://)"
439
+
440
+ #: inc/wp-maintenance-mode-settings.php:432
441
+ #@ wp-maintenance-mode
442
+ msgid "Save"
443
+ msgstr "Speichern"
444
+
445
+ #: inc/wp-maintenance-mode-settings.php:300
446
+ #, php-format
447
+ #@ wp-maintenance-mode
448
+ 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."
449
+ msgstr "Nutze zu erst <em>%1$s</em>für die Zeitwerte oder den Countdown und den zweiten String <em>%2$s</em> für die Einheit der Zeit oder der Countdown-Werte; HTML und Shortcodes sind möglich."
450
+
451
+ #: inc/wp-maintenance-mode-settings.php:301
452
+ #@ wp-maintenance-mode
453
+ msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
454
+ msgstr "Nutze <code>[loginform]</code> für das Hinzufügen eines Login Formulars auf der Wartungsseite."
455
+
456
+ #: inc/wp-maintenance-mode-settings.php:415
457
+ #@ wp-maintenance-mode
458
+ msgid "Notice:"
459
+ msgstr "Hinweis:"
460
+
461
+ #: inc/wp-maintenance-mode-settings.php:422
462
+ #@ wp-maintenance-mode
463
+ msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
464
+ msgstr "Willst du alle Hinweise zum aktiven Wartungsmodus sehen, im Backend, in der Admin Bar und im Login Screen?"
465
+
466
+ #: index.php:25
467
+ #@ default
468
+ msgid "Cheatin&#8217; uh?"
469
+ msgstr ""
470
+
471
+ #. translators: plugin header field 'Name'
472
+ #: wp-maintenance-mode.php:0
473
+ #@ wp-maintenance-mode
474
+ msgid "WP Maintenance Mode"
475
+ msgstr "WP Wartungsmodus"
476
+
477
+ #. translators: plugin header field 'PluginURI'
478
+ #: wp-maintenance-mode.php:0
479
+ #@ wp-maintenance-mode
480
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
481
+ msgstr ""
482
+
483
+ #. translators: plugin header field 'Description'
484
+ #: wp-maintenance-mode.php:0
485
+ #@ wp-maintenance-mode
486
+ 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."
487
+ msgstr "Das Plugin aktiviert eine Wartungsseite im Frontend und informiert Besucher deiner Installation über die Wartung und zu erwartende Ausfallzeit. Eingeloggte Nutzer haben vollen Zugriff auf Frontend und Backend, abhängig von den vergebenen Einstellungen."
488
+
489
+ #. translators: plugin header field 'Author'
490
+ #: wp-maintenance-mode.php:0
491
+ #@ wp-maintenance-mode
492
+ msgid "Frank B&uuml;ltge"
493
+ msgstr ""
494
+
495
+ #. translators: plugin header field 'AuthorURI'
496
+ #: wp-maintenance-mode.php:0
497
+ #@ wp-maintenance-mode
498
+ msgid "http://bueltge.de/"
499
+ msgstr ""
500
+
501
+ #: inc/wp-maintenance-mode-settings.php:195
502
+ #@ wp-maintenance-mode
503
+ msgid "CSS Style:"
504
+ msgstr "CSS Style:"
505
+
506
+ #: inc/wp-maintenance-mode-settings.php:199
507
+ #@ wp-maintenance-mode
508
+ msgid "Own CSS Stylesheet"
509
+ msgstr "Eigenes CSS Stylesheet"
510
+
511
+ #: inc/wp-maintenance-mode-settings.php:217
512
+ #@ wp-maintenance-mode
513
+ msgid "Own CSS Style URL:"
514
+ msgstr "Eigene CSS Stylesheet URL:"
515
+
516
+ #: inc/wp-maintenance-mode-settings.php:329
517
+ #@ wp-maintenance-mode
518
+ msgid "Bypass for Search Bots:"
519
+ msgstr "Bypass für Such-Robots:"
520
+
521
+ #: inc/wp-maintenance-mode-settings.php:336
522
+ #@ wp-maintenance-mode
523
+ msgid "Allow Search Bots to bypass maintenance mode?"
524
+ msgstr "Erlaube Suchmaschinen-Robots den Wartungsmodus zu umgehen?"
525
+
526
+ #. translators: plugin header field 'Version'
527
+ #: wp-maintenance-mode.php:0
528
+ #@ wp-maintenance-mode
529
+ msgid "1.8.7"
530
+ msgstr ""
531
+
languages/wp-maintenance-mode-es_ES.po CHANGED
@@ -1,515 +1,515 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.5\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-02-01 16:23+0100\n"
7
- "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
- "Language-Team: \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: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
16
- "X-Textdomain-Support: yes\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
-
19
- #@ wp-maintenance-mode
20
- #: site.php:10
21
- #: site.php:52
22
- msgid "Maintenance Mode"
23
- msgstr "En Mantenimiento"
24
-
25
- #@ wp-maintenance-mode
26
- #: site.php:59
27
- msgid "Access to the admin area blocked"
28
- msgstr "Acceso al &aacute;rea de administraci&oacute;n bloqueado"
29
-
30
- #@ wp-maintenance-mode
31
- #: site.php:62
32
- msgid "Admin-Logout"
33
- msgstr "Cerrar sesi&oacute;n"
34
-
35
- #@ wp-maintenance-mode
36
- #: site.php:66
37
- msgid "Admin-Login"
38
- msgstr "Administraci&oacute;n"
39
-
40
- #@ default
41
- #: inc/wp-maintenance-mode-settings.php:55
42
- #: inc/wp-maintenance-mode-settings.php:65
43
- msgid "Settings"
44
- msgstr "Configuraci&oacute;n"
45
-
46
- #@ wp-maintenance-mode
47
- #: wp-maintenance-mode.php:256
48
- msgid "Maintenance mode"
49
- msgstr "En Mantenimiento"
50
-
51
- #@ wp-maintenance-mode
52
- #: wp-maintenance-mode.php:257
53
- #, php-format
54
- msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
55
- msgstr "<p>Lamentamos los inconvenientes.<br />Nuestro sitio web est&aacute; actualmente bajo mantenimiento programado.<br /><strong>Por favor, int&eacute;ntelo m&aacute;s tarde en %1$s %2$s</strong><br />Gracias por su comprensi&oacute;n.</p>"
56
-
57
- #@ wp-maintenance-mode
58
- #: wp-maintenance-mode.php:299
59
- #: wp-maintenance-mode.php:359
60
- msgid "Updated"
61
- msgstr "Actualizado"
62
-
63
- #@ wp-maintenance-mode
64
- #: wp-maintenance-mode.php:491
65
- msgid "seconds"
66
- msgstr "segundos"
67
-
68
- #@ wp-maintenance-mode
69
- #: wp-maintenance-mode.php:495
70
- msgid "minutes"
71
- msgstr "minutos"
72
-
73
- #@ wp-maintenance-mode
74
- #: wp-maintenance-mode.php:499
75
- msgid "hours"
76
- msgstr "horas"
77
-
78
- #@ wp-maintenance-mode
79
- #: wp-maintenance-mode.php:503
80
- msgid "days"
81
- msgstr "d&iacute;as"
82
-
83
- #@ wp-maintenance-mode
84
- #: wp-maintenance-mode.php:507
85
- msgid "weeks"
86
- msgstr "semanas"
87
-
88
- #@ wp-maintenance-mode
89
- #: wp-maintenance-mode.php:511
90
- msgid "months"
91
- msgstr "meses"
92
-
93
- #@ wp-maintenance-mode
94
- #: wp-maintenance-mode.php:515
95
- msgid "years"
96
- msgstr "a&ntilde;os"
97
-
98
- #@ wp-maintenance-mode
99
- #: wp-maintenance-mode.php:576
100
- msgid " &amp; WP Super Cache flushed."
101
- msgstr " &amp; WP Super Cache datos de caché borrados."
102
-
103
- #@ wp-maintenance-mode
104
- #: wp-maintenance-mode.php:583
105
- msgid " &amp; W3 Total Cache for pages flushed."
106
- msgstr " &amp; W3 Total Cache datos de caché borrados."
107
-
108
- #@ wp-maintenance-mode
109
- #: wp-maintenance-mode.php:588
110
- #: wp-maintenance-mode.php:874
111
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
112
- msgstr "Atenci&oacute;n: el modo de mantenimiento est&aacute; <strong>activo</strong>!"
113
-
114
- #@ wp-maintenance-mode
115
- #: wp-maintenance-mode.php:590
116
- msgid "Deactivate or change Settings"
117
- msgstr "Desactivar o cambiar la configuraci&oacute;n"
118
-
119
- #@ wp-maintenance-mode
120
- #: wp-maintenance-mode.php:676
121
- msgid "Plugin by:"
122
- msgstr "Plugin de:"
123
-
124
- #@ wp-maintenance-mode
125
- #: wp-maintenance-mode.php:678
126
- #: wp-maintenance-mode.php:680
127
- #: wp-maintenance-mode.php:682
128
- #: wp-maintenance-mode.php:684
129
- #: wp-maintenance-mode.php:686
130
- #: wp-maintenance-mode.php:688
131
- #: wp-maintenance-mode.php:690
132
- #: wp-maintenance-mode.php:692
133
- #: wp-maintenance-mode.php:694
134
- #: wp-maintenance-mode.php:696
135
- #: wp-maintenance-mode.php:698
136
- msgid "Design by:"
137
- msgstr "Dise&ntilde;ado por:"
138
-
139
- #@ wp-maintenance-mode
140
- #: inc/wp-maintenance-mode-settings.php:94
141
- #: inc/wp-maintenance-mode-settings.php:410
142
- #, php-format
143
- msgid "Plugin %s settings <strong>updated</strong>."
144
- msgstr "La configuraci&oacute;n del plugin %s <strong>ha sido actualizada</strong>."
145
-
146
- #@ wp-maintenance-mode
147
- #: inc/wp-maintenance-mode-settings.php:97
148
- #: inc/wp-maintenance-mode-settings.php:110
149
- #, php-format
150
- msgid "Plugin %s active status <strong>updated</strong>."
151
- msgstr "Estado del plugin %s activo <strong>actualizado</strong>."
152
-
153
- #@ wp-maintenance-mode
154
- #: inc/wp-maintenance-mode-settings.php:100
155
- msgid "Plugin Activate"
156
- msgstr "Plugin activado"
157
-
158
- #@ wp-maintenance-mode
159
- #: inc/wp-maintenance-mode-settings.php:104
160
- #: inc/wp-maintenance-mode-settings.php:123
161
- #: inc/wp-maintenance-mode-settings.php:167
162
- #: inc/wp-maintenance-mode-settings.php:180
163
- #: inc/wp-maintenance-mode-settings.php:256
164
- #: inc/wp-maintenance-mode-settings.php:400
165
- msgid "False"
166
- msgstr "Desactivado"
167
-
168
- #@ wp-maintenance-mode
169
- #: inc/wp-maintenance-mode-settings.php:105
170
- #: inc/wp-maintenance-mode-settings.php:124
171
- #: inc/wp-maintenance-mode-settings.php:168
172
- #: inc/wp-maintenance-mode-settings.php:181
173
- #: inc/wp-maintenance-mode-settings.php:257
174
- #: inc/wp-maintenance-mode-settings.php:401
175
- msgid "True"
176
- msgstr "Activado"
177
-
178
- #@ wp-maintenance-mode
179
- #: inc/wp-maintenance-mode-settings.php:107
180
- msgid "Update"
181
- msgstr "Actualizar"
182
-
183
- #@ wp-maintenance-mode
184
- #: inc/wp-maintenance-mode-settings.php:113
185
- msgid "Plugin Settings"
186
- msgstr "Configuraci&oacute;n del plugin"
187
-
188
- #@ wp-maintenance-mode
189
- #: inc/wp-maintenance-mode-settings.php:119
190
- msgid "Countdown:"
191
- msgstr "Cuenta atr&aacute;s:"
192
-
193
- #@ wp-maintenance-mode
194
- #: inc/wp-maintenance-mode-settings.php:130
195
- #: inc/wp-maintenance-mode-settings.php:133
196
- msgid "Click for datepicker"
197
- msgstr "Haz click para ver el calendario"
198
-
199
- #@ wp-maintenance-mode
200
- #: inc/wp-maintenance-mode-settings.php:130
201
- msgid "Date:"
202
- msgstr "Fecha:"
203
-
204
- #@ wp-maintenance-mode
205
- #: inc/wp-maintenance-mode-settings.php:134
206
- msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
207
- msgstr "Hay que activar la cuenta atr&aacute;s para usar esto, luego pon la fecha en la que quieres que termine la cuenta atr&aacute;s."
208
-
209
- #@ wp-maintenance-mode
210
- #: inc/wp-maintenance-mode-settings.php:139
211
- msgid "Value:"
212
- msgstr "Valor:"
213
-
214
- #@ wp-maintenance-mode
215
- #: inc/wp-maintenance-mode-settings.php:147
216
- msgid "Unit:"
217
- msgstr "Unidad:"
218
-
219
- #@ wp-maintenance-mode
220
- #: inc/wp-maintenance-mode-settings.php:151
221
- msgid "second"
222
- msgstr "segundo"
223
-
224
- #@ wp-maintenance-mode
225
- #: inc/wp-maintenance-mode-settings.php:152
226
- msgid "minute"
227
- msgstr "minuto"
228
-
229
- #@ wp-maintenance-mode
230
- #: inc/wp-maintenance-mode-settings.php:153
231
- msgid "hour"
232
- msgstr "hora"
233
-
234
- #@ wp-maintenance-mode
235
- #: inc/wp-maintenance-mode-settings.php:154
236
- msgid "day"
237
- msgstr "d&iacute;a"
238
-
239
- #@ wp-maintenance-mode
240
- #: inc/wp-maintenance-mode-settings.php:155
241
- msgid "week"
242
- msgstr "semana"
243
-
244
- #@ wp-maintenance-mode
245
- #: inc/wp-maintenance-mode-settings.php:156
246
- msgid "month"
247
- msgstr "mes"
248
-
249
- #@ wp-maintenance-mode
250
- #: inc/wp-maintenance-mode-settings.php:157
251
- msgid "year"
252
- msgstr "a&ntilde;o"
253
-
254
- #@ wp-maintenance-mode
255
- #: inc/wp-maintenance-mode-settings.php:163
256
- msgid "Link:"
257
- msgstr "Enlace:"
258
-
259
- #@ wp-maintenance-mode
260
- #: inc/wp-maintenance-mode-settings.php:171
261
- msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
262
- msgstr "Por favor, coloca un enlace al autor del plugin y del tema cuando tu sitio web est&aacute; en modo de mantenimento."
263
-
264
- #@ wp-maintenance-mode
265
- #: inc/wp-maintenance-mode-settings.php:176
266
- msgid "Admin Link:"
267
- msgstr "Enlace a Administraci&oacute;n:"
268
-
269
- #@ wp-maintenance-mode
270
- #: inc/wp-maintenance-mode-settings.php:184
271
- msgid "Do you will a link to the admin area of your install?"
272
- msgstr "&iquest;Deseas un enlace al &aacute;rea de Administraci&oacute;n en el modo de mantenimento?"
273
-
274
- #@ wp-maintenance-mode
275
- #: inc/wp-maintenance-mode-settings.php:189
276
- msgid "Theme:"
277
- msgstr "Tema:"
278
-
279
- #@ wp-maintenance-mode
280
- #: inc/wp-maintenance-mode-settings.php:193
281
- msgid "Own Style"
282
- msgstr "Estilo propio"
283
-
284
- #@ wp-maintenance-mode
285
- #: inc/wp-maintenance-mode-settings.php:194
286
- msgid "Simple Text"
287
- msgstr "Texto Simple"
288
-
289
- #@ wp-maintenance-mode
290
- #: inc/wp-maintenance-mode-settings.php:195
291
- msgid "The Truck"
292
- msgstr "The Truck"
293
-
294
- #@ wp-maintenance-mode
295
- #: inc/wp-maintenance-mode-settings.php:196
296
- msgid "The Sun"
297
- msgstr "The Sun"
298
-
299
- #@ wp-maintenance-mode
300
- #: inc/wp-maintenance-mode-settings.php:197
301
- msgid "The FF Error"
302
- msgstr "The FF Error"
303
-
304
- #@ wp-maintenance-mode
305
- #: inc/wp-maintenance-mode-settings.php:198
306
- msgid "Monster"
307
- msgstr "Monster"
308
-
309
- #@ wp-maintenance-mode
310
- #: inc/wp-maintenance-mode-settings.php:199
311
- msgid "Chastely"
312
- msgstr "Chastely"
313
-
314
- #@ wp-maintenance-mode
315
- #: inc/wp-maintenance-mode-settings.php:200
316
- msgid "Only Typo"
317
- msgstr "Only Typo"
318
-
319
- #@ wp-maintenance-mode
320
- #: inc/wp-maintenance-mode-settings.php:201
321
- msgid "Paint"
322
- msgstr "Paint"
323
-
324
- #@ wp-maintenance-mode
325
- #: inc/wp-maintenance-mode-settings.php:202
326
- msgid "Animate (Flash)"
327
- msgstr "Animate (Flash)"
328
-
329
- #@ wp-maintenance-mode
330
- #: inc/wp-maintenance-mode-settings.php:203
331
- msgid "Damask"
332
- msgstr "Damask"
333
-
334
- #@ wp-maintenance-mode
335
- #: inc/wp-maintenance-mode-settings.php:204
336
- msgid "Lego"
337
- msgstr "Lego"
338
-
339
- #@ wp-maintenance-mode
340
- #: inc/wp-maintenance-mode-settings.php:205
341
- msgid "Chemistry"
342
- msgstr "Qu&iacute;mica"
343
-
344
- #@ wp-maintenance-mode
345
- #: inc/wp-maintenance-mode-settings.php:211
346
- msgid "Own Style URL:"
347
- msgstr "URL de tu estilo:"
348
-
349
- #@ wp-maintenance-mode
350
- #: inc/wp-maintenance-mode-settings.php:214
351
- msgid "URL to the css-file (incl. http://)"
352
- msgstr "URL de tu estilo (incluyendo http://)"
353
-
354
- #@ wp-maintenance-mode
355
- #: inc/wp-maintenance-mode-settings.php:216
356
- msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
357
- msgstr "<strong>Atenci&oacute;n:</strong> Por favor, no copies la hoja de estilos en la carpeta del plugin, ser&aacute; borrada en la pr&oacute;xima actualizaci&oacute;n automatica del plugin!"
358
-
359
- #@ wp-maintenance-mode
360
- #: inc/wp-maintenance-mode-settings.php:221
361
- #: inc/wp-maintenance-mode-settings.php:245
362
- msgid "Preview"
363
- msgstr "Vista previa"
364
-
365
- #@ wp-maintenance-mode
366
- #: inc/wp-maintenance-mode-settings.php:252
367
- msgid "noindex, nofollow:"
368
- msgstr "noindex, nofollow:"
369
-
370
- #@ wp-maintenance-mode
371
- #: inc/wp-maintenance-mode-settings.php:260
372
- msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
373
- msgstr "La meta etiqueta robots permite controlar c&oacute;mo una p&aacute;gina individual debe ser indexada y presentada a los usuarios en los resultados de b&uacute;squeda. Establecer TRUE para noindex, nofollow y FALSO para index, follow."
374
-
375
- #@ wp-maintenance-mode
376
- #: inc/wp-maintenance-mode-settings.php:265
377
- msgid "Title:"
378
- msgstr "T&iacute;tulo:"
379
-
380
- #@ wp-maintenance-mode
381
- #: inc/wp-maintenance-mode-settings.php:268
382
- #: inc/wp-maintenance-mode-settings.php:276
383
- #: inc/wp-maintenance-mode-settings.php:284
384
- msgid "Leave empty for default."
385
- msgstr "Dejar vac&iacute;o para utilizar el valor por defecto."
386
-
387
- #@ wp-maintenance-mode
388
- #: inc/wp-maintenance-mode-settings.php:273
389
- msgid "Header:"
390
- msgstr "Cabecera:"
391
-
392
- #@ wp-maintenance-mode
393
- #: inc/wp-maintenance-mode-settings.php:281
394
- msgid "Heading:"
395
- msgstr "Encabezamiento:"
396
-
397
- #@ wp-maintenance-mode
398
- #: inc/wp-maintenance-mode-settings.php:289
399
- msgid "Text:"
400
- msgstr "Texto:"
401
-
402
- #@ wp-maintenance-mode
403
- #: inc/wp-maintenance-mode-settings.php:302
404
- #, fuzzy
405
- msgid "Exclude:"
406
- msgstr "Excluir:"
407
-
408
- #@ wp-maintenance-mode
409
- #: inc/wp-maintenance-mode-settings.php:318
410
- msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
411
- msgstr "Excluye feeds, p&aacute;ginas, entradas o archivos del modo de mantenimiento. A&ntilde;ade el slug de las p&aacute;ginas o entradas a excluir separ&aacute;ndolas con una coma.<br />Ejemplo:"
412
-
413
- #@ wp-maintenance-mode
414
- #: inc/wp-maintenance-mode-settings.php:323
415
- msgid "Backend Role:"
416
- msgstr "Backend rol:"
417
-
418
- #@ wp-maintenance-mode
419
- #: inc/wp-maintenance-mode-settings.php:348
420
- msgid "Allowed userrole to access the backend of this blog."
421
- msgstr "Rol necesario para acceder al backend de este sitio."
422
-
423
- #@ wp-maintenance-mode
424
- #: inc/wp-maintenance-mode-settings.php:349
425
- #: inc/wp-maintenance-mode-settings.php:380
426
- msgid "Super Admin has always access."
427
- msgstr "El usuario Super Admin siempre tiene acceso."
428
-
429
- #@ wp-maintenance-mode
430
- #: inc/wp-maintenance-mode-settings.php:354
431
- msgid "Frontend Role:"
432
- msgstr "Frontend rol:"
433
-
434
- #@ wp-maintenance-mode
435
- #: inc/wp-maintenance-mode-settings.php:379
436
- msgid "Allowed userrole to see the frontend of this blog."
437
- msgstr "Rol necesario para ver el frontend de este sitio."
438
-
439
- #@ wp-maintenance-mode
440
- #: inc/wp-maintenance-mode-settings.php:385
441
- msgid "Redirection:"
442
- msgstr "Redirecci&oacute;n:"
443
-
444
- #@ wp-maintenance-mode
445
- #: inc/wp-maintenance-mode-settings.php:390
446
- msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
447
- msgstr "Si deseas que despu&eacute;s del inicio de sesi&oacute;n la direcci&oacute;n de destino no sea la est&aacute;ndar en el Escritorio, define una URL (incluyendo http://)"
448
-
449
- #@ wp-maintenance-mode
450
- #: inc/wp-maintenance-mode-settings.php:413
451
- msgid "Save"
452
- msgstr "Guardar"
453
-
454
- #@ wp-maintenance-mode
455
- #: inc/wp-maintenance-mode-settings.php:295
456
- #, php-format
457
- 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."
458
- msgstr "Utiliza el primer <em>%1$s</em> para la cuenta atr&aacute;s y el segundo <em>%2$s</em> para la unidad de tiempo. Se puede usar HTML y shortcodes."
459
-
460
- #@ wp-maintenance-mode
461
- #: inc/wp-maintenance-mode-settings.php:296
462
- msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
463
- msgstr "Utiliza <code>[loginform]</code> para a&ntilde;adir el formulario de inicio de sesi&oacute;n en el modo de mantenimiento."
464
-
465
- #@ wp-maintenance-mode
466
- #: inc/wp-maintenance-mode-settings.php:396
467
- msgid "Notice:"
468
- msgstr "Avisos:"
469
-
470
- #@ wp-maintenance-mode
471
- #: inc/wp-maintenance-mode-settings.php:403
472
- msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
473
- msgstr "&iquest;Deseas ver los avisos en el backend, la barra de administraci&oacute;n y la pantalla de inicio de sesi&oacute;n?"
474
-
475
- #@ default
476
- #: index.php:25
477
- msgid "Cheatin&#8217; uh?"
478
- msgstr "&iquest;Haciendo trampas?"
479
-
480
- #@ wp-maintenance-mode
481
- #. translators: plugin header field 'Name'
482
- #: wp-maintenance-mode.php:0
483
- msgid "WP Maintenance Mode"
484
- msgstr "WP Maintenance Mode"
485
-
486
- #@ wp-maintenance-mode
487
- #. translators: plugin header field 'PluginURI'
488
- #: wp-maintenance-mode.php:0
489
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
490
- msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
491
-
492
- #@ wp-maintenance-mode
493
- #. translators: plugin header field 'Description'
494
- #: wp-maintenance-mode.php:0
495
- 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."
496
- msgstr "Este plugin agrega una p&aacute;gina de inicio al sitio web que permite informar a los visitantes de que el blog se encuentra en mantenimiento. Los usuarios registrados que hayan iniciado sesi&oacute;n tendr&aacute;n acceso completo al blog incluyendo el frontend, seg&uacute;n la configuraci&oacute;n."
497
-
498
- #@ wp-maintenance-mode
499
- #. translators: plugin header field 'Author'
500
- #: wp-maintenance-mode.php:0
501
- msgid "Frank B&uuml;ltge"
502
- msgstr "Frank B&uuml;ltge"
503
-
504
- #@ wp-maintenance-mode
505
- #. translators: plugin header field 'AuthorURI'
506
- #: wp-maintenance-mode.php:0
507
- msgid "http://bueltge.de/"
508
- msgstr "http://bueltge.de/"
509
-
510
- #@ wp-maintenance-mode
511
- #. translators: plugin header field 'Version'
512
- #: wp-maintenance-mode.php:0
513
- msgid "1.8.5"
514
- msgstr "1.8.5"
515
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.5\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-02-01 16:23+0100\n"
7
+ "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
+ "Language-Team: \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: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
16
+ "X-Textdomain-Support: yes\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #@ wp-maintenance-mode
20
+ #: site.php:10
21
+ #: site.php:52
22
+ msgid "Maintenance Mode"
23
+ msgstr "En Mantenimiento"
24
+
25
+ #@ wp-maintenance-mode
26
+ #: site.php:59
27
+ msgid "Access to the admin area blocked"
28
+ msgstr "Acceso al &aacute;rea de administraci&oacute;n bloqueado"
29
+
30
+ #@ wp-maintenance-mode
31
+ #: site.php:62
32
+ msgid "Admin-Logout"
33
+ msgstr "Cerrar sesi&oacute;n"
34
+
35
+ #@ wp-maintenance-mode
36
+ #: site.php:66
37
+ msgid "Admin-Login"
38
+ msgstr "Administraci&oacute;n"
39
+
40
+ #@ default
41
+ #: inc/wp-maintenance-mode-settings.php:55
42
+ #: inc/wp-maintenance-mode-settings.php:65
43
+ msgid "Settings"
44
+ msgstr "Configuraci&oacute;n"
45
+
46
+ #@ wp-maintenance-mode
47
+ #: wp-maintenance-mode.php:256
48
+ msgid "Maintenance mode"
49
+ msgstr "En Mantenimiento"
50
+
51
+ #@ wp-maintenance-mode
52
+ #: wp-maintenance-mode.php:257
53
+ #, php-format
54
+ msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
55
+ msgstr "<p>Lamentamos los inconvenientes.<br />Nuestro sitio web est&aacute; actualmente bajo mantenimiento programado.<br /><strong>Por favor, int&eacute;ntelo m&aacute;s tarde en %1$s %2$s</strong><br />Gracias por su comprensi&oacute;n.</p>"
56
+
57
+ #@ wp-maintenance-mode
58
+ #: wp-maintenance-mode.php:299
59
+ #: wp-maintenance-mode.php:359
60
+ msgid "Updated"
61
+ msgstr "Actualizado"
62
+
63
+ #@ wp-maintenance-mode
64
+ #: wp-maintenance-mode.php:491
65
+ msgid "seconds"
66
+ msgstr "segundos"
67
+
68
+ #@ wp-maintenance-mode
69
+ #: wp-maintenance-mode.php:495
70
+ msgid "minutes"
71
+ msgstr "minutos"
72
+
73
+ #@ wp-maintenance-mode
74
+ #: wp-maintenance-mode.php:499
75
+ msgid "hours"
76
+ msgstr "horas"
77
+
78
+ #@ wp-maintenance-mode
79
+ #: wp-maintenance-mode.php:503
80
+ msgid "days"
81
+ msgstr "d&iacute;as"
82
+
83
+ #@ wp-maintenance-mode
84
+ #: wp-maintenance-mode.php:507
85
+ msgid "weeks"
86
+ msgstr "semanas"
87
+
88
+ #@ wp-maintenance-mode
89
+ #: wp-maintenance-mode.php:511
90
+ msgid "months"
91
+ msgstr "meses"
92
+
93
+ #@ wp-maintenance-mode
94
+ #: wp-maintenance-mode.php:515
95
+ msgid "years"
96
+ msgstr "a&ntilde;os"
97
+
98
+ #@ wp-maintenance-mode
99
+ #: wp-maintenance-mode.php:576
100
+ msgid " &amp; WP Super Cache flushed."
101
+ msgstr " &amp; WP Super Cache datos de caché borrados."
102
+
103
+ #@ wp-maintenance-mode
104
+ #: wp-maintenance-mode.php:583
105
+ msgid " &amp; W3 Total Cache for pages flushed."
106
+ msgstr " &amp; W3 Total Cache datos de caché borrados."
107
+
108
+ #@ wp-maintenance-mode
109
+ #: wp-maintenance-mode.php:588
110
+ #: wp-maintenance-mode.php:874
111
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
112
+ msgstr "Atenci&oacute;n: el modo de mantenimiento est&aacute; <strong>activo</strong>!"
113
+
114
+ #@ wp-maintenance-mode
115
+ #: wp-maintenance-mode.php:590
116
+ msgid "Deactivate or change Settings"
117
+ msgstr "Desactivar o cambiar la configuraci&oacute;n"
118
+
119
+ #@ wp-maintenance-mode
120
+ #: wp-maintenance-mode.php:676
121
+ msgid "Plugin by:"
122
+ msgstr "Plugin de:"
123
+
124
+ #@ wp-maintenance-mode
125
+ #: wp-maintenance-mode.php:678
126
+ #: wp-maintenance-mode.php:680
127
+ #: wp-maintenance-mode.php:682
128
+ #: wp-maintenance-mode.php:684
129
+ #: wp-maintenance-mode.php:686
130
+ #: wp-maintenance-mode.php:688
131
+ #: wp-maintenance-mode.php:690
132
+ #: wp-maintenance-mode.php:692
133
+ #: wp-maintenance-mode.php:694
134
+ #: wp-maintenance-mode.php:696
135
+ #: wp-maintenance-mode.php:698
136
+ msgid "Design by:"
137
+ msgstr "Dise&ntilde;ado por:"
138
+
139
+ #@ wp-maintenance-mode
140
+ #: inc/wp-maintenance-mode-settings.php:94
141
+ #: inc/wp-maintenance-mode-settings.php:410
142
+ #, php-format
143
+ msgid "Plugin %s settings <strong>updated</strong>."
144
+ msgstr "La configuraci&oacute;n del plugin %s <strong>ha sido actualizada</strong>."
145
+
146
+ #@ wp-maintenance-mode
147
+ #: inc/wp-maintenance-mode-settings.php:97
148
+ #: inc/wp-maintenance-mode-settings.php:110
149
+ #, php-format
150
+ msgid "Plugin %s active status <strong>updated</strong>."
151
+ msgstr "Estado del plugin %s activo <strong>actualizado</strong>."
152
+
153
+ #@ wp-maintenance-mode
154
+ #: inc/wp-maintenance-mode-settings.php:100
155
+ msgid "Plugin Activate"
156
+ msgstr "Plugin activado"
157
+
158
+ #@ wp-maintenance-mode
159
+ #: inc/wp-maintenance-mode-settings.php:104
160
+ #: inc/wp-maintenance-mode-settings.php:123
161
+ #: inc/wp-maintenance-mode-settings.php:167
162
+ #: inc/wp-maintenance-mode-settings.php:180
163
+ #: inc/wp-maintenance-mode-settings.php:256
164
+ #: inc/wp-maintenance-mode-settings.php:400
165
+ msgid "False"
166
+ msgstr "Desactivado"
167
+
168
+ #@ wp-maintenance-mode
169
+ #: inc/wp-maintenance-mode-settings.php:105
170
+ #: inc/wp-maintenance-mode-settings.php:124
171
+ #: inc/wp-maintenance-mode-settings.php:168
172
+ #: inc/wp-maintenance-mode-settings.php:181
173
+ #: inc/wp-maintenance-mode-settings.php:257
174
+ #: inc/wp-maintenance-mode-settings.php:401
175
+ msgid "True"
176
+ msgstr "Activado"
177
+
178
+ #@ wp-maintenance-mode
179
+ #: inc/wp-maintenance-mode-settings.php:107
180
+ msgid "Update"
181
+ msgstr "Actualizar"
182
+
183
+ #@ wp-maintenance-mode
184
+ #: inc/wp-maintenance-mode-settings.php:113
185
+ msgid "Plugin Settings"
186
+ msgstr "Configuraci&oacute;n del plugin"
187
+
188
+ #@ wp-maintenance-mode
189
+ #: inc/wp-maintenance-mode-settings.php:119
190
+ msgid "Countdown:"
191
+ msgstr "Cuenta atr&aacute;s:"
192
+
193
+ #@ wp-maintenance-mode
194
+ #: inc/wp-maintenance-mode-settings.php:130
195
+ #: inc/wp-maintenance-mode-settings.php:133
196
+ msgid "Click for datepicker"
197
+ msgstr "Haz click para ver el calendario"
198
+
199
+ #@ wp-maintenance-mode
200
+ #: inc/wp-maintenance-mode-settings.php:130
201
+ msgid "Date:"
202
+ msgstr "Fecha:"
203
+
204
+ #@ wp-maintenance-mode
205
+ #: inc/wp-maintenance-mode-settings.php:134
206
+ msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
207
+ msgstr "Hay que activar la cuenta atr&aacute;s para usar esto, luego pon la fecha en la que quieres que termine la cuenta atr&aacute;s."
208
+
209
+ #@ wp-maintenance-mode
210
+ #: inc/wp-maintenance-mode-settings.php:139
211
+ msgid "Value:"
212
+ msgstr "Valor:"
213
+
214
+ #@ wp-maintenance-mode
215
+ #: inc/wp-maintenance-mode-settings.php:147
216
+ msgid "Unit:"
217
+ msgstr "Unidad:"
218
+
219
+ #@ wp-maintenance-mode
220
+ #: inc/wp-maintenance-mode-settings.php:151
221
+ msgid "second"
222
+ msgstr "segundo"
223
+
224
+ #@ wp-maintenance-mode
225
+ #: inc/wp-maintenance-mode-settings.php:152
226
+ msgid "minute"
227
+ msgstr "minuto"
228
+
229
+ #@ wp-maintenance-mode
230
+ #: inc/wp-maintenance-mode-settings.php:153
231
+ msgid "hour"
232
+ msgstr "hora"
233
+
234
+ #@ wp-maintenance-mode
235
+ #: inc/wp-maintenance-mode-settings.php:154
236
+ msgid "day"
237
+ msgstr "d&iacute;a"
238
+
239
+ #@ wp-maintenance-mode
240
+ #: inc/wp-maintenance-mode-settings.php:155
241
+ msgid "week"
242
+ msgstr "semana"
243
+
244
+ #@ wp-maintenance-mode
245
+ #: inc/wp-maintenance-mode-settings.php:156
246
+ msgid "month"
247
+ msgstr "mes"
248
+
249
+ #@ wp-maintenance-mode
250
+ #: inc/wp-maintenance-mode-settings.php:157
251
+ msgid "year"
252
+ msgstr "a&ntilde;o"
253
+
254
+ #@ wp-maintenance-mode
255
+ #: inc/wp-maintenance-mode-settings.php:163
256
+ msgid "Link:"
257
+ msgstr "Enlace:"
258
+
259
+ #@ wp-maintenance-mode
260
+ #: inc/wp-maintenance-mode-settings.php:171
261
+ msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
262
+ msgstr "Por favor, coloca un enlace al autor del plugin y del tema cuando tu sitio web est&aacute; en modo de mantenimento."
263
+
264
+ #@ wp-maintenance-mode
265
+ #: inc/wp-maintenance-mode-settings.php:176
266
+ msgid "Admin Link:"
267
+ msgstr "Enlace a Administraci&oacute;n:"
268
+
269
+ #@ wp-maintenance-mode
270
+ #: inc/wp-maintenance-mode-settings.php:184
271
+ msgid "Do you will a link to the admin area of your install?"
272
+ msgstr "&iquest;Deseas un enlace al &aacute;rea de Administraci&oacute;n en el modo de mantenimento?"
273
+
274
+ #@ wp-maintenance-mode
275
+ #: inc/wp-maintenance-mode-settings.php:189
276
+ msgid "Theme:"
277
+ msgstr "Tema:"
278
+
279
+ #@ wp-maintenance-mode
280
+ #: inc/wp-maintenance-mode-settings.php:193
281
+ msgid "Own Style"
282
+ msgstr "Estilo propio"
283
+
284
+ #@ wp-maintenance-mode
285
+ #: inc/wp-maintenance-mode-settings.php:194
286
+ msgid "Simple Text"
287
+ msgstr "Texto Simple"
288
+
289
+ #@ wp-maintenance-mode
290
+ #: inc/wp-maintenance-mode-settings.php:195
291
+ msgid "The Truck"
292
+ msgstr "The Truck"
293
+
294
+ #@ wp-maintenance-mode
295
+ #: inc/wp-maintenance-mode-settings.php:196
296
+ msgid "The Sun"
297
+ msgstr "The Sun"
298
+
299
+ #@ wp-maintenance-mode
300
+ #: inc/wp-maintenance-mode-settings.php:197
301
+ msgid "The FF Error"
302
+ msgstr "The FF Error"
303
+
304
+ #@ wp-maintenance-mode
305
+ #: inc/wp-maintenance-mode-settings.php:198
306
+ msgid "Monster"
307
+ msgstr "Monster"
308
+
309
+ #@ wp-maintenance-mode
310
+ #: inc/wp-maintenance-mode-settings.php:199
311
+ msgid "Chastely"
312
+ msgstr "Chastely"
313
+
314
+ #@ wp-maintenance-mode
315
+ #: inc/wp-maintenance-mode-settings.php:200
316
+ msgid "Only Typo"
317
+ msgstr "Only Typo"
318
+
319
+ #@ wp-maintenance-mode
320
+ #: inc/wp-maintenance-mode-settings.php:201
321
+ msgid "Paint"
322
+ msgstr "Paint"
323
+
324
+ #@ wp-maintenance-mode
325
+ #: inc/wp-maintenance-mode-settings.php:202
326
+ msgid "Animate (Flash)"
327
+ msgstr "Animate (Flash)"
328
+
329
+ #@ wp-maintenance-mode
330
+ #: inc/wp-maintenance-mode-settings.php:203
331
+ msgid "Damask"
332
+ msgstr "Damask"
333
+
334
+ #@ wp-maintenance-mode
335
+ #: inc/wp-maintenance-mode-settings.php:204
336
+ msgid "Lego"
337
+ msgstr "Lego"
338
+
339
+ #@ wp-maintenance-mode
340
+ #: inc/wp-maintenance-mode-settings.php:205
341
+ msgid "Chemistry"
342
+ msgstr "Qu&iacute;mica"
343
+
344
+ #@ wp-maintenance-mode
345
+ #: inc/wp-maintenance-mode-settings.php:211
346
+ msgid "Own Style URL:"
347
+ msgstr "URL de tu estilo:"
348
+
349
+ #@ wp-maintenance-mode
350
+ #: inc/wp-maintenance-mode-settings.php:214
351
+ msgid "URL to the css-file (incl. http://)"
352
+ msgstr "URL de tu estilo (incluyendo http://)"
353
+
354
+ #@ wp-maintenance-mode
355
+ #: inc/wp-maintenance-mode-settings.php:216
356
+ msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
357
+ msgstr "<strong>Atenci&oacute;n:</strong> Por favor, no copies la hoja de estilos en la carpeta del plugin, ser&aacute; borrada en la pr&oacute;xima actualizaci&oacute;n automatica del plugin!"
358
+
359
+ #@ wp-maintenance-mode
360
+ #: inc/wp-maintenance-mode-settings.php:221
361
+ #: inc/wp-maintenance-mode-settings.php:245
362
+ msgid "Preview"
363
+ msgstr "Vista previa"
364
+
365
+ #@ wp-maintenance-mode
366
+ #: inc/wp-maintenance-mode-settings.php:252
367
+ msgid "noindex, nofollow:"
368
+ msgstr "noindex, nofollow:"
369
+
370
+ #@ wp-maintenance-mode
371
+ #: inc/wp-maintenance-mode-settings.php:260
372
+ msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
373
+ msgstr "La meta etiqueta robots permite controlar c&oacute;mo una p&aacute;gina individual debe ser indexada y presentada a los usuarios en los resultados de b&uacute;squeda. Establecer TRUE para noindex, nofollow y FALSO para index, follow."
374
+
375
+ #@ wp-maintenance-mode
376
+ #: inc/wp-maintenance-mode-settings.php:265
377
+ msgid "Title:"
378
+ msgstr "T&iacute;tulo:"
379
+
380
+ #@ wp-maintenance-mode
381
+ #: inc/wp-maintenance-mode-settings.php:268
382
+ #: inc/wp-maintenance-mode-settings.php:276
383
+ #: inc/wp-maintenance-mode-settings.php:284
384
+ msgid "Leave empty for default."
385
+ msgstr "Dejar vac&iacute;o para utilizar el valor por defecto."
386
+
387
+ #@ wp-maintenance-mode
388
+ #: inc/wp-maintenance-mode-settings.php:273
389
+ msgid "Header:"
390
+ msgstr "Cabecera:"
391
+
392
+ #@ wp-maintenance-mode
393
+ #: inc/wp-maintenance-mode-settings.php:281
394
+ msgid "Heading:"
395
+ msgstr "Encabezamiento:"
396
+
397
+ #@ wp-maintenance-mode
398
+ #: inc/wp-maintenance-mode-settings.php:289
399
+ msgid "Text:"
400
+ msgstr "Texto:"
401
+
402
+ #@ wp-maintenance-mode
403
+ #: inc/wp-maintenance-mode-settings.php:302
404
+ #, fuzzy
405
+ msgid "Exclude:"
406
+ msgstr "Excluir:"
407
+
408
+ #@ wp-maintenance-mode
409
+ #: inc/wp-maintenance-mode-settings.php:318
410
+ msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
411
+ msgstr "Excluye feeds, p&aacute;ginas, entradas o archivos del modo de mantenimiento. A&ntilde;ade el slug de las p&aacute;ginas o entradas a excluir separ&aacute;ndolas con una coma.<br />Ejemplo:"
412
+
413
+ #@ wp-maintenance-mode
414
+ #: inc/wp-maintenance-mode-settings.php:323
415
+ msgid "Backend Role:"
416
+ msgstr "Backend rol:"
417
+
418
+ #@ wp-maintenance-mode
419
+ #: inc/wp-maintenance-mode-settings.php:348
420
+ msgid "Allowed userrole to access the backend of this blog."
421
+ msgstr "Rol necesario para acceder al backend de este sitio."
422
+
423
+ #@ wp-maintenance-mode
424
+ #: inc/wp-maintenance-mode-settings.php:349
425
+ #: inc/wp-maintenance-mode-settings.php:380
426
+ msgid "Super Admin has always access."
427
+ msgstr "El usuario Super Admin siempre tiene acceso."
428
+
429
+ #@ wp-maintenance-mode
430
+ #: inc/wp-maintenance-mode-settings.php:354
431
+ msgid "Frontend Role:"
432
+ msgstr "Frontend rol:"
433
+
434
+ #@ wp-maintenance-mode
435
+ #: inc/wp-maintenance-mode-settings.php:379
436
+ msgid "Allowed userrole to see the frontend of this blog."
437
+ msgstr "Rol necesario para ver el frontend de este sitio."
438
+
439
+ #@ wp-maintenance-mode
440
+ #: inc/wp-maintenance-mode-settings.php:385
441
+ msgid "Redirection:"
442
+ msgstr "Redirecci&oacute;n:"
443
+
444
+ #@ wp-maintenance-mode
445
+ #: inc/wp-maintenance-mode-settings.php:390
446
+ msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
447
+ msgstr "Si deseas que despu&eacute;s del inicio de sesi&oacute;n la direcci&oacute;n de destino no sea la est&aacute;ndar en el Escritorio, define una URL (incluyendo http://)"
448
+
449
+ #@ wp-maintenance-mode
450
+ #: inc/wp-maintenance-mode-settings.php:413
451
+ msgid "Save"
452
+ msgstr "Guardar"
453
+
454
+ #@ wp-maintenance-mode
455
+ #: inc/wp-maintenance-mode-settings.php:295
456
+ #, php-format
457
+ 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."
458
+ msgstr "Utiliza el primer <em>%1$s</em> para la cuenta atr&aacute;s y el segundo <em>%2$s</em> para la unidad de tiempo. Se puede usar HTML y shortcodes."
459
+
460
+ #@ wp-maintenance-mode
461
+ #: inc/wp-maintenance-mode-settings.php:296
462
+ msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
463
+ msgstr "Utiliza <code>[loginform]</code> para a&ntilde;adir el formulario de inicio de sesi&oacute;n en el modo de mantenimiento."
464
+
465
+ #@ wp-maintenance-mode
466
+ #: inc/wp-maintenance-mode-settings.php:396
467
+ msgid "Notice:"
468
+ msgstr "Avisos:"
469
+
470
+ #@ wp-maintenance-mode
471
+ #: inc/wp-maintenance-mode-settings.php:403
472
+ msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
473
+ msgstr "&iquest;Deseas ver los avisos en el backend, la barra de administraci&oacute;n y la pantalla de inicio de sesi&oacute;n?"
474
+
475
+ #@ default
476
+ #: index.php:25
477
+ msgid "Cheatin&#8217; uh?"
478
+ msgstr "&iquest;Haciendo trampas?"
479
+
480
+ #@ wp-maintenance-mode
481
+ #. translators: plugin header field 'Name'
482
+ #: wp-maintenance-mode.php:0
483
+ msgid "WP Maintenance Mode"
484
+ msgstr "WP Maintenance Mode"
485
+
486
+ #@ wp-maintenance-mode
487
+ #. translators: plugin header field 'PluginURI'
488
+ #: wp-maintenance-mode.php:0
489
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
490
+ msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
491
+
492
+ #@ wp-maintenance-mode
493
+ #. translators: plugin header field 'Description'
494
+ #: wp-maintenance-mode.php:0
495
+ 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."
496
+ msgstr "Este plugin agrega una p&aacute;gina de inicio al sitio web que permite informar a los visitantes de que el blog se encuentra en mantenimiento. Los usuarios registrados que hayan iniciado sesi&oacute;n tendr&aacute;n acceso completo al blog incluyendo el frontend, seg&uacute;n la configuraci&oacute;n."
497
+
498
+ #@ wp-maintenance-mode
499
+ #. translators: plugin header field 'Author'
500
+ #: wp-maintenance-mode.php:0
501
+ msgid "Frank B&uuml;ltge"
502
+ msgstr "Frank B&uuml;ltge"
503
+
504
+ #@ wp-maintenance-mode
505
+ #. translators: plugin header field 'AuthorURI'
506
+ #: wp-maintenance-mode.php:0
507
+ msgid "http://bueltge.de/"
508
+ msgstr "http://bueltge.de/"
509
+
510
+ #@ wp-maintenance-mode
511
+ #. translators: plugin header field 'Version'
512
+ #: wp-maintenance-mode.php:0
513
+ msgid "1.8.5"
514
+ msgstr "1.8.5"
515
+
languages/wp-maintenance-mode-fr_FR.po CHANGED
@@ -1,575 +1,575 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-04-15 23:03+0100\n"
7
- "Last-Translator: \n"
8
- "Language-Team: \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-Generator: Poedit 1.5.5\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_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"
17
- "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
18
- "X-Textdomain-Support: yes\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ wp-maintenance-mode
22
- #: site.php:27 site.php:65
23
- msgid "Maintenance Mode"
24
- msgstr "Mode de maintenance"
25
-
26
- # @ wp-maintenance-mode
27
- #: site.php:72
28
- msgid "Access to the admin area blocked"
29
- msgstr "Accès à la zone d'administration bloqué"
30
-
31
- # @ wp-maintenance-mode
32
- #: site.php:75
33
- msgid "Admin-Logout"
34
- msgstr "Admin-Logout"
35
-
36
- # @ wp-maintenance-mode
37
- #: site.php:80
38
- msgid "Admin-Login"
39
- msgstr "Admin-Login"
40
-
41
- # @ default
42
- #: inc/wp-maintenance-mode-settings.php:55
43
- #: inc/wp-maintenance-mode-settings.php:65
44
- msgid "Settings"
45
- msgstr "Réglages"
46
-
47
- # @ wp-maintenance-mode
48
- #: wp-maintenance-mode.php:304
49
- msgid "Maintenance mode"
50
- msgstr "Mode de maintenance"
51
-
52
- # @ wp-maintenance-mode
53
- #: wp-maintenance-mode.php:305
54
- #, php-format
55
- msgid ""
56
- "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
57
- "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
58
- "strong><br />Thank you for your understanding.</p>"
59
- msgstr ""
60
-
61
- # @ wp-maintenance-mode
62
- #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
63
- msgid "Updated"
64
- msgstr "Mis à jour"
65
-
66
- # @ wp-maintenance-mode
67
- #: wp-maintenance-mode.php:607
68
- msgid "seconds"
69
- msgstr "secondes"
70
-
71
- # @ wp-maintenance-mode
72
- #: wp-maintenance-mode.php:611
73
- msgid "minutes"
74
- msgstr "minutes"
75
-
76
- # @ wp-maintenance-mode
77
- #: wp-maintenance-mode.php:615
78
- msgid "hours"
79
- msgstr "heures"
80
-
81
- # @ wp-maintenance-mode
82
- #: wp-maintenance-mode.php:619
83
- msgid "days"
84
- msgstr "jours"
85
-
86
- # @ wp-maintenance-mode
87
- #: wp-maintenance-mode.php:623
88
- msgid "weeks"
89
- msgstr "semaines"
90
-
91
- # @ wp-maintenance-mode
92
- #: wp-maintenance-mode.php:627
93
- msgid "months"
94
- msgstr "mois"
95
-
96
- # @ wp-maintenance-mode
97
- #: wp-maintenance-mode.php:631
98
- msgid "years"
99
- msgstr "années"
100
-
101
- # @ wp-maintenance-mode
102
- #: wp-maintenance-mode.php:693
103
- msgid " &amp; WP Super Cache flushed."
104
- msgstr " &amp; Cache de WP Super vidé."
105
-
106
- # @ wp-maintenance-mode
107
- #: wp-maintenance-mode.php:700
108
- msgid " &amp; W3 Total Cache for pages flushed."
109
- msgstr " &amp; Cache de W3 Total Cache vidé."
110
-
111
- # @ wp-maintenance-mode
112
- #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
113
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
114
- msgstr "Attention : Le mode de maintenance est <strong>actif</strong> !"
115
-
116
- # @ wp-maintenance-mode
117
- #: wp-maintenance-mode.php:707
118
- msgid "Deactivate or change Settings"
119
- msgstr "Désactiver ou modifier les réglages"
120
-
121
- # @ wp-maintenance-mode
122
- #: wp-maintenance-mode.php:815
123
- msgid "Plugin by:"
124
- msgstr "Extension par :"
125
-
126
- # @ wp-maintenance-mode
127
- #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
128
- #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
129
- #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
130
- #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
131
- #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
132
- #: wp-maintenance-mode.php:837
133
- msgid "Design by:"
134
- msgstr "Design par :"
135
-
136
- # @ wp-maintenance-mode
137
- #: inc/wp-maintenance-mode-settings.php:100
138
- #: inc/wp-maintenance-mode-settings.php:429
139
- #, php-format
140
- msgid "Plugin %s settings <strong>updated</strong>."
141
- msgstr "Les réglages de l'extension %s <strong>a été mis à jour</strong>."
142
-
143
- # @ wp-maintenance-mode
144
- #: inc/wp-maintenance-mode-settings.php:103
145
- #: inc/wp-maintenance-mode-settings.php:116
146
- #, php-format
147
- msgid "Plugin %s active status <strong>updated</strong>."
148
- msgstr "L'extension %s a changé <strong>d'état</strong>."
149
-
150
- # @ wp-maintenance-mode
151
- #: inc/wp-maintenance-mode-settings.php:106
152
- msgid "Plugin Activate"
153
- msgstr "Activation de l'extension"
154
-
155
- # @ wp-maintenance-mode
156
- #: inc/wp-maintenance-mode-settings.php:110
157
- #: inc/wp-maintenance-mode-settings.php:129
158
- #: inc/wp-maintenance-mode-settings.php:173
159
- #: inc/wp-maintenance-mode-settings.php:186
160
- #: inc/wp-maintenance-mode-settings.php:261
161
- #: inc/wp-maintenance-mode-settings.php:333
162
- #: inc/wp-maintenance-mode-settings.php:419
163
- msgid "False"
164
- msgstr "Non"
165
-
166
- # @ wp-maintenance-mode
167
- #: inc/wp-maintenance-mode-settings.php:111
168
- #: inc/wp-maintenance-mode-settings.php:130
169
- #: inc/wp-maintenance-mode-settings.php:174
170
- #: inc/wp-maintenance-mode-settings.php:187
171
- #: inc/wp-maintenance-mode-settings.php:262
172
- #: inc/wp-maintenance-mode-settings.php:334
173
- #: inc/wp-maintenance-mode-settings.php:420
174
- msgid "True"
175
- msgstr "Oui"
176
-
177
- # @ wp-maintenance-mode
178
- #: inc/wp-maintenance-mode-settings.php:113
179
- msgid "Update"
180
- msgstr "Mettre à jour"
181
-
182
- # @ wp-maintenance-mode
183
- #: inc/wp-maintenance-mode-settings.php:119
184
- msgid "Plugin Settings"
185
- msgstr "Réglages de l'extension"
186
-
187
- # @ wp-maintenance-mode
188
- #: inc/wp-maintenance-mode-settings.php:125
189
- msgid "Countdown:"
190
- msgstr "Compte à rebours"
191
-
192
- # @ wp-maintenance-mode
193
- #: inc/wp-maintenance-mode-settings.php:136
194
- #: inc/wp-maintenance-mode-settings.php:139
195
- msgid "Click for datepicker"
196
- msgstr "Cliquez pour afficher le calendrier"
197
-
198
- # @ wp-maintenance-mode
199
- #: inc/wp-maintenance-mode-settings.php:136
200
- msgid "Date:"
201
- msgstr "Date :"
202
-
203
- # @ wp-maintenance-mode
204
- #: inc/wp-maintenance-mode-settings.php:140
205
- msgid ""
206
- "Activate countdown for using this. Use value and unit or use the countdown "
207
- "and set the date."
208
- msgstr ""
209
- "Activez le compte à rebours pour utiliser ce champ. Renseignez la date et "
210
- "l'heure d'échéance. Sinon saisissez une durée et une unité de temps."
211
-
212
- # @ wp-maintenance-mode
213
- #: inc/wp-maintenance-mode-settings.php:145
214
- msgid "Value:"
215
- msgstr "Durée :"
216
-
217
- # @ wp-maintenance-mode
218
- #: inc/wp-maintenance-mode-settings.php:153
219
- msgid "Unit:"
220
- msgstr "Unité :"
221
-
222
- # @ wp-maintenance-mode
223
- #: inc/wp-maintenance-mode-settings.php:157
224
- msgid "second"
225
- msgstr "seconde"
226
-
227
- # @ wp-maintenance-mode
228
- #: inc/wp-maintenance-mode-settings.php:158
229
- msgid "minute"
230
- msgstr "minute"
231
-
232
- # @ wp-maintenance-mode
233
- #: inc/wp-maintenance-mode-settings.php:159
234
- msgid "hour"
235
- msgstr "heure"
236
-
237
- # @ wp-maintenance-mode
238
- #: inc/wp-maintenance-mode-settings.php:160
239
- msgid "day"
240
- msgstr "jour"
241
-
242
- # @ wp-maintenance-mode
243
- #: inc/wp-maintenance-mode-settings.php:161
244
- msgid "week"
245
- msgstr "semaine"
246
-
247
- # @ wp-maintenance-mode
248
- #: inc/wp-maintenance-mode-settings.php:162
249
- msgid "month"
250
- msgstr "mois"
251
-
252
- # @ wp-maintenance-mode
253
- #: inc/wp-maintenance-mode-settings.php:163
254
- msgid "year"
255
- msgstr "année"
256
-
257
- # @ wp-maintenance-mode
258
- #: inc/wp-maintenance-mode-settings.php:169
259
- msgid "Link:"
260
- msgstr "Lien :"
261
-
262
- # @ wp-maintenance-mode
263
- #: inc/wp-maintenance-mode-settings.php:177
264
- msgid ""
265
- "Please leave a link to the plugin- and design-author on your maintenance "
266
- "mode site."
267
- msgstr ""
268
- "Merci de laisser un lien vers le site de l'auteur pendant la maintenance de "
269
- "votre site."
270
-
271
- # @ wp-maintenance-mode
272
- #: inc/wp-maintenance-mode-settings.php:182
273
- msgid "Admin Link:"
274
- msgstr "Lien vers l'admin :"
275
-
276
- # @ wp-maintenance-mode
277
- #: inc/wp-maintenance-mode-settings.php:190
278
- msgid "Do you will a link to the admin area of your install?"
279
- msgstr "Souhaitez-vous un lien vers la zone d'administration de votre site ?"
280
-
281
- # @ wp-maintenance-mode
282
- #: inc/wp-maintenance-mode-settings.php:200
283
- msgid "Simple Text"
284
- msgstr "Texte simple"
285
-
286
- # @ wp-maintenance-mode
287
- #: inc/wp-maintenance-mode-settings.php:201
288
- msgid "The Truck"
289
- msgstr "Le camion"
290
-
291
- # @ wp-maintenance-mode
292
- #: inc/wp-maintenance-mode-settings.php:202
293
- msgid "The Sun"
294
- msgstr "Le soleil"
295
-
296
- # @ wp-maintenance-mode
297
- #: inc/wp-maintenance-mode-settings.php:203
298
- msgid "The FF Error"
299
- msgstr "Erreur FF"
300
-
301
- # @ wp-maintenance-mode
302
- #: inc/wp-maintenance-mode-settings.php:204
303
- msgid "Monster"
304
- msgstr "Monstre"
305
-
306
- # @ wp-maintenance-mode
307
- #: inc/wp-maintenance-mode-settings.php:205
308
- msgid "Chastely"
309
- msgstr "Chastement"
310
-
311
- # @ wp-maintenance-mode
312
- #: inc/wp-maintenance-mode-settings.php:206
313
- msgid "Only Typo"
314
- msgstr "Typo uniquement"
315
-
316
- # @ wp-maintenance-mode
317
- #: inc/wp-maintenance-mode-settings.php:207
318
- msgid "Paint"
319
- msgstr "Peinture"
320
-
321
- # @ wp-maintenance-mode
322
- #: inc/wp-maintenance-mode-settings.php:208
323
- msgid "Animate (Flash)"
324
- msgstr "Animation (Flash)"
325
-
326
- # @ wp-maintenance-mode
327
- #: inc/wp-maintenance-mode-settings.php:209
328
- msgid "Damask"
329
- msgstr "Damas"
330
-
331
- # @ wp-maintenance-mode
332
- #: inc/wp-maintenance-mode-settings.php:210
333
- msgid "Lego"
334
- msgstr "Lego"
335
-
336
- # @ wp-maintenance-mode
337
- #: inc/wp-maintenance-mode-settings.php:211
338
- msgid "Chemistry"
339
- msgstr "Chimie"
340
-
341
- # @ wp-maintenance-mode
342
- #: inc/wp-maintenance-mode-settings.php:220
343
- msgid "URL to the css-file (incl. http://)"
344
- msgstr "URL du fichier CSS (avec http://)"
345
-
346
- # @ wp-maintenance-mode
347
- #: inc/wp-maintenance-mode-settings.php:222
348
- msgid ""
349
- "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
350
- "plugin folder, it will be deleted on the next automatical update of the "
351
- "plugin!"
352
- msgstr ""
353
- "<strong>Attention :</strong> Veillez à ne pas copier votre fichier css dans "
354
- "le dossier de l'extension, il sera supprimé lors de la prochaine mise à jour "
355
- "de l'extension !"
356
-
357
- # @ wp-maintenance-mode
358
- #: inc/wp-maintenance-mode-settings.php:227
359
- #: inc/wp-maintenance-mode-settings.php:250
360
- msgid "Preview"
361
- msgstr "Prévisualisation"
362
-
363
- # @ wp-maintenance-mode
364
- #: inc/wp-maintenance-mode-settings.php:257
365
- msgid "noindex, nofollow:"
366
- msgstr "noindex, nofollow :"
367
-
368
- # @ wp-maintenance-mode
369
- #: inc/wp-maintenance-mode-settings.php:265
370
- msgid ""
371
- "The robots meta tag lets you utilize a granular, page-specific approach to "
372
- "controlling how an individual page should be indexed and served to users in "
373
- "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
374
- msgstr ""
375
- "La meta tag robot vous permet d'avoir une approche granulaire, spécifique à "
376
- "chaque page pour contrôler si celle-ci doit être indexée et affichée dans "
377
- "les résultats des moteurs de recherche. Utilisez OUI pour noindex, nofollow "
378
- "et NON pour index, follow."
379
-
380
- # @ wp-maintenance-mode
381
- #: inc/wp-maintenance-mode-settings.php:270
382
- msgid "Title:"
383
- msgstr "Balise title :"
384
-
385
- # @ wp-maintenance-mode
386
- #: inc/wp-maintenance-mode-settings.php:273
387
- #: inc/wp-maintenance-mode-settings.php:281
388
- #: inc/wp-maintenance-mode-settings.php:289
389
- msgid "Leave empty for default."
390
- msgstr "Laissez vide par défaut."
391
-
392
- # @ wp-maintenance-mode
393
- #: inc/wp-maintenance-mode-settings.php:278
394
- msgid "Header:"
395
- msgstr "Entête :"
396
-
397
- # @ wp-maintenance-mode
398
- #: inc/wp-maintenance-mode-settings.php:286
399
- msgid "Heading:"
400
- msgstr "Titre :"
401
-
402
- # @ wp-maintenance-mode
403
- #: inc/wp-maintenance-mode-settings.php:294
404
- msgid "Text:"
405
- msgstr "Texte :"
406
-
407
- # @ wp-maintenance-mode
408
- #: inc/wp-maintenance-mode-settings.php:307
409
- msgid "Exclude:"
410
- msgstr "Exclure :"
411
-
412
- # @ wp-maintenance-mode
413
- #: inc/wp-maintenance-mode-settings.php:323
414
- msgid ""
415
- "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
416
- "the Slug of page or post as a comma-separated list.<br />Example:"
417
- msgstr ""
418
- "Exclure les flux RSS, les pages, les articles, les catégories ou des IPs du "
419
- "mode de maintenance. Ajoutez le slug de la page ou de l'article séparé d'une "
420
- "virgule.<br /> Exemple :"
421
-
422
- # @ wp-maintenance-mode
423
- #: inc/wp-maintenance-mode-settings.php:342
424
- msgid "Backend Role:"
425
- msgstr "Rôle de la zone d'administration:"
426
-
427
- # @ wp-maintenance-mode
428
- #: inc/wp-maintenance-mode-settings.php:367
429
- msgid "Allowed userrole to access the backend of this blog."
430
- msgstr "Rôle autorisé à accéder à l'administration du blog."
431
-
432
- # @ wp-maintenance-mode
433
- #: inc/wp-maintenance-mode-settings.php:368
434
- #: inc/wp-maintenance-mode-settings.php:399
435
- msgid "Super Admin has always access."
436
- msgstr "Le Super Admin a toujours accès."
437
-
438
- # @ wp-maintenance-mode
439
- #: inc/wp-maintenance-mode-settings.php:373
440
- msgid "Frontend Role:"
441
- msgstr "Rôle de la partie publique :"
442
-
443
- # @ wp-maintenance-mode
444
- #: inc/wp-maintenance-mode-settings.php:398
445
- msgid "Allowed userrole to see the frontend of this blog."
446
- msgstr "Rôle autorisé à accéder à la partie publique du blog."
447
-
448
- # @ wp-maintenance-mode
449
- #: inc/wp-maintenance-mode-settings.php:404
450
- msgid "Redirection:"
451
- msgstr "Redirection :"
452
-
453
- # @ wp-maintenance-mode
454
- #: inc/wp-maintenance-mode-settings.php:409
455
- msgid ""
456
- "If you want that after the login the destination address is not standard to "
457
- "the dashboard, then defining a URL. (incl. http://)"
458
- msgstr ""
459
- "Si vous souhaitez être redirigé vers une adresse spécifique lors de la "
460
- "connexion à la zone d'administration, définissez l'url ici (avec http://)"
461
-
462
- # @ wp-maintenance-mode
463
- #: inc/wp-maintenance-mode-settings.php:432
464
- msgid "Save"
465
- msgstr "Enregistrer"
466
-
467
- # @ wp-maintenance-mode
468
- #: inc/wp-maintenance-mode-settings.php:300
469
- #, php-format
470
- msgid ""
471
- "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
472
- "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
473
- "are possible."
474
- msgstr ""
475
- "Utilisez le premier <em>%1$s</em> pour la durée ou le temps en seconde du "
476
- "compte à rebours et le second <em>%2$s</em> pour les unités de temps; Code "
477
- "HTML et Shortcodes sont utilisables."
478
-
479
- # @ wp-maintenance-mode
480
- #: inc/wp-maintenance-mode-settings.php:301
481
- msgid ""
482
- "Use <code>[loginform]</code> for add the default login form in the "
483
- "maintenance page."
484
- msgstr ""
485
- "Utilisez le shortcode <code>[loginform]</code> pour ajouter le formulaire de "
486
- "login par défaut sur la page de maintenance."
487
-
488
- # @ wp-maintenance-mode
489
- #: inc/wp-maintenance-mode-settings.php:415
490
- msgid "Notice:"
491
- msgstr "Remarque :"
492
-
493
- # @ wp-maintenance-mode
494
- #: inc/wp-maintenance-mode-settings.php:422
495
- msgid ""
496
- "Do you will see all notices, inside backend, the Admin Bar and the login "
497
- "screen?"
498
- msgstr ""
499
- "Voulez-vous voir toutes les alertes dans la zone d'administration ainsi que "
500
- "la barre d'admin et l'ecran de connexion ?"
501
-
502
- # @ default
503
- #: index.php:25
504
- msgid "Cheatin&#8217; uh?"
505
- msgstr ""
506
-
507
- # @ wp-maintenance-mode
508
- #. translators: plugin header field 'Name'
509
- #: wp-maintenance-mode.php:0
510
- msgid "WP Maintenance Mode"
511
- msgstr "WP Maintenance Mode"
512
-
513
- # @ wp-maintenance-mode
514
- #. translators: plugin header field 'PluginURI'
515
- #: wp-maintenance-mode.php:0
516
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
517
- msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
518
-
519
- # @ wp-maintenance-mode
520
- #. translators: plugin header field 'Description'
521
- #: wp-maintenance-mode.php:0
522
- msgid ""
523
- "The plugin adds a splash page to your blog that lets visitors know your blog "
524
- "is down for maintenance. Logged in users get full access to the blog "
525
- "including the front-end, depends of the settings."
526
- msgstr ""
527
- "Le plugin ajoute une page de garde à votre blog qui permet aux visiteurs de "
528
- "voir si votre blog est en maintenance. Les utilisateurs connectés ont un "
529
- "accès complet au blog, la partie publique du site y compris, en fonction des "
530
- "réglages."
531
-
532
- # @ wp-maintenance-mode
533
- #. translators: plugin header field 'Author'
534
- #: wp-maintenance-mode.php:0
535
- msgid "Frank B&uuml;ltge"
536
- msgstr "Frank B&uuml;ltge"
537
-
538
- # @ wp-maintenance-mode
539
- #. translators: plugin header field 'AuthorURI'
540
- #: wp-maintenance-mode.php:0
541
- msgid "http://bueltge.de/"
542
- msgstr "http://bueltge.de/"
543
-
544
- # @ wp-maintenance-mode
545
- #: inc/wp-maintenance-mode-settings.php:195
546
- msgid "CSS Style:"
547
- msgstr "Style CSS :"
548
-
549
- # @ wp-maintenance-mode
550
- #: inc/wp-maintenance-mode-settings.php:199
551
- msgid "Own CSS Stylesheet"
552
- msgstr "Fichier CSS personnalisé"
553
-
554
- # @ wp-maintenance-mode
555
- #: inc/wp-maintenance-mode-settings.php:217
556
- msgid "Own CSS Style URL:"
557
- msgstr "URL de votre fichier CSS personnalisé :"
558
-
559
- # @ wp-maintenance-mode
560
- #: inc/wp-maintenance-mode-settings.php:329
561
- msgid "Bypass for Search Bots:"
562
- msgstr "By-pass des robots des moteurs de recherche :"
563
-
564
- # @ wp-maintenance-mode
565
- #: inc/wp-maintenance-mode-settings.php:336
566
- msgid "Allow Search Bots to bypass maintenance mode?"
567
- msgstr ""
568
- "Permettre aux robots de passer outre le mode de maintenance (indexer les "
569
- "pages) ?"
570
-
571
- # @ wp-maintenance-mode
572
- #. translators: plugin header field 'Version'
573
- #: wp-maintenance-mode.php:0
574
- msgid "1.8.7"
575
- msgstr "1.8.7"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-04-15 23:03+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \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-Generator: Poedit 1.5.5\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_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"
17
+ "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ wp-maintenance-mode
22
+ #: site.php:27 site.php:65
23
+ msgid "Maintenance Mode"
24
+ msgstr "Mode de maintenance"
25
+
26
+ # @ wp-maintenance-mode
27
+ #: site.php:72
28
+ msgid "Access to the admin area blocked"
29
+ msgstr "Accès à la zone d'administration bloqué"
30
+
31
+ # @ wp-maintenance-mode
32
+ #: site.php:75
33
+ msgid "Admin-Logout"
34
+ msgstr "Admin-Logout"
35
+
36
+ # @ wp-maintenance-mode
37
+ #: site.php:80
38
+ msgid "Admin-Login"
39
+ msgstr "Admin-Login"
40
+
41
+ # @ default
42
+ #: inc/wp-maintenance-mode-settings.php:55
43
+ #: inc/wp-maintenance-mode-settings.php:65
44
+ msgid "Settings"
45
+ msgstr "Réglages"
46
+
47
+ # @ wp-maintenance-mode
48
+ #: wp-maintenance-mode.php:304
49
+ msgid "Maintenance mode"
50
+ msgstr "Mode de maintenance"
51
+
52
+ # @ wp-maintenance-mode
53
+ #: wp-maintenance-mode.php:305
54
+ #, php-format
55
+ msgid ""
56
+ "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
57
+ "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
58
+ "strong><br />Thank you for your understanding.</p>"
59
+ msgstr ""
60
+
61
+ # @ wp-maintenance-mode
62
+ #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
63
+ msgid "Updated"
64
+ msgstr "Mis à jour"
65
+
66
+ # @ wp-maintenance-mode
67
+ #: wp-maintenance-mode.php:607
68
+ msgid "seconds"
69
+ msgstr "secondes"
70
+
71
+ # @ wp-maintenance-mode
72
+ #: wp-maintenance-mode.php:611
73
+ msgid "minutes"
74
+ msgstr "minutes"
75
+
76
+ # @ wp-maintenance-mode
77
+ #: wp-maintenance-mode.php:615
78
+ msgid "hours"
79
+ msgstr "heures"
80
+
81
+ # @ wp-maintenance-mode
82
+ #: wp-maintenance-mode.php:619
83
+ msgid "days"
84
+ msgstr "jours"
85
+
86
+ # @ wp-maintenance-mode
87
+ #: wp-maintenance-mode.php:623
88
+ msgid "weeks"
89
+ msgstr "semaines"
90
+
91
+ # @ wp-maintenance-mode
92
+ #: wp-maintenance-mode.php:627
93
+ msgid "months"
94
+ msgstr "mois"
95
+
96
+ # @ wp-maintenance-mode
97
+ #: wp-maintenance-mode.php:631
98
+ msgid "years"
99
+ msgstr "années"
100
+
101
+ # @ wp-maintenance-mode
102
+ #: wp-maintenance-mode.php:693
103
+ msgid " &amp; WP Super Cache flushed."
104
+ msgstr " &amp; Cache de WP Super vidé."
105
+
106
+ # @ wp-maintenance-mode
107
+ #: wp-maintenance-mode.php:700
108
+ msgid " &amp; W3 Total Cache for pages flushed."
109
+ msgstr " &amp; Cache de W3 Total Cache vidé."
110
+
111
+ # @ wp-maintenance-mode
112
+ #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
113
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
114
+ msgstr "Attention : Le mode de maintenance est <strong>actif</strong> !"
115
+
116
+ # @ wp-maintenance-mode
117
+ #: wp-maintenance-mode.php:707
118
+ msgid "Deactivate or change Settings"
119
+ msgstr "Désactiver ou modifier les réglages"
120
+
121
+ # @ wp-maintenance-mode
122
+ #: wp-maintenance-mode.php:815
123
+ msgid "Plugin by:"
124
+ msgstr "Extension par :"
125
+
126
+ # @ wp-maintenance-mode
127
+ #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
128
+ #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
129
+ #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
130
+ #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
131
+ #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
132
+ #: wp-maintenance-mode.php:837
133
+ msgid "Design by:"
134
+ msgstr "Design par :"
135
+
136
+ # @ wp-maintenance-mode
137
+ #: inc/wp-maintenance-mode-settings.php:100
138
+ #: inc/wp-maintenance-mode-settings.php:429
139
+ #, php-format
140
+ msgid "Plugin %s settings <strong>updated</strong>."
141
+ msgstr "Les réglages de l'extension %s <strong>a été mis à jour</strong>."
142
+
143
+ # @ wp-maintenance-mode
144
+ #: inc/wp-maintenance-mode-settings.php:103
145
+ #: inc/wp-maintenance-mode-settings.php:116
146
+ #, php-format
147
+ msgid "Plugin %s active status <strong>updated</strong>."
148
+ msgstr "L'extension %s a changé <strong>d'état</strong>."
149
+
150
+ # @ wp-maintenance-mode
151
+ #: inc/wp-maintenance-mode-settings.php:106
152
+ msgid "Plugin Activate"
153
+ msgstr "Activation de l'extension"
154
+
155
+ # @ wp-maintenance-mode
156
+ #: inc/wp-maintenance-mode-settings.php:110
157
+ #: inc/wp-maintenance-mode-settings.php:129
158
+ #: inc/wp-maintenance-mode-settings.php:173
159
+ #: inc/wp-maintenance-mode-settings.php:186
160
+ #: inc/wp-maintenance-mode-settings.php:261
161
+ #: inc/wp-maintenance-mode-settings.php:333
162
+ #: inc/wp-maintenance-mode-settings.php:419
163
+ msgid "False"
164
+ msgstr "Non"
165
+
166
+ # @ wp-maintenance-mode
167
+ #: inc/wp-maintenance-mode-settings.php:111
168
+ #: inc/wp-maintenance-mode-settings.php:130
169
+ #: inc/wp-maintenance-mode-settings.php:174
170
+ #: inc/wp-maintenance-mode-settings.php:187
171
+ #: inc/wp-maintenance-mode-settings.php:262
172
+ #: inc/wp-maintenance-mode-settings.php:334
173
+ #: inc/wp-maintenance-mode-settings.php:420
174
+ msgid "True"
175
+ msgstr "Oui"
176
+
177
+ # @ wp-maintenance-mode
178
+ #: inc/wp-maintenance-mode-settings.php:113
179
+ msgid "Update"
180
+ msgstr "Mettre à jour"
181
+
182
+ # @ wp-maintenance-mode
183
+ #: inc/wp-maintenance-mode-settings.php:119
184
+ msgid "Plugin Settings"
185
+ msgstr "Réglages de l'extension"
186
+
187
+ # @ wp-maintenance-mode
188
+ #: inc/wp-maintenance-mode-settings.php:125
189
+ msgid "Countdown:"
190
+ msgstr "Compte à rebours"
191
+
192
+ # @ wp-maintenance-mode
193
+ #: inc/wp-maintenance-mode-settings.php:136
194
+ #: inc/wp-maintenance-mode-settings.php:139
195
+ msgid "Click for datepicker"
196
+ msgstr "Cliquez pour afficher le calendrier"
197
+
198
+ # @ wp-maintenance-mode
199
+ #: inc/wp-maintenance-mode-settings.php:136
200
+ msgid "Date:"
201
+ msgstr "Date :"
202
+
203
+ # @ wp-maintenance-mode
204
+ #: inc/wp-maintenance-mode-settings.php:140
205
+ msgid ""
206
+ "Activate countdown for using this. Use value and unit or use the countdown "
207
+ "and set the date."
208
+ msgstr ""
209
+ "Activez le compte à rebours pour utiliser ce champ. Renseignez la date et "
210
+ "l'heure d'échéance. Sinon saisissez une durée et une unité de temps."
211
+
212
+ # @ wp-maintenance-mode
213
+ #: inc/wp-maintenance-mode-settings.php:145
214
+ msgid "Value:"
215
+ msgstr "Durée :"
216
+
217
+ # @ wp-maintenance-mode
218
+ #: inc/wp-maintenance-mode-settings.php:153
219
+ msgid "Unit:"
220
+ msgstr "Unité :"
221
+
222
+ # @ wp-maintenance-mode
223
+ #: inc/wp-maintenance-mode-settings.php:157
224
+ msgid "second"
225
+ msgstr "seconde"
226
+
227
+ # @ wp-maintenance-mode
228
+ #: inc/wp-maintenance-mode-settings.php:158
229
+ msgid "minute"
230
+ msgstr "minute"
231
+
232
+ # @ wp-maintenance-mode
233
+ #: inc/wp-maintenance-mode-settings.php:159
234
+ msgid "hour"
235
+ msgstr "heure"
236
+
237
+ # @ wp-maintenance-mode
238
+ #: inc/wp-maintenance-mode-settings.php:160
239
+ msgid "day"
240
+ msgstr "jour"
241
+
242
+ # @ wp-maintenance-mode
243
+ #: inc/wp-maintenance-mode-settings.php:161
244
+ msgid "week"
245
+ msgstr "semaine"
246
+
247
+ # @ wp-maintenance-mode
248
+ #: inc/wp-maintenance-mode-settings.php:162
249
+ msgid "month"
250
+ msgstr "mois"
251
+
252
+ # @ wp-maintenance-mode
253
+ #: inc/wp-maintenance-mode-settings.php:163
254
+ msgid "year"
255
+ msgstr "année"
256
+
257
+ # @ wp-maintenance-mode
258
+ #: inc/wp-maintenance-mode-settings.php:169
259
+ msgid "Link:"
260
+ msgstr "Lien :"
261
+
262
+ # @ wp-maintenance-mode
263
+ #: inc/wp-maintenance-mode-settings.php:177
264
+ msgid ""
265
+ "Please leave a link to the plugin- and design-author on your maintenance "
266
+ "mode site."
267
+ msgstr ""
268
+ "Merci de laisser un lien vers le site de l'auteur pendant la maintenance de "
269
+ "votre site."
270
+
271
+ # @ wp-maintenance-mode
272
+ #: inc/wp-maintenance-mode-settings.php:182
273
+ msgid "Admin Link:"
274
+ msgstr "Lien vers l'admin :"
275
+
276
+ # @ wp-maintenance-mode
277
+ #: inc/wp-maintenance-mode-settings.php:190
278
+ msgid "Do you will a link to the admin area of your install?"
279
+ msgstr "Souhaitez-vous un lien vers la zone d'administration de votre site ?"
280
+
281
+ # @ wp-maintenance-mode
282
+ #: inc/wp-maintenance-mode-settings.php:200
283
+ msgid "Simple Text"
284
+ msgstr "Texte simple"
285
+
286
+ # @ wp-maintenance-mode
287
+ #: inc/wp-maintenance-mode-settings.php:201
288
+ msgid "The Truck"
289
+ msgstr "Le camion"
290
+
291
+ # @ wp-maintenance-mode
292
+ #: inc/wp-maintenance-mode-settings.php:202
293
+ msgid "The Sun"
294
+ msgstr "Le soleil"
295
+
296
+ # @ wp-maintenance-mode
297
+ #: inc/wp-maintenance-mode-settings.php:203
298
+ msgid "The FF Error"
299
+ msgstr "Erreur FF"
300
+
301
+ # @ wp-maintenance-mode
302
+ #: inc/wp-maintenance-mode-settings.php:204
303
+ msgid "Monster"
304
+ msgstr "Monstre"
305
+
306
+ # @ wp-maintenance-mode
307
+ #: inc/wp-maintenance-mode-settings.php:205
308
+ msgid "Chastely"
309
+ msgstr "Chastement"
310
+
311
+ # @ wp-maintenance-mode
312
+ #: inc/wp-maintenance-mode-settings.php:206
313
+ msgid "Only Typo"
314
+ msgstr "Typo uniquement"
315
+
316
+ # @ wp-maintenance-mode
317
+ #: inc/wp-maintenance-mode-settings.php:207
318
+ msgid "Paint"
319
+ msgstr "Peinture"
320
+
321
+ # @ wp-maintenance-mode
322
+ #: inc/wp-maintenance-mode-settings.php:208
323
+ msgid "Animate (Flash)"
324
+ msgstr "Animation (Flash)"
325
+
326
+ # @ wp-maintenance-mode
327
+ #: inc/wp-maintenance-mode-settings.php:209
328
+ msgid "Damask"
329
+ msgstr "Damas"
330
+
331
+ # @ wp-maintenance-mode
332
+ #: inc/wp-maintenance-mode-settings.php:210
333
+ msgid "Lego"
334
+ msgstr "Lego"
335
+
336
+ # @ wp-maintenance-mode
337
+ #: inc/wp-maintenance-mode-settings.php:211
338
+ msgid "Chemistry"
339
+ msgstr "Chimie"
340
+
341
+ # @ wp-maintenance-mode
342
+ #: inc/wp-maintenance-mode-settings.php:220
343
+ msgid "URL to the css-file (incl. http://)"
344
+ msgstr "URL du fichier CSS (avec http://)"
345
+
346
+ # @ wp-maintenance-mode
347
+ #: inc/wp-maintenance-mode-settings.php:222
348
+ msgid ""
349
+ "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
350
+ "plugin folder, it will be deleted on the next automatical update of the "
351
+ "plugin!"
352
+ msgstr ""
353
+ "<strong>Attention :</strong> Veillez à ne pas copier votre fichier css dans "
354
+ "le dossier de l'extension, il sera supprimé lors de la prochaine mise à jour "
355
+ "de l'extension !"
356
+
357
+ # @ wp-maintenance-mode
358
+ #: inc/wp-maintenance-mode-settings.php:227
359
+ #: inc/wp-maintenance-mode-settings.php:250
360
+ msgid "Preview"
361
+ msgstr "Prévisualisation"
362
+
363
+ # @ wp-maintenance-mode
364
+ #: inc/wp-maintenance-mode-settings.php:257
365
+ msgid "noindex, nofollow:"
366
+ msgstr "noindex, nofollow :"
367
+
368
+ # @ wp-maintenance-mode
369
+ #: inc/wp-maintenance-mode-settings.php:265
370
+ msgid ""
371
+ "The robots meta tag lets you utilize a granular, page-specific approach to "
372
+ "controlling how an individual page should be indexed and served to users in "
373
+ "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
374
+ msgstr ""
375
+ "La meta tag robot vous permet d'avoir une approche granulaire, spécifique à "
376
+ "chaque page pour contrôler si celle-ci doit être indexée et affichée dans "
377
+ "les résultats des moteurs de recherche. Utilisez OUI pour noindex, nofollow "
378
+ "et NON pour index, follow."
379
+
380
+ # @ wp-maintenance-mode
381
+ #: inc/wp-maintenance-mode-settings.php:270
382
+ msgid "Title:"
383
+ msgstr "Balise title :"
384
+
385
+ # @ wp-maintenance-mode
386
+ #: inc/wp-maintenance-mode-settings.php:273
387
+ #: inc/wp-maintenance-mode-settings.php:281
388
+ #: inc/wp-maintenance-mode-settings.php:289
389
+ msgid "Leave empty for default."
390
+ msgstr "Laissez vide par défaut."
391
+
392
+ # @ wp-maintenance-mode
393
+ #: inc/wp-maintenance-mode-settings.php:278
394
+ msgid "Header:"
395
+ msgstr "Entête :"
396
+
397
+ # @ wp-maintenance-mode
398
+ #: inc/wp-maintenance-mode-settings.php:286
399
+ msgid "Heading:"
400
+ msgstr "Titre :"
401
+
402
+ # @ wp-maintenance-mode
403
+ #: inc/wp-maintenance-mode-settings.php:294
404
+ msgid "Text:"
405
+ msgstr "Texte :"
406
+
407
+ # @ wp-maintenance-mode
408
+ #: inc/wp-maintenance-mode-settings.php:307
409
+ msgid "Exclude:"
410
+ msgstr "Exclure :"
411
+
412
+ # @ wp-maintenance-mode
413
+ #: inc/wp-maintenance-mode-settings.php:323
414
+ msgid ""
415
+ "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
416
+ "the Slug of page or post as a comma-separated list.<br />Example:"
417
+ msgstr ""
418
+ "Exclure les flux RSS, les pages, les articles, les catégories ou des IPs du "
419
+ "mode de maintenance. Ajoutez le slug de la page ou de l'article séparé d'une "
420
+ "virgule.<br /> Exemple :"
421
+
422
+ # @ wp-maintenance-mode
423
+ #: inc/wp-maintenance-mode-settings.php:342
424
+ msgid "Backend Role:"
425
+ msgstr "Rôle de la zone d'administration:"
426
+
427
+ # @ wp-maintenance-mode
428
+ #: inc/wp-maintenance-mode-settings.php:367
429
+ msgid "Allowed userrole to access the backend of this blog."
430
+ msgstr "Rôle autorisé à accéder à l'administration du blog."
431
+
432
+ # @ wp-maintenance-mode
433
+ #: inc/wp-maintenance-mode-settings.php:368
434
+ #: inc/wp-maintenance-mode-settings.php:399
435
+ msgid "Super Admin has always access."
436
+ msgstr "Le Super Admin a toujours accès."
437
+
438
+ # @ wp-maintenance-mode
439
+ #: inc/wp-maintenance-mode-settings.php:373
440
+ msgid "Frontend Role:"
441
+ msgstr "Rôle de la partie publique :"
442
+
443
+ # @ wp-maintenance-mode
444
+ #: inc/wp-maintenance-mode-settings.php:398
445
+ msgid "Allowed userrole to see the frontend of this blog."
446
+ msgstr "Rôle autorisé à accéder à la partie publique du blog."
447
+
448
+ # @ wp-maintenance-mode
449
+ #: inc/wp-maintenance-mode-settings.php:404
450
+ msgid "Redirection:"
451
+ msgstr "Redirection :"
452
+
453
+ # @ wp-maintenance-mode
454
+ #: inc/wp-maintenance-mode-settings.php:409
455
+ msgid ""
456
+ "If you want that after the login the destination address is not standard to "
457
+ "the dashboard, then defining a URL. (incl. http://)"
458
+ msgstr ""
459
+ "Si vous souhaitez être redirigé vers une adresse spécifique lors de la "
460
+ "connexion à la zone d'administration, définissez l'url ici (avec http://)"
461
+
462
+ # @ wp-maintenance-mode
463
+ #: inc/wp-maintenance-mode-settings.php:432
464
+ msgid "Save"
465
+ msgstr "Enregistrer"
466
+
467
+ # @ wp-maintenance-mode
468
+ #: inc/wp-maintenance-mode-settings.php:300
469
+ #, php-format
470
+ msgid ""
471
+ "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
472
+ "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
473
+ "are possible."
474
+ msgstr ""
475
+ "Utilisez le premier <em>%1$s</em> pour la durée ou le temps en seconde du "
476
+ "compte à rebours et le second <em>%2$s</em> pour les unités de temps; Code "
477
+ "HTML et Shortcodes sont utilisables."
478
+
479
+ # @ wp-maintenance-mode
480
+ #: inc/wp-maintenance-mode-settings.php:301
481
+ msgid ""
482
+ "Use <code>[loginform]</code> for add the default login form in the "
483
+ "maintenance page."
484
+ msgstr ""
485
+ "Utilisez le shortcode <code>[loginform]</code> pour ajouter le formulaire de "
486
+ "login par défaut sur la page de maintenance."
487
+
488
+ # @ wp-maintenance-mode
489
+ #: inc/wp-maintenance-mode-settings.php:415
490
+ msgid "Notice:"
491
+ msgstr "Remarque :"
492
+
493
+ # @ wp-maintenance-mode
494
+ #: inc/wp-maintenance-mode-settings.php:422
495
+ msgid ""
496
+ "Do you will see all notices, inside backend, the Admin Bar and the login "
497
+ "screen?"
498
+ msgstr ""
499
+ "Voulez-vous voir toutes les alertes dans la zone d'administration ainsi que "
500
+ "la barre d'admin et l'ecran de connexion ?"
501
+
502
+ # @ default
503
+ #: index.php:25
504
+ msgid "Cheatin&#8217; uh?"
505
+ msgstr ""
506
+
507
+ # @ wp-maintenance-mode
508
+ #. translators: plugin header field 'Name'
509
+ #: wp-maintenance-mode.php:0
510
+ msgid "WP Maintenance Mode"
511
+ msgstr "WP Maintenance Mode"
512
+
513
+ # @ wp-maintenance-mode
514
+ #. translators: plugin header field 'PluginURI'
515
+ #: wp-maintenance-mode.php:0
516
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
517
+ msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
518
+
519
+ # @ wp-maintenance-mode
520
+ #. translators: plugin header field 'Description'
521
+ #: wp-maintenance-mode.php:0
522
+ msgid ""
523
+ "The plugin adds a splash page to your blog that lets visitors know your blog "
524
+ "is down for maintenance. Logged in users get full access to the blog "
525
+ "including the front-end, depends of the settings."
526
+ msgstr ""
527
+ "Le plugin ajoute une page de garde à votre blog qui permet aux visiteurs de "
528
+ "voir si votre blog est en maintenance. Les utilisateurs connectés ont un "
529
+ "accès complet au blog, la partie publique du site y compris, en fonction des "
530
+ "réglages."
531
+
532
+ # @ wp-maintenance-mode
533
+ #. translators: plugin header field 'Author'
534
+ #: wp-maintenance-mode.php:0
535
+ msgid "Frank B&uuml;ltge"
536
+ msgstr "Frank B&uuml;ltge"
537
+
538
+ # @ wp-maintenance-mode
539
+ #. translators: plugin header field 'AuthorURI'
540
+ #: wp-maintenance-mode.php:0
541
+ msgid "http://bueltge.de/"
542
+ msgstr "http://bueltge.de/"
543
+
544
+ # @ wp-maintenance-mode
545
+ #: inc/wp-maintenance-mode-settings.php:195
546
+ msgid "CSS Style:"
547
+ msgstr "Style CSS :"
548
+
549
+ # @ wp-maintenance-mode
550
+ #: inc/wp-maintenance-mode-settings.php:199
551
+ msgid "Own CSS Stylesheet"
552
+ msgstr "Fichier CSS personnalisé"
553
+
554
+ # @ wp-maintenance-mode
555
+ #: inc/wp-maintenance-mode-settings.php:217
556
+ msgid "Own CSS Style URL:"
557
+ msgstr "URL de votre fichier CSS personnalisé :"
558
+
559
+ # @ wp-maintenance-mode
560
+ #: inc/wp-maintenance-mode-settings.php:329
561
+ msgid "Bypass for Search Bots:"
562
+ msgstr "By-pass des robots des moteurs de recherche :"
563
+
564
+ # @ wp-maintenance-mode
565
+ #: inc/wp-maintenance-mode-settings.php:336
566
+ msgid "Allow Search Bots to bypass maintenance mode?"
567
+ msgstr ""
568
+ "Permettre aux robots de passer outre le mode de maintenance (indexer les "
569
+ "pages) ?"
570
+
571
+ # @ wp-maintenance-mode
572
+ #. translators: plugin header field 'Version'
573
+ #: wp-maintenance-mode.php:0
574
+ msgid "1.8.7"
575
+ msgstr "1.8.7"
languages/wp-maintenance-mode-ja.po CHANGED
@@ -1,573 +1,573 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-04-13 15:48+0900\n"
7
- "Last-Translator: YAT <yat@yat-net.com>\n"
8
- "Language-Team: \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-Generator: Poedit 1.5.5\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_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"
17
- "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
18
- "X-Textdomain-Support: yes\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ wp-maintenance-mode
22
- #: site.php:27 site.php:65
23
- msgid "Maintenance Mode"
24
- msgstr "メンテナンスモード"
25
-
26
- # @ wp-maintenance-mode
27
- #: site.php:72
28
- msgid "Access to the admin area blocked"
29
- msgstr "管理機能へのアクセスはブロックされています"
30
-
31
- # @ wp-maintenance-mode
32
- #: site.php:75
33
- msgid "Admin-Logout"
34
- msgstr "管理者ログアウト"
35
-
36
- # @ wp-maintenance-mode
37
- #: site.php:80
38
- msgid "Admin-Login"
39
- msgstr "管理者ログイン"
40
-
41
- # @ default
42
- #: inc/wp-maintenance-mode-settings.php:55
43
- #: inc/wp-maintenance-mode-settings.php:65
44
- msgid "Settings"
45
- msgstr "設定"
46
-
47
- # @ wp-maintenance-mode
48
- #: wp-maintenance-mode.php:304
49
- msgid "Maintenance mode"
50
- msgstr "メンテナンスモード"
51
-
52
- # @ wp-maintenance-mode
53
- #: wp-maintenance-mode.php:305
54
- #, php-format
55
- msgid ""
56
- "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
57
- "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
58
- "strong><br />Thank you for your understanding.</p>"
59
- msgstr ""
60
- "<p>ご不便をおかけしており大変恐縮です。<br />現在メンテナンス中です。<br />お"
61
- "手数をおかけしますが、<strong> %1$s %2$s </strong>頃に再度ご訪問いただきます"
62
- "ようお願いいたします。</p>"
63
-
64
- # @ wp-maintenance-mode
65
- #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
66
- msgid "Updated"
67
- msgstr "更新しました。"
68
-
69
- # @ wp-maintenance-mode
70
- #: wp-maintenance-mode.php:607
71
- msgid "seconds"
72
- msgstr "秒"
73
-
74
- # @ wp-maintenance-mode
75
- #: wp-maintenance-mode.php:611
76
- msgid "minutes"
77
- msgstr "分"
78
-
79
- # @ wp-maintenance-mode
80
- #: wp-maintenance-mode.php:615
81
- msgid "hours"
82
- msgstr "時"
83
-
84
- # @ wp-maintenance-mode
85
- #: wp-maintenance-mode.php:619
86
- msgid "days"
87
- msgstr "日"
88
-
89
- # @ wp-maintenance-mode
90
- #: wp-maintenance-mode.php:623
91
- msgid "weeks"
92
- msgstr "週"
93
-
94
- # @ wp-maintenance-mode
95
- #: wp-maintenance-mode.php:627
96
- msgid "months"
97
- msgstr "月"
98
-
99
- # @ wp-maintenance-mode
100
- #: wp-maintenance-mode.php:631
101
- msgid "years"
102
- msgstr "年"
103
-
104
- # @ wp-maintenance-mode
105
- #: wp-maintenance-mode.php:693
106
- msgid " &amp; WP Super Cache flushed."
107
- msgstr " & WP Super Cache のフラッシュを行ないました。"
108
-
109
- # @ wp-maintenance-mode
110
- #: wp-maintenance-mode.php:700
111
- msgid " &amp; W3 Total Cache for pages flushed."
112
- msgstr " & W3 Total Cache のフラッシュを行ないました。"
113
-
114
- # @ wp-maintenance-mode
115
- #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
116
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
117
- msgstr "注意: メンテナンスモードは<strong>有効</strong>です!"
118
-
119
- # @ wp-maintenance-mode
120
- #: wp-maintenance-mode.php:707
121
- msgid "Deactivate or change Settings"
122
- msgstr "無効化または設定変更"
123
-
124
- # @ wp-maintenance-mode
125
- #: wp-maintenance-mode.php:815
126
- msgid "Plugin by:"
127
- msgstr "プラグイン作成:"
128
-
129
- # @ wp-maintenance-mode
130
- #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
131
- #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
132
- #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
133
- #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
134
- #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
135
- #: wp-maintenance-mode.php:837
136
- msgid "Design by:"
137
- msgstr "デザイン:"
138
-
139
- # @ wp-maintenance-mode
140
- #: inc/wp-maintenance-mode-settings.php:100
141
- #: inc/wp-maintenance-mode-settings.php:429
142
- #, php-format
143
- msgid "Plugin %s settings <strong>updated</strong>."
144
- msgstr "プラグイン %s の設定が <strong>変更されました</strong>。"
145
-
146
- # @ wp-maintenance-mode
147
- #: inc/wp-maintenance-mode-settings.php:103
148
- #: inc/wp-maintenance-mode-settings.php:116
149
- #, php-format
150
- msgid "Plugin %s active status <strong>updated</strong>."
151
- msgstr "プラグイン%sの有効状態が <strong>更新されました</strong>。"
152
-
153
- # @ wp-maintenance-mode
154
- #: inc/wp-maintenance-mode-settings.php:106
155
- msgid "Plugin Activate"
156
- msgstr "プラグイン有効化"
157
-
158
- # @ wp-maintenance-mode
159
- #: inc/wp-maintenance-mode-settings.php:110
160
- #: inc/wp-maintenance-mode-settings.php:129
161
- #: inc/wp-maintenance-mode-settings.php:173
162
- #: inc/wp-maintenance-mode-settings.php:186
163
- #: inc/wp-maintenance-mode-settings.php:261
164
- #: inc/wp-maintenance-mode-settings.php:333
165
- #: inc/wp-maintenance-mode-settings.php:419
166
- msgid "False"
167
- msgstr "いいえ"
168
-
169
- # @ wp-maintenance-mode
170
- #: inc/wp-maintenance-mode-settings.php:111
171
- #: inc/wp-maintenance-mode-settings.php:130
172
- #: inc/wp-maintenance-mode-settings.php:174
173
- #: inc/wp-maintenance-mode-settings.php:187
174
- #: inc/wp-maintenance-mode-settings.php:262
175
- #: inc/wp-maintenance-mode-settings.php:334
176
- #: inc/wp-maintenance-mode-settings.php:420
177
- msgid "True"
178
- msgstr "はい"
179
-
180
- # @ wp-maintenance-mode
181
- #: inc/wp-maintenance-mode-settings.php:113
182
- msgid "Update"
183
- msgstr "更新"
184
-
185
- # @ wp-maintenance-mode
186
- #: inc/wp-maintenance-mode-settings.php:119
187
- msgid "Plugin Settings"
188
- msgstr "プラグイン設定"
189
-
190
- # @ wp-maintenance-mode
191
- #: inc/wp-maintenance-mode-settings.php:125
192
- msgid "Countdown:"
193
- msgstr "カウントダウン:"
194
-
195
- # @ wp-maintenance-mode
196
- #: inc/wp-maintenance-mode-settings.php:136
197
- #: inc/wp-maintenance-mode-settings.php:139
198
- msgid "Click for datepicker"
199
- msgstr "日付を選択"
200
-
201
- # @ wp-maintenance-mode
202
- #: inc/wp-maintenance-mode-settings.php:136
203
- msgid "Date:"
204
- msgstr "日付:"
205
-
206
- # @ wp-maintenance-mode
207
- #: inc/wp-maintenance-mode-settings.php:140
208
- msgid ""
209
- "Activate countdown for using this. Use value and unit or use the countdown "
210
- "and set the date."
211
- msgstr ""
212
- "これを使うには「カウントダウン」を有効にして下さい。値と時間単位を使うか、カ"
213
- "ウントダウンを使って日数を設定して下さい"
214
-
215
- # @ wp-maintenance-mode
216
- #: inc/wp-maintenance-mode-settings.php:145
217
- msgid "Value:"
218
- msgstr "値:"
219
-
220
- # @ wp-maintenance-mode
221
- #: inc/wp-maintenance-mode-settings.php:153
222
- msgid "Unit:"
223
- msgstr "時間単位:"
224
-
225
- # @ wp-maintenance-mode
226
- #: inc/wp-maintenance-mode-settings.php:157
227
- msgid "second"
228
- msgstr "秒"
229
-
230
- # @ wp-maintenance-mode
231
- #: inc/wp-maintenance-mode-settings.php:158
232
- msgid "minute"
233
- msgstr "分"
234
-
235
- # @ wp-maintenance-mode
236
- #: inc/wp-maintenance-mode-settings.php:159
237
- msgid "hour"
238
- msgstr "時"
239
-
240
- # @ wp-maintenance-mode
241
- #: inc/wp-maintenance-mode-settings.php:160
242
- msgid "day"
243
- msgstr "日"
244
-
245
- # @ wp-maintenance-mode
246
- #: inc/wp-maintenance-mode-settings.php:161
247
- msgid "week"
248
- msgstr "週"
249
-
250
- # @ wp-maintenance-mode
251
- #: inc/wp-maintenance-mode-settings.php:162
252
- msgid "month"
253
- msgstr "月"
254
-
255
- # @ wp-maintenance-mode
256
- #: inc/wp-maintenance-mode-settings.php:163
257
- msgid "year"
258
- msgstr "年"
259
-
260
- # @ wp-maintenance-mode
261
- #: inc/wp-maintenance-mode-settings.php:169
262
- msgid "Link:"
263
- msgstr "リンク:"
264
-
265
- # @ wp-maintenance-mode
266
- #: inc/wp-maintenance-mode-settings.php:177
267
- msgid ""
268
- "Please leave a link to the plugin- and design-author on your maintenance "
269
- "mode site."
270
- msgstr ""
271
- "プラグイン作者とデザイン担当へのリンクは残しておいてくださるとありがたいで"
272
- "す。"
273
-
274
- # @ wp-maintenance-mode
275
- #: inc/wp-maintenance-mode-settings.php:182
276
- msgid "Admin Link:"
277
- msgstr "管理者リンク"
278
-
279
- # @ wp-maintenance-mode
280
- #: inc/wp-maintenance-mode-settings.php:190
281
- msgid "Do you will a link to the admin area of your install?"
282
- msgstr "管理領域へのリンクを置きますか?"
283
-
284
- # @ wp-maintenance-mode
285
- #: inc/wp-maintenance-mode-settings.php:200
286
- msgid "Simple Text"
287
- msgstr "Simple Text"
288
-
289
- # @ wp-maintenance-mode
290
- #: inc/wp-maintenance-mode-settings.php:201
291
- msgid "The Truck"
292
- msgstr "Thr Truck"
293
-
294
- # @ wp-maintenance-mode
295
- #: inc/wp-maintenance-mode-settings.php:202
296
- msgid "The Sun"
297
- msgstr "The Sun"
298
-
299
- # @ wp-maintenance-mode
300
- #: inc/wp-maintenance-mode-settings.php:203
301
- msgid "The FF Error"
302
- msgstr "The FF Error(Firefox向けのエラーページ)"
303
-
304
- # @ wp-maintenance-mode
305
- #: inc/wp-maintenance-mode-settings.php:204
306
- msgid "Monster"
307
- msgstr "Monster"
308
-
309
- # @ wp-maintenance-mode
310
- #: inc/wp-maintenance-mode-settings.php:205
311
- msgid "Chastely"
312
- msgstr "Chastely"
313
-
314
- # @ wp-maintenance-mode
315
- #: inc/wp-maintenance-mode-settings.php:206
316
- msgid "Only Typo"
317
- msgstr "Only Typo"
318
-
319
- # @ wp-maintenance-mode
320
- #: inc/wp-maintenance-mode-settings.php:207
321
- msgid "Paint"
322
- msgstr "Paint"
323
-
324
- # @ wp-maintenance-mode
325
- #: inc/wp-maintenance-mode-settings.php:208
326
- msgid "Animate (Flash)"
327
- msgstr "Animate (Flash)"
328
-
329
- # @ wp-maintenance-mode
330
- #: inc/wp-maintenance-mode-settings.php:209
331
- msgid "Damask"
332
- msgstr "Damask"
333
-
334
- # @ wp-maintenance-mode
335
- #: inc/wp-maintenance-mode-settings.php:210
336
- msgid "Lego"
337
- msgstr "Lego"
338
-
339
- # @ wp-maintenance-mode
340
- #: inc/wp-maintenance-mode-settings.php:211
341
- msgid "Chemistry"
342
- msgstr "Chemistry"
343
-
344
- # @ wp-maintenance-mode
345
- #: inc/wp-maintenance-mode-settings.php:220
346
- msgid "URL to the css-file (incl. http://)"
347
- msgstr "CSSファイルへのリンク(http:// で始まること)"
348
-
349
- # @ wp-maintenance-mode
350
- #: inc/wp-maintenance-mode-settings.php:222
351
- msgid ""
352
- "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
353
- "plugin folder, it will be deleted on the next automatical update of the "
354
- "plugin!"
355
- msgstr ""
356
- "<strong>ご注意:</strong> スタイルシートをプラグインディレクトリの中にコピーし"
357
- "ないで下さい。次回の自動更新の時に削除されてしまいます!"
358
-
359
- # @ wp-maintenance-mode
360
- #: inc/wp-maintenance-mode-settings.php:227
361
- #: inc/wp-maintenance-mode-settings.php:250
362
- msgid "Preview"
363
- msgstr "プレビュー"
364
-
365
- # @ wp-maintenance-mode
366
- #: inc/wp-maintenance-mode-settings.php:257
367
- msgid "noindex, nofollow:"
368
- msgstr "noindex, nofollow:"
369
-
370
- # @ wp-maintenance-mode
371
- #: inc/wp-maintenance-mode-settings.php:265
372
- msgid ""
373
- "The robots meta tag lets you utilize a granular, page-specific approach to "
374
- "controlling how an individual page should be indexed and served to users in "
375
- "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
376
- msgstr ""
377
- "ロボットメタタグは、どのページがインデックスされ検索結果に載せられてユーザー"
378
- "に提供されるかを、きめ細かくページ単位で制御するやり方を可能にします。イン"
379
- "デックスもリンク追跡もしなければ「はい」を、インデックスもリンク追跡も許可す"
380
- "るなら「いいえ」を設定してください。"
381
-
382
- # @ wp-maintenance-mode
383
- #: inc/wp-maintenance-mode-settings.php:270
384
- msgid "Title:"
385
- msgstr "タイトル:"
386
-
387
- # @ wp-maintenance-mode
388
- #: inc/wp-maintenance-mode-settings.php:273
389
- #: inc/wp-maintenance-mode-settings.php:281
390
- #: inc/wp-maintenance-mode-settings.php:289
391
- msgid "Leave empty for default."
392
- msgstr "空にしておくとデフォルトの値が使われます。"
393
-
394
- # @ wp-maintenance-mode
395
- #: inc/wp-maintenance-mode-settings.php:278
396
- msgid "Header:"
397
- msgstr "ヘッダー:"
398
-
399
- # @ wp-maintenance-mode
400
- #: inc/wp-maintenance-mode-settings.php:286
401
- msgid "Heading:"
402
- msgstr "ヘッディング:"
403
-
404
- # @ wp-maintenance-mode
405
- #: inc/wp-maintenance-mode-settings.php:294
406
- msgid "Text:"
407
- msgstr "テキスト:"
408
-
409
- # @ wp-maintenance-mode
410
- #: inc/wp-maintenance-mode-settings.php:307
411
- msgid "Exclude:"
412
- msgstr "除外項目:"
413
-
414
- # @ wp-maintenance-mode
415
- #: inc/wp-maintenance-mode-settings.php:323
416
- msgid ""
417
- "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
418
- "the Slug of page or post as a comma-separated list.<br />Example:"
419
- msgstr ""
420
- "フィード、ページや投稿、または特定のIPアドレスからのアクセスをメンテナンスか"
421
- "ら除外できます。ページや投稿のスラッグをカンマで区切って入力してください。"
422
-
423
- # @ wp-maintenance-mode
424
- #: inc/wp-maintenance-mode-settings.php:342
425
- msgid "Backend Role:"
426
- msgstr "バックエンドロール:"
427
-
428
- # @ wp-maintenance-mode
429
- #: inc/wp-maintenance-mode-settings.php:367
430
- msgid "Allowed userrole to access the backend of this blog."
431
- msgstr "このブログのバックエンドに対するアクセスを持ったユーザー権限"
432
-
433
- # @ wp-maintenance-mode
434
- #: inc/wp-maintenance-mode-settings.php:368
435
- #: inc/wp-maintenance-mode-settings.php:399
436
- msgid "Super Admin has always access."
437
- msgstr "特権管理者は常にアクセスできます。"
438
-
439
- # @ wp-maintenance-mode
440
- #: inc/wp-maintenance-mode-settings.php:373
441
- msgid "Frontend Role:"
442
- msgstr "フロントエンドロール:"
443
-
444
- # @ wp-maintenance-mode
445
- #: inc/wp-maintenance-mode-settings.php:398
446
- msgid "Allowed userrole to see the frontend of this blog."
447
- msgstr "このブログのフロントエンドにアクセスできるユーザーロール"
448
-
449
- # @ wp-maintenance-mode
450
- #: inc/wp-maintenance-mode-settings.php:404
451
- msgid "Redirection:"
452
- msgstr "リダイレクト:"
453
-
454
- # @ wp-maintenance-mode
455
- #: inc/wp-maintenance-mode-settings.php:409
456
- msgid ""
457
- "If you want that after the login the destination address is not standard to "
458
- "the dashboard, then defining a URL. (incl. http://)"
459
- msgstr ""
460
- "フロントエンドでユーザーがログインした場合、ログイン後別のアドレスにリダイレ"
461
- "クトさせたい場合は、そのURLを定義してください。(http://を含めてください)"
462
-
463
- # @ wp-maintenance-mode
464
- #: inc/wp-maintenance-mode-settings.php:432
465
- msgid "Save"
466
- msgstr "保存"
467
-
468
- # @ wp-maintenance-mode
469
- #: inc/wp-maintenance-mode-settings.php:300
470
- #, php-format
471
- msgid ""
472
- "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
473
- "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
474
- "are possible."
475
- msgstr ""
476
- "最初の %1$s はカウントダウンの時間値、二番目の %2$s はカウントダウン値に対す"
477
- "る単位です。HTMLの記法やショートコードも記述可能です。"
478
-
479
- # @ wp-maintenance-mode
480
- #: inc/wp-maintenance-mode-settings.php:301
481
- msgid ""
482
- "Use <code>[loginform]</code> for add the default login form in the "
483
- "maintenance page."
484
- msgstr ""
485
- "メンテナンスページにログインフォームを追加するために <code>[loginform]</"
486
- "code> を使ってください。"
487
-
488
- # @ wp-maintenance-mode
489
- #: inc/wp-maintenance-mode-settings.php:415
490
- msgid "Notice:"
491
- msgstr "注意:"
492
-
493
- # @ wp-maintenance-mode
494
- #: inc/wp-maintenance-mode-settings.php:422
495
- msgid ""
496
- "Do you will see all notices, inside backend, the Admin Bar and the login "
497
- "screen?"
498
- msgstr ""
499
- "バックエンドの中や、管理バー、ログインスクリーンにすべてのお知らせを載せます"
500
- "か?"
501
-
502
- # @ default
503
- #: index.php:25
504
- msgid "Cheatin&#8217; uh?"
505
- msgstr "cheat in"
506
-
507
- # @ wp-maintenance-mode
508
- #. translators: plugin header field 'Name'
509
- #: wp-maintenance-mode.php:0
510
- msgid "WP Maintenance Mode"
511
- msgstr "WP Maintenance Mode"
512
-
513
- # @ wp-maintenance-mode
514
- #. translators: plugin header field 'PluginURI'
515
- #: wp-maintenance-mode.php:0
516
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
517
- msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
518
-
519
- # @ wp-maintenance-mode
520
- #. translators: plugin header field 'Description'
521
- #: wp-maintenance-mode.php:0
522
- msgid ""
523
- "The plugin adds a splash page to your blog that lets visitors know your blog "
524
- "is down for maintenance. Logged in users get full access to the blog "
525
- "including the front-end, depends of the settings."
526
- msgstr ""
527
- "このプラグインは訪問者にあなたのブログががメンテナンス中だと知らせるスプラッ"
528
- "シュページを追加します。設定内容によって、ログインしたユーザーはフロントエン"
529
- "ドを含むすべてのページへアクセスできます。"
530
-
531
- # @ wp-maintenance-mode
532
- #. translators: plugin header field 'Author'
533
- #: wp-maintenance-mode.php:0
534
- msgid "Frank B&uuml;ltge"
535
- msgstr "Frank B&uuml;ltge"
536
-
537
- # @ wp-maintenance-mode
538
- #. translators: plugin header field 'AuthorURI'
539
- #: wp-maintenance-mode.php:0
540
- msgid "http://bueltge.de/"
541
- msgstr "http://bueltge.de/"
542
-
543
- # @ wp-maintenance-mode
544
- #: inc/wp-maintenance-mode-settings.php:195
545
- msgid "CSS Style:"
546
- msgstr "CSSスタイル:"
547
-
548
- # @ wp-maintenance-mode
549
- #: inc/wp-maintenance-mode-settings.php:199
550
- msgid "Own CSS Stylesheet"
551
- msgstr "独自CSSスタイルシート"
552
-
553
- # @ wp-maintenance-mode
554
- #: inc/wp-maintenance-mode-settings.php:217
555
- msgid "Own CSS Style URL:"
556
- msgstr "独自CSSスタイルのURL:"
557
-
558
- # @ wp-maintenance-mode
559
- #: inc/wp-maintenance-mode-settings.php:329
560
- msgid "Bypass for Search Bots:"
561
- msgstr "検索ボットのクローリングを許可:"
562
-
563
- # @ wp-maintenance-mode
564
- #: inc/wp-maintenance-mode-settings.php:336
565
- msgid "Allow Search Bots to bypass maintenance mode?"
566
- msgstr ""
567
- "検索ボットがメンテナンスモード中でもクローリングさせる事を可能にしますか?"
568
-
569
- # @ wp-maintenance-mode
570
- #. translators: plugin header field 'Version'
571
- #: wp-maintenance-mode.php:0
572
- msgid "1.8.7"
573
- msgstr "1.8.7"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-04-13 15:48+0900\n"
7
+ "Last-Translator: YAT <yat@yat-net.com>\n"
8
+ "Language-Team: \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-Generator: Poedit 1.5.5\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_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"
17
+ "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
18
+ "X-Textdomain-Support: yes\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ wp-maintenance-mode
22
+ #: site.php:27 site.php:65
23
+ msgid "Maintenance Mode"
24
+ msgstr "メンテナンスモード"
25
+
26
+ # @ wp-maintenance-mode
27
+ #: site.php:72
28
+ msgid "Access to the admin area blocked"
29
+ msgstr "管理機能へのアクセスはブロックされています"
30
+
31
+ # @ wp-maintenance-mode
32
+ #: site.php:75
33
+ msgid "Admin-Logout"
34
+ msgstr "管理者ログアウト"
35
+
36
+ # @ wp-maintenance-mode
37
+ #: site.php:80
38
+ msgid "Admin-Login"
39
+ msgstr "管理者ログイン"
40
+
41
+ # @ default
42
+ #: inc/wp-maintenance-mode-settings.php:55
43
+ #: inc/wp-maintenance-mode-settings.php:65
44
+ msgid "Settings"
45
+ msgstr "設定"
46
+
47
+ # @ wp-maintenance-mode
48
+ #: wp-maintenance-mode.php:304
49
+ msgid "Maintenance mode"
50
+ msgstr "メンテナンスモード"
51
+
52
+ # @ wp-maintenance-mode
53
+ #: wp-maintenance-mode.php:305
54
+ #, php-format
55
+ msgid ""
56
+ "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
57
+ "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
58
+ "strong><br />Thank you for your understanding.</p>"
59
+ msgstr ""
60
+ "<p>ご不便をおかけしており大変恐縮です。<br />現在メンテナンス中です。<br />お"
61
+ "手数をおかけしますが、<strong> %1$s %2$s </strong>頃に再度ご訪問いただきます"
62
+ "ようお願いいたします。</p>"
63
+
64
+ # @ wp-maintenance-mode
65
+ #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
66
+ msgid "Updated"
67
+ msgstr "更新しました。"
68
+
69
+ # @ wp-maintenance-mode
70
+ #: wp-maintenance-mode.php:607
71
+ msgid "seconds"
72
+ msgstr "秒"
73
+
74
+ # @ wp-maintenance-mode
75
+ #: wp-maintenance-mode.php:611
76
+ msgid "minutes"
77
+ msgstr "分"
78
+
79
+ # @ wp-maintenance-mode
80
+ #: wp-maintenance-mode.php:615
81
+ msgid "hours"
82
+ msgstr "時"
83
+
84
+ # @ wp-maintenance-mode
85
+ #: wp-maintenance-mode.php:619
86
+ msgid "days"
87
+ msgstr "日"
88
+
89
+ # @ wp-maintenance-mode
90
+ #: wp-maintenance-mode.php:623
91
+ msgid "weeks"
92
+ msgstr "週"
93
+
94
+ # @ wp-maintenance-mode
95
+ #: wp-maintenance-mode.php:627
96
+ msgid "months"
97
+ msgstr "月"
98
+
99
+ # @ wp-maintenance-mode
100
+ #: wp-maintenance-mode.php:631
101
+ msgid "years"
102
+ msgstr "年"
103
+
104
+ # @ wp-maintenance-mode
105
+ #: wp-maintenance-mode.php:693
106
+ msgid " &amp; WP Super Cache flushed."
107
+ msgstr " & WP Super Cache のフラッシュを行ないました。"
108
+
109
+ # @ wp-maintenance-mode
110
+ #: wp-maintenance-mode.php:700
111
+ msgid " &amp; W3 Total Cache for pages flushed."
112
+ msgstr " & W3 Total Cache のフラッシュを行ないました。"
113
+
114
+ # @ wp-maintenance-mode
115
+ #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
116
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
117
+ msgstr "注意: メンテナンスモードは<strong>有効</strong>です!"
118
+
119
+ # @ wp-maintenance-mode
120
+ #: wp-maintenance-mode.php:707
121
+ msgid "Deactivate or change Settings"
122
+ msgstr "無効化または設定変更"
123
+
124
+ # @ wp-maintenance-mode
125
+ #: wp-maintenance-mode.php:815
126
+ msgid "Plugin by:"
127
+ msgstr "プラグイン作成:"
128
+
129
+ # @ wp-maintenance-mode
130
+ #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
131
+ #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
132
+ #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
133
+ #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
134
+ #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
135
+ #: wp-maintenance-mode.php:837
136
+ msgid "Design by:"
137
+ msgstr "デザイン:"
138
+
139
+ # @ wp-maintenance-mode
140
+ #: inc/wp-maintenance-mode-settings.php:100
141
+ #: inc/wp-maintenance-mode-settings.php:429
142
+ #, php-format
143
+ msgid "Plugin %s settings <strong>updated</strong>."
144
+ msgstr "プラグイン %s の設定が <strong>変更されました</strong>。"
145
+
146
+ # @ wp-maintenance-mode
147
+ #: inc/wp-maintenance-mode-settings.php:103
148
+ #: inc/wp-maintenance-mode-settings.php:116
149
+ #, php-format
150
+ msgid "Plugin %s active status <strong>updated</strong>."
151
+ msgstr "プラグイン%sの有効状態が <strong>更新されました</strong>。"
152
+
153
+ # @ wp-maintenance-mode
154
+ #: inc/wp-maintenance-mode-settings.php:106
155
+ msgid "Plugin Activate"
156
+ msgstr "プラグイン有効化"
157
+
158
+ # @ wp-maintenance-mode
159
+ #: inc/wp-maintenance-mode-settings.php:110
160
+ #: inc/wp-maintenance-mode-settings.php:129
161
+ #: inc/wp-maintenance-mode-settings.php:173
162
+ #: inc/wp-maintenance-mode-settings.php:186
163
+ #: inc/wp-maintenance-mode-settings.php:261
164
+ #: inc/wp-maintenance-mode-settings.php:333
165
+ #: inc/wp-maintenance-mode-settings.php:419
166
+ msgid "False"
167
+ msgstr "いいえ"
168
+
169
+ # @ wp-maintenance-mode
170
+ #: inc/wp-maintenance-mode-settings.php:111
171
+ #: inc/wp-maintenance-mode-settings.php:130
172
+ #: inc/wp-maintenance-mode-settings.php:174
173
+ #: inc/wp-maintenance-mode-settings.php:187
174
+ #: inc/wp-maintenance-mode-settings.php:262
175
+ #: inc/wp-maintenance-mode-settings.php:334
176
+ #: inc/wp-maintenance-mode-settings.php:420
177
+ msgid "True"
178
+ msgstr "はい"
179
+
180
+ # @ wp-maintenance-mode
181
+ #: inc/wp-maintenance-mode-settings.php:113
182
+ msgid "Update"
183
+ msgstr "更新"
184
+
185
+ # @ wp-maintenance-mode
186
+ #: inc/wp-maintenance-mode-settings.php:119
187
+ msgid "Plugin Settings"
188
+ msgstr "プラグイン設定"
189
+
190
+ # @ wp-maintenance-mode
191
+ #: inc/wp-maintenance-mode-settings.php:125
192
+ msgid "Countdown:"
193
+ msgstr "カウントダウン:"
194
+
195
+ # @ wp-maintenance-mode
196
+ #: inc/wp-maintenance-mode-settings.php:136
197
+ #: inc/wp-maintenance-mode-settings.php:139
198
+ msgid "Click for datepicker"
199
+ msgstr "日付を選択"
200
+
201
+ # @ wp-maintenance-mode
202
+ #: inc/wp-maintenance-mode-settings.php:136
203
+ msgid "Date:"
204
+ msgstr "日付:"
205
+
206
+ # @ wp-maintenance-mode
207
+ #: inc/wp-maintenance-mode-settings.php:140
208
+ msgid ""
209
+ "Activate countdown for using this. Use value and unit or use the countdown "
210
+ "and set the date."
211
+ msgstr ""
212
+ "これを使うには「カウントダウン」を有効にして下さい。値と時間単位を使うか、カ"
213
+ "ウントダウンを使って日数を設定して下さい"
214
+
215
+ # @ wp-maintenance-mode
216
+ #: inc/wp-maintenance-mode-settings.php:145
217
+ msgid "Value:"
218
+ msgstr "値:"
219
+
220
+ # @ wp-maintenance-mode
221
+ #: inc/wp-maintenance-mode-settings.php:153
222
+ msgid "Unit:"
223
+ msgstr "時間単位:"
224
+
225
+ # @ wp-maintenance-mode
226
+ #: inc/wp-maintenance-mode-settings.php:157
227
+ msgid "second"
228
+ msgstr "秒"
229
+
230
+ # @ wp-maintenance-mode
231
+ #: inc/wp-maintenance-mode-settings.php:158
232
+ msgid "minute"
233
+ msgstr "分"
234
+
235
+ # @ wp-maintenance-mode
236
+ #: inc/wp-maintenance-mode-settings.php:159
237
+ msgid "hour"
238
+ msgstr "時"
239
+
240
+ # @ wp-maintenance-mode
241
+ #: inc/wp-maintenance-mode-settings.php:160
242
+ msgid "day"
243
+ msgstr "日"
244
+
245
+ # @ wp-maintenance-mode
246
+ #: inc/wp-maintenance-mode-settings.php:161
247
+ msgid "week"
248
+ msgstr "週"
249
+
250
+ # @ wp-maintenance-mode
251
+ #: inc/wp-maintenance-mode-settings.php:162
252
+ msgid "month"
253
+ msgstr "月"
254
+
255
+ # @ wp-maintenance-mode
256
+ #: inc/wp-maintenance-mode-settings.php:163
257
+ msgid "year"
258
+ msgstr "年"
259
+
260
+ # @ wp-maintenance-mode
261
+ #: inc/wp-maintenance-mode-settings.php:169
262
+ msgid "Link:"
263
+ msgstr "リンク:"
264
+
265
+ # @ wp-maintenance-mode
266
+ #: inc/wp-maintenance-mode-settings.php:177
267
+ msgid ""
268
+ "Please leave a link to the plugin- and design-author on your maintenance "
269
+ "mode site."
270
+ msgstr ""
271
+ "プラグイン作者とデザイン担当へのリンクは残しておいてくださるとありがたいで"
272
+ "す。"
273
+
274
+ # @ wp-maintenance-mode
275
+ #: inc/wp-maintenance-mode-settings.php:182
276
+ msgid "Admin Link:"
277
+ msgstr "管理者リンク"
278
+
279
+ # @ wp-maintenance-mode
280
+ #: inc/wp-maintenance-mode-settings.php:190
281
+ msgid "Do you will a link to the admin area of your install?"
282
+ msgstr "管理領域へのリンクを置きますか?"
283
+
284
+ # @ wp-maintenance-mode
285
+ #: inc/wp-maintenance-mode-settings.php:200
286
+ msgid "Simple Text"
287
+ msgstr "Simple Text"
288
+
289
+ # @ wp-maintenance-mode
290
+ #: inc/wp-maintenance-mode-settings.php:201
291
+ msgid "The Truck"
292
+ msgstr "Thr Truck"
293
+
294
+ # @ wp-maintenance-mode
295
+ #: inc/wp-maintenance-mode-settings.php:202
296
+ msgid "The Sun"
297
+ msgstr "The Sun"
298
+
299
+ # @ wp-maintenance-mode
300
+ #: inc/wp-maintenance-mode-settings.php:203
301
+ msgid "The FF Error"
302
+ msgstr "The FF Error(Firefox向けのエラーページ)"
303
+
304
+ # @ wp-maintenance-mode
305
+ #: inc/wp-maintenance-mode-settings.php:204
306
+ msgid "Monster"
307
+ msgstr "Monster"
308
+
309
+ # @ wp-maintenance-mode
310
+ #: inc/wp-maintenance-mode-settings.php:205
311
+ msgid "Chastely"
312
+ msgstr "Chastely"
313
+
314
+ # @ wp-maintenance-mode
315
+ #: inc/wp-maintenance-mode-settings.php:206
316
+ msgid "Only Typo"
317
+ msgstr "Only Typo"
318
+
319
+ # @ wp-maintenance-mode
320
+ #: inc/wp-maintenance-mode-settings.php:207
321
+ msgid "Paint"
322
+ msgstr "Paint"
323
+
324
+ # @ wp-maintenance-mode
325
+ #: inc/wp-maintenance-mode-settings.php:208
326
+ msgid "Animate (Flash)"
327
+ msgstr "Animate (Flash)"
328
+
329
+ # @ wp-maintenance-mode
330
+ #: inc/wp-maintenance-mode-settings.php:209
331
+ msgid "Damask"
332
+ msgstr "Damask"
333
+
334
+ # @ wp-maintenance-mode
335
+ #: inc/wp-maintenance-mode-settings.php:210
336
+ msgid "Lego"
337
+ msgstr "Lego"
338
+
339
+ # @ wp-maintenance-mode
340
+ #: inc/wp-maintenance-mode-settings.php:211
341
+ msgid "Chemistry"
342
+ msgstr "Chemistry"
343
+
344
+ # @ wp-maintenance-mode
345
+ #: inc/wp-maintenance-mode-settings.php:220
346
+ msgid "URL to the css-file (incl. http://)"
347
+ msgstr "CSSファイルへのリンク(http:// で始まること)"
348
+
349
+ # @ wp-maintenance-mode
350
+ #: inc/wp-maintenance-mode-settings.php:222
351
+ msgid ""
352
+ "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
353
+ "plugin folder, it will be deleted on the next automatical update of the "
354
+ "plugin!"
355
+ msgstr ""
356
+ "<strong>ご注意:</strong> スタイルシートをプラグインディレクトリの中にコピーし"
357
+ "ないで下さい。次回の自動更新の時に削除されてしまいます!"
358
+
359
+ # @ wp-maintenance-mode
360
+ #: inc/wp-maintenance-mode-settings.php:227
361
+ #: inc/wp-maintenance-mode-settings.php:250
362
+ msgid "Preview"
363
+ msgstr "プレビュー"
364
+
365
+ # @ wp-maintenance-mode
366
+ #: inc/wp-maintenance-mode-settings.php:257
367
+ msgid "noindex, nofollow:"
368
+ msgstr "noindex, nofollow:"
369
+
370
+ # @ wp-maintenance-mode
371
+ #: inc/wp-maintenance-mode-settings.php:265
372
+ msgid ""
373
+ "The robots meta tag lets you utilize a granular, page-specific approach to "
374
+ "controlling how an individual page should be indexed and served to users in "
375
+ "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
376
+ msgstr ""
377
+ "ロボットメタタグは、どのページがインデックスされ検索結果に載せられてユーザー"
378
+ "に提供されるかを、きめ細かくページ単位で制御するやり方を可能にします。イン"
379
+ "デックスもリンク追跡もしなければ「はい」を、インデックスもリンク追跡も許可す"
380
+ "るなら「いいえ」を設定してください。"
381
+
382
+ # @ wp-maintenance-mode
383
+ #: inc/wp-maintenance-mode-settings.php:270
384
+ msgid "Title:"
385
+ msgstr "タイトル:"
386
+
387
+ # @ wp-maintenance-mode
388
+ #: inc/wp-maintenance-mode-settings.php:273
389
+ #: inc/wp-maintenance-mode-settings.php:281
390
+ #: inc/wp-maintenance-mode-settings.php:289
391
+ msgid "Leave empty for default."
392
+ msgstr "空にしておくとデフォルトの値が使われます。"
393
+
394
+ # @ wp-maintenance-mode
395
+ #: inc/wp-maintenance-mode-settings.php:278
396
+ msgid "Header:"
397
+ msgstr "ヘッダー:"
398
+
399
+ # @ wp-maintenance-mode
400
+ #: inc/wp-maintenance-mode-settings.php:286
401
+ msgid "Heading:"
402
+ msgstr "ヘッディング:"
403
+
404
+ # @ wp-maintenance-mode
405
+ #: inc/wp-maintenance-mode-settings.php:294
406
+ msgid "Text:"
407
+ msgstr "テキスト:"
408
+
409
+ # @ wp-maintenance-mode
410
+ #: inc/wp-maintenance-mode-settings.php:307
411
+ msgid "Exclude:"
412
+ msgstr "除外項目:"
413
+
414
+ # @ wp-maintenance-mode
415
+ #: inc/wp-maintenance-mode-settings.php:323
416
+ msgid ""
417
+ "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
418
+ "the Slug of page or post as a comma-separated list.<br />Example:"
419
+ msgstr ""
420
+ "フィード、ページや投稿、または特定のIPアドレスからのアクセスをメンテナンスか"
421
+ "ら除外できます。ページや投稿のスラッグをカンマで区切って入力してください。"
422
+
423
+ # @ wp-maintenance-mode
424
+ #: inc/wp-maintenance-mode-settings.php:342
425
+ msgid "Backend Role:"
426
+ msgstr "バックエンドロール:"
427
+
428
+ # @ wp-maintenance-mode
429
+ #: inc/wp-maintenance-mode-settings.php:367
430
+ msgid "Allowed userrole to access the backend of this blog."
431
+ msgstr "このブログのバックエンドに対するアクセスを持ったユーザー権限"
432
+
433
+ # @ wp-maintenance-mode
434
+ #: inc/wp-maintenance-mode-settings.php:368
435
+ #: inc/wp-maintenance-mode-settings.php:399
436
+ msgid "Super Admin has always access."
437
+ msgstr "特権管理者は常にアクセスできます。"
438
+
439
+ # @ wp-maintenance-mode
440
+ #: inc/wp-maintenance-mode-settings.php:373
441
+ msgid "Frontend Role:"
442
+ msgstr "フロントエンドロール:"
443
+
444
+ # @ wp-maintenance-mode
445
+ #: inc/wp-maintenance-mode-settings.php:398
446
+ msgid "Allowed userrole to see the frontend of this blog."
447
+ msgstr "このブログのフロントエンドにアクセスできるユーザーロール"
448
+
449
+ # @ wp-maintenance-mode
450
+ #: inc/wp-maintenance-mode-settings.php:404
451
+ msgid "Redirection:"
452
+ msgstr "リダイレクト:"
453
+
454
+ # @ wp-maintenance-mode
455
+ #: inc/wp-maintenance-mode-settings.php:409
456
+ msgid ""
457
+ "If you want that after the login the destination address is not standard to "
458
+ "the dashboard, then defining a URL. (incl. http://)"
459
+ msgstr ""
460
+ "フロントエンドでユーザーがログインした場合、ログイン後別のアドレスにリダイレ"
461
+ "クトさせたい場合は、そのURLを定義してください。(http://を含めてください)"
462
+
463
+ # @ wp-maintenance-mode
464
+ #: inc/wp-maintenance-mode-settings.php:432
465
+ msgid "Save"
466
+ msgstr "保存"
467
+
468
+ # @ wp-maintenance-mode
469
+ #: inc/wp-maintenance-mode-settings.php:300
470
+ #, php-format
471
+ msgid ""
472
+ "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
473
+ "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
474
+ "are possible."
475
+ msgstr ""
476
+ "最初の %1$s はカウントダウンの時間値、二番目の %2$s はカウントダウン値に対す"
477
+ "る単位です。HTMLの記法やショートコードも記述可能です。"
478
+
479
+ # @ wp-maintenance-mode
480
+ #: inc/wp-maintenance-mode-settings.php:301
481
+ msgid ""
482
+ "Use <code>[loginform]</code> for add the default login form in the "
483
+ "maintenance page."
484
+ msgstr ""
485
+ "メンテナンスページにログインフォームを追加するために <code>[loginform]</"
486
+ "code> を使ってください。"
487
+
488
+ # @ wp-maintenance-mode
489
+ #: inc/wp-maintenance-mode-settings.php:415
490
+ msgid "Notice:"
491
+ msgstr "注意:"
492
+
493
+ # @ wp-maintenance-mode
494
+ #: inc/wp-maintenance-mode-settings.php:422
495
+ msgid ""
496
+ "Do you will see all notices, inside backend, the Admin Bar and the login "
497
+ "screen?"
498
+ msgstr ""
499
+ "バックエンドの中や、管理バー、ログインスクリーンにすべてのお知らせを載せます"
500
+ "か?"
501
+
502
+ # @ default
503
+ #: index.php:25
504
+ msgid "Cheatin&#8217; uh?"
505
+ msgstr "cheat in"
506
+
507
+ # @ wp-maintenance-mode
508
+ #. translators: plugin header field 'Name'
509
+ #: wp-maintenance-mode.php:0
510
+ msgid "WP Maintenance Mode"
511
+ msgstr "WP Maintenance Mode"
512
+
513
+ # @ wp-maintenance-mode
514
+ #. translators: plugin header field 'PluginURI'
515
+ #: wp-maintenance-mode.php:0
516
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
517
+ msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
518
+
519
+ # @ wp-maintenance-mode
520
+ #. translators: plugin header field 'Description'
521
+ #: wp-maintenance-mode.php:0
522
+ msgid ""
523
+ "The plugin adds a splash page to your blog that lets visitors know your blog "
524
+ "is down for maintenance. Logged in users get full access to the blog "
525
+ "including the front-end, depends of the settings."
526
+ msgstr ""
527
+ "このプラグインは訪問者にあなたのブログががメンテナンス中だと知らせるスプラッ"
528
+ "シュページを追加します。設定内容によって、ログインしたユーザーはフロントエン"
529
+ "ドを含むすべてのページへアクセスできます。"
530
+
531
+ # @ wp-maintenance-mode
532
+ #. translators: plugin header field 'Author'
533
+ #: wp-maintenance-mode.php:0
534
+ msgid "Frank B&uuml;ltge"
535
+ msgstr "Frank B&uuml;ltge"
536
+
537
+ # @ wp-maintenance-mode
538
+ #. translators: plugin header field 'AuthorURI'
539
+ #: wp-maintenance-mode.php:0
540
+ msgid "http://bueltge.de/"
541
+ msgstr "http://bueltge.de/"
542
+
543
+ # @ wp-maintenance-mode
544
+ #: inc/wp-maintenance-mode-settings.php:195
545
+ msgid "CSS Style:"
546
+ msgstr "CSSスタイル:"
547
+
548
+ # @ wp-maintenance-mode
549
+ #: inc/wp-maintenance-mode-settings.php:199
550
+ msgid "Own CSS Stylesheet"
551
+ msgstr "独自CSSスタイルシート"
552
+
553
+ # @ wp-maintenance-mode
554
+ #: inc/wp-maintenance-mode-settings.php:217
555
+ msgid "Own CSS Style URL:"
556
+ msgstr "独自CSSスタイルのURL:"
557
+
558
+ # @ wp-maintenance-mode
559
+ #: inc/wp-maintenance-mode-settings.php:329
560
+ msgid "Bypass for Search Bots:"
561
+ msgstr "検索ボットのクローリングを許可:"
562
+
563
+ # @ wp-maintenance-mode
564
+ #: inc/wp-maintenance-mode-settings.php:336
565
+ msgid "Allow Search Bots to bypass maintenance mode?"
566
+ msgstr ""
567
+ "検索ボットがメンテナンスモード中でもクローリングさせる事を可能にしますか?"
568
+
569
+ # @ wp-maintenance-mode
570
+ #. translators: plugin header field 'Version'
571
+ #: wp-maintenance-mode.php:0
572
+ msgid "1.8.7"
573
+ msgstr "1.8.7"
languages/wp-maintenance-mode-ja_JP.po CHANGED
@@ -1,452 +1,452 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
- "Language-Team: Jun Shirasawa <groovebrain@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: c:\\xampp\\htdocs\\wp-plugins\\wp-maintenance-mode\\\n"
16
- "X-Textdomain-Support: yes\n"
17
- "X-Generator: Poedit 1.5.4\n"
18
- "Language: ja_JP\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ wp-maintenance-mode
22
- #: site.php:15
23
- #: site.php:57
24
- msgid "Maintenance Mode"
25
- msgstr "メンテナンスモード"
26
-
27
- # @ wp-maintenance-mode
28
- #: site.php:64
29
- msgid "Access to the admin area blocked"
30
- msgstr "管理機能へのアクセスはブロックされています"
31
-
32
- # @ wp-maintenance-mode
33
- #: site.php:67
34
- msgid "Admin-Logout"
35
- msgstr "管理者ログアウト"
36
-
37
- # @ wp-maintenance-mode
38
- #: site.php:71
39
- msgid "Admin-Login"
40
- msgstr "管理者ログイン"
41
-
42
- # @ default
43
- #: wp-maintenance-mode.php:209
44
- #: wp-maintenance-mode.php:219
45
- msgid "Settings"
46
- msgstr "設定"
47
-
48
- # @ wp-maintenance-mode
49
- #: wp-maintenance-mode.php:236
50
- msgid "Maintenance mode"
51
- msgstr "メンテナンスモード"
52
-
53
- #: wp-maintenance-mode.php:237
54
- #, php-format
55
- msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
56
- msgstr "<p>ご不便をおかけしており大変恐縮です。<br />現在メンテナンス中でございます。<br /><strong>およそ %1$s %2$s</strong> 辺りには終了する見込みでございます。<br />お手数をおかけしますが、再度ご訪問いただけますようお願い申し上げます。</p>"
57
-
58
- # @ wp-maintenance-mode
59
- #: wp-maintenance-mode.php:277
60
- #: wp-maintenance-mode.php:339
61
- msgid "Updated"
62
- msgstr "更新しました。"
63
-
64
- # @ wp-maintenance-mode
65
- #: wp-maintenance-mode.php:477
66
- msgid "seconds"
67
- msgstr "秒"
68
-
69
- # @ wp-maintenance-mode
70
- #: wp-maintenance-mode.php:481
71
- msgid "minutes"
72
- msgstr "分"
73
-
74
- # @ wp-maintenance-mode
75
- #: wp-maintenance-mode.php:485
76
- msgid "hours"
77
- msgstr "時間"
78
-
79
- # @ wp-maintenance-mode
80
- #: wp-maintenance-mode.php:489
81
- msgid "days"
82
- msgstr "日"
83
-
84
- # @ wp-maintenance-mode
85
- #: wp-maintenance-mode.php:493
86
- msgid "weeks"
87
- msgstr "週間"
88
-
89
- # @ wp-maintenance-mode
90
- #: wp-maintenance-mode.php:497
91
- msgid "months"
92
- msgstr "ヶ月"
93
-
94
- # @ wp-maintenance-mode
95
- #: wp-maintenance-mode.php:501
96
- msgid "years"
97
- msgstr "年"
98
-
99
- #: wp-maintenance-mode.php:565
100
- msgid " &amp; WP Super Cache flushed."
101
- msgstr " &amp; WP Super Cache のフラッシュを行ないました。"
102
-
103
- #: wp-maintenance-mode.php:572
104
- msgid " &amp; W3 Total Cache for pages flushed."
105
- msgstr " &amp; W3 Total Cache のフラッシュを行ないました。"
106
-
107
- # @ wp-maintenance-mode
108
- #: wp-maintenance-mode.php:575
109
- #: wp-maintenance-mode.php:853
110
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
111
- msgstr "注意: メンテナンスモードは<strong>有効</strong>です!"
112
-
113
- # @ wp-maintenance-mode
114
- #: wp-maintenance-mode.php:577
115
- #: wp-maintenance-mode.php:581
116
- msgid "Deactivate or change Settings"
117
- msgstr "無効化または設定変更"
118
-
119
- # @ wp-maintenance-mode
120
- #: wp-maintenance-mode.php:651
121
- msgid "Plugin by:"
122
- msgstr "プラグイン作成:"
123
-
124
- # @ wp-maintenance-mode
125
- #: wp-maintenance-mode.php:653
126
- #: wp-maintenance-mode.php:655
127
- #: wp-maintenance-mode.php:657
128
- #: wp-maintenance-mode.php:659
129
- #: wp-maintenance-mode.php:661
130
- #: wp-maintenance-mode.php:663
131
- #: wp-maintenance-mode.php:665
132
- #: wp-maintenance-mode.php:667
133
- #: wp-maintenance-mode.php:669
134
- #: wp-maintenance-mode.php:671
135
- #: wp-maintenance-mode.php:673
136
- msgid "Design by:"
137
- msgstr "デザイン:"
138
-
139
- # @ wp-maintenance-mode
140
- #: inc/wp-maintenance-mode-settings.php:37
141
- #: inc/wp-maintenance-mode-settings.php:313
142
- #, php-format
143
- msgid "Plugin %s settings <strong>updated</strong>."
144
- msgstr "プラグイン %s の設定が <strong>変更されました</strong>。"
145
-
146
- # @ wp-maintenance-mode
147
- #: inc/wp-maintenance-mode-settings.php:40
148
- #: inc/wp-maintenance-mode-settings.php:53
149
- #, php-format
150
- msgid "Plugin %s active status <strong>updated</strong>."
151
- msgstr "プラグイン %s の有効無効状態が <strong>更新されました</strong>。"
152
-
153
- # @ wp-maintenance-mode
154
- #: inc/wp-maintenance-mode-settings.php:43
155
- msgid "Plugin Activate"
156
- msgstr "プラグイン有効化"
157
-
158
- # @ wp-maintenance-mode
159
- #: inc/wp-maintenance-mode-settings.php:47
160
- #: inc/wp-maintenance-mode-settings.php:66
161
- #: inc/wp-maintenance-mode-settings.php:110
162
- #: inc/wp-maintenance-mode-settings.php:123
163
- #: inc/wp-maintenance-mode-settings.php:176
164
- msgid "False"
165
- msgstr "いいえ"
166
-
167
- # @ wp-maintenance-mode
168
- #: inc/wp-maintenance-mode-settings.php:48
169
- #: inc/wp-maintenance-mode-settings.php:67
170
- #: inc/wp-maintenance-mode-settings.php:111
171
- #: inc/wp-maintenance-mode-settings.php:124
172
- #: inc/wp-maintenance-mode-settings.php:177
173
- msgid "True"
174
- msgstr "はい"
175
-
176
- # @ wp-maintenance-mode
177
- #: inc/wp-maintenance-mode-settings.php:50
178
- msgid "Update"
179
- msgstr "更新"
180
-
181
- # @ wp-maintenance-mode
182
- #: inc/wp-maintenance-mode-settings.php:56
183
- msgid "Plugin Settings"
184
- msgstr "プラグイン設定"
185
-
186
- # @ wp-maintenance-mode
187
- #: inc/wp-maintenance-mode-settings.php:62
188
- msgid "Countdown:"
189
- msgstr "Countdown:"
190
-
191
- # @ wp-maintenance-mode
192
- #: inc/wp-maintenance-mode-settings.php:73
193
- #: inc/wp-maintenance-mode-settings.php:76
194
- msgid "Click for datepicker"
195
- msgstr "カウントダウン"
196
-
197
- # @ wp-maintenance-mode
198
- #: inc/wp-maintenance-mode-settings.php:73
199
- msgid "Date:"
200
- msgstr "日付:"
201
-
202
- # @ wp-maintenance-mode
203
- #: inc/wp-maintenance-mode-settings.php:77
204
- msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
205
- msgstr "これを使うには「カウントダウン」を有効にして下さい。値と単位を使うか、カウントダウンを使って日数を設定して下さい。"
206
-
207
- # @ wp-maintenance-mode
208
- #: inc/wp-maintenance-mode-settings.php:82
209
- msgid "Value:"
210
- msgstr "値:"
211
-
212
- # @ wp-maintenance-mode
213
- #: inc/wp-maintenance-mode-settings.php:90
214
- msgid "Unit:"
215
- msgstr "単位:"
216
-
217
- # @ wp-maintenance-mode
218
- #: inc/wp-maintenance-mode-settings.php:94
219
- msgid "second"
220
- msgstr "秒"
221
-
222
- # @ wp-maintenance-mode
223
- #: inc/wp-maintenance-mode-settings.php:95
224
- msgid "minute"
225
- msgstr "分"
226
-
227
- # @ wp-maintenance-mode
228
- #: inc/wp-maintenance-mode-settings.php:96
229
- msgid "hour"
230
- msgstr "時"
231
-
232
- # @ wp-maintenance-mode
233
- #: inc/wp-maintenance-mode-settings.php:97
234
- msgid "day"
235
- msgstr "日"
236
-
237
- # @ wp-maintenance-mode
238
- #: inc/wp-maintenance-mode-settings.php:98
239
- msgid "week"
240
- msgstr "週"
241
-
242
- # @ wp-maintenance-mode
243
- #: inc/wp-maintenance-mode-settings.php:99
244
- msgid "month"
245
- msgstr "月"
246
-
247
- # @ wp-maintenance-mode
248
- #: inc/wp-maintenance-mode-settings.php:100
249
- msgid "year"
250
- msgstr "年"
251
-
252
- # @ wp-maintenance-mode
253
- #: inc/wp-maintenance-mode-settings.php:106
254
- msgid "Link:"
255
- msgstr "リンク:"
256
-
257
- # @ wp-maintenance-mode
258
- #: inc/wp-maintenance-mode-settings.php:114
259
- msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
260
- msgstr "プラグイン作者とデザイン担当へのリンクは残して置いて下さるとありがたいです。"
261
-
262
- # @ wp-maintenance-mode
263
- #: inc/wp-maintenance-mode-settings.php:119
264
- msgid "Admin Link:"
265
- msgstr "Admin Link:"
266
-
267
- #: inc/wp-maintenance-mode-settings.php:127
268
- msgid "Do you will a link to the admin area of your install?"
269
- msgstr "管理領域へのリンクを置きますか?"
270
-
271
- # @ wp-maintenance-mode
272
- #: inc/wp-maintenance-mode-settings.php:132
273
- msgid "Theme:"
274
- msgstr "テーマ:"
275
-
276
- # @ wp-maintenance-mode
277
- #: inc/wp-maintenance-mode-settings.php:136
278
- msgid "Own Style"
279
- msgstr "独自デザイン"
280
-
281
- # @ wp-maintenance-mode
282
- #: inc/wp-maintenance-mode-settings.php:137
283
- msgid "Simple Text"
284
- msgstr "単純テキスト"
285
-
286
- # @ wp-maintenance-mode
287
- #: inc/wp-maintenance-mode-settings.php:138
288
- msgid "The Truck"
289
- msgstr "Der Truck"
290
-
291
- # @ wp-maintenance-mode
292
- #: inc/wp-maintenance-mode-settings.php:139
293
- msgid "The Sun"
294
- msgstr "The Sun"
295
-
296
- # @ wp-maintenance-mode
297
- #: inc/wp-maintenance-mode-settings.php:140
298
- msgid "The FF Error"
299
- msgstr "The FF Error"
300
-
301
- # @ wp-maintenance-mode
302
- #: inc/wp-maintenance-mode-settings.php:141
303
- msgid "Monster"
304
- msgstr "Monster"
305
-
306
- # @ wp-maintenance-mode
307
- #: inc/wp-maintenance-mode-settings.php:142
308
- msgid "Chastely"
309
- msgstr "Chastely"
310
-
311
- # @ wp-maintenance-mode
312
- #: inc/wp-maintenance-mode-settings.php:143
313
- msgid "Only Typo"
314
- msgstr "Only Typo"
315
-
316
- # @ wp-maintenance-mode
317
- #: inc/wp-maintenance-mode-settings.php:144
318
- msgid "Paint"
319
- msgstr "Paint"
320
-
321
- # @ wp-maintenance-mode
322
- #: inc/wp-maintenance-mode-settings.php:145
323
- msgid "Animate (Flash)"
324
- msgstr "Animate (Flash)"
325
-
326
- # @ wp-maintenance-mode
327
- #: inc/wp-maintenance-mode-settings.php:146
328
- msgid "Damask"
329
- msgstr "Damask"
330
-
331
- # @ wp-maintenance-mode
332
- #: inc/wp-maintenance-mode-settings.php:147
333
- msgid "Lego"
334
- msgstr "Lego"
335
-
336
- # @ wp-maintenance-mode
337
- #: inc/wp-maintenance-mode-settings.php:148
338
- msgid "Chemistry"
339
- msgstr "Chemielabor"
340
-
341
- # @ wp-maintenance-mode
342
- #: inc/wp-maintenance-mode-settings.php:154
343
- msgid "Own Style URL:"
344
- msgstr "独自スタイルのURL:"
345
-
346
- # @ wp-maintenance-mode
347
- #: inc/wp-maintenance-mode-settings.php:157
348
- msgid "URL to the css-file (incl. http://)"
349
- msgstr "CSSファイルへのリンク(http:// で始まること)"
350
-
351
- # @ wp-maintenance-mode
352
- #: inc/wp-maintenance-mode-settings.php:159
353
- msgid "<strong>Coution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
354
- msgstr "<strong>ご注意:</strong> スタイルシートをプラグインディレクトリの中にコピーしないで下さい。次回の自動更新の時に削除されてしまいます!"
355
-
356
- # @ wp-maintenance-mode
357
- #: inc/wp-maintenance-mode-settings.php:164
358
- #: inc/wp-maintenance-mode-settings.php:167
359
- msgid "Preview"
360
- msgstr "プレビュー"
361
-
362
- #: inc/wp-maintenance-mode-settings.php:172
363
- msgid "noindex, nofollow:"
364
- msgstr "noindex, nofollow:"
365
-
366
- #: inc/wp-maintenance-mode-settings.php:180
367
- msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
368
- msgstr "ロボットメタタグは、どのページがインデックスされ検索結果に載せられてユーザーに提供されるかを、きめ細かくページ単位で制御するやり方を可能にします。インデックスもリンク追跡もしなければ「はい」を、インデックスもリンク追跡も許可するなら「いいえ」を設定して下さい。"
369
-
370
- # @ wp-maintenance-mode
371
- #: inc/wp-maintenance-mode-settings.php:185
372
- msgid "Title:"
373
- msgstr "タイトル:"
374
-
375
- # @ wp-maintenance-mode
376
- #: inc/wp-maintenance-mode-settings.php:188
377
- #: inc/wp-maintenance-mode-settings.php:196
378
- #: inc/wp-maintenance-mode-settings.php:204
379
- msgid "Leave empty for default."
380
- msgstr "空にしておくとデフォルト値が使われます。"
381
-
382
- # @ wp-maintenance-mode
383
- #: inc/wp-maintenance-mode-settings.php:193
384
- msgid "Header:"
385
- msgstr "ヘッダー:"
386
-
387
- # @ wp-maintenance-mode
388
- #: inc/wp-maintenance-mode-settings.php:201
389
- msgid "Heading:"
390
- msgstr "ヘッディング:"
391
-
392
- # @ wp-maintenance-mode
393
- #: inc/wp-maintenance-mode-settings.php:209
394
- msgid "Text:"
395
- msgstr "テキスト:"
396
-
397
- # @ wp-maintenance-mode
398
- #: inc/wp-maintenance-mode-settings.php:214
399
- #, php-format
400
- 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"
401
- msgstr "最初の %1$s はカウントダウンの時間値、二番目の %2$s はカウントダウン値に対する単位です。HTMLの記法やショートコードも記述可能です。"
402
-
403
- # @ wp-maintenance-mode
404
- #: inc/wp-maintenance-mode-settings.php:219
405
- msgid "Exclude:"
406
- msgstr "除外対象"
407
-
408
- # @ wp-maintenance-mode
409
- #: inc/wp-maintenance-mode-settings.php:235
410
- msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
411
- msgstr "フィード、ページや投稿、または特定のIPアドレスからのアクセスをメンテナンスから除外できます。ページや投稿のスラッグをカンマで区切って入力して下さい。"
412
-
413
- #: inc/wp-maintenance-mode-settings.php:240
414
- msgid "Backend Role:"
415
- msgstr "バックエンドロール:"
416
-
417
- # @ wp-maintenance-mode
418
- #: inc/wp-maintenance-mode-settings.php:265
419
- msgid "Allowed userrole to access the backend of this blog."
420
- msgstr "このブログのバックエンドに対するアクセスを持ったユーザーロール"
421
-
422
- # @ wp-maintenance-mode
423
- #: inc/wp-maintenance-mode-settings.php:266
424
- #: inc/wp-maintenance-mode-settings.php:297
425
- msgid "Super Admin has always access."
426
- msgstr "特権管理者は常にアクセスできます。"
427
-
428
- #: inc/wp-maintenance-mode-settings.php:271
429
- msgid "Frontend Role:"
430
- msgstr "フロントエンドロール:"
431
-
432
- # @ wp-maintenance-mode
433
- #: inc/wp-maintenance-mode-settings.php:296
434
- msgid "Allowed userrole to see the frontend of this blog."
435
- msgstr "このブログのフロントエンドにアクセスできるユーザーロール"
436
-
437
- #: inc/wp-maintenance-mode-settings.php:302
438
- msgid "Redirection:"
439
- msgstr "リダイレクト:"
440
-
441
- #: inc/wp-maintenance-mode-settings.php:307
442
- msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
443
- msgstr ""
444
-
445
- # @ wp-maintenance-mode
446
- #: inc/wp-maintenance-mode-settings.php:316
447
- msgid "Save"
448
- msgstr "保存"
449
-
450
- msgid "Rewrite:"
451
- msgstr "書き直す:"
452
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
+ "Language-Team: Jun Shirasawa <groovebrain@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: c:\\xampp\\htdocs\\wp-plugins\\wp-maintenance-mode\\\n"
16
+ "X-Textdomain-Support: yes\n"
17
+ "X-Generator: Poedit 1.5.4\n"
18
+ "Language: ja_JP\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ wp-maintenance-mode
22
+ #: site.php:15
23
+ #: site.php:57
24
+ msgid "Maintenance Mode"
25
+ msgstr "メンテナンスモード"
26
+
27
+ # @ wp-maintenance-mode
28
+ #: site.php:64
29
+ msgid "Access to the admin area blocked"
30
+ msgstr "管理機能へのアクセスはブロックされています"
31
+
32
+ # @ wp-maintenance-mode
33
+ #: site.php:67
34
+ msgid "Admin-Logout"
35
+ msgstr "管理者ログアウト"
36
+
37
+ # @ wp-maintenance-mode
38
+ #: site.php:71
39
+ msgid "Admin-Login"
40
+ msgstr "管理者ログイン"
41
+
42
+ # @ default
43
+ #: wp-maintenance-mode.php:209
44
+ #: wp-maintenance-mode.php:219
45
+ msgid "Settings"
46
+ msgstr "設定"
47
+
48
+ # @ wp-maintenance-mode
49
+ #: wp-maintenance-mode.php:236
50
+ msgid "Maintenance mode"
51
+ msgstr "メンテナンスモード"
52
+
53
+ #: wp-maintenance-mode.php:237
54
+ #, php-format
55
+ msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
56
+ msgstr "<p>ご不便をおかけしており大変恐縮です。<br />現在メンテナンス中でございます。<br /><strong>およそ %1$s %2$s</strong> 辺りには終了する見込みでございます。<br />お手数をおかけしますが、再度ご訪問いただけますようお願い申し上げます。</p>"
57
+
58
+ # @ wp-maintenance-mode
59
+ #: wp-maintenance-mode.php:277
60
+ #: wp-maintenance-mode.php:339
61
+ msgid "Updated"
62
+ msgstr "更新しました。"
63
+
64
+ # @ wp-maintenance-mode
65
+ #: wp-maintenance-mode.php:477
66
+ msgid "seconds"
67
+ msgstr "秒"
68
+
69
+ # @ wp-maintenance-mode
70
+ #: wp-maintenance-mode.php:481
71
+ msgid "minutes"
72
+ msgstr "分"
73
+
74
+ # @ wp-maintenance-mode
75
+ #: wp-maintenance-mode.php:485
76
+ msgid "hours"
77
+ msgstr "時間"
78
+
79
+ # @ wp-maintenance-mode
80
+ #: wp-maintenance-mode.php:489
81
+ msgid "days"
82
+ msgstr "日"
83
+
84
+ # @ wp-maintenance-mode
85
+ #: wp-maintenance-mode.php:493
86
+ msgid "weeks"
87
+ msgstr "週間"
88
+
89
+ # @ wp-maintenance-mode
90
+ #: wp-maintenance-mode.php:497
91
+ msgid "months"
92
+ msgstr "ヶ月"
93
+
94
+ # @ wp-maintenance-mode
95
+ #: wp-maintenance-mode.php:501
96
+ msgid "years"
97
+ msgstr "年"
98
+
99
+ #: wp-maintenance-mode.php:565
100
+ msgid " &amp; WP Super Cache flushed."
101
+ msgstr " &amp; WP Super Cache のフラッシュを行ないました。"
102
+
103
+ #: wp-maintenance-mode.php:572
104
+ msgid " &amp; W3 Total Cache for pages flushed."
105
+ msgstr " &amp; W3 Total Cache のフラッシュを行ないました。"
106
+
107
+ # @ wp-maintenance-mode
108
+ #: wp-maintenance-mode.php:575
109
+ #: wp-maintenance-mode.php:853
110
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
111
+ msgstr "注意: メンテナンスモードは<strong>有効</strong>です!"
112
+
113
+ # @ wp-maintenance-mode
114
+ #: wp-maintenance-mode.php:577
115
+ #: wp-maintenance-mode.php:581
116
+ msgid "Deactivate or change Settings"
117
+ msgstr "無効化または設定変更"
118
+
119
+ # @ wp-maintenance-mode
120
+ #: wp-maintenance-mode.php:651
121
+ msgid "Plugin by:"
122
+ msgstr "プラグイン作成:"
123
+
124
+ # @ wp-maintenance-mode
125
+ #: wp-maintenance-mode.php:653
126
+ #: wp-maintenance-mode.php:655
127
+ #: wp-maintenance-mode.php:657
128
+ #: wp-maintenance-mode.php:659
129
+ #: wp-maintenance-mode.php:661
130
+ #: wp-maintenance-mode.php:663
131
+ #: wp-maintenance-mode.php:665
132
+ #: wp-maintenance-mode.php:667
133
+ #: wp-maintenance-mode.php:669
134
+ #: wp-maintenance-mode.php:671
135
+ #: wp-maintenance-mode.php:673
136
+ msgid "Design by:"
137
+ msgstr "デザイン:"
138
+
139
+ # @ wp-maintenance-mode
140
+ #: inc/wp-maintenance-mode-settings.php:37
141
+ #: inc/wp-maintenance-mode-settings.php:313
142
+ #, php-format
143
+ msgid "Plugin %s settings <strong>updated</strong>."
144
+ msgstr "プラグイン %s の設定が <strong>変更されました</strong>。"
145
+
146
+ # @ wp-maintenance-mode
147
+ #: inc/wp-maintenance-mode-settings.php:40
148
+ #: inc/wp-maintenance-mode-settings.php:53
149
+ #, php-format
150
+ msgid "Plugin %s active status <strong>updated</strong>."
151
+ msgstr "プラグイン %s の有効無効状態が <strong>更新されました</strong>。"
152
+
153
+ # @ wp-maintenance-mode
154
+ #: inc/wp-maintenance-mode-settings.php:43
155
+ msgid "Plugin Activate"
156
+ msgstr "プラグイン有効化"
157
+
158
+ # @ wp-maintenance-mode
159
+ #: inc/wp-maintenance-mode-settings.php:47
160
+ #: inc/wp-maintenance-mode-settings.php:66
161
+ #: inc/wp-maintenance-mode-settings.php:110
162
+ #: inc/wp-maintenance-mode-settings.php:123
163
+ #: inc/wp-maintenance-mode-settings.php:176
164
+ msgid "False"
165
+ msgstr "いいえ"
166
+
167
+ # @ wp-maintenance-mode
168
+ #: inc/wp-maintenance-mode-settings.php:48
169
+ #: inc/wp-maintenance-mode-settings.php:67
170
+ #: inc/wp-maintenance-mode-settings.php:111
171
+ #: inc/wp-maintenance-mode-settings.php:124
172
+ #: inc/wp-maintenance-mode-settings.php:177
173
+ msgid "True"
174
+ msgstr "はい"
175
+
176
+ # @ wp-maintenance-mode
177
+ #: inc/wp-maintenance-mode-settings.php:50
178
+ msgid "Update"
179
+ msgstr "更新"
180
+
181
+ # @ wp-maintenance-mode
182
+ #: inc/wp-maintenance-mode-settings.php:56
183
+ msgid "Plugin Settings"
184
+ msgstr "プラグイン設定"
185
+
186
+ # @ wp-maintenance-mode
187
+ #: inc/wp-maintenance-mode-settings.php:62
188
+ msgid "Countdown:"
189
+ msgstr "Countdown:"
190
+
191
+ # @ wp-maintenance-mode
192
+ #: inc/wp-maintenance-mode-settings.php:73
193
+ #: inc/wp-maintenance-mode-settings.php:76
194
+ msgid "Click for datepicker"
195
+ msgstr "カウントダウン"
196
+
197
+ # @ wp-maintenance-mode
198
+ #: inc/wp-maintenance-mode-settings.php:73
199
+ msgid "Date:"
200
+ msgstr "日付:"
201
+
202
+ # @ wp-maintenance-mode
203
+ #: inc/wp-maintenance-mode-settings.php:77
204
+ msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
205
+ msgstr "これを使うには「カウントダウン」を有効にして下さい。値と単位を使うか、カウントダウンを使って日数を設定して下さい。"
206
+
207
+ # @ wp-maintenance-mode
208
+ #: inc/wp-maintenance-mode-settings.php:82
209
+ msgid "Value:"
210
+ msgstr "値:"
211
+
212
+ # @ wp-maintenance-mode
213
+ #: inc/wp-maintenance-mode-settings.php:90
214
+ msgid "Unit:"
215
+ msgstr "単位:"
216
+
217
+ # @ wp-maintenance-mode
218
+ #: inc/wp-maintenance-mode-settings.php:94
219
+ msgid "second"
220
+ msgstr "秒"
221
+
222
+ # @ wp-maintenance-mode
223
+ #: inc/wp-maintenance-mode-settings.php:95
224
+ msgid "minute"
225
+ msgstr "分"
226
+
227
+ # @ wp-maintenance-mode
228
+ #: inc/wp-maintenance-mode-settings.php:96
229
+ msgid "hour"
230
+ msgstr "時"
231
+
232
+ # @ wp-maintenance-mode
233
+ #: inc/wp-maintenance-mode-settings.php:97
234
+ msgid "day"
235
+ msgstr "日"
236
+
237
+ # @ wp-maintenance-mode
238
+ #: inc/wp-maintenance-mode-settings.php:98
239
+ msgid "week"
240
+ msgstr "週"
241
+
242
+ # @ wp-maintenance-mode
243
+ #: inc/wp-maintenance-mode-settings.php:99
244
+ msgid "month"
245
+ msgstr "月"
246
+
247
+ # @ wp-maintenance-mode
248
+ #: inc/wp-maintenance-mode-settings.php:100
249
+ msgid "year"
250
+ msgstr "年"
251
+
252
+ # @ wp-maintenance-mode
253
+ #: inc/wp-maintenance-mode-settings.php:106
254
+ msgid "Link:"
255
+ msgstr "リンク:"
256
+
257
+ # @ wp-maintenance-mode
258
+ #: inc/wp-maintenance-mode-settings.php:114
259
+ msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
260
+ msgstr "プラグイン作者とデザイン担当へのリンクは残して置いて下さるとありがたいです。"
261
+
262
+ # @ wp-maintenance-mode
263
+ #: inc/wp-maintenance-mode-settings.php:119
264
+ msgid "Admin Link:"
265
+ msgstr "Admin Link:"
266
+
267
+ #: inc/wp-maintenance-mode-settings.php:127
268
+ msgid "Do you will a link to the admin area of your install?"
269
+ msgstr "管理領域へのリンクを置きますか?"
270
+
271
+ # @ wp-maintenance-mode
272
+ #: inc/wp-maintenance-mode-settings.php:132
273
+ msgid "Theme:"
274
+ msgstr "テーマ:"
275
+
276
+ # @ wp-maintenance-mode
277
+ #: inc/wp-maintenance-mode-settings.php:136
278
+ msgid "Own Style"
279
+ msgstr "独自デザイン"
280
+
281
+ # @ wp-maintenance-mode
282
+ #: inc/wp-maintenance-mode-settings.php:137
283
+ msgid "Simple Text"
284
+ msgstr "単純テキスト"
285
+
286
+ # @ wp-maintenance-mode
287
+ #: inc/wp-maintenance-mode-settings.php:138
288
+ msgid "The Truck"
289
+ msgstr "Der Truck"
290
+
291
+ # @ wp-maintenance-mode
292
+ #: inc/wp-maintenance-mode-settings.php:139
293
+ msgid "The Sun"
294
+ msgstr "The Sun"
295
+
296
+ # @ wp-maintenance-mode
297
+ #: inc/wp-maintenance-mode-settings.php:140
298
+ msgid "The FF Error"
299
+ msgstr "The FF Error"
300
+
301
+ # @ wp-maintenance-mode
302
+ #: inc/wp-maintenance-mode-settings.php:141
303
+ msgid "Monster"
304
+ msgstr "Monster"
305
+
306
+ # @ wp-maintenance-mode
307
+ #: inc/wp-maintenance-mode-settings.php:142
308
+ msgid "Chastely"
309
+ msgstr "Chastely"
310
+
311
+ # @ wp-maintenance-mode
312
+ #: inc/wp-maintenance-mode-settings.php:143
313
+ msgid "Only Typo"
314
+ msgstr "Only Typo"
315
+
316
+ # @ wp-maintenance-mode
317
+ #: inc/wp-maintenance-mode-settings.php:144
318
+ msgid "Paint"
319
+ msgstr "Paint"
320
+
321
+ # @ wp-maintenance-mode
322
+ #: inc/wp-maintenance-mode-settings.php:145
323
+ msgid "Animate (Flash)"
324
+ msgstr "Animate (Flash)"
325
+
326
+ # @ wp-maintenance-mode
327
+ #: inc/wp-maintenance-mode-settings.php:146
328
+ msgid "Damask"
329
+ msgstr "Damask"
330
+
331
+ # @ wp-maintenance-mode
332
+ #: inc/wp-maintenance-mode-settings.php:147
333
+ msgid "Lego"
334
+ msgstr "Lego"
335
+
336
+ # @ wp-maintenance-mode
337
+ #: inc/wp-maintenance-mode-settings.php:148
338
+ msgid "Chemistry"
339
+ msgstr "Chemielabor"
340
+
341
+ # @ wp-maintenance-mode
342
+ #: inc/wp-maintenance-mode-settings.php:154
343
+ msgid "Own Style URL:"
344
+ msgstr "独自スタイルのURL:"
345
+
346
+ # @ wp-maintenance-mode
347
+ #: inc/wp-maintenance-mode-settings.php:157
348
+ msgid "URL to the css-file (incl. http://)"
349
+ msgstr "CSSファイルへのリンク(http:// で始まること)"
350
+
351
+ # @ wp-maintenance-mode
352
+ #: inc/wp-maintenance-mode-settings.php:159
353
+ msgid "<strong>Coution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
354
+ msgstr "<strong>ご注意:</strong> スタイルシートをプラグインディレクトリの中にコピーしないで下さい。次回の自動更新の時に削除されてしまいます!"
355
+
356
+ # @ wp-maintenance-mode
357
+ #: inc/wp-maintenance-mode-settings.php:164
358
+ #: inc/wp-maintenance-mode-settings.php:167
359
+ msgid "Preview"
360
+ msgstr "プレビュー"
361
+
362
+ #: inc/wp-maintenance-mode-settings.php:172
363
+ msgid "noindex, nofollow:"
364
+ msgstr "noindex, nofollow:"
365
+
366
+ #: inc/wp-maintenance-mode-settings.php:180
367
+ msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
368
+ msgstr "ロボットメタタグは、どのページがインデックスされ検索結果に載せられてユーザーに提供されるかを、きめ細かくページ単位で制御するやり方を可能にします。インデックスもリンク追跡もしなければ「はい」を、インデックスもリンク追跡も許可するなら「いいえ」を設定して下さい。"
369
+
370
+ # @ wp-maintenance-mode
371
+ #: inc/wp-maintenance-mode-settings.php:185
372
+ msgid "Title:"
373
+ msgstr "タイトル:"
374
+
375
+ # @ wp-maintenance-mode
376
+ #: inc/wp-maintenance-mode-settings.php:188
377
+ #: inc/wp-maintenance-mode-settings.php:196
378
+ #: inc/wp-maintenance-mode-settings.php:204
379
+ msgid "Leave empty for default."
380
+ msgstr "空にしておくとデフォルト値が使われます。"
381
+
382
+ # @ wp-maintenance-mode
383
+ #: inc/wp-maintenance-mode-settings.php:193
384
+ msgid "Header:"
385
+ msgstr "ヘッダー:"
386
+
387
+ # @ wp-maintenance-mode
388
+ #: inc/wp-maintenance-mode-settings.php:201
389
+ msgid "Heading:"
390
+ msgstr "ヘッディング:"
391
+
392
+ # @ wp-maintenance-mode
393
+ #: inc/wp-maintenance-mode-settings.php:209
394
+ msgid "Text:"
395
+ msgstr "テキスト:"
396
+
397
+ # @ wp-maintenance-mode
398
+ #: inc/wp-maintenance-mode-settings.php:214
399
+ #, php-format
400
+ 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"
401
+ msgstr "最初の %1$s はカウントダウンの時間値、二番目の %2$s はカウントダウン値に対する単位です。HTMLの記法やショートコードも記述可能です。"
402
+
403
+ # @ wp-maintenance-mode
404
+ #: inc/wp-maintenance-mode-settings.php:219
405
+ msgid "Exclude:"
406
+ msgstr "除外対象"
407
+
408
+ # @ wp-maintenance-mode
409
+ #: inc/wp-maintenance-mode-settings.php:235
410
+ msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
411
+ msgstr "フィード、ページや投稿、または特定のIPアドレスからのアクセスをメンテナンスから除外できます。ページや投稿のスラッグをカンマで区切って入力して下さい。"
412
+
413
+ #: inc/wp-maintenance-mode-settings.php:240
414
+ msgid "Backend Role:"
415
+ msgstr "バックエンドロール:"
416
+
417
+ # @ wp-maintenance-mode
418
+ #: inc/wp-maintenance-mode-settings.php:265
419
+ msgid "Allowed userrole to access the backend of this blog."
420
+ msgstr "このブログのバックエンドに対するアクセスを持ったユーザーロール"
421
+
422
+ # @ wp-maintenance-mode
423
+ #: inc/wp-maintenance-mode-settings.php:266
424
+ #: inc/wp-maintenance-mode-settings.php:297
425
+ msgid "Super Admin has always access."
426
+ msgstr "特権管理者は常にアクセスできます。"
427
+
428
+ #: inc/wp-maintenance-mode-settings.php:271
429
+ msgid "Frontend Role:"
430
+ msgstr "フロントエンドロール:"
431
+
432
+ # @ wp-maintenance-mode
433
+ #: inc/wp-maintenance-mode-settings.php:296
434
+ msgid "Allowed userrole to see the frontend of this blog."
435
+ msgstr "このブログのフロントエンドにアクセスできるユーザーロール"
436
+
437
+ #: inc/wp-maintenance-mode-settings.php:302
438
+ msgid "Redirection:"
439
+ msgstr "リダイレクト:"
440
+
441
+ #: inc/wp-maintenance-mode-settings.php:307
442
+ msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
443
+ msgstr ""
444
+
445
+ # @ wp-maintenance-mode
446
+ #: inc/wp-maintenance-mode-settings.php:316
447
+ msgid "Save"
448
+ msgstr "保存"
449
+
450
+ msgid "Rewrite:"
451
+ msgstr "書き直す:"
452
+
languages/wp-maintenance-mode-tr_TR.po CHANGED
@@ -1,320 +1,320 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Omer Faruk <info@yakalasam.com>\n"
8
- "Language-Team: \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;"
15
- "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
- "X-Textdomain-Support: yes\n"
17
- "X-Generator: Poedit 1.5.4\n"
18
- "X-Poedit-SearchPath-0: .\n"
19
-
20
- #: !wartungsmodus.php:119
21
- msgid "Settings"
22
- msgstr "Ayarlar"
23
-
24
- # @ wartungsmodus
25
- #: !wartungsmodus.php:212
26
- msgid "Save"
27
- msgstr "Kaydet"
28
-
29
- # @ wartungsmodus
30
- #: !wartungsmodus.php:238 !wartungsmodus.php:273
31
- msgid "Updated"
32
- msgstr "Güncellendi"
33
-
34
- # @ wartungsmodus
35
- #: site.php:83
36
- msgid "Admin-Login"
37
- msgstr "Yönetici Girişi"
38
-
39
- # @ wartungsmodus
40
- #: !wartungsmodus.php:382
41
- msgid "Plugin by:"
42
- msgstr "Eklenti yazarı:"
43
-
44
- # @ wartungsmodus
45
- #: !wartungsmodus.php:384 !wartungsmodus.php:387 !wartungsmodus.php:390
46
- #: !wartungsmodus.php:393 !wartungsmodus.php:396 !wartungsmodus.php:399
47
- #: !wartungsmodus.php:402 !wartungsmodus.php:405 !wartungsmodus.php:408
48
- #: !wartungsmodus.php:411
49
- msgid "Design by:"
50
- msgstr "Tasarımcı:"
51
-
52
- # @ wartungsmodus
53
- #: !wartungsmodus.php:153
54
- msgid "Plugin Settings"
55
- msgstr "Eklenti Ayarları"
56
-
57
- # @ wartungsmodus
58
- #: !wartungsmodus.php:140
59
- #, php-format
60
- msgid "Plugin %s settings <strong>updated</strong>."
61
- msgstr "Eklenti %s ayarları <strong>güncellendi</strong>."
62
-
63
- # @ wartungsmodus
64
- #: site.php:7 site.php:77
65
- msgid "Maintenance Mode"
66
- msgstr "Bakım Modu"
67
-
68
- # @ wartungsmodus
69
- #: !wartungsmodus.php:178
70
- msgid "Link:"
71
- msgstr "Bağlantı:"
72
-
73
- # @ wartungsmodus
74
- #: !wartungsmodus.php:183
75
- msgid "Theme:"
76
- msgstr "Tema:"
77
-
78
- # @ wartungsmodus
79
- #: !wartungsmodus.php:186
80
- msgid "Simple Text"
81
- msgstr "Basit Metin"
82
-
83
- # @ wartungsmodus
84
- #: !wartungsmodus.php:187
85
- msgid "The Truck"
86
- msgstr "Kamyon"
87
-
88
- # @ wartungsmodus
89
- #: !wartungsmodus.php:164
90
- msgid "Value:"
91
- msgstr "Değer:"
92
-
93
- # @ wartungsmodus
94
- #: !wartungsmodus.php:166
95
- msgid "Unit:"
96
- msgstr "Birim:"
97
-
98
- # @ wartungsmodus
99
- #: !wartungsmodus.php:168
100
- msgid "second"
101
- msgstr "saniye"
102
-
103
- # @ wartungsmodus
104
- #: !wartungsmodus.php:169
105
- msgid "minute"
106
- msgstr "dakika"
107
-
108
- # @ wartungsmodus
109
- #: !wartungsmodus.php:170
110
- msgid "hour"
111
- msgstr "saat"
112
-
113
- # @ wartungsmodus
114
- #: !wartungsmodus.php:171
115
- msgid "day"
116
- msgstr "gün"
117
-
118
- # @ wartungsmodus
119
- #: !wartungsmodus.php:172
120
- msgid "week"
121
- msgstr "hafta"
122
-
123
- # @ wartungsmodus
124
- #: !wartungsmodus.php:173
125
- msgid "month"
126
- msgstr "ay"
127
-
128
- # @ wartungsmodus
129
- #: !wartungsmodus.php:174
130
- msgid "year"
131
- msgstr "yıl"
132
-
133
- # @ wartungsmodus
134
- #: !wartungsmodus.php:147 !wartungsmodus.php:158 !wartungsmodus.php:180
135
- msgid "False"
136
- msgstr "Hayır"
137
-
138
- # @ wartungsmodus
139
- #: !wartungsmodus.php:148 !wartungsmodus.php:159 !wartungsmodus.php:181
140
- msgid "True"
141
- msgstr "Evet"
142
-
143
- # @ wartungsmodus
144
- #: !wartungsmodus.php:327 site.php:39 site.php:44
145
- msgid "seconds"
146
- msgstr "saniye"
147
-
148
- # @ wartungsmodus
149
- #: !wartungsmodus.php:331 site.php:39 site.php:44
150
- msgid "minutes"
151
- msgstr "dakika"
152
-
153
- # @ wartungsmodus
154
- #: !wartungsmodus.php:335 site.php:39 site.php:44
155
- msgid "hours"
156
- msgstr "saat"
157
-
158
- # @ wartungsmodus
159
- #: !wartungsmodus.php:339 site.php:39 site.php:44
160
- msgid "days"
161
- msgstr "gün"
162
-
163
- # @ wartungsmodus
164
- #: !wartungsmodus.php:343
165
- msgid "weeks"
166
- msgstr "hafta"
167
-
168
- # @ wartungsmodus
169
- #: !wartungsmodus.php:347
170
- msgid "moths"
171
- msgstr "ay"
172
-
173
- # @ wartungsmodus
174
- #: !wartungsmodus.php:351
175
- msgid "years"
176
- msgstr "yıl"
177
-
178
- # @ wartungsmodus
179
- #: !wartungsmodus.php:141
180
- #, php-format
181
- msgid "Plugin %s active status <strong>updated</strong>."
182
- msgstr "Eklenti %s etkinlik durumu <strong>güncellendi</strong>."
183
-
184
- # @ wartungsmodus
185
- #: !wartungsmodus.php:143
186
- msgid "Plugin Activate"
187
- msgstr "Eklentiyi Etkinleştir"
188
-
189
- # @ wartungsmodus
190
- #: !wartungsmodus.php:185
191
- msgid "Own Style"
192
- msgstr "Kendi Stili"
193
-
194
- # @ wartungsmodus
195
- #: !wartungsmodus.php:188
196
- msgid "The Sun"
197
- msgstr "Güneş"
198
-
199
- # @ wartungsmodus
200
- #: !wartungsmodus.php:189
201
- msgid "The FF Error"
202
- msgstr "FF Hatası"
203
-
204
- # @ wartungsmodus
205
- #: !wartungsmodus.php:190
206
- msgid "Monster"
207
- msgstr "Canavar"
208
-
209
- # @ wartungsmodus
210
- #: !wartungsmodus.php:198
211
- msgid "Own Style URL (incl. http://):"
212
- msgstr "Kendi Stil URL'si (http:// ile)"
213
-
214
- # @ wartungsmodus
215
- #: !wartungsmodus.php:202
216
- msgid "Text:"
217
- msgstr "Metin:"
218
-
219
- # @ wartungsmodus
220
- #: !wartungsmodus.php:311
221
- msgid "Coution: Maintenance mode is <strong>active</strong>!"
222
- msgstr "Dikkat: Bakım modu<strong> aktif</strong>!"
223
-
224
- # @ wartungsmodus
225
- #: !wartungsmodus.php:150
226
- msgid "Update"
227
- msgstr "Güncelle"
228
-
229
- # @ wartungsmodus
230
- #: !wartungsmodus.php:191
231
- msgid "Chastely"
232
- msgstr "Chastely"
233
-
234
- # @ wartungsmodus
235
- #: !wartungsmodus.php:192
236
- msgid "Only Typo"
237
- msgstr "Only Typo"
238
-
239
- # @ wartungsmodus
240
- #: !wartungsmodus.php:193
241
- msgid "Paint"
242
- msgstr "Paint"
243
-
244
- # @ wartungsmodus
245
- #: !wartungsmodus.php:194
246
- msgid "Animate (Flash, only german)"
247
- msgstr "Animate (Flash, sadece Almanca)"
248
-
249
- # @ wartungsmodus
250
- #: !wartungsmodus.php:311
251
- msgid "Deactivate or change Settings"
252
- msgstr "Devre dışı bırakmak veya değiştirmek Ayarlar"
253
-
254
- # @ wartungsmodus
255
- #: !wartungsmodus.php:156
256
- msgid "Countdown:"
257
- msgstr "Geri Sayım:"
258
-
259
- # @ wartungsmodus
260
- #: !wartungsmodus.php:161 !wartungsmodus.php:162
261
- msgid "Click for datepicker"
262
- msgstr "Tarih Belirleyici için Tıklayın"
263
-
264
- # @ wartungsmodus
265
- #: !wartungsmodus.php:161
266
- msgid "Date:"
267
- msgstr "Tarih:"
268
-
269
- # @ wartungsmodus
270
- #: !wartungsmodus.php:163
271
- msgid ""
272
- "Activate countdown for using this. Use value and unit or use the countdown "
273
- "and set the date."
274
- msgstr ""
275
- "Bunu kullanmak için geri sayımı aktif edin. Değer ve birimi kullanın veya "
276
- "geri sayımı kullanın ve tarihi ayarlayın."
277
-
278
- # @ wartungsmodus
279
- #: !wartungsmodus.php:195
280
- msgid "Damask"
281
- msgstr "Süsleme"
282
-
283
- # @ wartungsmodus
284
- #: !wartungsmodus.php:196
285
- msgid "Lego"
286
- msgstr "Lego"
287
-
288
- # @ wartungsmodus
289
- #: !wartungsmodus.php:206
290
- msgid "Excludes:"
291
- msgstr "Hariç Tutulanlar:"
292
-
293
- # @ wartungsmodus
294
- #: !wartungsmodus.php:209
295
- msgid ""
296
- "Exlude pages, posts or archives from the maintenance mode. Add the Slug of "
297
- "page or post as a comma-separated list.<br />Example: "
298
- msgstr ""
299
- "Bakım modundan sayfaları, yazıları veya arşivi hariç tut. Virgül kullanarak "
300
- "yazıların veya sayfaların sloganlarını ekle.<br />Örnek: "
301
-
302
- # @ wartungsmodus
303
- #: site.php:37
304
- msgid "The due date was before"
305
- msgstr "Öncesinden bitim tarihi:"
306
-
307
- # @ wartungsmodus
308
- #: site.php:39 site.php:44
309
- msgid "and"
310
- msgstr "ve"
311
-
312
- # @ wartungsmodus
313
- #: !wartungsmodus.php:202
314
- #, php-format
315
- msgid ""
316
- "(Use the first %s for the time value or countdown and second %s for the unit "
317
- "of the time, HTML is possible)"
318
- msgstr ""
319
- "(Geri sayım veya zaman değeri için öncelikle %s ve zaman birimi için %s "
320
- "saniye kullan. HTML kullanılabilinir)"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Omer Faruk <info@yakalasam.com>\n"
8
+ "Language-Team: \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;"
15
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
16
+ "X-Textdomain-Support: yes\n"
17
+ "X-Generator: Poedit 1.5.4\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: !wartungsmodus.php:119
21
+ msgid "Settings"
22
+ msgstr "Ayarlar"
23
+
24
+ # @ wartungsmodus
25
+ #: !wartungsmodus.php:212
26
+ msgid "Save"
27
+ msgstr "Kaydet"
28
+
29
+ # @ wartungsmodus
30
+ #: !wartungsmodus.php:238 !wartungsmodus.php:273
31
+ msgid "Updated"
32
+ msgstr "Güncellendi"
33
+
34
+ # @ wartungsmodus
35
+ #: site.php:83
36
+ msgid "Admin-Login"
37
+ msgstr "Yönetici Girişi"
38
+
39
+ # @ wartungsmodus
40
+ #: !wartungsmodus.php:382
41
+ msgid "Plugin by:"
42
+ msgstr "Eklenti yazarı:"
43
+
44
+ # @ wartungsmodus
45
+ #: !wartungsmodus.php:384 !wartungsmodus.php:387 !wartungsmodus.php:390
46
+ #: !wartungsmodus.php:393 !wartungsmodus.php:396 !wartungsmodus.php:399
47
+ #: !wartungsmodus.php:402 !wartungsmodus.php:405 !wartungsmodus.php:408
48
+ #: !wartungsmodus.php:411
49
+ msgid "Design by:"
50
+ msgstr "Tasarımcı:"
51
+
52
+ # @ wartungsmodus
53
+ #: !wartungsmodus.php:153
54
+ msgid "Plugin Settings"
55
+ msgstr "Eklenti Ayarları"
56
+
57
+ # @ wartungsmodus
58
+ #: !wartungsmodus.php:140
59
+ #, php-format
60
+ msgid "Plugin %s settings <strong>updated</strong>."
61
+ msgstr "Eklenti %s ayarları <strong>güncellendi</strong>."
62
+
63
+ # @ wartungsmodus
64
+ #: site.php:7 site.php:77
65
+ msgid "Maintenance Mode"
66
+ msgstr "Bakım Modu"
67
+
68
+ # @ wartungsmodus
69
+ #: !wartungsmodus.php:178
70
+ msgid "Link:"
71
+ msgstr "Bağlantı:"
72
+
73
+ # @ wartungsmodus
74
+ #: !wartungsmodus.php:183
75
+ msgid "Theme:"
76
+ msgstr "Tema:"
77
+
78
+ # @ wartungsmodus
79
+ #: !wartungsmodus.php:186
80
+ msgid "Simple Text"
81
+ msgstr "Basit Metin"
82
+
83
+ # @ wartungsmodus
84
+ #: !wartungsmodus.php:187
85
+ msgid "The Truck"
86
+ msgstr "Kamyon"
87
+
88
+ # @ wartungsmodus
89
+ #: !wartungsmodus.php:164
90
+ msgid "Value:"
91
+ msgstr "Değer:"
92
+
93
+ # @ wartungsmodus
94
+ #: !wartungsmodus.php:166
95
+ msgid "Unit:"
96
+ msgstr "Birim:"
97
+
98
+ # @ wartungsmodus
99
+ #: !wartungsmodus.php:168
100
+ msgid "second"
101
+ msgstr "saniye"
102
+
103
+ # @ wartungsmodus
104
+ #: !wartungsmodus.php:169
105
+ msgid "minute"
106
+ msgstr "dakika"
107
+
108
+ # @ wartungsmodus
109
+ #: !wartungsmodus.php:170
110
+ msgid "hour"
111
+ msgstr "saat"
112
+
113
+ # @ wartungsmodus
114
+ #: !wartungsmodus.php:171
115
+ msgid "day"
116
+ msgstr "gün"
117
+
118
+ # @ wartungsmodus
119
+ #: !wartungsmodus.php:172
120
+ msgid "week"
121
+ msgstr "hafta"
122
+
123
+ # @ wartungsmodus
124
+ #: !wartungsmodus.php:173
125
+ msgid "month"
126
+ msgstr "ay"
127
+
128
+ # @ wartungsmodus
129
+ #: !wartungsmodus.php:174
130
+ msgid "year"
131
+ msgstr "yıl"
132
+
133
+ # @ wartungsmodus
134
+ #: !wartungsmodus.php:147 !wartungsmodus.php:158 !wartungsmodus.php:180
135
+ msgid "False"
136
+ msgstr "Hayır"
137
+
138
+ # @ wartungsmodus
139
+ #: !wartungsmodus.php:148 !wartungsmodus.php:159 !wartungsmodus.php:181
140
+ msgid "True"
141
+ msgstr "Evet"
142
+
143
+ # @ wartungsmodus
144
+ #: !wartungsmodus.php:327 site.php:39 site.php:44
145
+ msgid "seconds"
146
+ msgstr "saniye"
147
+
148
+ # @ wartungsmodus
149
+ #: !wartungsmodus.php:331 site.php:39 site.php:44
150
+ msgid "minutes"
151
+ msgstr "dakika"
152
+
153
+ # @ wartungsmodus
154
+ #: !wartungsmodus.php:335 site.php:39 site.php:44
155
+ msgid "hours"
156
+ msgstr "saat"
157
+
158
+ # @ wartungsmodus
159
+ #: !wartungsmodus.php:339 site.php:39 site.php:44
160
+ msgid "days"
161
+ msgstr "gün"
162
+
163
+ # @ wartungsmodus
164
+ #: !wartungsmodus.php:343
165
+ msgid "weeks"
166
+ msgstr "hafta"
167
+
168
+ # @ wartungsmodus
169
+ #: !wartungsmodus.php:347
170
+ msgid "moths"
171
+ msgstr "ay"
172
+
173
+ # @ wartungsmodus
174
+ #: !wartungsmodus.php:351
175
+ msgid "years"
176
+ msgstr "yıl"
177
+
178
+ # @ wartungsmodus
179
+ #: !wartungsmodus.php:141
180
+ #, php-format
181
+ msgid "Plugin %s active status <strong>updated</strong>."
182
+ msgstr "Eklenti %s etkinlik durumu <strong>güncellendi</strong>."
183
+
184
+ # @ wartungsmodus
185
+ #: !wartungsmodus.php:143
186
+ msgid "Plugin Activate"
187
+ msgstr "Eklentiyi Etkinleştir"
188
+
189
+ # @ wartungsmodus
190
+ #: !wartungsmodus.php:185
191
+ msgid "Own Style"
192
+ msgstr "Kendi Stili"
193
+
194
+ # @ wartungsmodus
195
+ #: !wartungsmodus.php:188
196
+ msgid "The Sun"
197
+ msgstr "Güneş"
198
+
199
+ # @ wartungsmodus
200
+ #: !wartungsmodus.php:189
201
+ msgid "The FF Error"
202
+ msgstr "FF Hatası"
203
+
204
+ # @ wartungsmodus
205
+ #: !wartungsmodus.php:190
206
+ msgid "Monster"
207
+ msgstr "Canavar"
208
+
209
+ # @ wartungsmodus
210
+ #: !wartungsmodus.php:198
211
+ msgid "Own Style URL (incl. http://):"
212
+ msgstr "Kendi Stil URL'si (http:// ile)"
213
+
214
+ # @ wartungsmodus
215
+ #: !wartungsmodus.php:202
216
+ msgid "Text:"
217
+ msgstr "Metin:"
218
+
219
+ # @ wartungsmodus
220
+ #: !wartungsmodus.php:311
221
+ msgid "Coution: Maintenance mode is <strong>active</strong>!"
222
+ msgstr "Dikkat: Bakım modu<strong> aktif</strong>!"
223
+
224
+ # @ wartungsmodus
225
+ #: !wartungsmodus.php:150
226
+ msgid "Update"
227
+ msgstr "Güncelle"
228
+
229
+ # @ wartungsmodus
230
+ #: !wartungsmodus.php:191
231
+ msgid "Chastely"
232
+ msgstr "Chastely"
233
+
234
+ # @ wartungsmodus
235
+ #: !wartungsmodus.php:192
236
+ msgid "Only Typo"
237
+ msgstr "Only Typo"
238
+
239
+ # @ wartungsmodus
240
+ #: !wartungsmodus.php:193
241
+ msgid "Paint"
242
+ msgstr "Paint"
243
+
244
+ # @ wartungsmodus
245
+ #: !wartungsmodus.php:194
246
+ msgid "Animate (Flash, only german)"
247
+ msgstr "Animate (Flash, sadece Almanca)"
248
+
249
+ # @ wartungsmodus
250
+ #: !wartungsmodus.php:311
251
+ msgid "Deactivate or change Settings"
252
+ msgstr "Devre dışı bırakmak veya değiştirmek Ayarlar"
253
+
254
+ # @ wartungsmodus
255
+ #: !wartungsmodus.php:156
256
+ msgid "Countdown:"
257
+ msgstr "Geri Sayım:"
258
+
259
+ # @ wartungsmodus
260
+ #: !wartungsmodus.php:161 !wartungsmodus.php:162
261
+ msgid "Click for datepicker"
262
+ msgstr "Tarih Belirleyici için Tıklayın"
263
+
264
+ # @ wartungsmodus
265
+ #: !wartungsmodus.php:161
266
+ msgid "Date:"
267
+ msgstr "Tarih:"
268
+
269
+ # @ wartungsmodus
270
+ #: !wartungsmodus.php:163
271
+ msgid ""
272
+ "Activate countdown for using this. Use value and unit or use the countdown "
273
+ "and set the date."
274
+ msgstr ""
275
+ "Bunu kullanmak için geri sayımı aktif edin. Değer ve birimi kullanın veya "
276
+ "geri sayımı kullanın ve tarihi ayarlayın."
277
+
278
+ # @ wartungsmodus
279
+ #: !wartungsmodus.php:195
280
+ msgid "Damask"
281
+ msgstr "Süsleme"
282
+
283
+ # @ wartungsmodus
284
+ #: !wartungsmodus.php:196
285
+ msgid "Lego"
286
+ msgstr "Lego"
287
+
288
+ # @ wartungsmodus
289
+ #: !wartungsmodus.php:206
290
+ msgid "Excludes:"
291
+ msgstr "Hariç Tutulanlar:"
292
+
293
+ # @ wartungsmodus
294
+ #: !wartungsmodus.php:209
295
+ msgid ""
296
+ "Exlude pages, posts or archives from the maintenance mode. Add the Slug of "
297
+ "page or post as a comma-separated list.<br />Example: "
298
+ msgstr ""
299
+ "Bakım modundan sayfaları, yazıları veya arşivi hariç tut. Virgül kullanarak "
300
+ "yazıların veya sayfaların sloganlarını ekle.<br />Örnek: "
301
+
302
+ # @ wartungsmodus
303
+ #: site.php:37
304
+ msgid "The due date was before"
305
+ msgstr "Öncesinden bitim tarihi:"
306
+
307
+ # @ wartungsmodus
308
+ #: site.php:39 site.php:44
309
+ msgid "and"
310
+ msgstr "ve"
311
+
312
+ # @ wartungsmodus
313
+ #: !wartungsmodus.php:202
314
+ #, php-format
315
+ msgid ""
316
+ "(Use the first %s for the time value or countdown and second %s for the unit "
317
+ "of the time, HTML is possible)"
318
+ msgstr ""
319
+ "(Geri sayım veya zaman değeri için öncelikle %s ve zaman birimi için %s "
320
+ "saniye kullan. HTML kullanılabilinir)"
languages/wp-maintenance-mode-uk.po CHANGED
@@ -1,578 +1,578 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-04-29 22:28+0200\n"
7
- "Last-Translator: Maksym Kobieliev <maximaximums@gmail.com>\n"
8
- "Language-Team: <maximaximums@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=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
13
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
14
- "X-Generator: Poedit 1.5.4\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
- "_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"
18
- "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
- "X-Textdomain-Support: yes\n"
20
- "Language: uk\n"
21
- "X-Poedit-SearchPath-0: .\n"
22
-
23
- # @ wp-maintenance-mode
24
- #: site.php:27 site.php:65
25
- msgid "Maintenance Mode"
26
- msgstr ""
27
-
28
- # @ wp-maintenance-mode
29
- #: site.php:72
30
- msgid "Access to the admin area blocked"
31
- msgstr "Доступ до панелі адміністратора заблоковано"
32
-
33
- # @ wp-maintenance-mode
34
- #: site.php:75
35
- msgid "Admin-Logout"
36
- msgstr "Вийти"
37
-
38
- # @ wp-maintenance-mode
39
- #: site.php:80
40
- msgid "Admin-Login"
41
- msgstr "Вхід для адміністраторів"
42
-
43
- # @ default
44
- #: inc/wp-maintenance-mode-settings.php:55
45
- #: inc/wp-maintenance-mode-settings.php:65
46
- msgid "Settings"
47
- msgstr "Налаштування"
48
-
49
- # @ wp-maintenance-mode
50
- #: wp-maintenance-mode.php:304
51
- msgid "Maintenance mode"
52
- msgstr ""
53
-
54
- # @ wp-maintenance-mode
55
- #: wp-maintenance-mode.php:305
56
- #, php-format
57
- msgid ""
58
- "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
59
- "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
60
- "strong><br />Thank you for your understanding.</p>"
61
- msgstr ""
62
- "<p>Даруйте за незручності.<br />На нашому веб-сайті зараз проводиться "
63
- "планові технічні роботи.<br /><strong>Будь ласка, спробуйте ще раз через "
64
- "%1$s %2$s</strong><br />Дякуємо за розуміння.</p>"
65
-
66
- # @ wp-maintenance-mode
67
- #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
68
- msgid "Updated"
69
- msgstr ""
70
-
71
- # @ wp-maintenance-mode
72
- #: wp-maintenance-mode.php:607
73
- msgid "seconds"
74
- msgstr ""
75
-
76
- # @ wp-maintenance-mode
77
- #: wp-maintenance-mode.php:611
78
- msgid "minutes"
79
- msgstr ""
80
-
81
- # @ wp-maintenance-mode
82
- #: wp-maintenance-mode.php:615
83
- msgid "hours"
84
- msgstr ""
85
-
86
- # @ wp-maintenance-mode
87
- #: wp-maintenance-mode.php:619
88
- msgid "days"
89
- msgstr ""
90
-
91
- # @ wp-maintenance-mode
92
- #: wp-maintenance-mode.php:623
93
- msgid "weeks"
94
- msgstr ""
95
-
96
- # @ wp-maintenance-mode
97
- #: wp-maintenance-mode.php:627
98
- msgid "months"
99
- msgstr ""
100
-
101
- # @ wp-maintenance-mode
102
- #: wp-maintenance-mode.php:631
103
- msgid "years"
104
- msgstr ""
105
-
106
- # @ wp-maintenance-mode
107
- #: wp-maintenance-mode.php:693
108
- msgid " &amp; WP Super Cache flushed."
109
- msgstr ""
110
-
111
- # @ wp-maintenance-mode
112
- #: wp-maintenance-mode.php:700
113
- msgid " &amp; W3 Total Cache for pages flushed."
114
- msgstr ""
115
-
116
- # @ wp-maintenance-mode
117
- #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
118
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
119
- msgstr "Увага: Режим обслуговування <strong>активовано</strong>!"
120
-
121
- # @ wp-maintenance-mode
122
- #: wp-maintenance-mode.php:707
123
- msgid "Deactivate or change Settings"
124
- msgstr "Деактивувати або змінити налаштування"
125
-
126
- # @ wp-maintenance-mode
127
- #: wp-maintenance-mode.php:815
128
- msgid "Plugin by:"
129
- msgstr "Автор плаґіну:"
130
-
131
- # @ wp-maintenance-mode
132
- #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
133
- #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
134
- #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
135
- #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
136
- #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
137
- #: wp-maintenance-mode.php:837
138
- msgid "Design by:"
139
- msgstr "Дизайн плаґіну:"
140
-
141
- # @ wp-maintenance-mode
142
- #: inc/wp-maintenance-mode-settings.php:100
143
- #: inc/wp-maintenance-mode-settings.php:429
144
- #, php-format
145
- msgid "Plugin %s settings <strong>updated</strong>."
146
- msgstr "Налаштування плаґіна %s <strong>оновлено</strong>."
147
-
148
- # @ wp-maintenance-mode
149
- #: inc/wp-maintenance-mode-settings.php:103
150
- #: inc/wp-maintenance-mode-settings.php:116
151
- #, php-format
152
- msgid "Plugin %s active status <strong>updated</strong>."
153
- msgstr "Статус плаґіна %s <strong>оновлено</strong>."
154
-
155
- # @ wp-maintenance-mode
156
- #: inc/wp-maintenance-mode-settings.php:106
157
- msgid "Plugin Activate"
158
- msgstr "Активність плаґіну"
159
-
160
- # @ wp-maintenance-mode
161
- #: inc/wp-maintenance-mode-settings.php:110
162
- #: inc/wp-maintenance-mode-settings.php:129
163
- #: inc/wp-maintenance-mode-settings.php:173
164
- #: inc/wp-maintenance-mode-settings.php:186
165
- #: inc/wp-maintenance-mode-settings.php:261
166
- #: inc/wp-maintenance-mode-settings.php:333
167
- #: inc/wp-maintenance-mode-settings.php:419
168
- msgid "False"
169
- msgstr "Ні"
170
-
171
- # @ wp-maintenance-mode
172
- #: inc/wp-maintenance-mode-settings.php:111
173
- #: inc/wp-maintenance-mode-settings.php:130
174
- #: inc/wp-maintenance-mode-settings.php:174
175
- #: inc/wp-maintenance-mode-settings.php:187
176
- #: inc/wp-maintenance-mode-settings.php:262
177
- #: inc/wp-maintenance-mode-settings.php:334
178
- #: inc/wp-maintenance-mode-settings.php:420
179
- msgid "True"
180
- msgstr "Так"
181
-
182
- # @ wp-maintenance-mode
183
- #: inc/wp-maintenance-mode-settings.php:113
184
- msgid "Update"
185
- msgstr "Оновити"
186
-
187
- # @ wp-maintenance-mode
188
- #: inc/wp-maintenance-mode-settings.php:119
189
- msgid "Plugin Settings"
190
- msgstr "Налаштування плаґіна"
191
-
192
- # @ wp-maintenance-mode
193
- #: inc/wp-maintenance-mode-settings.php:125
194
- msgid "Countdown:"
195
- msgstr "Зворотній відлік:"
196
-
197
- # @ wp-maintenance-mode
198
- #: inc/wp-maintenance-mode-settings.php:136
199
- #: inc/wp-maintenance-mode-settings.php:139
200
- msgid "Click for datepicker"
201
- msgstr "Клацніть, щоб відобразити календар"
202
-
203
- # @ wp-maintenance-mode
204
- #: inc/wp-maintenance-mode-settings.php:136
205
- msgid "Date:"
206
- msgstr "Дата:"
207
-
208
- # @ wp-maintenance-mode
209
- #: inc/wp-maintenance-mode-settings.php:140
210
- msgid ""
211
- "Activate countdown for using this. Use value and unit or use the countdown "
212
- "and set the date."
213
- msgstr ""
214
- "Активуйте зворотній відлік, щоб використовувати це. Вкажіть значення і "
215
- "одиницю виміру або вкажіть дату."
216
-
217
- # @ wp-maintenance-mode
218
- #: inc/wp-maintenance-mode-settings.php:145
219
- msgid "Value:"
220
- msgstr "Значення:"
221
-
222
- # @ wp-maintenance-mode
223
- #: inc/wp-maintenance-mode-settings.php:153
224
- msgid "Unit:"
225
- msgstr "Одиниця виміру:"
226
-
227
- # @ wp-maintenance-mode
228
- #: inc/wp-maintenance-mode-settings.php:157
229
- msgid "second"
230
- msgstr "секунда"
231
-
232
- # @ wp-maintenance-mode
233
- #: inc/wp-maintenance-mode-settings.php:158
234
- msgid "minute"
235
- msgstr "хвилина"
236
-
237
- # @ wp-maintenance-mode
238
- #: inc/wp-maintenance-mode-settings.php:159
239
- msgid "hour"
240
- msgstr "година"
241
-
242
- # @ wp-maintenance-mode
243
- #: inc/wp-maintenance-mode-settings.php:160
244
- msgid "day"
245
- msgstr "день"
246
-
247
- # @ wp-maintenance-mode
248
- #: inc/wp-maintenance-mode-settings.php:161
249
- msgid "week"
250
- msgstr "тиждень"
251
-
252
- # @ wp-maintenance-mode
253
- #: inc/wp-maintenance-mode-settings.php:162
254
- msgid "month"
255
- msgstr "місяць"
256
-
257
- # @ wp-maintenance-mode
258
- #: inc/wp-maintenance-mode-settings.php:163
259
- msgid "year"
260
- msgstr "рік"
261
-
262
- # @ wp-maintenance-mode
263
- #: inc/wp-maintenance-mode-settings.php:169
264
- msgid "Link:"
265
- msgstr "Посилання:"
266
-
267
- # @ wp-maintenance-mode
268
- #: inc/wp-maintenance-mode-settings.php:177
269
- msgid ""
270
- "Please leave a link to the plugin- and design-author on your maintenance "
271
- "mode site."
272
- msgstr ""
273
- "Будь ласка, залишіть посилання на дизайнера та автора плаґіну на вашому "
274
- "сайті, що перебуває в режимі обслуговування."
275
-
276
- # @ wp-maintenance-mode
277
- #: inc/wp-maintenance-mode-settings.php:182
278
- msgid "Admin Link:"
279
- msgstr "Посилання на адмінку:"
280
-
281
- # @ wp-maintenance-mode
282
- #: inc/wp-maintenance-mode-settings.php:190
283
- msgid "Do you will a link to the admin area of your install?"
284
- msgstr "Ви хочете відображати посилання на адмінку вашого сайту?"
285
-
286
- # @ wp-maintenance-mode
287
- #: inc/wp-maintenance-mode-settings.php:200
288
- msgid "Simple Text"
289
- msgstr "Простий текст"
290
-
291
- # @ wp-maintenance-mode
292
- #: inc/wp-maintenance-mode-settings.php:201
293
- msgid "The Truck"
294
- msgstr "Вантажівка"
295
-
296
- # @ wp-maintenance-mode
297
- #: inc/wp-maintenance-mode-settings.php:202
298
- msgid "The Sun"
299
- msgstr "Сонце"
300
-
301
- # @ wp-maintenance-mode
302
- #: inc/wp-maintenance-mode-settings.php:203
303
- msgid "The FF Error"
304
- msgstr "Помилка ВогнеЛиса"
305
-
306
- # @ wp-maintenance-mode
307
- #: inc/wp-maintenance-mode-settings.php:204
308
- msgid "Monster"
309
- msgstr "Монстр"
310
-
311
- # @ wp-maintenance-mode
312
- #: inc/wp-maintenance-mode-settings.php:205
313
- msgid "Chastely"
314
- msgstr "Поміркованість"
315
-
316
- # @ wp-maintenance-mode
317
- #: inc/wp-maintenance-mode-settings.php:206
318
- msgid "Only Typo"
319
- msgstr "Тільки опечатки"
320
-
321
- # @ wp-maintenance-mode
322
- #: inc/wp-maintenance-mode-settings.php:207
323
- msgid "Paint"
324
- msgstr "Фарба"
325
-
326
- # @ wp-maintenance-mode
327
- #: inc/wp-maintenance-mode-settings.php:208
328
- msgid "Animate (Flash)"
329
- msgstr "Анімація (Flash)"
330
-
331
- # @ wp-maintenance-mode
332
- #: inc/wp-maintenance-mode-settings.php:209
333
- msgid "Damask"
334
- msgstr "Дамаск"
335
-
336
- # @ wp-maintenance-mode
337
- #: inc/wp-maintenance-mode-settings.php:210
338
- msgid "Lego"
339
- msgstr "Леґо"
340
-
341
- # @ wp-maintenance-mode
342
- #: inc/wp-maintenance-mode-settings.php:211
343
- msgid "Chemistry"
344
- msgstr "Хімія"
345
-
346
- # @ wp-maintenance-mode
347
- #: inc/wp-maintenance-mode-settings.php:220
348
- msgid "URL to the css-file (incl. http://)"
349
- msgstr "Шлях до css-файлу (включаючи http://)"
350
-
351
- # @ wp-maintenance-mode
352
- #: inc/wp-maintenance-mode-settings.php:222
353
- msgid ""
354
- "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
355
- "plugin folder, it will be deleted on the next automatical update of the "
356
- "plugin!"
357
- msgstr ""
358
- "<strong>Увага:</strong> Будь ласка, не копіюйте ваш CSS-файл у теку плаґіну, "
359
- "оскільки він буде видалений при наступному автоматичному оновленні плаґіну!"
360
-
361
- # @ wp-maintenance-mode
362
- #: inc/wp-maintenance-mode-settings.php:227
363
- #: inc/wp-maintenance-mode-settings.php:250
364
- msgid "Preview"
365
- msgstr "Попередній перегляд"
366
-
367
- # @ wp-maintenance-mode
368
- #: inc/wp-maintenance-mode-settings.php:257
369
- msgid "noindex, nofollow:"
370
- msgstr ""
371
-
372
- # @ wp-maintenance-mode
373
- #: inc/wp-maintenance-mode-settings.php:265
374
- msgid ""
375
- "The robots meta tag lets you utilize a granular, page-specific approach to "
376
- "controlling how an individual page should be indexed and served to users in "
377
- "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
378
- msgstr ""
379
- "Мета-теґи для пошукових роботів дають можливість використовувати тонко "
380
- "налаштований, специфічний для кожної сторінки підхід то управління тим, як "
381
- "конкретна сторінка індексується та надається користувачам у результатах "
382
- "пошукових запитів. Встановіть Так для noindex, nofollow; встановіть Ні для "
383
- "index, follow."
384
-
385
- # @ wp-maintenance-mode
386
- #: inc/wp-maintenance-mode-settings.php:270
387
- msgid "Title:"
388
- msgstr "Назва:"
389
-
390
- # @ wp-maintenance-mode
391
- #: inc/wp-maintenance-mode-settings.php:273
392
- #: inc/wp-maintenance-mode-settings.php:281
393
- #: inc/wp-maintenance-mode-settings.php:289
394
- msgid "Leave empty for default."
395
- msgstr "Лишіть порожнім, щоб використати значення за замовчуванням."
396
-
397
- # @ wp-maintenance-mode
398
- #: inc/wp-maintenance-mode-settings.php:278
399
- msgid "Header:"
400
- msgstr "Заголовок:"
401
-
402
- # @ wp-maintenance-mode
403
- #: inc/wp-maintenance-mode-settings.php:286
404
- msgid "Heading:"
405
- msgstr "Підзаголовок:"
406
-
407
- # @ wp-maintenance-mode
408
- #: inc/wp-maintenance-mode-settings.php:294
409
- msgid "Text:"
410
- msgstr "Текст:"
411
-
412
- # @ wp-maintenance-mode
413
- #: inc/wp-maintenance-mode-settings.php:307
414
- msgid "Exclude:"
415
- msgstr "Винятки:"
416
-
417
- # @ wp-maintenance-mode
418
- #: inc/wp-maintenance-mode-settings.php:323
419
- msgid ""
420
- "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
421
- "the Slug of page or post as a comma-separated list.<br />Example:"
422
- msgstr ""
423
- "Виключіть RSS-канал, сторінки, публікації, архіви або IP-адреси з режиму "
424
- "обслуговування. Додайте скорочення сторінок або публікацій, розділені комами."
425
-
426
- # @ wp-maintenance-mode
427
- #: inc/wp-maintenance-mode-settings.php:342
428
- msgid "Backend Role:"
429
- msgstr "Роль для адмінки:"
430
-
431
- # @ wp-maintenance-mode
432
- #: inc/wp-maintenance-mode-settings.php:367
433
- msgid "Allowed userrole to access the backend of this blog."
434
- msgstr "Роль, якій надано доступ до адмінки блоґу."
435
-
436
- # @ wp-maintenance-mode
437
- #: inc/wp-maintenance-mode-settings.php:368
438
- #: inc/wp-maintenance-mode-settings.php:399
439
- msgid "Super Admin has always access."
440
- msgstr "Суперадміністоратор завжди має доступ."
441
-
442
- # @ wp-maintenance-mode
443
- #: inc/wp-maintenance-mode-settings.php:373
444
- msgid "Frontend Role:"
445
- msgstr "Роль для фронтенду:"
446
-
447
- # @ wp-maintenance-mode
448
- #: inc/wp-maintenance-mode-settings.php:398
449
- msgid "Allowed userrole to see the frontend of this blog."
450
- msgstr "Роль, якій дозволено переглядати фронтенд блоґу."
451
-
452
- # @ wp-maintenance-mode
453
- #: inc/wp-maintenance-mode-settings.php:404
454
- msgid "Redirection:"
455
- msgstr "Перенаправлення:"
456
-
457
- # @ wp-maintenance-mode
458
- #: inc/wp-maintenance-mode-settings.php:409
459
- msgid ""
460
- "If you want that after the login the destination address is not standard to "
461
- "the dashboard, then defining a URL. (incl. http://)"
462
- msgstr ""
463
- "Якщо Ви хочете, щоб після входу здійснювалася переадресація на сторінку, "
464
- "відмінну від головної сторінки майстерні, вкажіть адресу сторінки. (влючаючи "
465
- "http://)"
466
-
467
- # @ wp-maintenance-mode
468
- #: inc/wp-maintenance-mode-settings.php:432
469
- msgid "Save"
470
- msgstr "Зберегти"
471
-
472
- # @ wp-maintenance-mode
473
- #: inc/wp-maintenance-mode-settings.php:300
474
- #, php-format
475
- msgid ""
476
- "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
477
- "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
478
- "are possible."
479
- msgstr ""
480
- "Використовуйте <em>%1$s</em> замість значення часу або зворотнього відліку і "
481
- "<em>%2$s</em> замість одиниць виміру часу або зворотнього відліку; можна "
482
- "також використовувати HTML і Shortcodes."
483
-
484
- # @ wp-maintenance-mode
485
- #: inc/wp-maintenance-mode-settings.php:301
486
- msgid ""
487
- "Use <code>[loginform]</code> for add the default login form in the "
488
- "maintenance page."
489
- msgstr ""
490
- "Використовуйте код <code>[loginform]</code>, щоб вставити стандартну форму "
491
- "входу на сторінці режиму обслуговування."
492
-
493
- # @ wp-maintenance-mode
494
- #: inc/wp-maintenance-mode-settings.php:415
495
- msgid "Notice:"
496
- msgstr "Сповіщення:"
497
-
498
- # @ wp-maintenance-mode
499
- #: inc/wp-maintenance-mode-settings.php:422
500
- msgid ""
501
- "Do you will see all notices, inside backend, the Admin Bar and the login "
502
- "screen?"
503
- msgstr ""
504
- "Чи хочете Ви бачити всі сповіщення в адмінці, рядку адміністратора вгорі "
505
- "сторінки у фронтенді, та на сторінці входу?"
506
-
507
- # @ default
508
- #: index.php:25
509
- msgid "Cheatin&#8217; uh?"
510
- msgstr ""
511
-
512
- # @ wp-maintenance-mode
513
- #. translators: plugin header field 'Name'
514
- #: wp-maintenance-mode.php:0
515
- msgid "WP Maintenance Mode"
516
- msgstr "Режим обслуговування Wordpress"
517
-
518
- # @ wp-maintenance-mode
519
- #. translators: plugin header field 'PluginURI'
520
- #: wp-maintenance-mode.php:0
521
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
522
- msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
523
-
524
- # @ wp-maintenance-mode
525
- #. translators: plugin header field 'Description'
526
- #: wp-maintenance-mode.php:0
527
- msgid ""
528
- "The plugin adds a splash page to your blog that lets visitors know your blog "
529
- "is down for maintenance. Logged in users get full access to the blog "
530
- "including the front-end, depends of the settings."
531
- msgstr ""
532
- "Плаґін додає до Вашого блоґу спеціальну сторінку, яка дає відвідувачам "
533
- "знати, що блоґ тимчасово закритий і проводяться роботи з технічного "
534
- "обслуговування. Користувачі, що увійшли, отримують повний доступ до блоґу, "
535
- "включно із фронтендом, в залежності від налаштувань."
536
-
537
- # @ wp-maintenance-mode
538
- #. translators: plugin header field 'Author'
539
- #: wp-maintenance-mode.php:0
540
- msgid "Frank B&uuml;ltge"
541
- msgstr "Frank B&uuml;ltge"
542
-
543
- # @ wp-maintenance-mode
544
- #. translators: plugin header field 'AuthorURI'
545
- #: wp-maintenance-mode.php:0
546
- msgid "http://bueltge.de/"
547
- msgstr "http://bueltge.de/"
548
-
549
- # @ wp-maintenance-mode
550
- #: inc/wp-maintenance-mode-settings.php:195
551
- msgid "CSS Style:"
552
- msgstr "Стиль CSS:"
553
-
554
- # @ wp-maintenance-mode
555
- #: inc/wp-maintenance-mode-settings.php:199
556
- msgid "Own CSS Stylesheet"
557
- msgstr "Власна таблиця стилів CSS"
558
-
559
- # @ wp-maintenance-mode
560
- #: inc/wp-maintenance-mode-settings.php:217
561
- msgid "Own CSS Style URL:"
562
- msgstr "Шлях до власної таблиців стилів CSS:"
563
-
564
- # @ wp-maintenance-mode
565
- #: inc/wp-maintenance-mode-settings.php:329
566
- msgid "Bypass for Search Bots:"
567
- msgstr "Обхід для пошукових роботів:"
568
-
569
- # @ wp-maintenance-mode
570
- #: inc/wp-maintenance-mode-settings.php:336
571
- msgid "Allow Search Bots to bypass maintenance mode?"
572
- msgstr "Дозволити пошуковим роботам обходити режим обслуговування?"
573
-
574
- # @ wp-maintenance-mode
575
- #. translators: plugin header field 'Version'
576
- #: wp-maintenance-mode.php:0
577
- msgid "1.8.7"
578
- msgstr "1.8.7"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-04-29 22:28+0200\n"
7
+ "Last-Translator: Maksym Kobieliev <maximaximums@gmail.com>\n"
8
+ "Language-Team: <maximaximums@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=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
13
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
14
+ "X-Generator: Poedit 1.5.4\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
17
+ "_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"
18
+ "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
+ "X-Textdomain-Support: yes\n"
20
+ "Language: uk\n"
21
+ "X-Poedit-SearchPath-0: .\n"
22
+
23
+ # @ wp-maintenance-mode
24
+ #: site.php:27 site.php:65
25
+ msgid "Maintenance Mode"
26
+ msgstr ""
27
+
28
+ # @ wp-maintenance-mode
29
+ #: site.php:72
30
+ msgid "Access to the admin area blocked"
31
+ msgstr "Доступ до панелі адміністратора заблоковано"
32
+
33
+ # @ wp-maintenance-mode
34
+ #: site.php:75
35
+ msgid "Admin-Logout"
36
+ msgstr "Вийти"
37
+
38
+ # @ wp-maintenance-mode
39
+ #: site.php:80
40
+ msgid "Admin-Login"
41
+ msgstr "Вхід для адміністраторів"
42
+
43
+ # @ default
44
+ #: inc/wp-maintenance-mode-settings.php:55
45
+ #: inc/wp-maintenance-mode-settings.php:65
46
+ msgid "Settings"
47
+ msgstr "Налаштування"
48
+
49
+ # @ wp-maintenance-mode
50
+ #: wp-maintenance-mode.php:304
51
+ msgid "Maintenance mode"
52
+ msgstr ""
53
+
54
+ # @ wp-maintenance-mode
55
+ #: wp-maintenance-mode.php:305
56
+ #, php-format
57
+ msgid ""
58
+ "<p>Sorry for the inconvenience.<br />Our website is currently undergoing "
59
+ "scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</"
60
+ "strong><br />Thank you for your understanding.</p>"
61
+ msgstr ""
62
+ "<p>Даруйте за незручності.<br />На нашому веб-сайті зараз проводиться "
63
+ "планові технічні роботи.<br /><strong>Будь ласка, спробуйте ще раз через "
64
+ "%1$s %2$s</strong><br />Дякуємо за розуміння.</p>"
65
+
66
+ # @ wp-maintenance-mode
67
+ #: wp-maintenance-mode.php:348 wp-maintenance-mode.php:428
68
+ msgid "Updated"
69
+ msgstr ""
70
+
71
+ # @ wp-maintenance-mode
72
+ #: wp-maintenance-mode.php:607
73
+ msgid "seconds"
74
+ msgstr ""
75
+
76
+ # @ wp-maintenance-mode
77
+ #: wp-maintenance-mode.php:611
78
+ msgid "minutes"
79
+ msgstr ""
80
+
81
+ # @ wp-maintenance-mode
82
+ #: wp-maintenance-mode.php:615
83
+ msgid "hours"
84
+ msgstr ""
85
+
86
+ # @ wp-maintenance-mode
87
+ #: wp-maintenance-mode.php:619
88
+ msgid "days"
89
+ msgstr ""
90
+
91
+ # @ wp-maintenance-mode
92
+ #: wp-maintenance-mode.php:623
93
+ msgid "weeks"
94
+ msgstr ""
95
+
96
+ # @ wp-maintenance-mode
97
+ #: wp-maintenance-mode.php:627
98
+ msgid "months"
99
+ msgstr ""
100
+
101
+ # @ wp-maintenance-mode
102
+ #: wp-maintenance-mode.php:631
103
+ msgid "years"
104
+ msgstr ""
105
+
106
+ # @ wp-maintenance-mode
107
+ #: wp-maintenance-mode.php:693
108
+ msgid " &amp; WP Super Cache flushed."
109
+ msgstr ""
110
+
111
+ # @ wp-maintenance-mode
112
+ #: wp-maintenance-mode.php:700
113
+ msgid " &amp; W3 Total Cache for pages flushed."
114
+ msgstr ""
115
+
116
+ # @ wp-maintenance-mode
117
+ #: wp-maintenance-mode.php:705 wp-maintenance-mode.php:1013
118
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
119
+ msgstr "Увага: Режим обслуговування <strong>активовано</strong>!"
120
+
121
+ # @ wp-maintenance-mode
122
+ #: wp-maintenance-mode.php:707
123
+ msgid "Deactivate or change Settings"
124
+ msgstr "Деактивувати або змінити налаштування"
125
+
126
+ # @ wp-maintenance-mode
127
+ #: wp-maintenance-mode.php:815
128
+ msgid "Plugin by:"
129
+ msgstr "Автор плаґіну:"
130
+
131
+ # @ wp-maintenance-mode
132
+ #: wp-maintenance-mode.php:817 wp-maintenance-mode.php:819
133
+ #: wp-maintenance-mode.php:821 wp-maintenance-mode.php:823
134
+ #: wp-maintenance-mode.php:825 wp-maintenance-mode.php:827
135
+ #: wp-maintenance-mode.php:829 wp-maintenance-mode.php:831
136
+ #: wp-maintenance-mode.php:833 wp-maintenance-mode.php:835
137
+ #: wp-maintenance-mode.php:837
138
+ msgid "Design by:"
139
+ msgstr "Дизайн плаґіну:"
140
+
141
+ # @ wp-maintenance-mode
142
+ #: inc/wp-maintenance-mode-settings.php:100
143
+ #: inc/wp-maintenance-mode-settings.php:429
144
+ #, php-format
145
+ msgid "Plugin %s settings <strong>updated</strong>."
146
+ msgstr "Налаштування плаґіна %s <strong>оновлено</strong>."
147
+
148
+ # @ wp-maintenance-mode
149
+ #: inc/wp-maintenance-mode-settings.php:103
150
+ #: inc/wp-maintenance-mode-settings.php:116
151
+ #, php-format
152
+ msgid "Plugin %s active status <strong>updated</strong>."
153
+ msgstr "Статус плаґіна %s <strong>оновлено</strong>."
154
+
155
+ # @ wp-maintenance-mode
156
+ #: inc/wp-maintenance-mode-settings.php:106
157
+ msgid "Plugin Activate"
158
+ msgstr "Активність плаґіну"
159
+
160
+ # @ wp-maintenance-mode
161
+ #: inc/wp-maintenance-mode-settings.php:110
162
+ #: inc/wp-maintenance-mode-settings.php:129
163
+ #: inc/wp-maintenance-mode-settings.php:173
164
+ #: inc/wp-maintenance-mode-settings.php:186
165
+ #: inc/wp-maintenance-mode-settings.php:261
166
+ #: inc/wp-maintenance-mode-settings.php:333
167
+ #: inc/wp-maintenance-mode-settings.php:419
168
+ msgid "False"
169
+ msgstr "Ні"
170
+
171
+ # @ wp-maintenance-mode
172
+ #: inc/wp-maintenance-mode-settings.php:111
173
+ #: inc/wp-maintenance-mode-settings.php:130
174
+ #: inc/wp-maintenance-mode-settings.php:174
175
+ #: inc/wp-maintenance-mode-settings.php:187
176
+ #: inc/wp-maintenance-mode-settings.php:262
177
+ #: inc/wp-maintenance-mode-settings.php:334
178
+ #: inc/wp-maintenance-mode-settings.php:420
179
+ msgid "True"
180
+ msgstr "Так"
181
+
182
+ # @ wp-maintenance-mode
183
+ #: inc/wp-maintenance-mode-settings.php:113
184
+ msgid "Update"
185
+ msgstr "Оновити"
186
+
187
+ # @ wp-maintenance-mode
188
+ #: inc/wp-maintenance-mode-settings.php:119
189
+ msgid "Plugin Settings"
190
+ msgstr "Налаштування плаґіна"
191
+
192
+ # @ wp-maintenance-mode
193
+ #: inc/wp-maintenance-mode-settings.php:125
194
+ msgid "Countdown:"
195
+ msgstr "Зворотній відлік:"
196
+
197
+ # @ wp-maintenance-mode
198
+ #: inc/wp-maintenance-mode-settings.php:136
199
+ #: inc/wp-maintenance-mode-settings.php:139
200
+ msgid "Click for datepicker"
201
+ msgstr "Клацніть, щоб відобразити календар"
202
+
203
+ # @ wp-maintenance-mode
204
+ #: inc/wp-maintenance-mode-settings.php:136
205
+ msgid "Date:"
206
+ msgstr "Дата:"
207
+
208
+ # @ wp-maintenance-mode
209
+ #: inc/wp-maintenance-mode-settings.php:140
210
+ msgid ""
211
+ "Activate countdown for using this. Use value and unit or use the countdown "
212
+ "and set the date."
213
+ msgstr ""
214
+ "Активуйте зворотній відлік, щоб використовувати це. Вкажіть значення і "
215
+ "одиницю виміру або вкажіть дату."
216
+
217
+ # @ wp-maintenance-mode
218
+ #: inc/wp-maintenance-mode-settings.php:145
219
+ msgid "Value:"
220
+ msgstr "Значення:"
221
+
222
+ # @ wp-maintenance-mode
223
+ #: inc/wp-maintenance-mode-settings.php:153
224
+ msgid "Unit:"
225
+ msgstr "Одиниця виміру:"
226
+
227
+ # @ wp-maintenance-mode
228
+ #: inc/wp-maintenance-mode-settings.php:157
229
+ msgid "second"
230
+ msgstr "секунда"
231
+
232
+ # @ wp-maintenance-mode
233
+ #: inc/wp-maintenance-mode-settings.php:158
234
+ msgid "minute"
235
+ msgstr "хвилина"
236
+
237
+ # @ wp-maintenance-mode
238
+ #: inc/wp-maintenance-mode-settings.php:159
239
+ msgid "hour"
240
+ msgstr "година"
241
+
242
+ # @ wp-maintenance-mode
243
+ #: inc/wp-maintenance-mode-settings.php:160
244
+ msgid "day"
245
+ msgstr "день"
246
+
247
+ # @ wp-maintenance-mode
248
+ #: inc/wp-maintenance-mode-settings.php:161
249
+ msgid "week"
250
+ msgstr "тиждень"
251
+
252
+ # @ wp-maintenance-mode
253
+ #: inc/wp-maintenance-mode-settings.php:162
254
+ msgid "month"
255
+ msgstr "місяць"
256
+
257
+ # @ wp-maintenance-mode
258
+ #: inc/wp-maintenance-mode-settings.php:163
259
+ msgid "year"
260
+ msgstr "рік"
261
+
262
+ # @ wp-maintenance-mode
263
+ #: inc/wp-maintenance-mode-settings.php:169
264
+ msgid "Link:"
265
+ msgstr "Посилання:"
266
+
267
+ # @ wp-maintenance-mode
268
+ #: inc/wp-maintenance-mode-settings.php:177
269
+ msgid ""
270
+ "Please leave a link to the plugin- and design-author on your maintenance "
271
+ "mode site."
272
+ msgstr ""
273
+ "Будь ласка, залишіть посилання на дизайнера та автора плаґіну на вашому "
274
+ "сайті, що перебуває в режимі обслуговування."
275
+
276
+ # @ wp-maintenance-mode
277
+ #: inc/wp-maintenance-mode-settings.php:182
278
+ msgid "Admin Link:"
279
+ msgstr "Посилання на адмінку:"
280
+
281
+ # @ wp-maintenance-mode
282
+ #: inc/wp-maintenance-mode-settings.php:190
283
+ msgid "Do you will a link to the admin area of your install?"
284
+ msgstr "Ви хочете відображати посилання на адмінку вашого сайту?"
285
+
286
+ # @ wp-maintenance-mode
287
+ #: inc/wp-maintenance-mode-settings.php:200
288
+ msgid "Simple Text"
289
+ msgstr "Простий текст"
290
+
291
+ # @ wp-maintenance-mode
292
+ #: inc/wp-maintenance-mode-settings.php:201
293
+ msgid "The Truck"
294
+ msgstr "Вантажівка"
295
+
296
+ # @ wp-maintenance-mode
297
+ #: inc/wp-maintenance-mode-settings.php:202
298
+ msgid "The Sun"
299
+ msgstr "Сонце"
300
+
301
+ # @ wp-maintenance-mode
302
+ #: inc/wp-maintenance-mode-settings.php:203
303
+ msgid "The FF Error"
304
+ msgstr "Помилка ВогнеЛиса"
305
+
306
+ # @ wp-maintenance-mode
307
+ #: inc/wp-maintenance-mode-settings.php:204
308
+ msgid "Monster"
309
+ msgstr "Монстр"
310
+
311
+ # @ wp-maintenance-mode
312
+ #: inc/wp-maintenance-mode-settings.php:205
313
+ msgid "Chastely"
314
+ msgstr "Поміркованість"
315
+
316
+ # @ wp-maintenance-mode
317
+ #: inc/wp-maintenance-mode-settings.php:206
318
+ msgid "Only Typo"
319
+ msgstr "Тільки опечатки"
320
+
321
+ # @ wp-maintenance-mode
322
+ #: inc/wp-maintenance-mode-settings.php:207
323
+ msgid "Paint"
324
+ msgstr "Фарба"
325
+
326
+ # @ wp-maintenance-mode
327
+ #: inc/wp-maintenance-mode-settings.php:208
328
+ msgid "Animate (Flash)"
329
+ msgstr "Анімація (Flash)"
330
+
331
+ # @ wp-maintenance-mode
332
+ #: inc/wp-maintenance-mode-settings.php:209
333
+ msgid "Damask"
334
+ msgstr "Дамаск"
335
+
336
+ # @ wp-maintenance-mode
337
+ #: inc/wp-maintenance-mode-settings.php:210
338
+ msgid "Lego"
339
+ msgstr "Леґо"
340
+
341
+ # @ wp-maintenance-mode
342
+ #: inc/wp-maintenance-mode-settings.php:211
343
+ msgid "Chemistry"
344
+ msgstr "Хімія"
345
+
346
+ # @ wp-maintenance-mode
347
+ #: inc/wp-maintenance-mode-settings.php:220
348
+ msgid "URL to the css-file (incl. http://)"
349
+ msgstr "Шлях до css-файлу (включаючи http://)"
350
+
351
+ # @ wp-maintenance-mode
352
+ #: inc/wp-maintenance-mode-settings.php:222
353
+ msgid ""
354
+ "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your "
355
+ "plugin folder, it will be deleted on the next automatical update of the "
356
+ "plugin!"
357
+ msgstr ""
358
+ "<strong>Увага:</strong> Будь ласка, не копіюйте ваш CSS-файл у теку плаґіну, "
359
+ "оскільки він буде видалений при наступному автоматичному оновленні плаґіну!"
360
+
361
+ # @ wp-maintenance-mode
362
+ #: inc/wp-maintenance-mode-settings.php:227
363
+ #: inc/wp-maintenance-mode-settings.php:250
364
+ msgid "Preview"
365
+ msgstr "Попередній перегляд"
366
+
367
+ # @ wp-maintenance-mode
368
+ #: inc/wp-maintenance-mode-settings.php:257
369
+ msgid "noindex, nofollow:"
370
+ msgstr ""
371
+
372
+ # @ wp-maintenance-mode
373
+ #: inc/wp-maintenance-mode-settings.php:265
374
+ msgid ""
375
+ "The robots meta tag lets you utilize a granular, page-specific approach to "
376
+ "controlling how an individual page should be indexed and served to users in "
377
+ "search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
378
+ msgstr ""
379
+ "Мета-теґи для пошукових роботів дають можливість використовувати тонко "
380
+ "налаштований, специфічний для кожної сторінки підхід то управління тим, як "
381
+ "конкретна сторінка індексується та надається користувачам у результатах "
382
+ "пошукових запитів. Встановіть Так для noindex, nofollow; встановіть Ні для "
383
+ "index, follow."
384
+
385
+ # @ wp-maintenance-mode
386
+ #: inc/wp-maintenance-mode-settings.php:270
387
+ msgid "Title:"
388
+ msgstr "Назва:"
389
+
390
+ # @ wp-maintenance-mode
391
+ #: inc/wp-maintenance-mode-settings.php:273
392
+ #: inc/wp-maintenance-mode-settings.php:281
393
+ #: inc/wp-maintenance-mode-settings.php:289
394
+ msgid "Leave empty for default."
395
+ msgstr "Лишіть порожнім, щоб використати значення за замовчуванням."
396
+
397
+ # @ wp-maintenance-mode
398
+ #: inc/wp-maintenance-mode-settings.php:278
399
+ msgid "Header:"
400
+ msgstr "Заголовок:"
401
+
402
+ # @ wp-maintenance-mode
403
+ #: inc/wp-maintenance-mode-settings.php:286
404
+ msgid "Heading:"
405
+ msgstr "Підзаголовок:"
406
+
407
+ # @ wp-maintenance-mode
408
+ #: inc/wp-maintenance-mode-settings.php:294
409
+ msgid "Text:"
410
+ msgstr "Текст:"
411
+
412
+ # @ wp-maintenance-mode
413
+ #: inc/wp-maintenance-mode-settings.php:307
414
+ msgid "Exclude:"
415
+ msgstr "Винятки:"
416
+
417
+ # @ wp-maintenance-mode
418
+ #: inc/wp-maintenance-mode-settings.php:323
419
+ msgid ""
420
+ "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add "
421
+ "the Slug of page or post as a comma-separated list.<br />Example:"
422
+ msgstr ""
423
+ "Виключіть RSS-канал, сторінки, публікації, архіви або IP-адреси з режиму "
424
+ "обслуговування. Додайте скорочення сторінок або публікацій, розділені комами."
425
+
426
+ # @ wp-maintenance-mode
427
+ #: inc/wp-maintenance-mode-settings.php:342
428
+ msgid "Backend Role:"
429
+ msgstr "Роль для адмінки:"
430
+
431
+ # @ wp-maintenance-mode
432
+ #: inc/wp-maintenance-mode-settings.php:367
433
+ msgid "Allowed userrole to access the backend of this blog."
434
+ msgstr "Роль, якій надано доступ до адмінки блоґу."
435
+
436
+ # @ wp-maintenance-mode
437
+ #: inc/wp-maintenance-mode-settings.php:368
438
+ #: inc/wp-maintenance-mode-settings.php:399
439
+ msgid "Super Admin has always access."
440
+ msgstr "Суперадміністоратор завжди має доступ."
441
+
442
+ # @ wp-maintenance-mode
443
+ #: inc/wp-maintenance-mode-settings.php:373
444
+ msgid "Frontend Role:"
445
+ msgstr "Роль для фронтенду:"
446
+
447
+ # @ wp-maintenance-mode
448
+ #: inc/wp-maintenance-mode-settings.php:398
449
+ msgid "Allowed userrole to see the frontend of this blog."
450
+ msgstr "Роль, якій дозволено переглядати фронтенд блоґу."
451
+
452
+ # @ wp-maintenance-mode
453
+ #: inc/wp-maintenance-mode-settings.php:404
454
+ msgid "Redirection:"
455
+ msgstr "Перенаправлення:"
456
+
457
+ # @ wp-maintenance-mode
458
+ #: inc/wp-maintenance-mode-settings.php:409
459
+ msgid ""
460
+ "If you want that after the login the destination address is not standard to "
461
+ "the dashboard, then defining a URL. (incl. http://)"
462
+ msgstr ""
463
+ "Якщо Ви хочете, щоб після входу здійснювалася переадресація на сторінку, "
464
+ "відмінну від головної сторінки майстерні, вкажіть адресу сторінки. (влючаючи "
465
+ "http://)"
466
+
467
+ # @ wp-maintenance-mode
468
+ #: inc/wp-maintenance-mode-settings.php:432
469
+ msgid "Save"
470
+ msgstr "Зберегти"
471
+
472
+ # @ wp-maintenance-mode
473
+ #: inc/wp-maintenance-mode-settings.php:300
474
+ #, php-format
475
+ msgid ""
476
+ "Use the first <em>%1$s</em> for the time value or countdown and second <em>"
477
+ "%2$s</em> for the unit of the time or countdown-value; HTML and Shortcodes "
478
+ "are possible."
479
+ msgstr ""
480
+ "Використовуйте <em>%1$s</em> замість значення часу або зворотнього відліку і "
481
+ "<em>%2$s</em> замість одиниць виміру часу або зворотнього відліку; можна "
482
+ "також використовувати HTML і Shortcodes."
483
+
484
+ # @ wp-maintenance-mode
485
+ #: inc/wp-maintenance-mode-settings.php:301
486
+ msgid ""
487
+ "Use <code>[loginform]</code> for add the default login form in the "
488
+ "maintenance page."
489
+ msgstr ""
490
+ "Використовуйте код <code>[loginform]</code>, щоб вставити стандартну форму "
491
+ "входу на сторінці режиму обслуговування."
492
+
493
+ # @ wp-maintenance-mode
494
+ #: inc/wp-maintenance-mode-settings.php:415
495
+ msgid "Notice:"
496
+ msgstr "Сповіщення:"
497
+
498
+ # @ wp-maintenance-mode
499
+ #: inc/wp-maintenance-mode-settings.php:422
500
+ msgid ""
501
+ "Do you will see all notices, inside backend, the Admin Bar and the login "
502
+ "screen?"
503
+ msgstr ""
504
+ "Чи хочете Ви бачити всі сповіщення в адмінці, рядку адміністратора вгорі "
505
+ "сторінки у фронтенді, та на сторінці входу?"
506
+
507
+ # @ default
508
+ #: index.php:25
509
+ msgid "Cheatin&#8217; uh?"
510
+ msgstr ""
511
+
512
+ # @ wp-maintenance-mode
513
+ #. translators: plugin header field 'Name'
514
+ #: wp-maintenance-mode.php:0
515
+ msgid "WP Maintenance Mode"
516
+ msgstr "Режим обслуговування Wordpress"
517
+
518
+ # @ wp-maintenance-mode
519
+ #. translators: plugin header field 'PluginURI'
520
+ #: wp-maintenance-mode.php:0
521
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
522
+ msgstr "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
523
+
524
+ # @ wp-maintenance-mode
525
+ #. translators: plugin header field 'Description'
526
+ #: wp-maintenance-mode.php:0
527
+ msgid ""
528
+ "The plugin adds a splash page to your blog that lets visitors know your blog "
529
+ "is down for maintenance. Logged in users get full access to the blog "
530
+ "including the front-end, depends of the settings."
531
+ msgstr ""
532
+ "Плаґін додає до Вашого блоґу спеціальну сторінку, яка дає відвідувачам "
533
+ "знати, що блоґ тимчасово закритий і проводяться роботи з технічного "
534
+ "обслуговування. Користувачі, що увійшли, отримують повний доступ до блоґу, "
535
+ "включно із фронтендом, в залежності від налаштувань."
536
+
537
+ # @ wp-maintenance-mode
538
+ #. translators: plugin header field 'Author'
539
+ #: wp-maintenance-mode.php:0
540
+ msgid "Frank B&uuml;ltge"
541
+ msgstr "Frank B&uuml;ltge"
542
+
543
+ # @ wp-maintenance-mode
544
+ #. translators: plugin header field 'AuthorURI'
545
+ #: wp-maintenance-mode.php:0
546
+ msgid "http://bueltge.de/"
547
+ msgstr "http://bueltge.de/"
548
+
549
+ # @ wp-maintenance-mode
550
+ #: inc/wp-maintenance-mode-settings.php:195
551
+ msgid "CSS Style:"
552
+ msgstr "Стиль CSS:"
553
+
554
+ # @ wp-maintenance-mode
555
+ #: inc/wp-maintenance-mode-settings.php:199
556
+ msgid "Own CSS Stylesheet"
557
+ msgstr "Власна таблиця стилів CSS"
558
+
559
+ # @ wp-maintenance-mode
560
+ #: inc/wp-maintenance-mode-settings.php:217
561
+ msgid "Own CSS Style URL:"
562
+ msgstr "Шлях до власної таблиців стилів CSS:"
563
+
564
+ # @ wp-maintenance-mode
565
+ #: inc/wp-maintenance-mode-settings.php:329
566
+ msgid "Bypass for Search Bots:"
567
+ msgstr "Обхід для пошукових роботів:"
568
+
569
+ # @ wp-maintenance-mode
570
+ #: inc/wp-maintenance-mode-settings.php:336
571
+ msgid "Allow Search Bots to bypass maintenance mode?"
572
+ msgstr "Дозволити пошуковим роботам обходити режим обслуговування?"
573
+
574
+ # @ wp-maintenance-mode
575
+ #. translators: plugin header field 'Version'
576
+ #: wp-maintenance-mode.php:0
577
+ msgid "1.8.7"
578
+ msgstr "1.8.7"
languages/wp-maintenance-mode-xx_XX.pot CHANGED
@@ -1,531 +1,531 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
- "PO-Revision-Date: 2013-03-21 12:20:53+0000\n"
7
- "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
- "Language-Team: \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-Generator: CSL v1.x\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "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"
18
- "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
- "X-Poedit-Bookmarks: \n"
20
- "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
-
23
- #: site.php:27
24
- #: site.php:65
25
- #@ wp-maintenance-mode
26
- msgid "Maintenance Mode"
27
- msgstr "Wartungsmodus"
28
-
29
- #: site.php:72
30
- #@ wp-maintenance-mode
31
- msgid "Access to the admin area blocked"
32
- msgstr "Zugang zum Admin-Bereich wurde blockiert"
33
-
34
- #: site.php:75
35
- #@ wp-maintenance-mode
36
- msgid "Admin-Logout"
37
- msgstr "Admin-Logout"
38
-
39
- #: site.php:80
40
- #@ wp-maintenance-mode
41
- msgid "Admin-Login"
42
- msgstr "Admin-Login"
43
-
44
- #: inc/wp-maintenance-mode-settings.php:55
45
- #: inc/wp-maintenance-mode-settings.php:65
46
- #@ default
47
- msgid "Settings"
48
- msgstr "Einstellungen"
49
-
50
- #: wp-maintenance-mode.php:304
51
- #@ wp-maintenance-mode
52
- msgid "Maintenance mode"
53
- msgstr "Wartungsmodus"
54
-
55
- #: wp-maintenance-mode.php:305
56
- #, php-format
57
- #@ wp-maintenance-mode
58
- msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
59
- msgstr "<p>Es tut uns leid..<br />Auf unserer Site werden aktuelle Wartungsarbeiten durchgeführt.<br /><strong>Bitte besuche uns in %1$s %2$s</strong> wieder.<br />Vielen Dank für das Verständnis.</p>"
60
-
61
- #: wp-maintenance-mode.php:348
62
- #: wp-maintenance-mode.php:428
63
- #@ wp-maintenance-mode
64
- msgid "Updated"
65
- msgstr "Gespeichert"
66
-
67
- #: wp-maintenance-mode.php:607
68
- #@ wp-maintenance-mode
69
- msgid "seconds"
70
- msgstr "Sekunden"
71
-
72
- #: wp-maintenance-mode.php:611
73
- #@ wp-maintenance-mode
74
- msgid "minutes"
75
- msgstr "Minuten"
76
-
77
- #: wp-maintenance-mode.php:615
78
- #@ wp-maintenance-mode
79
- msgid "hours"
80
- msgstr "Stunden"
81
-
82
- #: wp-maintenance-mode.php:619
83
- #@ wp-maintenance-mode
84
- msgid "days"
85
- msgstr "Tagen"
86
-
87
- #: wp-maintenance-mode.php:623
88
- #@ wp-maintenance-mode
89
- msgid "weeks"
90
- msgstr "Wochen"
91
-
92
- #: wp-maintenance-mode.php:627
93
- #@ wp-maintenance-mode
94
- msgid "months"
95
- msgstr "Monate"
96
-
97
- #: wp-maintenance-mode.php:631
98
- #@ wp-maintenance-mode
99
- msgid "years"
100
- msgstr "Jahren"
101
-
102
- #: wp-maintenance-mode.php:693
103
- #@ wp-maintenance-mode
104
- msgid " &amp; WP Super Cache flushed."
105
- msgstr " &amp; WP Super Cache aktualisiert."
106
-
107
- #: wp-maintenance-mode.php:700
108
- #@ wp-maintenance-mode
109
- msgid " &amp; W3 Total Cache for pages flushed."
110
- msgstr " &amp; W3 Total Cache für Seiten aktualisiert."
111
-
112
- #: wp-maintenance-mode.php:705
113
- #: wp-maintenance-mode.php:1013
114
- #@ wp-maintenance-mode
115
- msgid "Caution: Maintenance mode is <strong>active</strong>!"
116
- msgstr "Achtung: Wartungsmodus ist <strong>aktiv</strong>!"
117
-
118
- #: wp-maintenance-mode.php:707
119
- #@ wp-maintenance-mode
120
- msgid "Deactivate or change Settings"
121
- msgstr "Deaktivieren oder Einstellungen ändern "
122
-
123
- #: wp-maintenance-mode.php:815
124
- #@ wp-maintenance-mode
125
- msgid "Plugin by:"
126
- msgstr "Plugin von:"
127
-
128
- #: wp-maintenance-mode.php:817
129
- #: wp-maintenance-mode.php:819
130
- #: wp-maintenance-mode.php:821
131
- #: wp-maintenance-mode.php:823
132
- #: wp-maintenance-mode.php:825
133
- #: wp-maintenance-mode.php:827
134
- #: wp-maintenance-mode.php:829
135
- #: wp-maintenance-mode.php:831
136
- #: wp-maintenance-mode.php:833
137
- #: wp-maintenance-mode.php:835
138
- #: wp-maintenance-mode.php:837
139
- #@ wp-maintenance-mode
140
- msgid "Design by:"
141
- msgstr "Design von:"
142
-
143
- #: inc/wp-maintenance-mode-settings.php:100
144
- #: inc/wp-maintenance-mode-settings.php:429
145
- #, php-format
146
- #@ wp-maintenance-mode
147
- msgid "Plugin %s settings <strong>updated</strong>."
148
- msgstr "Plugin %s Einstellungen <strong>gespeichert</strong>."
149
-
150
- #: inc/wp-maintenance-mode-settings.php:103
151
- #: inc/wp-maintenance-mode-settings.php:116
152
- #, php-format
153
- #@ wp-maintenance-mode
154
- msgid "Plugin %s active status <strong>updated</strong>."
155
- msgstr "Plugin %s aktiv-status <strong>aktualisiert</strong>."
156
-
157
- #: inc/wp-maintenance-mode-settings.php:106
158
- #@ wp-maintenance-mode
159
- msgid "Plugin Activate"
160
- msgstr "Plugin aktivieren"
161
-
162
- #: inc/wp-maintenance-mode-settings.php:110
163
- #: inc/wp-maintenance-mode-settings.php:129
164
- #: inc/wp-maintenance-mode-settings.php:173
165
- #: inc/wp-maintenance-mode-settings.php:186
166
- #: inc/wp-maintenance-mode-settings.php:261
167
- #: inc/wp-maintenance-mode-settings.php:333
168
- #: inc/wp-maintenance-mode-settings.php:419
169
- #@ wp-maintenance-mode
170
- msgid "False"
171
- msgstr "Nein"
172
-
173
- #: inc/wp-maintenance-mode-settings.php:111
174
- #: inc/wp-maintenance-mode-settings.php:130
175
- #: inc/wp-maintenance-mode-settings.php:174
176
- #: inc/wp-maintenance-mode-settings.php:187
177
- #: inc/wp-maintenance-mode-settings.php:262
178
- #: inc/wp-maintenance-mode-settings.php:334
179
- #: inc/wp-maintenance-mode-settings.php:420
180
- #@ wp-maintenance-mode
181
- msgid "True"
182
- msgstr "Ja"
183
-
184
- #: inc/wp-maintenance-mode-settings.php:113
185
- #@ wp-maintenance-mode
186
- msgid "Update"
187
- msgstr "Aktualisieren"
188
-
189
- #: inc/wp-maintenance-mode-settings.php:119
190
- #@ wp-maintenance-mode
191
- msgid "Plugin Settings"
192
- msgstr "Plugin Einstellungen"
193
-
194
- #: inc/wp-maintenance-mode-settings.php:125
195
- #@ wp-maintenance-mode
196
- msgid "Countdown:"
197
- msgstr "Countdown:"
198
-
199
- #: inc/wp-maintenance-mode-settings.php:136
200
- #: inc/wp-maintenance-mode-settings.php:139
201
- #@ wp-maintenance-mode
202
- msgid "Click for datepicker"
203
- msgstr "Klick für den Datums-Picker"
204
-
205
- #: inc/wp-maintenance-mode-settings.php:136
206
- #@ wp-maintenance-mode
207
- msgid "Date:"
208
- msgstr "Datum:"
209
-
210
- #: inc/wp-maintenance-mode-settings.php:140
211
- #@ wp-maintenance-mode
212
- msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
213
- msgstr "Aktiviere den Countdown um ihn zu nutzen. Vergebe Wert und Einheit oder wähle ein Datum für den Countdown."
214
-
215
- #: inc/wp-maintenance-mode-settings.php:145
216
- #@ wp-maintenance-mode
217
- msgid "Value:"
218
- msgstr "Wert:"
219
-
220
- #: inc/wp-maintenance-mode-settings.php:153
221
- #@ wp-maintenance-mode
222
- msgid "Unit:"
223
- msgstr "Einheit:"
224
-
225
- #: inc/wp-maintenance-mode-settings.php:157
226
- #@ wp-maintenance-mode
227
- msgid "second"
228
- msgstr "sekunde"
229
-
230
- #: inc/wp-maintenance-mode-settings.php:158
231
- #@ wp-maintenance-mode
232
- msgid "minute"
233
- msgstr "minute"
234
-
235
- #: inc/wp-maintenance-mode-settings.php:159
236
- #@ wp-maintenance-mode
237
- msgid "hour"
238
- msgstr "stunde"
239
-
240
- #: inc/wp-maintenance-mode-settings.php:160
241
- #@ wp-maintenance-mode
242
- msgid "day"
243
- msgstr "tag"
244
-
245
- #: inc/wp-maintenance-mode-settings.php:161
246
- #@ wp-maintenance-mode
247
- msgid "week"
248
- msgstr "woche"
249
-
250
- #: inc/wp-maintenance-mode-settings.php:162
251
- #@ wp-maintenance-mode
252
- msgid "month"
253
- msgstr "monat"
254
-
255
- #: inc/wp-maintenance-mode-settings.php:163
256
- #@ wp-maintenance-mode
257
- msgid "year"
258
- msgstr "jahr"
259
-
260
- #: inc/wp-maintenance-mode-settings.php:169
261
- #@ wp-maintenance-mode
262
- msgid "Link:"
263
- msgstr "Link:"
264
-
265
- #: inc/wp-maintenance-mode-settings.php:177
266
- #@ wp-maintenance-mode
267
- msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
268
- msgstr "Bitte hinterlasse einen Link zum Plugin- und Design-Autor auf deiner Wartungsmodus-Seite."
269
-
270
- #: inc/wp-maintenance-mode-settings.php:182
271
- #@ wp-maintenance-mode
272
- msgid "Admin Link:"
273
- msgstr "Admin Link:"
274
-
275
- #: inc/wp-maintenance-mode-settings.php:190
276
- #@ wp-maintenance-mode
277
- msgid "Do you will a link to the admin area of your install?"
278
- msgstr "Willst du einen Link zum Admin Bereich dieser Installation?"
279
-
280
- #: inc/wp-maintenance-mode-settings.php:200
281
- #@ wp-maintenance-mode
282
- msgid "Simple Text"
283
- msgstr "Einfach Text"
284
-
285
- #: inc/wp-maintenance-mode-settings.php:201
286
- #@ wp-maintenance-mode
287
- msgid "The Truck"
288
- msgstr "Der Truck"
289
-
290
- #: inc/wp-maintenance-mode-settings.php:202
291
- #@ wp-maintenance-mode
292
- msgid "The Sun"
293
- msgstr "The Sun"
294
-
295
- #: inc/wp-maintenance-mode-settings.php:203
296
- #@ wp-maintenance-mode
297
- msgid "The FF Error"
298
- msgstr "The FF Error"
299
-
300
- #: inc/wp-maintenance-mode-settings.php:204
301
- #@ wp-maintenance-mode
302
- msgid "Monster"
303
- msgstr "Monster"
304
-
305
- #: inc/wp-maintenance-mode-settings.php:205
306
- #@ wp-maintenance-mode
307
- msgid "Chastely"
308
- msgstr "Chastely"
309
-
310
- #: inc/wp-maintenance-mode-settings.php:206
311
- #@ wp-maintenance-mode
312
- msgid "Only Typo"
313
- msgstr "Only Typo"
314
-
315
- #: inc/wp-maintenance-mode-settings.php:207
316
- #@ wp-maintenance-mode
317
- msgid "Paint"
318
- msgstr "Paint"
319
-
320
- #: inc/wp-maintenance-mode-settings.php:208
321
- #@ wp-maintenance-mode
322
- msgid "Animate (Flash)"
323
- msgstr "Animate (Flash)"
324
-
325
- #: inc/wp-maintenance-mode-settings.php:209
326
- #@ wp-maintenance-mode
327
- msgid "Damask"
328
- msgstr "Damask"
329
-
330
- #: inc/wp-maintenance-mode-settings.php:210
331
- #@ wp-maintenance-mode
332
- msgid "Lego"
333
- msgstr "Lego"
334
-
335
- #: inc/wp-maintenance-mode-settings.php:211
336
- #@ wp-maintenance-mode
337
- msgid "Chemistry"
338
- msgstr "Chemielabor"
339
-
340
- #: inc/wp-maintenance-mode-settings.php:220
341
- #@ wp-maintenance-mode
342
- msgid "URL to the css-file (incl. http://)"
343
- msgstr "URL zur css-Datei (inkl. http://)"
344
-
345
- #: inc/wp-maintenance-mode-settings.php:222
346
- #@ wp-maintenance-mode
347
- msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
348
- msgstr "<strong>Hinweis:</strong> Bitte speichere das Sytelsheet nicht im Plugin-Ordner, der Ordner wird beim automatischen Update ersetzt!"
349
-
350
- #: inc/wp-maintenance-mode-settings.php:227
351
- #: inc/wp-maintenance-mode-settings.php:250
352
- #@ wp-maintenance-mode
353
- msgid "Preview"
354
- msgstr "Vorschau"
355
-
356
- #: inc/wp-maintenance-mode-settings.php:257
357
- #@ wp-maintenance-mode
358
- msgid "noindex, nofollow:"
359
- msgstr "noindex, nofollow:"
360
-
361
- #: inc/wp-maintenance-mode-settings.php:265
362
- #@ wp-maintenance-mode
363
- msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
364
- msgstr "Der robots meta Tag gibt die Möglichkeit die Indizierung der Site durch Suchmaschinen zu steuern. Wähle den Wert, der auf Wartungsseite genutzt werden soll. Setze Ja für nonidex, nofollow; setze Nein für index, follow."
365
-
366
- #: inc/wp-maintenance-mode-settings.php:270
367
- #@ wp-maintenance-mode
368
- msgid "Title:"
369
- msgstr "Titel:"
370
-
371
- #: inc/wp-maintenance-mode-settings.php:273
372
- #: inc/wp-maintenance-mode-settings.php:281
373
- #: inc/wp-maintenance-mode-settings.php:289
374
- #@ wp-maintenance-mode
375
- msgid "Leave empty for default."
376
- msgstr "Leer lassen für den Standardtext."
377
-
378
- #: inc/wp-maintenance-mode-settings.php:278
379
- #@ wp-maintenance-mode
380
- msgid "Header:"
381
- msgstr "Header:"
382
-
383
- #: inc/wp-maintenance-mode-settings.php:286
384
- #@ wp-maintenance-mode
385
- msgid "Heading:"
386
- msgstr "Überschrift:"
387
-
388
- #: inc/wp-maintenance-mode-settings.php:294
389
- #@ wp-maintenance-mode
390
- msgid "Text:"
391
- msgstr "Text:"
392
-
393
- #: inc/wp-maintenance-mode-settings.php:307
394
- #, fuzzy
395
- #@ wp-maintenance-mode
396
- msgid "Exclude:"
397
- msgstr "Ausnahmen:"
398
-
399
- #: inc/wp-maintenance-mode-settings.php:323
400
- #@ wp-maintenance-mode
401
- msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
402
- msgstr "Die Ausnahme des Wartungsmodus ist möglich für Inhalte aller Art, auch der Feed. Füge den Titelform (Slug) hinzu, als Komma-Separierte Liste.<br />Beispiel:"
403
-
404
- #: inc/wp-maintenance-mode-settings.php:342
405
- #@ wp-maintenance-mode
406
- msgid "Backend Role:"
407
- msgstr "Backendrolle:"
408
-
409
- #: inc/wp-maintenance-mode-settings.php:367
410
- #@ wp-maintenance-mode
411
- msgid "Allowed userrole to access the backend of this blog."
412
- msgstr "Erlaubte User-Rolle für das Sehen des Backend von diesem Blog."
413
-
414
- #: inc/wp-maintenance-mode-settings.php:368
415
- #: inc/wp-maintenance-mode-settings.php:399
416
- #@ wp-maintenance-mode
417
- msgid "Super Admin has always access."
418
- msgstr "Super Admin hat immer Zugang."
419
-
420
- #: inc/wp-maintenance-mode-settings.php:373
421
- #@ wp-maintenance-mode
422
- msgid "Frontend Role:"
423
- msgstr "Frontendrolle:"
424
-
425
- #: inc/wp-maintenance-mode-settings.php:398
426
- #@ wp-maintenance-mode
427
- msgid "Allowed userrole to see the frontend of this blog."
428
- msgstr "Erlaubte User-Rolle für das Sehen des Frontend von diesem Blog."
429
-
430
- #: inc/wp-maintenance-mode-settings.php:404
431
- #@ wp-maintenance-mode
432
- msgid "Redirection:"
433
- msgstr "Weiterleitung:"
434
-
435
- #: inc/wp-maintenance-mode-settings.php:409
436
- #@ wp-maintenance-mode
437
- msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
438
- msgstr "Wenn du nach dem Login eine Weiterleitung verändert zum Standard, dem Dashboard, wünschst, dann definiere eine URL. (inkl. http://)"
439
-
440
- #: inc/wp-maintenance-mode-settings.php:432
441
- #@ wp-maintenance-mode
442
- msgid "Save"
443
- msgstr "Speichern"
444
-
445
- #: inc/wp-maintenance-mode-settings.php:300
446
- #, php-format
447
- #@ wp-maintenance-mode
448
- 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."
449
- msgstr "Nutze zu erst <em>%1$s</em>für die Zeitwerte oder den Countdown und den zweiten String <em>%2$s</em> für die Einheit der Zeit oder der Countdown-Werte; HTML und Shortcodes sind möglich."
450
-
451
- #: inc/wp-maintenance-mode-settings.php:301
452
- #@ wp-maintenance-mode
453
- msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
454
- msgstr "Nutze <code>[loginform]</code> für das Hinzufügen eines Login Formulars auf der Wartungsseite."
455
-
456
- #: inc/wp-maintenance-mode-settings.php:415
457
- #@ wp-maintenance-mode
458
- msgid "Notice:"
459
- msgstr "Hinweis:"
460
-
461
- #: inc/wp-maintenance-mode-settings.php:422
462
- #@ wp-maintenance-mode
463
- msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
464
- msgstr "Willst du alle Hinweise zum aktiven Wartungsmodus sehen, im Backend, in der Admin Bar und im Login Screen?"
465
-
466
- #: index.php:25
467
- #@ default
468
- msgid "Cheatin&#8217; uh?"
469
- msgstr ""
470
-
471
- #. translators: plugin header field 'Name'
472
- #: wp-maintenance-mode.php:0
473
- #@ wp-maintenance-mode
474
- msgid "WP Maintenance Mode"
475
- msgstr "WP Wartungsmodus"
476
-
477
- #. translators: plugin header field 'PluginURI'
478
- #: wp-maintenance-mode.php:0
479
- #@ wp-maintenance-mode
480
- msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
481
- msgstr ""
482
-
483
- #. translators: plugin header field 'Description'
484
- #: wp-maintenance-mode.php:0
485
- #@ wp-maintenance-mode
486
- 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."
487
- msgstr "Das Plugin aktiviert eine Wartungsseite im Frontend und informiert Besucher deiner Installation über die Wartung und zu erwartende Ausfallzeit. Eingeloggte Nutzer haben vollen Zugriff auf Frontend und Backend, abhängig von den vergebenen Einstellungen."
488
-
489
- #. translators: plugin header field 'Author'
490
- #: wp-maintenance-mode.php:0
491
- #@ wp-maintenance-mode
492
- msgid "Frank B&uuml;ltge"
493
- msgstr ""
494
-
495
- #. translators: plugin header field 'AuthorURI'
496
- #: wp-maintenance-mode.php:0
497
- #@ wp-maintenance-mode
498
- msgid "http://bueltge.de/"
499
- msgstr ""
500
-
501
- #: inc/wp-maintenance-mode-settings.php:195
502
- #@ wp-maintenance-mode
503
- msgid "CSS Style:"
504
- msgstr "CSS Style:"
505
-
506
- #: inc/wp-maintenance-mode-settings.php:199
507
- #@ wp-maintenance-mode
508
- msgid "Own CSS Stylesheet"
509
- msgstr "Eigenes CSS Stylesheet"
510
-
511
- #: inc/wp-maintenance-mode-settings.php:217
512
- #@ wp-maintenance-mode
513
- msgid "Own CSS Style URL:"
514
- msgstr "Eigene CSS Stylesheet URL:"
515
-
516
- #: inc/wp-maintenance-mode-settings.php:329
517
- #@ wp-maintenance-mode
518
- msgid "Bypass for Search Bots:"
519
- msgstr "Bypass für Such-Robots:"
520
-
521
- #: inc/wp-maintenance-mode-settings.php:336
522
- #@ wp-maintenance-mode
523
- msgid "Allow Search Bots to bypass maintenance mode?"
524
- msgstr "Erlaube Suchmaschinen-Robots den Wartungsmodus zu umgehen?"
525
-
526
- #. translators: plugin header field 'Version'
527
- #: wp-maintenance-mode.php:0
528
- #@ wp-maintenance-mode
529
- msgid "1.8.7"
530
- msgstr ""
531
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Maintenance Mode v1.8.7\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-11-14 12:06+0100\n"
6
+ "PO-Revision-Date: 2013-03-21 12:20:53+0000\n"
7
+ "Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
8
+ "Language-Team: \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-Generator: CSL v1.x\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "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"
18
+ "X-Poedit-Basepath: c:/xampp/htdocs/wp-plugins/wp-maintenance-mode/\n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #: site.php:27
24
+ #: site.php:65
25
+ #@ wp-maintenance-mode
26
+ msgid "Maintenance Mode"
27
+ msgstr "Wartungsmodus"
28
+
29
+ #: site.php:72
30
+ #@ wp-maintenance-mode
31
+ msgid "Access to the admin area blocked"
32
+ msgstr "Zugang zum Admin-Bereich wurde blockiert"
33
+
34
+ #: site.php:75
35
+ #@ wp-maintenance-mode
36
+ msgid "Admin-Logout"
37
+ msgstr "Admin-Logout"
38
+
39
+ #: site.php:80
40
+ #@ wp-maintenance-mode
41
+ msgid "Admin-Login"
42
+ msgstr "Admin-Login"
43
+
44
+ #: inc/wp-maintenance-mode-settings.php:55
45
+ #: inc/wp-maintenance-mode-settings.php:65
46
+ #@ default
47
+ msgid "Settings"
48
+ msgstr "Einstellungen"
49
+
50
+ #: wp-maintenance-mode.php:304
51
+ #@ wp-maintenance-mode
52
+ msgid "Maintenance mode"
53
+ msgstr "Wartungsmodus"
54
+
55
+ #: wp-maintenance-mode.php:305
56
+ #, php-format
57
+ #@ wp-maintenance-mode
58
+ msgid "<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>"
59
+ msgstr "<p>Es tut uns leid..<br />Auf unserer Site werden aktuelle Wartungsarbeiten durchgeführt.<br /><strong>Bitte besuche uns in %1$s %2$s</strong> wieder.<br />Vielen Dank für das Verständnis.</p>"
60
+
61
+ #: wp-maintenance-mode.php:348
62
+ #: wp-maintenance-mode.php:428
63
+ #@ wp-maintenance-mode
64
+ msgid "Updated"
65
+ msgstr "Gespeichert"
66
+
67
+ #: wp-maintenance-mode.php:607
68
+ #@ wp-maintenance-mode
69
+ msgid "seconds"
70
+ msgstr "Sekunden"
71
+
72
+ #: wp-maintenance-mode.php:611
73
+ #@ wp-maintenance-mode
74
+ msgid "minutes"
75
+ msgstr "Minuten"
76
+
77
+ #: wp-maintenance-mode.php:615
78
+ #@ wp-maintenance-mode
79
+ msgid "hours"
80
+ msgstr "Stunden"
81
+
82
+ #: wp-maintenance-mode.php:619
83
+ #@ wp-maintenance-mode
84
+ msgid "days"
85
+ msgstr "Tagen"
86
+
87
+ #: wp-maintenance-mode.php:623
88
+ #@ wp-maintenance-mode
89
+ msgid "weeks"
90
+ msgstr "Wochen"
91
+
92
+ #: wp-maintenance-mode.php:627
93
+ #@ wp-maintenance-mode
94
+ msgid "months"
95
+ msgstr "Monate"
96
+
97
+ #: wp-maintenance-mode.php:631
98
+ #@ wp-maintenance-mode
99
+ msgid "years"
100
+ msgstr "Jahren"
101
+
102
+ #: wp-maintenance-mode.php:693
103
+ #@ wp-maintenance-mode
104
+ msgid " &amp; WP Super Cache flushed."
105
+ msgstr " &amp; WP Super Cache aktualisiert."
106
+
107
+ #: wp-maintenance-mode.php:700
108
+ #@ wp-maintenance-mode
109
+ msgid " &amp; W3 Total Cache for pages flushed."
110
+ msgstr " &amp; W3 Total Cache für Seiten aktualisiert."
111
+
112
+ #: wp-maintenance-mode.php:705
113
+ #: wp-maintenance-mode.php:1013
114
+ #@ wp-maintenance-mode
115
+ msgid "Caution: Maintenance mode is <strong>active</strong>!"
116
+ msgstr "Achtung: Wartungsmodus ist <strong>aktiv</strong>!"
117
+
118
+ #: wp-maintenance-mode.php:707
119
+ #@ wp-maintenance-mode
120
+ msgid "Deactivate or change Settings"
121
+ msgstr "Deaktivieren oder Einstellungen ändern "
122
+
123
+ #: wp-maintenance-mode.php:815
124
+ #@ wp-maintenance-mode
125
+ msgid "Plugin by:"
126
+ msgstr "Plugin von:"
127
+
128
+ #: wp-maintenance-mode.php:817
129
+ #: wp-maintenance-mode.php:819
130
+ #: wp-maintenance-mode.php:821
131
+ #: wp-maintenance-mode.php:823
132
+ #: wp-maintenance-mode.php:825
133
+ #: wp-maintenance-mode.php:827
134
+ #: wp-maintenance-mode.php:829
135
+ #: wp-maintenance-mode.php:831
136
+ #: wp-maintenance-mode.php:833
137
+ #: wp-maintenance-mode.php:835
138
+ #: wp-maintenance-mode.php:837
139
+ #@ wp-maintenance-mode
140
+ msgid "Design by:"
141
+ msgstr "Design von:"
142
+
143
+ #: inc/wp-maintenance-mode-settings.php:100
144
+ #: inc/wp-maintenance-mode-settings.php:429
145
+ #, php-format
146
+ #@ wp-maintenance-mode
147
+ msgid "Plugin %s settings <strong>updated</strong>."
148
+ msgstr "Plugin %s Einstellungen <strong>gespeichert</strong>."
149
+
150
+ #: inc/wp-maintenance-mode-settings.php:103
151
+ #: inc/wp-maintenance-mode-settings.php:116
152
+ #, php-format
153
+ #@ wp-maintenance-mode
154
+ msgid "Plugin %s active status <strong>updated</strong>."
155
+ msgstr "Plugin %s aktiv-status <strong>aktualisiert</strong>."
156
+
157
+ #: inc/wp-maintenance-mode-settings.php:106
158
+ #@ wp-maintenance-mode
159
+ msgid "Plugin Activate"
160
+ msgstr "Plugin aktivieren"
161
+
162
+ #: inc/wp-maintenance-mode-settings.php:110
163
+ #: inc/wp-maintenance-mode-settings.php:129
164
+ #: inc/wp-maintenance-mode-settings.php:173
165
+ #: inc/wp-maintenance-mode-settings.php:186
166
+ #: inc/wp-maintenance-mode-settings.php:261
167
+ #: inc/wp-maintenance-mode-settings.php:333
168
+ #: inc/wp-maintenance-mode-settings.php:419
169
+ #@ wp-maintenance-mode
170
+ msgid "False"
171
+ msgstr "Nein"
172
+
173
+ #: inc/wp-maintenance-mode-settings.php:111
174
+ #: inc/wp-maintenance-mode-settings.php:130
175
+ #: inc/wp-maintenance-mode-settings.php:174
176
+ #: inc/wp-maintenance-mode-settings.php:187
177
+ #: inc/wp-maintenance-mode-settings.php:262
178
+ #: inc/wp-maintenance-mode-settings.php:334
179
+ #: inc/wp-maintenance-mode-settings.php:420
180
+ #@ wp-maintenance-mode
181
+ msgid "True"
182
+ msgstr "Ja"
183
+
184
+ #: inc/wp-maintenance-mode-settings.php:113
185
+ #@ wp-maintenance-mode
186
+ msgid "Update"
187
+ msgstr "Aktualisieren"
188
+
189
+ #: inc/wp-maintenance-mode-settings.php:119
190
+ #@ wp-maintenance-mode
191
+ msgid "Plugin Settings"
192
+ msgstr "Plugin Einstellungen"
193
+
194
+ #: inc/wp-maintenance-mode-settings.php:125
195
+ #@ wp-maintenance-mode
196
+ msgid "Countdown:"
197
+ msgstr "Countdown:"
198
+
199
+ #: inc/wp-maintenance-mode-settings.php:136
200
+ #: inc/wp-maintenance-mode-settings.php:139
201
+ #@ wp-maintenance-mode
202
+ msgid "Click for datepicker"
203
+ msgstr "Klick für den Datums-Picker"
204
+
205
+ #: inc/wp-maintenance-mode-settings.php:136
206
+ #@ wp-maintenance-mode
207
+ msgid "Date:"
208
+ msgstr "Datum:"
209
+
210
+ #: inc/wp-maintenance-mode-settings.php:140
211
+ #@ wp-maintenance-mode
212
+ msgid "Activate countdown for using this. Use value and unit or use the countdown and set the date."
213
+ msgstr "Aktiviere den Countdown um ihn zu nutzen. Vergebe Wert und Einheit oder wähle ein Datum für den Countdown."
214
+
215
+ #: inc/wp-maintenance-mode-settings.php:145
216
+ #@ wp-maintenance-mode
217
+ msgid "Value:"
218
+ msgstr "Wert:"
219
+
220
+ #: inc/wp-maintenance-mode-settings.php:153
221
+ #@ wp-maintenance-mode
222
+ msgid "Unit:"
223
+ msgstr "Einheit:"
224
+
225
+ #: inc/wp-maintenance-mode-settings.php:157
226
+ #@ wp-maintenance-mode
227
+ msgid "second"
228
+ msgstr "sekunde"
229
+
230
+ #: inc/wp-maintenance-mode-settings.php:158
231
+ #@ wp-maintenance-mode
232
+ msgid "minute"
233
+ msgstr "minute"
234
+
235
+ #: inc/wp-maintenance-mode-settings.php:159
236
+ #@ wp-maintenance-mode
237
+ msgid "hour"
238
+ msgstr "stunde"
239
+
240
+ #: inc/wp-maintenance-mode-settings.php:160
241
+ #@ wp-maintenance-mode
242
+ msgid "day"
243
+ msgstr "tag"
244
+
245
+ #: inc/wp-maintenance-mode-settings.php:161
246
+ #@ wp-maintenance-mode
247
+ msgid "week"
248
+ msgstr "woche"
249
+
250
+ #: inc/wp-maintenance-mode-settings.php:162
251
+ #@ wp-maintenance-mode
252
+ msgid "month"
253
+ msgstr "monat"
254
+
255
+ #: inc/wp-maintenance-mode-settings.php:163
256
+ #@ wp-maintenance-mode
257
+ msgid "year"
258
+ msgstr "jahr"
259
+
260
+ #: inc/wp-maintenance-mode-settings.php:169
261
+ #@ wp-maintenance-mode
262
+ msgid "Link:"
263
+ msgstr "Link:"
264
+
265
+ #: inc/wp-maintenance-mode-settings.php:177
266
+ #@ wp-maintenance-mode
267
+ msgid "Please leave a link to the plugin- and design-author on your maintenance mode site."
268
+ msgstr "Bitte hinterlasse einen Link zum Plugin- und Design-Autor auf deiner Wartungsmodus-Seite."
269
+
270
+ #: inc/wp-maintenance-mode-settings.php:182
271
+ #@ wp-maintenance-mode
272
+ msgid "Admin Link:"
273
+ msgstr "Admin Link:"
274
+
275
+ #: inc/wp-maintenance-mode-settings.php:190
276
+ #@ wp-maintenance-mode
277
+ msgid "Do you will a link to the admin area of your install?"
278
+ msgstr "Willst du einen Link zum Admin Bereich dieser Installation?"
279
+
280
+ #: inc/wp-maintenance-mode-settings.php:200
281
+ #@ wp-maintenance-mode
282
+ msgid "Simple Text"
283
+ msgstr "Einfach Text"
284
+
285
+ #: inc/wp-maintenance-mode-settings.php:201
286
+ #@ wp-maintenance-mode
287
+ msgid "The Truck"
288
+ msgstr "Der Truck"
289
+
290
+ #: inc/wp-maintenance-mode-settings.php:202
291
+ #@ wp-maintenance-mode
292
+ msgid "The Sun"
293
+ msgstr "The Sun"
294
+
295
+ #: inc/wp-maintenance-mode-settings.php:203
296
+ #@ wp-maintenance-mode
297
+ msgid "The FF Error"
298
+ msgstr "The FF Error"
299
+
300
+ #: inc/wp-maintenance-mode-settings.php:204
301
+ #@ wp-maintenance-mode
302
+ msgid "Monster"
303
+ msgstr "Monster"
304
+
305
+ #: inc/wp-maintenance-mode-settings.php:205
306
+ #@ wp-maintenance-mode
307
+ msgid "Chastely"
308
+ msgstr "Chastely"
309
+
310
+ #: inc/wp-maintenance-mode-settings.php:206
311
+ #@ wp-maintenance-mode
312
+ msgid "Only Typo"
313
+ msgstr "Only Typo"
314
+
315
+ #: inc/wp-maintenance-mode-settings.php:207
316
+ #@ wp-maintenance-mode
317
+ msgid "Paint"
318
+ msgstr "Paint"
319
+
320
+ #: inc/wp-maintenance-mode-settings.php:208
321
+ #@ wp-maintenance-mode
322
+ msgid "Animate (Flash)"
323
+ msgstr "Animate (Flash)"
324
+
325
+ #: inc/wp-maintenance-mode-settings.php:209
326
+ #@ wp-maintenance-mode
327
+ msgid "Damask"
328
+ msgstr "Damask"
329
+
330
+ #: inc/wp-maintenance-mode-settings.php:210
331
+ #@ wp-maintenance-mode
332
+ msgid "Lego"
333
+ msgstr "Lego"
334
+
335
+ #: inc/wp-maintenance-mode-settings.php:211
336
+ #@ wp-maintenance-mode
337
+ msgid "Chemistry"
338
+ msgstr "Chemielabor"
339
+
340
+ #: inc/wp-maintenance-mode-settings.php:220
341
+ #@ wp-maintenance-mode
342
+ msgid "URL to the css-file (incl. http://)"
343
+ msgstr "URL zur css-Datei (inkl. http://)"
344
+
345
+ #: inc/wp-maintenance-mode-settings.php:222
346
+ #@ wp-maintenance-mode
347
+ msgid "<strong>Caution:</strong> Please don&acute;t copy the stylesheet in your plugin folder, it will be deleted on the next automatical update of the plugin!"
348
+ msgstr "<strong>Hinweis:</strong> Bitte speichere das Sytelsheet nicht im Plugin-Ordner, der Ordner wird beim automatischen Update ersetzt!"
349
+
350
+ #: inc/wp-maintenance-mode-settings.php:227
351
+ #: inc/wp-maintenance-mode-settings.php:250
352
+ #@ wp-maintenance-mode
353
+ msgid "Preview"
354
+ msgstr "Vorschau"
355
+
356
+ #: inc/wp-maintenance-mode-settings.php:257
357
+ #@ wp-maintenance-mode
358
+ msgid "noindex, nofollow:"
359
+ msgstr "noindex, nofollow:"
360
+
361
+ #: inc/wp-maintenance-mode-settings.php:265
362
+ #@ wp-maintenance-mode
363
+ msgid "The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results. Set TRUE for noindex, nofollow; set FALSE for index, follow."
364
+ msgstr "Der robots meta Tag gibt die Möglichkeit die Indizierung der Site durch Suchmaschinen zu steuern. Wähle den Wert, der auf Wartungsseite genutzt werden soll. Setze Ja für nonidex, nofollow; setze Nein für index, follow."
365
+
366
+ #: inc/wp-maintenance-mode-settings.php:270
367
+ #@ wp-maintenance-mode
368
+ msgid "Title:"
369
+ msgstr "Titel:"
370
+
371
+ #: inc/wp-maintenance-mode-settings.php:273
372
+ #: inc/wp-maintenance-mode-settings.php:281
373
+ #: inc/wp-maintenance-mode-settings.php:289
374
+ #@ wp-maintenance-mode
375
+ msgid "Leave empty for default."
376
+ msgstr "Leer lassen für den Standardtext."
377
+
378
+ #: inc/wp-maintenance-mode-settings.php:278
379
+ #@ wp-maintenance-mode
380
+ msgid "Header:"
381
+ msgstr "Header:"
382
+
383
+ #: inc/wp-maintenance-mode-settings.php:286
384
+ #@ wp-maintenance-mode
385
+ msgid "Heading:"
386
+ msgstr "Überschrift:"
387
+
388
+ #: inc/wp-maintenance-mode-settings.php:294
389
+ #@ wp-maintenance-mode
390
+ msgid "Text:"
391
+ msgstr "Text:"
392
+
393
+ #: inc/wp-maintenance-mode-settings.php:307
394
+ #, fuzzy
395
+ #@ wp-maintenance-mode
396
+ msgid "Exclude:"
397
+ msgstr "Ausnahmen:"
398
+
399
+ #: inc/wp-maintenance-mode-settings.php:323
400
+ #@ wp-maintenance-mode
401
+ msgid "Exclude feed, pages, posts, archives or IPs from the maintenance mode. Add the Slug of page or post as a comma-separated list.<br />Example:"
402
+ msgstr "Die Ausnahme des Wartungsmodus ist möglich für Inhalte aller Art, auch der Feed. Füge den Titelform (Slug) hinzu, als Komma-Separierte Liste.<br />Beispiel:"
403
+
404
+ #: inc/wp-maintenance-mode-settings.php:342
405
+ #@ wp-maintenance-mode
406
+ msgid "Backend Role:"
407
+ msgstr "Backendrolle:"
408
+
409
+ #: inc/wp-maintenance-mode-settings.php:367
410
+ #@ wp-maintenance-mode
411
+ msgid "Allowed userrole to access the backend of this blog."
412
+ msgstr "Erlaubte User-Rolle für das Sehen des Backend von diesem Blog."
413
+
414
+ #: inc/wp-maintenance-mode-settings.php:368
415
+ #: inc/wp-maintenance-mode-settings.php:399
416
+ #@ wp-maintenance-mode
417
+ msgid "Super Admin has always access."
418
+ msgstr "Super Admin hat immer Zugang."
419
+
420
+ #: inc/wp-maintenance-mode-settings.php:373
421
+ #@ wp-maintenance-mode
422
+ msgid "Frontend Role:"
423
+ msgstr "Frontendrolle:"
424
+
425
+ #: inc/wp-maintenance-mode-settings.php:398
426
+ #@ wp-maintenance-mode
427
+ msgid "Allowed userrole to see the frontend of this blog."
428
+ msgstr "Erlaubte User-Rolle für das Sehen des Frontend von diesem Blog."
429
+
430
+ #: inc/wp-maintenance-mode-settings.php:404
431
+ #@ wp-maintenance-mode
432
+ msgid "Redirection:"
433
+ msgstr "Weiterleitung:"
434
+
435
+ #: inc/wp-maintenance-mode-settings.php:409
436
+ #@ wp-maintenance-mode
437
+ msgid "If you want that after the login the destination address is not standard to the dashboard, then defining a URL. (incl. http://)"
438
+ msgstr "Wenn du nach dem Login eine Weiterleitung verändert zum Standard, dem Dashboard, wünschst, dann definiere eine URL. (inkl. http://)"
439
+
440
+ #: inc/wp-maintenance-mode-settings.php:432
441
+ #@ wp-maintenance-mode
442
+ msgid "Save"
443
+ msgstr "Speichern"
444
+
445
+ #: inc/wp-maintenance-mode-settings.php:300
446
+ #, php-format
447
+ #@ wp-maintenance-mode
448
+ 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."
449
+ msgstr "Nutze zu erst <em>%1$s</em>für die Zeitwerte oder den Countdown und den zweiten String <em>%2$s</em> für die Einheit der Zeit oder der Countdown-Werte; HTML und Shortcodes sind möglich."
450
+
451
+ #: inc/wp-maintenance-mode-settings.php:301
452
+ #@ wp-maintenance-mode
453
+ msgid "Use <code>[loginform]</code> for add the default login form in the maintenance page."
454
+ msgstr "Nutze <code>[loginform]</code> für das Hinzufügen eines Login Formulars auf der Wartungsseite."
455
+
456
+ #: inc/wp-maintenance-mode-settings.php:415
457
+ #@ wp-maintenance-mode
458
+ msgid "Notice:"
459
+ msgstr "Hinweis:"
460
+
461
+ #: inc/wp-maintenance-mode-settings.php:422
462
+ #@ wp-maintenance-mode
463
+ msgid "Do you will see all notices, inside backend, the Admin Bar and the login screen?"
464
+ msgstr "Willst du alle Hinweise zum aktiven Wartungsmodus sehen, im Backend, in der Admin Bar und im Login Screen?"
465
+
466
+ #: index.php:25
467
+ #@ default
468
+ msgid "Cheatin&#8217; uh?"
469
+ msgstr ""
470
+
471
+ #. translators: plugin header field 'Name'
472
+ #: wp-maintenance-mode.php:0
473
+ #@ wp-maintenance-mode
474
+ msgid "WP Maintenance Mode"
475
+ msgstr "WP Wartungsmodus"
476
+
477
+ #. translators: plugin header field 'PluginURI'
478
+ #: wp-maintenance-mode.php:0
479
+ #@ wp-maintenance-mode
480
+ msgid "http://wordpress.org/extend/plugins/wp-maintenance-mode/"
481
+ msgstr ""
482
+
483
+ #. translators: plugin header field 'Description'
484
+ #: wp-maintenance-mode.php:0
485
+ #@ wp-maintenance-mode
486
+ 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."
487
+ msgstr "Das Plugin aktiviert eine Wartungsseite im Frontend und informiert Besucher deiner Installation über die Wartung und zu erwartende Ausfallzeit. Eingeloggte Nutzer haben vollen Zugriff auf Frontend und Backend, abhängig von den vergebenen Einstellungen."
488
+
489
+ #. translators: plugin header field 'Author'
490
+ #: wp-maintenance-mode.php:0
491
+ #@ wp-maintenance-mode
492
+ msgid "Frank B&uuml;ltge"
493
+ msgstr ""
494
+
495
+ #. translators: plugin header field 'AuthorURI'
496
+ #: wp-maintenance-mode.php:0
497
+ #@ wp-maintenance-mode
498
+ msgid "http://bueltge.de/"
499
+ msgstr ""
500
+
501
+ #: inc/wp-maintenance-mode-settings.php:195
502
+ #@ wp-maintenance-mode
503
+ msgid "CSS Style:"
504
+ msgstr "CSS Style:"
505
+
506
+ #: inc/wp-maintenance-mode-settings.php:199
507
+ #@ wp-maintenance-mode
508
+ msgid "Own CSS Stylesheet"
509
+ msgstr "Eigenes CSS Stylesheet"
510
+
511
+ #: inc/wp-maintenance-mode-settings.php:217
512
+ #@ wp-maintenance-mode
513
+ msgid "Own CSS Style URL:"
514
+ msgstr "Eigene CSS Stylesheet URL:"
515
+
516
+ #: inc/wp-maintenance-mode-settings.php:329
517
+ #@ wp-maintenance-mode
518
+ msgid "Bypass for Search Bots:"
519
+ msgstr "Bypass für Such-Robots:"
520
+
521
+ #: inc/wp-maintenance-mode-settings.php:336
522
+ #@ wp-maintenance-mode
523
+ msgid "Allow Search Bots to bypass maintenance mode?"
524
+ msgstr "Erlaube Suchmaschinen-Robots den Wartungsmodus zu umgehen?"
525
+
526
+ #. translators: plugin header field 'Version'
527
+ #: wp-maintenance-mode.php:0
528
+ #@ wp-maintenance-mode
529
+ msgid "1.8.7"
530
+ msgstr ""
531
+
readme.md CHANGED
@@ -1,59 +1,59 @@
1
- # WP Maintenance Mode
2
-
3
- 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. Works also with WordPress Multisite installs.
4
-
5
- ## Description
6
- Adds a maintenance-page to your blog that lets visitors know your blog is down for maintenancetime. User with rights for theme-options get full access to the blog including the frontend.
7
- Activate the plugin and your blog is in maintenance-mode, works and see the frontend, only registered users with enough rights. You can use a date with a countdown for informations the visitors or set a value and unit for infomrations.
8
- Also you can add urls for exlude of maintenance mode.
9
-
10
- Use the shortcode `[loginform]` for easy use a login form on the maintenance page.
11
-
12
- ### Adding Custom CSS
13
- In plugin settings, choose the "Own CSS Style" in the CSS Style dropdown. Then enter the full URL to your stylesheet in the textbox underneath.
14
-
15
- ### Custom HTML
16
- You can add your own html by dropping a `wp-maintenance-mode.php` file in the wp-content folder. It will automatically be used instead of the default html.
17
- The default html Markup and my source for countdown and more find you in the `site.php` inside the plugin folder of this plugin.
18
-
19
- ### Custom Content
20
- You can also add content via these hook:
21
-
22
- * `wm_head` - hook inside the head of the maintenance mode site
23
- * `wm_content` - hook over the content, after the div with id content
24
- * `wm_footer` - hook inside the footer
25
-
26
-
27
- **Example:**
28
-
29
- function add_my_link() {
30
- echo '<a href="http://mylink.com/">My Link</a>
31
- }
32
- add_action( 'wm_footer', 'add_my_link' );
33
-
34
- More hooks for meta data inside the head. The `<meta>` tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. You can change the data for 3 different meta data values:
35
-
36
- * `wm_meta_author` - Define the author of a page
37
- * `wm_meta_description` - Define a description of your web page
38
- * `wm_meta_keywords` - Define keywords for search engines
39
-
40
- More hooks for other data, if the settings possibilities is not enough.
41
-
42
- * `wm_title` - Filter the title on splash page
43
- * `wm_header` - Filter for header string on splash page
44
- * `wm_heading` - Filter for the heading string
45
-
46
- ## Other Notes
47
- ### License
48
- Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a [small donation](http://bueltge.de/wunschliste/ "Wishliste and Donate") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
49
-
50
- ### Translations
51
- The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Linux, Mac OS X, Windows).
52
-
53
- ### Contact & Feedback
54
- The plugin is designed and developed by me ([Frank Bültge](http://bueltge.de))
55
-
56
- Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs.
57
-
58
- ### Disclaimer
59
- I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks
1
+ # WP Maintenance Mode
2
+
3
+ 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. Works also with WordPress Multisite installs.
4
+
5
+ ## Description
6
+ Adds a maintenance-page to your blog that lets visitors know your blog is down for maintenancetime. User with rights for theme-options get full access to the blog including the frontend.
7
+ Activate the plugin and your blog is in maintenance-mode, works and see the frontend, only registered users with enough rights. You can use a date with a countdown for informations the visitors or set a value and unit for infomrations.
8
+ Also you can add urls for exlude of maintenance mode.
9
+
10
+ Use the shortcode `[loginform]` for easy use a login form on the maintenance page.
11
+
12
+ ### Adding Custom CSS
13
+ In plugin settings, choose the "Own CSS Style" in the CSS Style dropdown. Then enter the full URL to your stylesheet in the textbox underneath.
14
+
15
+ ### Custom HTML
16
+ You can add your own html by dropping a `wp-maintenance-mode.php` file in the wp-content folder. It will automatically be used instead of the default html.
17
+ The default html Markup and my source for countdown and more find you in the `site.php` inside the plugin folder of this plugin.
18
+
19
+ ### Custom Content
20
+ You can also add content via these hook:
21
+
22
+ * `wm_head` - hook inside the head of the maintenance mode site
23
+ * `wm_content` - hook over the content, after the div with id content
24
+ * `wm_footer` - hook inside the footer
25
+
26
+
27
+ **Example:**
28
+
29
+ function add_my_link() {
30
+ echo '<a href="http://mylink.com/">My Link</a>
31
+ }
32
+ add_action( 'wm_footer', 'add_my_link' );
33
+
34
+ More hooks for meta data inside the head. The `<meta>` tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. You can change the data for 3 different meta data values:
35
+
36
+ * `wm_meta_author` - Define the author of a page
37
+ * `wm_meta_description` - Define a description of your web page
38
+ * `wm_meta_keywords` - Define keywords for search engines
39
+
40
+ More hooks for other data, if the settings possibilities is not enough.
41
+
42
+ * `wm_title` - Filter the title on splash page
43
+ * `wm_header` - Filter for header string on splash page
44
+ * `wm_heading` - Filter for the heading string
45
+
46
+ ## Other Notes
47
+ ### License
48
+ Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a [small donation](http://bueltge.de/wunschliste/ "Wishliste and Donate") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)
49
+
50
+ ### Translations
51
+ The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Linux, Mac OS X, Windows).
52
+
53
+ ### Contact & Feedback
54
+ The plugin is designed and developed by me ([Frank Bültge](http://bueltge.de))
55
+
56
+ Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs.
57
+
58
+ ### Disclaimer
59
+ I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks
readme.txt CHANGED
@@ -1,448 +1,450 @@
1
- === WP Maintenance Mode ===
2
- Contributors: Bueltge, inpsyde
3
- Plugin Name: WP Maintenance Mode
4
- Plugin URI: http://bueltge.de/wp-wartungsmodus-plugin/101/
5
- Author: Frank B&uuml;ltge
6
- Author URI: http://bueltge.de/
7
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4578111
8
- Tags: maintenance, mode, admin, administration, unavailable, coming soon, multisite
9
- Requires at least: 3.0
10
- Tested up to: 3.6-beta3
11
- Stable tag: 1.8.7
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
-
15
- == Description ==
16
- Adds a maintenance-page to your blog that lets visitors know your blog is down for maintenancetime. User with rights for theme-options get full access to the blog including the frontend.
17
- Activate the plugin and your blog is in maintenance-mode, works and see the frontend, only registered users with enough rights. You can use a date with a countdown for informations the visitors or set a value and unit for infomrations.
18
- Also you can add urls for exlude of maintenance mode.
19
-
20
- Use the shortcode `[loginform]` for easy use a login form on the maintenance page.
21
-
22
- = Adding Custom CSS =
23
- In plugin settings, choose the "Own CSS Style" in the CSS Style dropdown. Then enter the full URL to your stylesheet in the textbox underneath.
24
-
25
- = Custom HTML =
26
- You can add your own html by dropping a wp-maintenance-mode.php file in the wp-content folder. It will automatically be used instead of the default html.
27
- The default html Markup and my source for countdown and more find you in the `site.php` inside the plugin folder of this plugin.
28
-
29
- = Custom Content =
30
- You can also add content via these hook:
31
-
32
- * `wm_head` - hook inside the head of the maintenance mode site
33
- * `wm_content` - hook over the content, after the div with id content
34
- * `wm_footer` - hook inside the footer
35
-
36
- Example:
37
-
38
- function add_my_link() {
39
- echo '<a href="http://mylink.com/">My Link</a>
40
- }
41
- add_action( 'wm_footer', 'add_my_link' );
42
-
43
- More hooks for meta data inside the head. The `<meta>` tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. You can change the data for 3 different meta data values:
44
-
45
- * `wm_meta_author` - Define the author of a page
46
- * `wm_meta_description` - Define a description of your web page
47
- * `wm_meta_keywords` - Define keywords for search engines
48
-
49
- More hooks for other data, if the settings possibilities is not enough.
50
-
51
- * `wm_title` - Filter the title on splash page
52
- * `wm_header` - Filter for header string on splash page
53
- * `wm_heading` - Filter for the heading string
54
-
55
- = Requirements =
56
- 1. WordPress version 3.0 and later, works also on Multisite
57
- 1. PHP 5
58
-
59
- = Bugs, technical hints or contribute =
60
- Please give us feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/WP-Maintenance-Mode).
61
-
62
- **Made by [Inpsyde](http://inpsyde.com) &middot; We love WordPress**
63
-
64
- Have a look at the premium plugins in our [market](http://marketpress.com).
65
-
66
- = Work with MySQLDumper =
67
- This option is designed for users, who backups their database with "MySQLDumper".
68
- With this option you can switch your Wordpress into maintenance mode, when you create a database-backup with MySQLDumper. This is very usefull especially for larger blogs, because their backup takes a longer time. With this option enabled, you have the guarantee of a clean and full backup of your database. All other requests to your database from other resources were blocked in the time of the backup and all the performance of the MySQL-Server will be taken for the backup.
69
-
70
- = How to use =
71
- * MySQLDumper must be installed and has to run full funtionally. This includes the crontab, MySQLDumper uses.
72
-
73
- How to install MySQLDumper:
74
- Please visit [the official website](http://www.mysqldumper.de/tutorials/) for several tutorials and videotutorials where you can see, how to install MySQLDumper.
75
-
76
- To configure the automatic backup with MySQLDumper:
77
- Please visit [the official website](http://forum.mysqldumper.de/features-perl-cronscript-einstellungen-von-konfiguration-cron-t502.html) for informations about the full automatic backup of your database with perl and crontab.
78
-
79
- * Maintenance Mode must be installed and all needed options must be set.
80
- * After that, go to your Dumper-settings -> Configuration -> Databases. There you have two options
81
- ->Command before Dump
82
- ->Command after Dump
83
- * 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.
84
- * 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:
85
-
86
- `UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '1' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
87
-
88
- * Now you can set the second command to deactivate the maintenance mode like the first one with this code:
89
-
90
- `UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '0' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
91
-
92
- = Note! =
93
- You must edit three places of the code to your options:
94
-
95
- * `wp-database` -> put here the name of your database.
96
- * `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!
97
-
98
- 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".
99
-
100
- Don't forget to save these settings! After that, your Wordpress will be switch in maintenance mode, when Dumper is backup your database!
101
-
102
- = Frequently Asked Questions for MySQLDumper =
103
- Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
104
-
105
- = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
106
- Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
107
-
108
- = Cache Plugin Support =
109
- The plugin flush the cache on activate the maintenance mode form the plugins W3 Total Cache and WP Super Cache
110
-
111
- = Interested in WordPress tips and tricks =
112
- You may also be interested in WordPress tips and tricks at [WP Engineer](http://wpengineer.com/) or for german people [bueltge.de](http://bueltge.de/)
113
-
114
- == Installation ==
115
- 1. Unpack the download-package
116
- 1. Upload all files to the `/wp-content/plugins/` directory, include folders
117
- 1. Activate the plugin through the 'Plugins' menu in WordPress
118
- 1. Click the `settings`-link for change time, link of authors, text and design
119
- 1. Activate under the settings and your blog is in maintenance mode
120
- 1. Please check the **Exclude** option in settings for parts of your install; maybe an custom login-adress etc.
121
-
122
- See on [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode").
123
-
124
- == Screenshots ==
125
- 1. Aktiv Maintenance-Mode with Theme "The Truck" and german language
126
- 1. Settings on plugin-page
127
- 1. Aktiv Maintenance-Mode with Theme "Simple Text" and german language
128
- 1. Aktiv Maintenance-Mode with Theme "The Sun"
129
- 1. Aktiv Maintenance-Mode with Theme "The FF Error"
130
- 1. Aktiv Maintenance-Mode with Theme "Monster"
131
- 1. Aktiv Maintenance-Mode with Theme "Chastely"
132
- 1. Aktiv Maintenance-Mode with Theme "Only Typo"
133
- 1. Aktiv Maintenance-Mode with Theme "Paint"
134
- 1. Aktiv Maintenance-Mode with Theme "Animate (Flash)"
135
- 1. Aktiv Maintenance-Mode with Theme "Damask"
136
- 1. Aktiv Maintenance-Mode with Theme "Lego"
137
- 1. Aktiv Maintenance-Mode with Theme "Chemistry"
138
-
139
- == Frequently Asked Questions ==
140
- = Where can I get more information? =
141
- Please visit [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode") for the latest information on this plugin.
142
-
143
- = I love this plugin! How can I show the developer how much I appreciate his work? =
144
- Please visit [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode") and let him know your care or see the [wishlist](http://bueltge.de/wunschliste/ "Wishlist") of the author.
145
-
146
- = Frequently Asked Questions for MySQLDumper =
147
- Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
148
-
149
- = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
150
- Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
151
-
152
- = Cache Plugin Support =
153
- The plugin flush the cache on activate the maintenance mode form the plugins W3 Total Cache and WP Super Cache
154
-
155
- == Other Notes ==
156
- = Work with MySQLDumper =
157
- This option is designed for users, who backups their database with "MySQLDumper".
158
- With this option you can switch your Wordpress into maintenance mode, when you create a database-backup with MySQLDumper. This is very usefull especially for larger blogs, because their backup takes a longer time. With this option enabled, you have the guarantee of a clean and full backup of your database. All other requests to your database from other resources were blocked in the time of the backup and all the performance of the MySQL-Server will be taken for the backup.
159
-
160
- = How to use =
161
- * MySQLDumper must be installed and has to run full funtionally. This includes the crontab, MySQLDumper uses.
162
-
163
- How to install MySQLDumper:
164
- Please visit [the official website](http://www.mysqldumper.de/tutorials/) for several tutorials and videotutorials where you can see, how to install MySQLDumper.
165
-
166
- To configure the automatic backup with MySQLDumper:
167
- Please visit [the official website](http://forum.mysqldumper.de/features-perl-cronscript-einstellungen-von-konfiguration-cron-t502.html) for informations about the full automatic backup of your database with perl and crontab.
168
-
169
- * Maintenance Mode must be installed and all needed options must be set.
170
- * After that, go to your Dumper-settings -> Configuration -> Databases. There you have two options
171
- ->Command before Dump
172
- ->Command after Dump
173
- * 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.
174
- * 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:
175
-
176
- UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '1' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
177
-
178
- * Now you can set the second command to deactivate the maintenance mode like the first one with this code:
179
-
180
- UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '0' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
181
-
182
- = Note! =
183
- You must edit three places of the code to your options:
184
-
185
- * `wp-database` -> put here the name of your database.
186
- * `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!
187
-
188
- 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".
189
-
190
- Don't forget to save these settings! After that, your Wordpress will be switch in maintenance mode, when Dumper is backup your database!
191
-
192
- = Frequently Asked Questions for MySQLDumper =
193
- Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
194
-
195
- = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
196
- Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
197
-
198
- = Acknowledgements =
199
- * Thanks to [David Hellmann](http://www.davidhellmann.com/ "David Hellmann") for the design "The Truck"
200
- * Thanks to [Nicki Steiger](http://mynicki.net/ "Nicki Steiger") for the design "The Sun"
201
- * Thanks to [Thomas Meschke](http://www.lokalnetz.com/ "Thomas Meschke") for the design "The FF Error"
202
- * Thanks to [Sebastian Sebald](http://www.backseatsurfer.de "Sebastian Sebald") for the design "Monster"
203
- * Thanks to [Florian Andreas Vogelmaier](http://fv-web.de/ "Florian Andreas Vogelmaier") for the design "Chastely"
204
- * Thanks to [Robert Pfotenhauer](http://krautsuppe.de/ "Robert Pfotenhauer") for the design "Only Typo"
205
- * Thanks to [Marvin Labod](http://bugeyes.de/ "Marvin Labod") for the design "Paint"
206
- * Thanks to [Sebastian Schmiedel](http://www.cayou-media.de/ "Sebastian Schmiedel") for the design "Animate (Flash)"
207
- * Thanks to [Fabian Letscher](http://fabianletscher.de/ "Fabian Letscher") for the design "Damask"
208
- * Thanks to [Alex Frison](http://www.afrison.com/ "Alex Frison") for the design "Lego"
209
- * Thanks to [elmastudio.de](http://www.elmastudio.de/ "elmastudio.de") for the design "Chemistry"
210
-
211
- * Thanks to [Stefan Wilhelm](http://www.beedy.de/) for Idea, Tests and a tutorial for work with MySQLDumper
212
-
213
- * Thanks to [Omer Faruk ](http://yakalasam.com) and [H&uuml;seyin &Uuml;lk&uuml;](http://www.salsabar.org/ "H&uuml;seyin &Uuml;lk&uuml;") for turkey language file
214
- * Thanks to LIJE Creative, [Agence web Strasbourg](http://www.lije-creative.com/ "Agence web LIJE Creative") and [Gilles WALET](http://www.nevermindfr.com/ "Gilles WALET") for frensh language file
215
- * Thanks to [J&uuml;rgen Toth](http://www.relijoc.ro/ "J&uuml;rgen Toth") for romanian language file
216
- * 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
217
- * Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
218
- * Thanks to Francisco Javier Bernad Asiain and [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
219
- * Thanks to FatCow for belorussion language file
220
- * Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
221
- * Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
222
- * Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
223
- * Thanks to [Rene](http://wpwebshop.com/blog/ "wpwebshop.com/blog") for durch translation files and hints to my errors on my bad english.
224
- * Thanks to [Alejandro Garcia](http://blog.wrsmexico.com "blog.wrsmexico.com") for a spanish flash-file for the style "Animate"
225
- * Thanks to [S.M. Mehdi Akram (Royal)](http://mehdiakram.wordpress.com/ "mehdiakram.wordpress.com") for (mother) bengali language files.
226
- * Thanks to [Yaser Maadan](http://www.englize.com "www.englize.com") for a arabic language files
227
- * Thanks to [Andrew Kovalev](http://www.portablecomponentsforall.com/)
228
- * Thanks to [Brian Flores](http://www.inmotionhosting.com/) for serbian translation
229
- * Lithuanian translation files by [Vincent G](http://www.host1plus.com)
230
- * Swedish translation files by [Kenneth Andersson](http://www.telia.se/)
231
- * Japanese translation files by [Groove Brain]
232
- * Thanks to [Maksym Kobieliev](mailto:maximaximums@gmail.com) for ukrainian translation
233
- * Thanks to Michal Nusko for czech translation
234
-
235
- == Changelog ==
236
- = 1.8.8 (*/*/2013) =
237
- * Fix path to localized flash content
238
- * Fix preview function
239
- * Add ukrainian translation
240
- * Add czech translation
241
-
242
- = 1.8.7 (04/07/2013) =
243
- * Add RTL support for splash page
244
- * Add Filter Hook `wp_maintenance_mode_status_code` Status Code; default is 503
245
- * Add support for custom splash page; leave a file with this name `wp-maintenance-mode.php` in the wp-content; the plugin use this file
246
- The plugin checks in `WP_CONTENT_DIR . '/wp-maintenance-mode.php'`
247
- * Small minor changes
248
- * Add filter for more date on splash page
249
-
250
- = 1.8.6 (02/22/2013) =
251
- * Remove log inside console for JS
252
- * Add support for time inside the countdown
253
- * Add filter hook `wm_meta_author`for the meta data author
254
- * Add filter hook `wm_meta_description` for custom description
255
- * Add filter hook `wm_meta_keywords`for custom meta keys
256
-
257
- = 1.8.5 (01/24/2013) =
258
- * Added new settings for hide, view notices about the active maintenance mode
259
- * Changes on source, codex
260
- * Fix PHP Notices [Support Thread](http://wordpress.org/support/topic/error-message-in-settings-1)
261
- * Change default settings, added ajax
262
- * Fix Preview function
263
- * Fix uninstall in WPMU
264
- * Small updates on styles for login form
265
-
266
- = 1.8.4 (12/06/2012) =
267
- * Fix for include JS in frontend to use countdown
268
- * Small mini fix for a php notice
269
- * Add charset on spalsh page for strange databases
270
- * Enhanced default exclude adresses
271
- * Add shortcode `[loginform]` for easy use a login form in splash page
272
- * Test with WordPress 3.5
273
-
274
- = 1.8.3 =
275
- * Fix for the forgotten update of JS-files; slow SVN :(
276
- * Minor Fixes, see (Bugtracker)[http://bueltge.de/bt/view.php?id=2]
277
-
278
- = 1.8.2 =
279
- * Add different access for Frontend and Backend
280
- * Add Rewrite after Login for Frontend Access
281
- * Different small changes
282
- * Test for WP 3.5
283
-
284
- = 1.8.1 =
285
- * Add option for value of robots meta tag
286
- * Add option for optional admin login
287
-
288
- = 1.8.0 =
289
- * Include all scripts in backend via function
290
- * Update datepicker and countdown js
291
- * Supportet IP as exclude for see the frontend
292
- * Add support for flish cache od WP Super Cache and W3 Total Cache plugins
293
- * Fix for changes in WP 3.3 Multisite
294
-
295
- = 1.7.1 (12/05/2011) =
296
- * fix for WP smaller 3.2* on Network
297
-
298
- = 1.7.0 (12/02/2011) =
299
- * add functionalities to use in WP Multisite
300
- * remove message in header, current is not fixed the ticked in core and the message on Admin Bar an Notice is enough
301
- * check on WP 3.3RC1
302
-
303
- = 1.6.10 (08/30/2011) =
304
- * add hint in Admin Bar, if active
305
- * small changes for WP Codex
306
-
307
- = 1.6.9 (06/13/2011) =
308
- * Small fix for empty string on custom design
309
-
310
- = 1.6.8 (04/05/2011) =
311
- * Small changes on check for datepicker
312
- * Fix for Design monster
313
-
314
- = 1.6.7 (01/05/2011) =
315
- * Bugfix: new check for files for different themes; hope this fix the server errors
316
- * Bugfix: fix add default settings
317
- * Maintenance: different changes on the syntax
318
- * Feature: add check for Super Admin on WP Multisite; has allways the rights for access
319
- * Feature: now it is possible to exclude feed from maintenance mode
320
- * Maintenance: check with 3.0.4 and 3.1-RC2
321
- * Maintenance: update language file: .pot, de_DE
322
- * Bugfix: JavaScript error on Bulk Actions on plugins fixed
323
- * Maintenance: fix all notice, if set no values
324
-
325
- = 1.6.6. (10/09/2010) =
326
- * Maintenance: many changes on the code; $locale and hook in side frontend
327
- * Maintenance: change attribute_escaped to esc_attr with custom method for WP smaller 2.8
328
- * Maintenance: Update german language files
329
- * Feature: Shortcodes is now possible in the "Text" option
330
- * Feature: no cache header rewrite
331
-
332
- = 1.6.5 (09/16/2010) =
333
- * add new design "Chemistry" by [elmastudio.de](http://www.elmastudio.de/ "elmastudio.de")
334
- * changes for include methods od class for preview
335
- * changes the possibility for include of language specific flash files
336
-
337
- = 1.6.4 (09/13/2010) =
338
- * add preview functions
339
- * bugfix for list in wp-admin/plugins.php
340
- * remove datepicker.regional - dont work fine
341
- * different small changes
342
- * new language file .pot
343
- * add flash file and change on plugin for style "Animate" for spanish language
344
-
345
- = 1.6.3 (07/27/2010) =
346
- * bugfix to include stylesheet on maintenance mode message
347
-
348
- = 1.6.2 (07/08/2010) =
349
- * add functions for hint in the new UI of WP 3.0
350
- * add more WP Codex standard source
351
- * fix strings in the language and languages files
352
- * add datetimepicker-de
353
-
354
- = 1.6.1 (06/18/2010) =
355
- * fix a problem with https://; see [Ticket #13941](http://core.trac.wordpress.org/ticket/13941)
356
-
357
- = 1.6 (05/17/2010) =
358
- * bugfix for exclude sites
359
-
360
- = 1.5.9 (05/07/2010) =
361
- * change different points
362
- * add possibility to wotk with MySQLDumper
363
-
364
- = 1.5.8 (21/03/2010)=
365
- * fix exclude error
366
- * add textareas for heading and header fields
367
-
368
- = 1.5.7 (03/18/2010) =
369
- * block admin-area via role
370
- * add message for registered users with not enough rights
371
- * add message on login-page
372
- * different changes
373
-
374
- = 1.5.6 (02/25/2010) =
375
- * changes on css, site.php and different syntax on the plugin
376
-
377
- = 1.5.5 (02/23/2010) =
378
- * SORRY, small bug for the url to jQuery
379
-
380
- = 1.5.4 (02/23/2010) =
381
- * add time for countdown
382
- * changes for WP 3.0
383
- * changees on rights to see frontend
384
-
385
- = 1.5.3 (01/05/2010) =
386
- * Fix for JavaScript with WordPress 2.9
387
- * Add new custom fields for fronted: title, header, heading
388
- * Fix for setting userrole to see frontend
389
- * Change laguage files
390
-
391
- = 1.5.2 (01/04/2010) =
392
- * add user-role setting
393
- * correctly the de_DE language file
394
-
395
- = 1.5.1 (10/04/2009) =
396
- * add small fix
397
- * add language files (en_ES, ro_RO)
398
-
399
- = 1.5.0 (09/28/2009) =
400
- * add countdown
401
- * change options
402
- * change default options
403
- * add field for own adress to excerpt of the maintenance mode
404
- * etc.
405
-
406
- = 1.4.9 (07/09/2009) =
407
- * also ready for WordPress 2.6
408
- * add romanian language files
409
- * add italian language file by [Gianni Diurno](http://gidibao.net/ "Gianni Diurno")
410
-
411
- = 1.4.8 (03/09/2009) =
412
- * add design "Damask" by [Fabian Letscher](http://fabianletscher.de/ "Fabian Letscher")
413
- * add design "Lego" by [Alex Frison](http://www.afrison.com/ "Alex Frison")
414
-
415
- = 1.4.7 (26/08/2009) =
416
- * change doc-type to utf-8 without BOM
417
-
418
- = v1.4.6 (24/08/2009) =
419
- * add design "Animate (Flash)" by [Sebastian Schmiedel](http://www.cayou-media.de/ "Sebastian Schmiedel")
420
- * add new hook for add content `wm_content` to include flash on content
421
- * add frensh language files
422
-
423
- = v1.4.5 (19/08/2009) =
424
- * fix html string in text on frontend
425
- * add design "Paint" by [Marvin Labod](http://bugeyes.de/ "Marvin Labod")
426
- * add turkey language files
427
-
428
- = v1.4.4 (18/08/2009) =
429
- * add design "Chastely" by [Florian Andreas Vogelmaier](http://fv-web.de/ "Florian Andreas Vogelmaier")
430
- * add design "Only Typo" by [Robert Pfotenhauer](http://krautsuppe.de/ "Robert Pfotenhauer")
431
-
432
- = v1.4.3 (13/08/2009) =
433
- * add option for the Text
434
- * add option for active maintenance mode
435
- * add design "The FF Error" by [Thomas Meschke](http://www.lokalnetz.com/ "Thomas Meschke")
436
- * add design "Monster" by [Sebastian Sebald](http://www.backseatsurfer.de "Sebastian Sebald")
437
-
438
- = v1.4.2 (10/08/2009) =
439
- * add design "The Sun" by [Nicki Steiger](http://mynicki.net/ "Nicki Steiger")
440
- * now it is possible to add own css and add in settings the url to the css-file
441
-
442
- = v1.4.1 (07/08/2009) =
443
- * small html-fix
444
-
445
- = v1.4 (06/08/2009) =
446
- * complety new code
447
- * options menu
448
- * new designs by [David Hellmann](http://www.davidhellmann.com/ "David Hellmann")
 
 
1
+ === WP Maintenance Mode ===
2
+ Contributors: Bueltge, inpsyde
3
+ Plugin Name: WP Maintenance Mode
4
+ Plugin URI: http://bueltge.de/wp-wartungsmodus-plugin/101/
5
+ Author: Frank B&uuml;ltge
6
+ Author URI: http://bueltge.de/
7
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4578111
8
+ Tags: maintenance, mode, admin, administration, unavailable, coming soon, multisite
9
+ Requires at least: 3.0
10
+ Tested up to: 3.6-beta3
11
+ Stable tag: 1.8.8
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
+
15
+ == Description ==
16
+ Adds a maintenance-page to your blog that lets visitors know your blog is down for maintenancetime. User with rights for theme-options get full access to the blog including the frontend.
17
+ Activate the plugin and your blog is in maintenance-mode, works and see the frontend, only registered users with enough rights. You can use a date with a countdown for informations the visitors or set a value and unit for infomrations.
18
+ Also you can add urls for exlude of maintenance mode.
19
+
20
+ Use the shortcode `[loginform]` for easy use a login form on the maintenance page.
21
+
22
+ = Adding Custom CSS =
23
+ In plugin settings, choose the "Own CSS Style" in the CSS Style dropdown. Then enter the full URL to your stylesheet in the textbox underneath.
24
+
25
+ = Custom HTML =
26
+ You can add your own html by dropping a wp-maintenance-mode.php file in the wp-content folder. It will automatically be used instead of the default html.
27
+ The default html Markup and my source for countdown and more find you in the `site.php` inside the plugin folder of this plugin.
28
+
29
+ = Custom Content =
30
+ You can also add content via these hook:
31
+
32
+ * `wm_head` - hook inside the head of the maintenance mode site
33
+ * `wm_content` - hook over the content, after the div with id content
34
+ * `wm_footer` - hook inside the footer
35
+
36
+ Example:
37
+
38
+ function add_my_link() {
39
+ echo '<a href="http://mylink.com/">My Link</a>
40
+ }
41
+ add_action( 'wm_footer', 'add_my_link' );
42
+
43
+ More hooks for meta data inside the head. The `<meta>` tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. You can change the data for 3 different meta data values:
44
+
45
+ * `wm_meta_author` - Define the author of a page
46
+ * `wm_meta_description` - Define a description of your web page
47
+ * `wm_meta_keywords` - Define keywords for search engines
48
+
49
+ More hooks for other data, if the settings possibilities is not enough.
50
+
51
+ * `wm_title` - Filter the title on splash page
52
+ * `wm_header` - Filter for header string on splash page
53
+ * `wm_heading` - Filter for the heading string
54
+
55
+ = Requirements =
56
+ 1. WordPress version 3.0 and later, works also on Multisite
57
+ 1. PHP 5
58
+
59
+ = Bugs, technical hints or contribute =
60
+ Please give us feedback, contribute and file technical bugs on [GitHub Repo](https://github.com/bueltge/WP-Maintenance-Mode).
61
+
62
+ **Made by [Inpsyde](http://inpsyde.com) &middot; We love WordPress**
63
+
64
+ Have a look at the premium plugins in our [market](http://marketpress.com).
65
+
66
+ = Work with MySQLDumper =
67
+ This option is designed for users, who backups their database with "MySQLDumper".
68
+ With this option you can switch your Wordpress into maintenance mode, when you create a database-backup with MySQLDumper. This is very usefull especially for larger blogs, because their backup takes a longer time. With this option enabled, you have the guarantee of a clean and full backup of your database. All other requests to your database from other resources were blocked in the time of the backup and all the performance of the MySQL-Server will be taken for the backup.
69
+
70
+ = How to use =
71
+ * MySQLDumper must be installed and has to run full funtionally. This includes the crontab, MySQLDumper uses.
72
+
73
+ How to install MySQLDumper:
74
+ Please visit [the official website](http://www.mysqldumper.de/tutorials/) for several tutorials and videotutorials where you can see, how to install MySQLDumper.
75
+
76
+ To configure the automatic backup with MySQLDumper:
77
+ Please visit [the official website](http://forum.mysqldumper.de/features-perl-cronscript-einstellungen-von-konfiguration-cron-t502.html) for informations about the full automatic backup of your database with perl and crontab.
78
+
79
+ * Maintenance Mode must be installed and all needed options must be set.
80
+ * After that, go to your Dumper-settings -> Configuration -> Databases. There you have two options
81
+ ->Command before Dump
82
+ ->Command after Dump
83
+ * 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.
84
+ * 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:
85
+
86
+ `UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '1' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
87
+
88
+ * Now you can set the second command to deactivate the maintenance mode like the first one with this code:
89
+
90
+ `UPDATE 'wp-database'.'wp-prefix_options' SET 'option_value' = '0' WHERE 'wp-prefix_options'.'option_name' = 'wp-maintenance-mode-msqld';`
91
+
92
+ = Note! =
93
+ You must edit three places of the code to your options:
94
+
95
+ * `wp-database` -> put here the name of your database.
96
+ * `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!
97
+
98
+ 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".
99
+
100
+ Don't forget to save these settings! After that, your Wordpress will be switch in maintenance mode, when Dumper is backup your database!
101
+
102
+ = Frequently Asked Questions for MySQLDumper =
103
+ Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
104
+
105
+ = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
106
+ Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
107
+
108
+ = Cache Plugin Support =
109
+ The plugin flush the cache on activate the maintenance mode form the plugins W3 Total Cache and WP Super Cache
110
+
111
+ = Interested in WordPress tips and tricks =
112
+ You may also be interested in WordPress tips and tricks at [WP Engineer](http://wpengineer.com/) or for german people [bueltge.de](http://bueltge.de/)
113
+
114
+ == Installation ==
115
+ 1. Unpack the download-package
116
+ 1. Upload all files to the `/wp-content/plugins/` directory, include folders
117
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
118
+ 1. Click the `settings`-link for change time, link of authors, text and design
119
+ 1. Activate under the settings and your blog is in maintenance mode
120
+ 1. Please check the **Exclude** option in settings for parts of your install; maybe an custom login-adress etc.
121
+
122
+ See on [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode").
123
+
124
+ == Screenshots ==
125
+ 1. Aktiv Maintenance-Mode with Theme "The Truck" and german language
126
+ 1. Settings on plugin-page
127
+ 1. Aktiv Maintenance-Mode with Theme "Simple Text" and german language
128
+ 1. Aktiv Maintenance-Mode with Theme "The Sun"
129
+ 1. Aktiv Maintenance-Mode with Theme "The FF Error"
130
+ 1. Aktiv Maintenance-Mode with Theme "Monster"
131
+ 1. Aktiv Maintenance-Mode with Theme "Chastely"
132
+ 1. Aktiv Maintenance-Mode with Theme "Only Typo"
133
+ 1. Aktiv Maintenance-Mode with Theme "Paint"
134
+ 1. Aktiv Maintenance-Mode with Theme "Animate (Flash)"
135
+ 1. Aktiv Maintenance-Mode with Theme "Damask"
136
+ 1. Aktiv Maintenance-Mode with Theme "Lego"
137
+ 1. Aktiv Maintenance-Mode with Theme "Chemistry"
138
+
139
+ == Frequently Asked Questions ==
140
+ = Where can I get more information? =
141
+ Please visit [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode") for the latest information on this plugin.
142
+
143
+ = I love this plugin! How can I show the developer how much I appreciate his work? =
144
+ Please visit [the official website](http://bueltge.de/wp-wartungsmodus-plugin/101/ "WP Maintenance Mode") and let him know your care or see the [wishlist](http://bueltge.de/wunschliste/ "Wishlist") of the author.
145
+
146
+ = Frequently Asked Questions for MySQLDumper =
147
+ Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
148
+
149
+ = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
150
+ Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
151
+
152
+ = Cache Plugin Support =
153
+ The plugin flush the cache on activate the maintenance mode form the plugins W3 Total Cache and WP Super Cache
154
+
155
+ == Other Notes ==
156
+ = Work with MySQLDumper =
157
+ This option is designed for users, who backups their database with "MySQLDumper".
158
+ With this option you can switch your Wordpress into maintenance mode, when you create a database-backup with MySQLDumper. This is very usefull especially for larger blogs, because their backup takes a longer time. With this option enabled, you have the guarantee of a clean and full backup of your database. All other requests to your database from other resources were blocked in the time of the backup and all the performance of the MySQL-Server will be taken for the backup.
159
+
160
+ = How to use =
161
+ * MySQLDumper must be installed and has to run full funtionally. This includes the crontab, MySQLDumper uses.
162
+
163
+ How to install MySQLDumper:
164
+ Please visit [the official website](http://www.mysqldumper.de/tutorials/) for several tutorials and videotutorials where you can see, how to install MySQLDumper.
165
+
166
+ To configure the automatic backup with MySQLDumper:
167
+ Please visit [the official website](http://forum.mysqldumper.de/features-perl-cronscript-einstellungen-von-konfiguration-cron-t502.html) for informations about the full automatic backup of your database with perl and crontab.
168
+
169
+ * Maintenance Mode must be installed and all needed options must be set.
170
+ * After that, go to your Dumper-settings -> Configuration -> Databases. There you have two options
171
+ ->Command before Dump
172
+ ->Command after Dump
173
+ * 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.
174
+ * 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:
175
+
176
+ UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '1' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
177
+
178
+ * Now you can set the second command to deactivate the maintenance mode like the first one with this code:
179
+
180
+ UPDATE `wp-database`.`wp-prefix_options` SET `option_value` = '0' WHERE `wp-prefix_options`.`option_name` = 'wp-maintenance-mode-msqld';
181
+
182
+ = Note! =
183
+ You must edit three places of the code to your options:
184
+
185
+ * `wp-database` -> put here the name of your database.
186
+ * `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!
187
+
188
+ 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".
189
+
190
+ Don't forget to save these settings! After that, your Wordpress will be switch in maintenance mode, when Dumper is backup your database!
191
+
192
+ = Frequently Asked Questions for MySQLDumper =
193
+ Please visit [the official website](http://www.mysqldumper.de/) for general informations about MySQLDumper.
194
+
195
+ = How to: Backup with maintenance mode and MySQLDumper (illustrated Tutorial in german language) =
196
+ Please visit [Automatisches Backup der WordPress-Datenbank](http://www.beedy.de/2010/05/09/automatisches-backup-der-wordpress-datenbank/)
197
+
198
+ = Acknowledgements =
199
+ * Thanks to [David Hellmann](http://www.davidhellmann.com/ "David Hellmann") for the design "The Truck"
200
+ * Thanks to [Nicki Steiger](http://mynicki.net/ "Nicki Steiger") for the design "The Sun"
201
+ * Thanks to [Thomas Meschke](http://www.lokalnetz.com/ "Thomas Meschke") for the design "The FF Error"
202
+ * Thanks to [Sebastian Sebald](http://www.backseatsurfer.de "Sebastian Sebald") for the design "Monster"
203
+ * Thanks to [Florian Andreas Vogelmaier](http://fv-web.de/ "Florian Andreas Vogelmaier") for the design "Chastely"
204
+ * Thanks to [Robert Pfotenhauer](http://krautsuppe.de/ "Robert Pfotenhauer") for the design "Only Typo"
205
+ * Thanks to [Marvin Labod](http://bugeyes.de/ "Marvin Labod") for the design "Paint"
206
+ * Thanks to [Sebastian Schmiedel](http://www.cayou-media.de/ "Sebastian Schmiedel") for the design "Animate (Flash)"
207
+ * Thanks to [Fabian Letscher](http://fabianletscher.de/ "Fabian Letscher") for the design "Damask"
208
+ * Thanks to [Alex Frison](http://www.afrison.com/ "Alex Frison") for the design "Lego"
209
+ * Thanks to [elmastudio.de](http://www.elmastudio.de/ "elmastudio.de") for the design "Chemistry"
210
+
211
+ * Thanks to [Stefan Wilhelm](http://www.beedy.de/) for Idea, Tests and a tutorial for work with MySQLDumper
212
+
213
+ * Thanks to [Omer Faruk ](http://yakalasam.com) and [H&uuml;seyin &Uuml;lk&uuml;](http://www.salsabar.org/ "H&uuml;seyin &Uuml;lk&uuml;") for turkey language file
214
+ * Thanks to LIJE Creative, [Agence web Strasbourg](http://www.lije-creative.com/ "Agence web LIJE Creative") and [Gilles WALET](http://www.nevermindfr.com/ "Gilles WALET") for frensh language file
215
+ * Thanks to [J&uuml;rgen Toth](http://www.relijoc.ro/ "J&uuml;rgen Toth") for romanian language file
216
+ * 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
217
+ * Thanks to [Romeo Shuka](http://www.romeolab.com/wp-wartungsmodus-shqip "About this Plugin in albanian language") for albanian language file
218
+ * Thanks to Francisco Javier Bernad Asiain and [TodoWordPress](http://www.todowp.org/ "TodoWordPress") for spanish language file
219
+ * Thanks to FatCow for belorussion language file
220
+ * Thanks to [yuarez](http://yuraz.uni.cc "yuraz.uni.cc") for croatian languge files
221
+ * Thanks to [Georg](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=250 "wordpress.blogos.dk") for danish languge files
222
+ * Thanks to [Jakub Dirska](http://www.bellartis.com "bellartis.com") for polish languge files
223
+ * Thanks to [Rene](http://wpwebshop.com/blog/ "wpwebshop.com/blog") for durch translation files and hints to my errors on my bad english.
224
+ * Thanks to [Alejandro Garcia](http://blog.wrsmexico.com "blog.wrsmexico.com") for a spanish flash-file for the style "Animate"
225
+ * Thanks to [S.M. Mehdi Akram (Royal)](http://mehdiakram.wordpress.com/ "mehdiakram.wordpress.com") for (mother) bengali language files.
226
+ * Thanks to [Yaser Maadan](http://www.englize.com "www.englize.com") for a arabic language files
227
+ * Thanks to [Andrew Kovalev](http://www.portablecomponentsforall.com/)
228
+ * Thanks to [Brian Flores](http://www.inmotionhosting.com/) for serbian translation
229
+ * Lithuanian translation files by [Vincent G](http://www.host1plus.com)
230
+ * Swedish translation files by [Kenneth Andersson](http://www.telia.se/)
231
+ * Japanese translation files by [Groove Brain]
232
+ * Thanks to [Maksym Kobieliev](mailto:maximaximums@gmail.com) for ukrainian translation
233
+ * Thanks to Michal Nusko for czech translation
234
+
235
+ == Changelog ==
236
+ = 1.8.8 (06/05/2013) =
237
+ * Fix path to localized flash content
238
+ * Fix preview function
239
+ * Add ukrainian translation
240
+ * Add czech translation
241
+ * Fix exclude function for IP
242
+ * Security fix for save status via Ajax
243
+
244
+ = 1.8.7 (04/07/2013) =
245
+ * Add RTL support for splash page
246
+ * Add Filter Hook `wp_maintenance_mode_status_code` Status Code; default is 503
247
+ * Add support for custom splash page; leave a file with this name `wp-maintenance-mode.php` in the wp-content; the plugin use this file
248
+ The plugin checks in `WP_CONTENT_DIR . '/wp-maintenance-mode.php'`
249
+ * Small minor changes
250
+ * Add filter for more date on splash page
251
+
252
+ = 1.8.6 (02/22/2013) =
253
+ * Remove log inside console for JS
254
+ * Add support for time inside the countdown
255
+ * Add filter hook `wm_meta_author`for the meta data author
256
+ * Add filter hook `wm_meta_description` for custom description
257
+ * Add filter hook `wm_meta_keywords`for custom meta keys
258
+
259
+ = 1.8.5 (01/24/2013) =
260
+ * Added new settings for hide, view notices about the active maintenance mode
261
+ * Changes on source, codex
262
+ * Fix PHP Notices [Support Thread](http://wordpress.org/support/topic/error-message-in-settings-1)
263
+ * Change default settings, added ajax
264
+ * Fix Preview function
265
+ * Fix uninstall in WPMU
266
+ * Small updates on styles for login form
267
+
268
+ = 1.8.4 (12/06/2012) =
269
+ * Fix for include JS in frontend to use countdown
270
+ * Small mini fix for a php notice
271
+ * Add charset on spalsh page for strange databases
272
+ * Enhanced default exclude adresses
273
+ * Add shortcode `[loginform]` for easy use a login form in splash page
274
+ * Test with WordPress 3.5
275
+
276
+ = 1.8.3 =
277
+ * Fix for the forgotten update of JS-files; slow SVN :(
278
+ * Minor Fixes, see (Bugtracker)[http://bueltge.de/bt/view.php?id=2]
279
+
280
+ = 1.8.2 =
281
+ * Add different access for Frontend and Backend
282
+ * Add Rewrite after Login for Frontend Access
283
+ * Different small changes
284
+ * Test for WP 3.5
285
+
286
+ = 1.8.1 =
287
+ * Add option for value of robots meta tag
288
+ * Add option for optional admin login
289
+
290
+ = 1.8.0 =
291
+ * Include all scripts in backend via function
292
+ * Update datepicker and countdown js
293
+ * Supportet IP as exclude for see the frontend
294
+ * Add support for flish cache od WP Super Cache and W3 Total Cache plugins
295
+ * Fix for changes in WP 3.3 Multisite
296
+
297
+ = 1.7.1 (12/05/2011) =
298
+ * fix for WP smaller 3.2* on Network
299
+
300
+ = 1.7.0 (12/02/2011) =
301
+ * add functionalities to use in WP Multisite
302
+ * remove message in header, current is not fixed the ticked in core and the message on Admin Bar an Notice is enough
303
+ * check on WP 3.3RC1
304
+
305
+ = 1.6.10 (08/30/2011) =
306
+ * add hint in Admin Bar, if active
307
+ * small changes for WP Codex
308
+
309
+ = 1.6.9 (06/13/2011) =
310
+ * Small fix for empty string on custom design
311
+
312
+ = 1.6.8 (04/05/2011) =
313
+ * Small changes on check for datepicker
314
+ * Fix for Design monster
315
+
316
+ = 1.6.7 (01/05/2011) =
317
+ * Bugfix: new check for files for different themes; hope this fix the server errors
318
+ * Bugfix: fix add default settings
319
+ * Maintenance: different changes on the syntax
320
+ * Feature: add check for Super Admin on WP Multisite; has allways the rights for access
321
+ * Feature: now it is possible to exclude feed from maintenance mode
322
+ * Maintenance: check with 3.0.4 and 3.1-RC2
323
+ * Maintenance: update language file: .pot, de_DE
324
+ * Bugfix: JavaScript error on Bulk Actions on plugins fixed
325
+ * Maintenance: fix all notice, if set no values
326
+
327
+ = 1.6.6. (10/09/2010) =
328
+ * Maintenance: many changes on the code; $locale and hook in side frontend
329
+ * Maintenance: change attribute_escaped to esc_attr with custom method for WP smaller 2.8
330
+ * Maintenance: Update german language files
331
+ * Feature: Shortcodes is now possible in the "Text" option
332
+ * Feature: no cache header rewrite
333
+
334
+ = 1.6.5 (09/16/2010) =
335
+ * add new design "Chemistry" by [elmastudio.de](http://www.elmastudio.de/ "elmastudio.de")
336
+ * changes for include methods od class for preview
337
+ * changes the possibility for include of language specific flash files
338
+
339
+ = 1.6.4 (09/13/2010) =
340
+ * add preview functions
341
+ * bugfix for list in wp-admin/plugins.php
342
+ * remove datepicker.regional - dont work fine
343
+ * different small changes
344
+ * new language file .pot
345
+ * add flash file and change on plugin for style "Animate" for spanish language
346
+
347
+ = 1.6.3 (07/27/2010) =
348
+ * bugfix to include stylesheet on maintenance mode message
349
+
350
+ = 1.6.2 (07/08/2010) =
351
+ * add functions for hint in the new UI of WP 3.0
352
+ * add more WP Codex standard source
353
+ * fix strings in the language and languages files
354
+ * add datetimepicker-de
355
+
356
+ = 1.6.1 (06/18/2010) =
357
+ * fix a problem with https://; see [Ticket #13941](http://core.trac.wordpress.org/ticket/13941)
358
+
359
+ = 1.6 (05/17/2010) =
360
+ * bugfix for exclude sites
361
+
362
+ = 1.5.9 (05/07/2010) =
363
+ * change different points
364
+ * add possibility to wotk with MySQLDumper
365
+
366
+ = 1.5.8 (21/03/2010)=
367
+ * fix exclude error
368
+ * add textareas for heading and header fields
369
+
370
+ = 1.5.7 (03/18/2010) =
371
+ * block admin-area via role
372
+ * add message for registered users with not enough rights
373
+ * add message on login-page
374
+ * different changes
375
+
376
+ = 1.5.6 (02/25/2010) =
377
+ * changes on css, site.php and different syntax on the plugin
378
+
379
+ = 1.5.5 (02/23/2010) =
380
+ * SORRY, small bug for the url to jQuery
381
+
382
+ = 1.5.4 (02/23/2010) =
383
+ * add time for countdown
384
+ * changes for WP 3.0
385
+ * changees on rights to see frontend
386
+
387
+ = 1.5.3 (01/05/2010) =
388
+ * Fix for JavaScript with WordPress 2.9
389
+ * Add new custom fields for fronted: title, header, heading
390
+ * Fix for setting userrole to see frontend
391
+ * Change laguage files
392
+
393
+ = 1.5.2 (01/04/2010) =
394
+ * add user-role setting
395
+ * correctly the de_DE language file
396
+
397
+ = 1.5.1 (10/04/2009) =
398
+ * add small fix
399
+ * add language files (en_ES, ro_RO)
400
+
401
+ = 1.5.0 (09/28/2009) =
402
+ * add countdown
403
+ * change options
404
+ * change default options
405
+ * add field for own adress to excerpt of the maintenance mode
406
+ * etc.
407
+
408
+ = 1.4.9 (07/09/2009) =
409
+ * also ready for WordPress 2.6
410
+ * add romanian language files
411
+ * add italian language file by [Gianni Diurno](http://gidibao.net/ "Gianni Diurno")
412
+
413
+ = 1.4.8 (03/09/2009) =
414
+ * add design "Damask" by [Fabian Letscher](http://fabianletscher.de/ "Fabian Letscher")
415
+ * add design "Lego" by [Alex Frison](http://www.afrison.com/ "Alex Frison")
416
+
417
+ = 1.4.7 (26/08/2009) =
418
+ * change doc-type to utf-8 without BOM
419
+
420
+ = v1.4.6 (24/08/2009) =
421
+ * add design "Animate (Flash)" by [Sebastian Schmiedel](http://www.cayou-media.de/ "Sebastian Schmiedel")
422
+ * add new hook for add content `wm_content` to include flash on content
423
+ * add frensh language files
424
+
425
+ = v1.4.5 (19/08/2009) =
426
+ * fix html string in text on frontend
427
+ * add design "Paint" by [Marvin Labod](http://bugeyes.de/ "Marvin Labod")
428
+ * add turkey language files
429
+
430
+ = v1.4.4 (18/08/2009) =
431
+ * add design "Chastely" by [Florian Andreas Vogelmaier](http://fv-web.de/ "Florian Andreas Vogelmaier")
432
+ * add design "Only Typo" by [Robert Pfotenhauer](http://krautsuppe.de/ "Robert Pfotenhauer")
433
+
434
+ = v1.4.3 (13/08/2009) =
435
+ * add option for the Text
436
+ * add option for active maintenance mode
437
+ * add design "The FF Error" by [Thomas Meschke](http://www.lokalnetz.com/ "Thomas Meschke")
438
+ * add design "Monster" by [Sebastian Sebald](http://www.backseatsurfer.de "Sebastian Sebald")
439
+
440
+ = v1.4.2 (10/08/2009) =
441
+ * add design "The Sun" by [Nicki Steiger](http://mynicki.net/ "Nicki Steiger")
442
+ * now it is possible to add own css and add in settings the url to the css-file
443
+
444
+ = v1.4.1 (07/08/2009) =
445
+ * small html-fix
446
+
447
+ = v1.4 (06/08/2009) =
448
+ * complety new code
449
+ * options menu
450
+ * new designs by [David Hellmann](http://www.davidhellmann.com/ "David Hellmann")
site.php CHANGED
@@ -1,130 +1,130 @@
1
- <!DOCTYPE html>
2
- <html <?php language_attributes(); ?> id="wp_maintenance_mode"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
3
- <head>
4
- <?php
5
- if ( ! isset($value) ) {
6
- //$WPMaintenanceMode = new WPMaintenanceMode();
7
- $value = WPMaintenanceMode::get_options();
8
- $unitvalues = WPMaintenanceMode::case_unit( $value['unit'] );
9
- }
10
-
11
- $author = 'WP Maintenance Mode: Frank Bueltge, http://bueltge.de';
12
- $author = apply_filters( 'wm_meta_author', $author );
13
-
14
- $desc = get_bloginfo( 'name' ) . ' - ' . get_bloginfo( 'description' );
15
- $desc = apply_filters( 'wm_meta_description', $desc );
16
-
17
- $keywords = 'Maintenance Mode';
18
- $keywords = apply_filters( 'wm_meta_keywords', $keywords );
19
-
20
- if ( isset( $value['index'] ) && 1 === $value['index'] )
21
- $content = 'noindex, nofollow';
22
- else {
23
- $content = 'index, follow';
24
- }
25
-
26
- if ( isset($value['title']) && ($value['title'] != '') )
27
- $title = stripslashes_deep( $value['title'] );
28
- else
29
- $title = get_bloginfo( 'name' ) . ' - ' . __( 'Maintenance Mode', FB_WM_TEXTDOMAIN );
30
- ?>
31
-
32
- <title><?php echo apply_filters( 'wm_title', $title ); ?></title>
33
-
34
- <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
35
- <meta name="author" content="<?php echo $author; ?>" />
36
- <meta name="description" content="<?php echo $desc; ?>" />
37
- <meta name="keywords" content="<?php echo $keywords; ?>" />
38
- <meta name="robots" content="<?php echo $content; ?>" />
39
- <link rel="Shortcut Icon" type="image/x-icon" href="<?php echo get_option('home'); ?>/favicon.ico" />
40
- <link rel="stylesheet" type="text/css" href="<?php echo WP_PLUGIN_URL . '/' . FB_WM_BASEDIR ?>/css/jquery.countdown.css" media="all" />
41
-
42
- <?php
43
- if ( ! defined('WP_CONTENT_URL') )
44
- define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
45
- if ( ! defined('WP_PLUGIN_URL') )
46
- define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
47
-
48
- if ( ! defined('FB_WM_BASENAME') )
49
- define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
50
- if ( ! defined('FB_WM_BASEDIR') )
51
- define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
52
-
53
- global $user_ID;
54
-
55
- get_currentuserinfo();
56
- $locale = get_locale();
57
-
58
- wm_head();
59
-
60
- // header string
61
- if ( isset( $value['header'] ) && ( $value['header'] != '' ) )
62
- $header = stripslashes_deep( $value['header'] );
63
- else
64
- $header = get_bloginfo( 'name' ) . ' - ' . get_bloginfo( 'description' );
65
-
66
- // heading string
67
- if ( isset( $value['heading'] ) && ( $value['heading'] != '' ) )
68
- $heading = stripslashes_deep( $value['heading'] );
69
- else
70
- $heading = __( 'Maintenance Mode', FB_WM_TEXTDOMAIN );
71
- ?>
72
-
73
- </head>
74
-
75
- <body>
76
-
77
- <div id="header">
78
- <p><?php echo apply_filters( 'wm_header', $header ); ?></p>
79
- </div>
80
-
81
- <div id="content">
82
-
83
- <h1><?php echo apply_filters( 'wm_heading', $heading ); ?></h1>
84
-
85
- <?php wm_content();
86
- if ( isset( $value['admin_link'] ) && 1 === $value['admin_link'] ) {
87
- if ( isset($user_ID) && $user_ID ) {
88
- $adminlogin = wp_logout_url();
89
- if ( isset($rolestatus) && 'norights' == $rolestatus )
90
- $adminloginmsg = '<h3>' . __( 'Access to the admin area blocked', FB_WM_TEXTDOMAIN ) . '</h3>';
91
- else
92
- $adminloginmsg = '';
93
- $adminloginstr = __( 'Admin-Logout', FB_WM_TEXTDOMAIN );
94
- } else {
95
- // Returns the Log In URL
96
- $adminlogin = wp_login_url();
97
- $adminloginmsg = '';
98
- $adminloginstr = __( 'Admin-Login', FB_WM_TEXTDOMAIN );
99
- }
100
- echo $adminloginmsg;
101
- ?>
102
- <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>
103
- <?php } ?>
104
-
105
- </div>
106
-
107
- <?php wm_footer();
108
-
109
- $td = WPMaintenanceMode::check_datetime();
110
- if ( isset($td[2]) && 0 !== $td[2] ) {
111
- $locale = substr($locale, 0, 2);
112
- ?>
113
-
114
- <script type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/jquery/jquery.js"></script>
115
- <script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown.pack.js', __FILE__ ); ?>"></script>
116
- <?php if ( @file_exists( FB_WM_BASE . '/js/jquery.countdown-' . $locale . '.js') ) { ?>
117
- <script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown-' . $locale . '.js', __FILE__ ); ?>"></script>
118
- <?php } ?>
119
-
120
- <script type="text/javascript">
121
- jQuery(document).ready( function($){
122
- var austDay = new Date();
123
- // 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
124
- austDay = new Date(<?php echo $td[2]; ?>);
125
- $('#countdown').countdown({ until: austDay });
126
- });
127
- </script>
128
- <?php } ?>
129
- </body>
130
  </html>
1
+ <!DOCTYPE html>
2
+ <html <?php language_attributes(); ?> id="wp_maintenance_mode"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
3
+ <head>
4
+ <?php
5
+ if ( ! isset($value) ) {
6
+ //$WPMaintenanceMode = new WPMaintenanceMode();
7
+ $value = WPMaintenanceMode::get_options();
8
+ $unitvalues = WPMaintenanceMode::case_unit( $value['unit'] );
9
+ }
10
+
11
+ $author = 'WP Maintenance Mode: Frank Bueltge, http://bueltge.de';
12
+ $author = apply_filters( 'wm_meta_author', $author );
13
+
14
+ $desc = get_bloginfo( 'name' ) . ' - ' . get_bloginfo( 'description' );
15
+ $desc = apply_filters( 'wm_meta_description', $desc );
16
+
17
+ $keywords = 'Maintenance Mode';
18
+ $keywords = apply_filters( 'wm_meta_keywords', $keywords );
19
+
20
+ if ( isset( $value['index'] ) && 1 === $value['index'] )
21
+ $content = 'noindex, nofollow';
22
+ else {
23
+ $content = 'index, follow';
24
+ }
25
+
26
+ if ( isset($value['title']) && ($value['title'] != '') )
27
+ $title = stripslashes_deep( $value['title'] );
28
+ else
29
+ $title = get_bloginfo( 'name' ) . ' - ' . __( 'Maintenance Mode', FB_WM_TEXTDOMAIN );
30
+ ?>
31
+
32
+ <title><?php echo apply_filters( 'wm_title', $title ); ?></title>
33
+
34
+ <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
35
+ <meta name="author" content="<?php echo $author; ?>" />
36
+ <meta name="description" content="<?php echo $desc; ?>" />
37
+ <meta name="keywords" content="<?php echo $keywords; ?>" />
38
+ <meta name="robots" content="<?php echo $content; ?>" />
39
+ <link rel="Shortcut Icon" type="image/x-icon" href="<?php echo get_option('home'); ?>/favicon.ico" />
40
+ <link rel="stylesheet" type="text/css" href="<?php echo WP_PLUGIN_URL . '/' . FB_WM_BASEDIR ?>/css/jquery.countdown.css" media="all" />
41
+
42
+ <?php
43
+ if ( ! defined('WP_CONTENT_URL') )
44
+ define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
45
+ if ( ! defined('WP_PLUGIN_URL') )
46
+ define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
47
+
48
+ if ( ! defined('FB_WM_BASENAME') )
49
+ define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
50
+ if ( ! defined('FB_WM_BASEDIR') )
51
+ define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
52
+
53
+ global $user_ID;
54
+
55
+ get_currentuserinfo();
56
+ $locale = get_locale();
57
+
58
+ wm_head();
59
+
60
+ // header string
61
+ if ( isset( $value['header'] ) && ( $value['header'] != '' ) )
62
+ $header = stripslashes_deep( $value['header'] );
63
+ else
64
+ $header = get_bloginfo( 'name' ) . ' - ' . get_bloginfo( 'description' );
65
+
66
+ // heading string
67
+ if ( isset( $value['heading'] ) && ( $value['heading'] != '' ) )
68
+ $heading = stripslashes_deep( $value['heading'] );
69
+ else
70
+ $heading = __( 'Maintenance Mode', FB_WM_TEXTDOMAIN );
71
+ ?>
72
+
73
+ </head>
74
+
75
+ <body>
76
+
77
+ <div id="header">
78
+ <p><?php echo apply_filters( 'wm_header', $header ); ?></p>
79
+ </div>
80
+
81
+ <div id="content">
82
+
83
+ <h1><?php echo apply_filters( 'wm_heading', $heading ); ?></h1>
84
+
85
+ <?php wm_content();
86
+ if ( isset( $value['admin_link'] ) && 1 === $value['admin_link'] ) {
87
+ if ( isset($user_ID) && $user_ID ) {
88
+ $adminlogin = wp_logout_url();
89
+ if ( isset($rolestatus) && 'norights' == $rolestatus )
90
+ $adminloginmsg = '<h3>' . __( 'Access to the admin area blocked', FB_WM_TEXTDOMAIN ) . '</h3>';
91
+ else
92
+ $adminloginmsg = '';
93
+ $adminloginstr = __( 'Admin-Logout', FB_WM_TEXTDOMAIN );
94
+ } else {
95
+ // Returns the Log In URL
96
+ $adminlogin = wp_login_url();
97
+ $adminloginmsg = '';
98
+ $adminloginstr = __( 'Admin-Login', FB_WM_TEXTDOMAIN );
99
+ }
100
+ echo $adminloginmsg;
101
+ ?>
102
+ <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>
103
+ <?php } ?>
104
+
105
+ </div>
106
+
107
+ <?php wm_footer();
108
+
109
+ $td = WPMaintenanceMode::check_datetime();
110
+ if ( isset($td[2]) && 0 !== $td[2] ) {
111
+ $locale = substr($locale, 0, 2);
112
+ ?>
113
+
114
+ <script type="text/javascript" src="<?php echo site_url(); ?>/wp-includes/js/jquery/jquery.js"></script>
115
+ <script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown.pack.js', __FILE__ ); ?>"></script>
116
+ <?php if ( @file_exists( FB_WM_BASE . '/js/jquery.countdown-' . $locale . '.js') ) { ?>
117
+ <script type="text/javascript" src="<?php echo WPMaintenanceMode::get_plugins_url( 'js/jquery.countdown-' . $locale . '.js', __FILE__ ); ?>"></script>
118
+ <?php } ?>
119
+
120
+ <script type="text/javascript">
121
+ jQuery(document).ready( function($){
122
+ var austDay = new Date();
123
+ // 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
124
+ austDay = new Date(<?php echo $td[2]; ?>);
125
+ $('#countdown').countdown({ until: austDay });
126
+ });
127
+ </script>
128
+ <?php } ?>
129
+ </body>
130
  </html>
styles/af.css CHANGED
@@ -1,95 +1,95 @@
1
- /**
2
- * @design http://www.afrison.com/
3
- */
4
-
5
- * {
6
- margin: 0;
7
- padding: 0;
8
- }
9
-
10
- body {
11
- font-family: Georgia, Arial, Helvetica, Sans Serif;
12
- font-size: 65.5%;
13
- font: 400 13px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
14
- background-image: url(images/lego-bg.jpg);
15
- background-repeat: repeat-x;
16
- }
17
-
18
- a {
19
- color: #000;
20
- }
21
-
22
- a:hover {
23
- color: #333;
24
- }
25
-
26
- #header {
27
- color: #333;
28
- padding: 1.5em;
29
- text-align: center;
30
- font-size: 1.2em;
31
- }
32
-
33
- #content {
34
- width: 1000px;
35
- height: 600px;
36
- background: url('images/lego-content.jpg') no-repeat;
37
- position: absolute;
38
- top: 40px;
39
- left: 50%;
40
- margin: 0 0 0 -500px;
41
- z-index: 5;
42
- }
43
-
44
- #content p {
45
- width: 250px;
46
- position: absolute;
47
- top: 220px;
48
- left: 155px;
49
- }
50
-
51
- #content form p {
52
- position: relative;
53
- top: 250px;
54
- }
55
-
56
- h1 {
57
- background-image: url('images/headline-de_DE.jpg');
58
- background-repeat: no-repeat;
59
- position: absolute;
60
- width: 365px;
61
- height: 57px;
62
- left: 150px;
63
- top: 150px;
64
- background-repeat: no-repeat;
65
- }
66
-
67
- h3 {
68
- position: absolute;
69
- left: 155px;
70
- top: 100px;
71
- color: #8f1218;
72
- }
73
-
74
- #content div.admin {
75
- position: absolute;
76
- top: 255px;
77
- left: 640px;
78
- font-size: 14px;
79
- font-weight:bold;
80
- }
81
-
82
- #content div.admin a{
83
- text-decoration:none;
84
- }
85
-
86
- #footer {
87
- position: absolute;
88
- bottom: 10px;
89
- left: 15px;
90
- }
91
-
92
- #footer img {
93
- border: none;
94
- vertical-align: bottom;
95
  }
1
+ /**
2
+ * @design http://www.afrison.com/
3
+ */
4
+
5
+ * {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ body {
11
+ font-family: Georgia, Arial, Helvetica, Sans Serif;
12
+ font-size: 65.5%;
13
+ font: 400 13px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
14
+ background-image: url(images/lego-bg.jpg);
15
+ background-repeat: repeat-x;
16
+ }
17
+
18
+ a {
19
+ color: #000;
20
+ }
21
+
22
+ a:hover {
23
+ color: #333;
24
+ }
25
+
26
+ #header {
27
+ color: #333;
28
+ padding: 1.5em;
29
+ text-align: center;
30
+ font-size: 1.2em;
31
+ }
32
+
33
+ #content {
34
+ width: 1000px;
35
+ height: 600px;
36
+ background: url('images/lego-content.jpg') no-repeat;
37
+ position: absolute;
38
+ top: 40px;
39
+ left: 50%;
40
+ margin: 0 0 0 -500px;
41
+ z-index: 5;
42
+ }
43
+
44
+ #content p {
45
+ width: 250px;
46
+ position: absolute;
47
+ top: 220px;
48
+ left: 155px;
49
+ }
50
+
51
+ #content form p {
52
+ position: relative;
53
+ top: 250px;
54
+ }
55
+
56
+ h1 {
57
+ background-image: url('images/headline-de_DE.jpg');
58
+ background-repeat: no-repeat;
59
+ position: absolute;
60
+ width: 365px;
61
+ height: 57px;
62
+ left: 150px;
63
+ top: 150px;
64
+ background-repeat: no-repeat;
65
+ }
66
+
67
+ h3 {
68
+ position: absolute;
69
+ left: 155px;
70
+ top: 100px;
71
+ color: #8f1218;
72
+ }
73
+
74
+ #content div.admin {
75
+ position: absolute;
76
+ top: 255px;
77
+ left: 640px;
78
+ font-size: 14px;
79
+ font-weight:bold;
80
+ }
81
+
82
+ #content div.admin a{
83
+ text-decoration:none;
84
+ }
85
+
86
+ #footer {
87
+ position: absolute;
88
+ bottom: 10px;
89
+ left: 15px;
90
+ }
91
+
92
+ #footer img {
93
+ border: none;
94
+ vertical-align: bottom;
95
  }
styles/be.css CHANGED
@@ -1,54 +1,54 @@
1
- /* Wartungsmodusplugin by Bueltge.de - CSS and Grafik by Bugeyes.de */
2
-
3
- * {
4
- margin:0px;
5
- padding:0px;
6
- border:0px; }
7
-
8
- body {
9
- background:#548a32 url('images/bg.jpg') center top no-repeat;
10
- font-family:Arial, Verdana;
11
- color:#fff;
12
- font-size:14px;
13
- padding-top:200px;
14
- width:700px;
15
- margin:0px auto; }
16
-
17
- a { color:#fff; text-decoration:none; }
18
-
19
- a:hover { color:#ead311; }
20
-
21
- #content { position:relative; padding-left:118px; }
22
-
23
- #content p {
24
- margin-top:30px;
25
- font-size:18px;
26
- line-height:28px;}
27
- #content form p {
28
- margin: 0;
29
- }
30
- h1 {
31
- font-size:36px;
32
- font-family:verdana;
33
- font-weight:normal; }
34
-
35
- h3 {
36
- color: #8f1218; }
37
-
38
- #header { margin-bottom:50px; padding-left:0; }
39
-
40
- div.admin a {
41
-
42
- display:block;
43
- width:142px;
44
- text-align:center;
45
- padding-top:20px;
46
- height:32px;
47
- background-image:url('images/button.png');
48
- position:absolute;
49
- right:155px; }
50
-
51
- #footer { margin-top:75px; font-size:12px; }
52
-
53
- #footer img { margin-bottom:-2px; width:12px; height:12px; }
54
 
1
+ /* Wartungsmodusplugin by Bueltge.de - CSS and Grafik by Bugeyes.de */
2
+
3
+ * {
4
+ margin:0px;
5
+ padding:0px;
6
+ border:0px; }
7
+
8
+ body {
9
+ background:#548a32 url('images/bg.jpg') center top no-repeat;
10
+ font-family:Arial, Verdana;
11
+ color:#fff;
12
+ font-size:14px;
13
+ padding-top:200px;
14
+ width:700px;
15
+ margin:0px auto; }
16
+
17
+ a { color:#fff; text-decoration:none; }
18
+
19
+ a:hover { color:#ead311; }
20
+
21
+ #content { position:relative; padding-left:118px; }
22
+
23
+ #content p {
24
+ margin-top:30px;
25
+ font-size:18px;
26
+ line-height:28px;}
27
+ #content form p {
28
+ margin: 0;
29
+ }
30
+ h1 {
31
+ font-size:36px;
32
+ font-family:verdana;
33
+ font-weight:normal; }
34
+
35
+ h3 {
36
+ color: #8f1218; }
37
+
38
+ #header { margin-bottom:50px; padding-left:0; }
39
+
40
+ div.admin a {
41
+
42
+ display:block;
43
+ width:142px;
44
+ text-align:center;
45
+ padding-top:20px;
46
+ height:32px;
47
+ background-image:url('images/button.png');
48
+ position:absolute;
49
+ right:155px; }
50
+
51
+ #footer { margin-top:75px; font-size:12px; }
52
+
53
+ #footer img { margin-bottom:-2px; width:12px; height:12px; }
54
 
styles/cm.css CHANGED
@@ -1,53 +1,53 @@
1
- /**
2
- * @design http://www.cayou-media.de/
3
- */
4
-
5
- body {
6
- background:#000;
7
- color:#FFF;
8
- font:normal 10pt/13pt Trebuchet MS;
9
- text-align:center;
10
- margin:0;
11
- padding:0;
12
- }
13
-
14
- a, a:link, a:visited, a.active {
15
- text-decoration:none;
16
- color:#FFCC01;
17
- font:bold 10pt/13pt Trebuchet MS;
18
- }
19
-
20
- a:hover {
21
- text-decoration:underline;
22
- }
23
-
24
- img {
25
- border:none;
26
- }
27
-
28
- .admin {
29
-
30
- }
31
-
32
- #header {
33
- font:bold 12pt/15pt Trebuchet MS;
34
- color:#fff;
35
- }
36
-
37
- #content {
38
-
39
- }
40
-
41
  h3 {
42
  color: #8f1218;
43
- }
44
-
45
- #footer {
46
- text-align:right;
47
- }
48
-
49
- #footer a, #footer a:link, #footer a:visited, #footer a.active, #footer a:hover {
50
- font:normal 10pt/13pt Trebuchet MS;
51
- text-decoration:none;
52
- color:#8C8A8C;
53
  }
1
+ /**
2
+ * @design http://www.cayou-media.de/
3
+ */
4
+
5
+ body {
6
+ background:#000;
7
+ color:#FFF;
8
+ font:normal 10pt/13pt Trebuchet MS;
9
+ text-align:center;
10
+ margin:0;
11
+ padding:0;
12
+ }
13
+
14
+ a, a:link, a:visited, a.active {
15
+ text-decoration:none;
16
+ color:#FFCC01;
17
+ font:bold 10pt/13pt Trebuchet MS;
18
+ }
19
+
20
+ a:hover {
21
+ text-decoration:underline;
22
+ }
23
+
24
+ img {
25
+ border:none;
26
+ }
27
+
28
+ .admin {
29
+
30
+ }
31
+
32
+ #header {
33
+ font:bold 12pt/15pt Trebuchet MS;
34
+ color:#fff;
35
+ }
36
+
37
+ #content {
38
+
39
+ }
40
+
41
  h3 {
42
  color: #8f1218;
43
+ }
44
+
45
+ #footer {
46
+ text-align:right;
47
+ }
48
+
49
+ #footer a, #footer a:link, #footer a:visited, #footer a.active, #footer a:hover {
50
+ font:normal 10pt/13pt Trebuchet MS;
51
+ text-decoration:none;
52
+ color:#8C8A8C;
53
  }
styles/dh.css CHANGED
@@ -1,108 +1,108 @@
1
- /**
2
- * @design http://www.davidhellmann.com/
3
- */
4
- * {
5
- list-style-type: none;
6
- margin: 0;
7
- padding: 0;
8
- text-decoration: none;
9
- font-weight: 400;
10
- }
11
-
12
- body {
13
- background: url('images/background.jpg') repeat;
14
- font: 400 13px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
15
- }
16
-
17
- a {
18
- text-decoration: none;
19
- color: #fff;
20
- }
21
-
22
- a:hover {
23
- text-decoration: none;
24
- }
25
-
26
- #content {
27
- width: 800px;
28
- height: 600px;
29
- background: url('images/box-bg.jpg') no-repeat;
30
- position: absolute;
31
- top: 0;
32
- left: 50%;
33
- margin: 0 0 0 -400px;
34
- z-index: 5;
35
- }
36
-
37
- #content h1 {
38
- position: absolute;
39
- width: 410px;
40
- height: 60px;
41
- left: 50px;
42
- top: 270px;
43
- background-repeat:no-repeat;
44
- }
45
-
46
- #content h3 {
47
- position: absolute;
48
- width: 410px;
49
- font-size: 20px;
50
- left: 55px;
51
- top: 320px;
52
- color: #8f1218;
53
- }
54
-
55
- #content p {
56
- width: 380px;
57
- height: 300px;
58
- color: #888;
59
- position: absolute;
60
- top: 340px;
61
- left: 55px;
62
- font: normal 17px/24px "Trebuchet MS", Arial, Helvetica, sans-serif;
63
- }
64
-
65
- #content form p {
66
- position: relative;
67
- width: auto;
68
- height: auto;
69
- top: 400px;
70
- }
71
-
72
- #content p strong {
73
- font-weight: 900;
74
- color: #555;
75
- }
76
-
77
- #content div.admin {
78
- position: absolute;
79
- width: 85px;
80
- height: 28px;
81
- line-height: 28px;
82
- font-weight: 900 !important;
83
- bottom: 10px;
84
- right: 40px;
85
- }
86
-
87
- #header {
88
- width: 100%;
89
- height: 28px;
90
- background: url('images/leiste.jpg') repeat-x;
91
- color: #fff;
92
- text-align: center;
93
- position: absolute;
94
- top: 0;
95
- z-index: 10;
96
- line-height: 28px;
97
- font-weight: bold;
98
- }
99
-
100
- #footer {
101
- position: absolute;
102
- bottom: 10px;
103
- left: 15px;
104
- font-size: smaller;
105
- }
106
- #footer img {
107
- vertical-align: bottom;
108
  }
1
+ /**
2
+ * @design http://www.davidhellmann.com/
3
+ */
4
+ * {
5
+ list-style-type: none;
6
+ margin: 0;
7
+ padding: 0;
8
+ text-decoration: none;
9
+ font-weight: 400;
10
+ }
11
+
12
+ body {
13
+ background: url('images/background.jpg') repeat;
14
+ font: 400 13px/18px "Trebuchet MS", Arial, Helvetica, sans-serif;
15
+ }
16
+
17
+ a {
18
+ text-decoration: none;
19
+ color: #fff;
20
+ }
21
+
22
+ a:hover {
23
+ text-decoration: none;
24
+ }
25
+
26
+ #content {
27
+ width: 800px;
28
+ height: 600px;
29
+ background: url('images/box-bg.jpg') no-repeat;
30
+ position: absolute;
31
+ top: 0;
32
+ left: 50%;
33
+ margin: 0 0 0 -400px;
34
+ z-index: 5;
35
+ }
36
+
37
+ #content h1 {
38
+ position: absolute;
39
+ width: 410px;
40
+ height: 60px;
41
+ left: 50px;
42
+ top: 270px;
43
+ background-repeat:no-repeat;
44
+ }
45
+
46
+ #content h3 {
47
+ position: absolute;
48
+ width: 410px;
49
+ font-size: 20px;
50
+ left: 55px;
51
+ top: 320px;
52
+ color: #8f1218;
53
+ }
54
+
55
+ #content p {
56
+ width: 380px;
57
+ height: 300px;
58
+ color: #888;
59
+ position: absolute;
60
+ top: 340px;
61
+ left: 55px;
62
+ font: normal 17px/24px "Trebuchet MS", Arial, Helvetica, sans-serif;
63
+ }
64
+
65
+ #content form p {
66
+ position: relative;
67
+ width: auto;
68
+ height: auto;
69
+ top: 400px;
70
+ }
71
+
72
+ #content p strong {
73
+ font-weight: 900;
74
+ color: #555;
75
+ }
76
+
77
+ #content div.admin {
78
+ position: absolute;
79
+ width: 85px;
80
+ height: 28px;
81
+ line-height: 28px;
82
+ font-weight: 900 !important;
83
+ bottom: 10px;
84
+ right: 40px;
85
+ }
86
+
87
+ #header {
88
+ width: 100%;
89
+ height: 28px;
90
+ background: url('images/leiste.jpg') repeat-x;
91
+ color: #fff;
92
+ text-align: center;
93
+ position: absolute;
94
+ top: 0;
95
+ z-index: 10;
96
+ line-height: 28px;
97
+ font-weight: bold;
98
+ }
99
+
100
+ #footer {
101
+ position: absolute;
102
+ bottom: 10px;
103
+ left: 15px;
104
+ font-size: smaller;
105
+ }
106
+ #footer img {
107
+ vertical-align: bottom;
108
  }
styles/es.css CHANGED
@@ -1,98 +1,98 @@
1
- /**
2
- * @design http://www.elmastudio.de
3
- * @link http://www.elmastudio.de/freebies/freebie-illustration-fuer-wartungsmodus-in-wordpress/
4
- */
5
- * {
6
- list-style-type: none;
7
- margin: 0;
8
- padding: 0;
9
- border: none;
10
- }
11
-
12
- body {
13
- background: url('images/es/bg.jpg') repeat;
14
- }
15
- a {
16
- text-decoration: none;
17
- color: #262626;
18
- }
19
- a:hover {
20
- color:#000;
21
- text-decoration: underline;
22
- }
23
- #content {
24
- margin: 30px auto;
25
- width: 980px;
26
- height: 610px;
27
- background:url('images/es/bg-image.png') 0 0 no-repeat;
28
- position:relative;
29
- }
30
- #content h1 {
31
- position: absolute;
32
- width: 384px;
33
- height: 45px;
34
- top: 75px;
35
- right: 110px;
36
- background:url('images/es/m-mode.png') 0 0 no-repeat;
37
- text-indent:-9999px;
38
- }
39
- #content h3 {
40
- position: absolute;
41
- width: 410px;
42
- left: 55px;
43
- top: 320px;
44
- font-size: 20px;
45
- color: #8f1218;
46
- }
47
- #content p {
48
- width: 380px;
49
- height: 300px;
50
- position: absolute;
51
- top: 130px;
52
- right: 105px;
53
- font: normal 18px/23px Arial, Helvetica, sans-serif;
54
- color: #ccc;
55
- text-shadow: 1px 1px 2px #333;
56
- filter: dropshadow(color=#333, offx=1, offy=1);
57
- }
58
- #content p strong {
59
- font-weight:700;
60
- color: #30ADE6;
61
- }
62
- #content form p {
63
- position: relative;
64
- height: auto;
65
- top: 210px;
66
- left: 495px;
67
- }
68
- #content div.admin {
69
- position: absolute;
70
- width: 106px;
71
- height: 40px;
72
- top: 260px;
73
- right:110px;
74
- background:url('images/es/button.png') 0 0 no-repeat;
75
- text-indent:-9999px;
76
- cursor:pointer;
77
- }
78
- #header {
79
- position: absolute;
80
- top: 15px;
81
- width: 100%;
82
- text-align:center;
83
- font: normal 15px Arial, Helvetica, sans-serif;
84
- text-transform:uppercase;
85
- color: #ccc;
86
- text-shadow: 1px 1px 2px #333;
87
- filter: dropshadow(color=#333, offx=1, offy=1);
88
- font-weight:700;
89
- }
90
- #footer {
91
- position: absolute;
92
- bottom: 15px;
93
- left: 15px;
94
- font: normal 15px Arial, Helvetica, sans-serif;
95
- }
96
- #footer img {
97
- vertical-align: bottom;
98
  }
1
+ /**
2
+ * @design http://www.elmastudio.de
3
+ * @link http://www.elmastudio.de/freebies/freebie-illustration-fuer-wartungsmodus-in-wordpress/
4
+ */
5
+ * {
6
+ list-style-type: none;
7
+ margin: 0;
8
+ padding: 0;
9
+ border: none;
10
+ }
11
+
12
+ body {
13
+ background: url('images/es/bg.jpg') repeat;
14
+ }
15
+ a {
16
+ text-decoration: none;
17
+ color: #262626;
18
+ }
19
+ a:hover {
20
+ color:#000;
21
+ text-decoration: underline;
22
+ }
23
+ #content {
24
+ margin: 30px auto;
25
+ width: 980px;
26
+ height: 610px;
27
+ background:url('images/es/bg-image.png') 0 0 no-repeat;
28
+ position:relative;
29
+ }
30
+ #content h1 {
31
+ position: absolute;
32
+ width: 384px;
33
+ height: 45px;
34
+ top: 75px;
35
+ right: 110px;
36
+ background:url('images/es/m-mode.png') 0 0 no-repeat;
37
+ text-indent:-9999px;
38
+ }
39
+ #content h3 {
40
+ position: absolute;
41
+ width: 410px;
42
+ left: 55px;
43
+ top: 320px;
44
+ font-size: 20px;
45
+ color: #8f1218;
46
+ }
47
+ #content p {
48
+ width: 380px;
49
+ height: 300px;
50
+ position: absolute;
51
+ top: 130px;
52
+ right: 105px;
53
+ font: normal 18px/23px Arial, Helvetica, sans-serif;
54
+ color: #ccc;
55
+ text-shadow: 1px 1px 2px #333;
56
+ filter: dropshadow(color=#333, offx=1, offy=1);
57
+ }
58
+ #content p strong {
59
+ font-weight:700;
60
+ color: #30ADE6;
61
+ }
62
+ #content form p {
63
+ position: relative;
64
+ height: auto;
65
+ top: 210px;
66
+ left: 495px;
67
+ }
68
+ #content div.admin {
69
+ position: absolute;
70
+ width: 106px;
71
+ height: 40px;
72
+ top: 260px;
73
+ right:110px;
74
+ background:url('images/es/button.png') 0 0 no-repeat;
75
+ text-indent:-9999px;
76
+ cursor:pointer;
77
+ }
78
+ #header {
79
+ position: absolute;
80
+ top: 15px;
81
+ width: 100%;
82
+ text-align:center;
83
+ font: normal 15px Arial, Helvetica, sans-serif;
84
+ text-transform:uppercase;
85
+ color: #ccc;
86
+ text-shadow: 1px 1px 2px #333;
87
+ filter: dropshadow(color=#333, offx=1, offy=1);
88
+ font-weight:700;
89
+ }
90
+ #footer {
91
+ position: absolute;
92
+ bottom: 15px;
93
+ left: 15px;
94
+ font: normal 15px Arial, Helvetica, sans-serif;
95
+ }
96
+ #footer img {
97
+ vertical-align: bottom;
98
  }
styles/fl.css CHANGED
@@ -1,138 +1,138 @@
1
- @charset "utf-8";
2
- /*---------------------
3
- Author: Fabian Letscher
4
- URL: http://fabianletscher.de
5
- Credits go to:
6
- - [The Inspiration Gallery]
7
- http://www.theinspirationgallery.com/wallpaper/damask/wp_damask01.htm
8
-
9
- ---------------------*/
10
-
11
- * {margin:0;padding:0;border:0;}
12
-
13
- html,body {width:100%;height:100%;font-size:10px;}
14
-
15
- body {background:url('images/bg.gif') repeat;position:relative;color:#fff;}
16
-
17
- #header {
18
- height:1.6em;
19
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
20
- background: rgba(88,0,0,0.4);
21
- border-bottom:1px solid #fff;
22
- font: 1.6em helvetica, tahoma, sans-serif;
23
- padding: 0.4em 1.5em;
24
- line-height:1.6em;
25
- font-variant:small-caps;
26
- font-weight:bold;
27
- letter-spacing:0.1em;
28
- }
29
-
30
- /*IE6 , IE7 Hack*/
31
- * html #header {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
32
- *+html #header {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
33
-
34
- #content {
35
- position:absolute;
36
- height:45em;
37
- width:70em;
38
- margin:5em 0;
39
- top:50%;
40
- left:50%;
41
- margin-top:-22.5em;
42
- margin-left:-35em;
43
- border:1px dotted;
44
- border-radius:1.5em;
45
- -moz-border-radius: 1.5em;
46
- -webkit-border-radius: 1.5em;
47
- border:1px solid #fff;
48
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAooATEjd6QAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12NgYGBIAwAAawBnwq0NKAAAAABJRU5ErkJggg%3D%3D);
49
- background: rgba(0,0,0,0.4);
50
- z-index:999
51
- }
52
- * html #content {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40000000,endColorstr=#40000000);}
53
- *+html #content {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40000000,endColorstr=#40000000);}
54
-
55
- #content:before {
56
- border:1px dotted;
57
- content: '!';
58
- height:1.1em;
59
- width:1.1em;
60
- border-radius:1em;
61
- -moz-border-radius: 1em;
62
- -webkit-border-radius: 1em;
63
- border:0.14em solid #fff;
64
- display:block;
65
- font:14em trebuchet ms;
66
- text-align:center;
67
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
68
- background:rgba(88,0,0,0.4);
69
- opacity:0.5;
70
- margin: 0.2em auto 0.1em auto;
71
-
72
- }
73
-
74
- #content:hover:before{
75
- opacity:0.8;
76
- }
77
-
78
- #footer{
79
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
80
- background: rgba(88,0,0,0.4);
81
- border-top:1px solid #fff;
82
- font: 1.4em helvetica, tahoma, sans-serif;
83
- line-height:1.6em;
84
- position:absolute;
85
- bottom:0;
86
- left:0;
87
- width:100%;
88
- }
89
- * html #footer {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
90
- *+html #footer {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
91
-
92
-
93
- h1 {
94
- font: 4em helvetica, tahoma, arial, sans-serif;
95
- text-align:center;
96
- margin:0 0 0.7em !important;
97
- margin:4em 0 0.7em 0;
98
- }
99
-
100
- h3 {
101
- text-align:center;
102
- }
103
-
104
- *+html h1 {margin:10em 0 0.7 0;}
105
-
106
- #content p {
107
- margin:0 12em;
108
- text-align:justify;
109
- font: 1.5em helvetica, tahoma, arial, sans-serif;
110
- }
111
-
112
- #content p strong {font-size:1.2em;}
113
-
114
- #content form p {margin-top:.25em;margin-bottom:.25em;}
115
-
116
- #content div.admin {
117
- position:absolute;
118
- bottom:0;
119
- right:0;
120
- font: 1.1em tahoma, arial, sans-serif;
121
- margin: 0 1em 1em 0;
122
- }
123
-
124
- a {color:#fff; text-decoration:none; border-bottom:1px dotted #fff;}
125
- a:hover {border:0;}
126
-
127
- #footer p {
128
- vertical-align:baseline;
129
- padding:0.4em 1.5em;
130
- line-height:1.6em;
131
- }
132
-
133
- p a img {
134
- margin:0 0 -2px;
135
- }
136
-
137
- #footer a {border:0;}
138
-
1
+ @charset "utf-8";
2
+ /*---------------------
3
+ Author: Fabian Letscher
4
+ URL: http://fabianletscher.de
5
+ Credits go to:
6
+ - [The Inspiration Gallery]
7
+ http://www.theinspirationgallery.com/wallpaper/damask/wp_damask01.htm
8
+
9
+ ---------------------*/
10
+
11
+ * {margin:0;padding:0;border:0;}
12
+
13
+ html,body {width:100%;height:100%;font-size:10px;}
14
+
15
+ body {background:url('images/bg.gif') repeat;position:relative;color:#fff;}
16
+
17
+ #header {
18
+ height:1.6em;
19
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
20
+ background: rgba(88,0,0,0.4);
21
+ border-bottom:1px solid #fff;
22
+ font: 1.6em helvetica, tahoma, sans-serif;
23
+ padding: 0.4em 1.5em;
24
+ line-height:1.6em;
25
+ font-variant:small-caps;
26
+ font-weight:bold;
27
+ letter-spacing:0.1em;
28
+ }
29
+
30
+ /*IE6 , IE7 Hack*/
31
+ * html #header {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
32
+ *+html #header {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
33
+
34
+ #content {
35
+ position:absolute;
36
+ height:45em;
37
+ width:70em;
38
+ margin:5em 0;
39
+ top:50%;
40
+ left:50%;
41
+ margin-top:-22.5em;
42
+ margin-left:-35em;
43
+ border:1px dotted;
44
+ border-radius:1.5em;
45
+ -moz-border-radius: 1.5em;
46
+ -webkit-border-radius: 1.5em;
47
+ border:1px solid #fff;
48
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAooATEjd6QAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12NgYGBIAwAAawBnwq0NKAAAAABJRU5ErkJggg%3D%3D);
49
+ background: rgba(0,0,0,0.4);
50
+ z-index:999
51
+ }
52
+ * html #content {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40000000,endColorstr=#40000000);}
53
+ *+html #content {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40000000,endColorstr=#40000000);}
54
+
55
+ #content:before {
56
+ border:1px dotted;
57
+ content: '!';
58
+ height:1.1em;
59
+ width:1.1em;
60
+ border-radius:1em;
61
+ -moz-border-radius: 1em;
62
+ -webkit-border-radius: 1em;
63
+ border:0.14em solid #fff;
64
+ display:block;
65
+ font:14em trebuchet ms;
66
+ text-align:center;
67
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
68
+ background:rgba(88,0,0,0.4);
69
+ opacity:0.5;
70
+ margin: 0.2em auto 0.1em auto;
71
+
72
+ }
73
+
74
+ #content:hover:before{
75
+ opacity:0.8;
76
+ }
77
+
78
+ #footer{
79
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kIFAoqMrzFdDAAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAADUlEQVQI12OIYGBIAwABywC/D1QgTgAAAABJRU5ErkJggg%3D%3D);
80
+ background: rgba(88,0,0,0.4);
81
+ border-top:1px solid #fff;
82
+ font: 1.4em helvetica, tahoma, sans-serif;
83
+ line-height:1.6em;
84
+ position:absolute;
85
+ bottom:0;
86
+ left:0;
87
+ width:100%;
88
+ }
89
+ * html #footer {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
90
+ *+html #footer {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40880000,endColorstr=#40880000);}
91
+
92
+
93
+ h1 {
94
+ font: 4em helvetica, tahoma, arial, sans-serif;
95
+ text-align:center;
96
+ margin:0 0 0.7em !important;
97
+ margin:4em 0 0.7em 0;
98
+ }
99
+
100
+ h3 {
101
+ text-align:center;
102
+ }
103
+
104
+ *+html h1 {margin:10em 0 0.7 0;}
105
+
106
+ #content p {
107
+ margin:0 12em;
108
+ text-align:justify;
109
+ font: 1.5em helvetica, tahoma, arial, sans-serif;
110
+ }
111
+
112
+ #content p strong {font-size:1.2em;}
113
+
114
+ #content form p {margin-top:.25em;margin-bottom:.25em;}
115
+
116
+ #content div.admin {
117
+ position:absolute;
118
+ bottom:0;
119
+ right:0;
120
+ font: 1.1em tahoma, arial, sans-serif;
121
+ margin: 0 1em 1em 0;
122
+ }
123
+
124
+ a {color:#fff; text-decoration:none; border-bottom:1px dotted #fff;}
125
+ a:hover {border:0;}
126
+
127
+ #footer p {
128
+ vertical-align:baseline;
129
+ padding:0.4em 1.5em;
130
+ line-height:1.6em;
131
+ }
132
+
133
+ p a img {
134
+ margin:0 0 -2px;
135
+ }
136
+
137
+ #footer a {border:0;}
138
+
styles/fv.css CHANGED
@@ -1,108 +1,108 @@
1
- /**
2
- * @design http://fv-web.de/
3
- */
4
-
5
- * {
6
- margin: 0;
7
- padding: 0;
8
- font-size: small;
9
- font-family: "Palatino Linotype", Palatino, Georgia, Serif;
10
- }
11
-
12
- body {
13
- background-color: #FFF;
14
- text-align: center;
15
- }
16
-
17
- p, strong, a {
18
- line-height: 140%;
19
- font-family: Verdana, Arial, Sans-Serif;
20
- }
21
-
22
- #header {
23
- position: absolute;
24
- top: 5px;
25
- width: 100%;
26
- height: 20px;
27
- border-bottom: 1px solid #CCC;
28
- text-align: right;
29
- }
30
-
31
- #header p {
32
- padding-right: 15px;
33
- }
34
-
35
- #content {
36
- margin: 100px auto;
37
- width: 500px;
38
- height: 350px;
39
- background: url('images/do-not-enter.jpg') bottom right no-repeat;
40
- text-align: left;
41
- }
42
-
43
- #content h1 {
44
- margin: 20px;
45
- padding-top: 20px;
46
- font-size: 300%;
47
- color: #B8C9DD;
48
- letter-spacing: 2px;
49
- text-align: center;
50
- border-bottom: 7px solid #C5C5C5;
51
- }
52
-
53
- #content h3 {
54
- font-size: 140%;
55
- color: #8f1218;
56
- padding: 0 0 0 22px;
57
- }
58
-
59
- #content p {
60
- width: 300px;
61
- }
62
-
63
- #content p {
64
- padding: 22px;
65
- }
66
-
67
- #content form p {
68
- padding: 6px;
69
- }
70
-
71
- div.admin {
72
- margin-top: 130px;
73
- margin-right: 45px;
74
- text-align: right;
75
- }
76
-
77
- div.admin a:link, div.admin a:visited {
78
- padding: 7px;
79
- color: #202020;
80
- }
81
-
82
- div.admin a:hover, div.admin a:focus, div.admin a:active {
83
- background-color: #B8C9DD;
84
- text-decoration: underline;
85
- }
86
-
87
- #footer {
88
- width: 100%;
89
- height: 20px;
90
- padding-top: 15px;
91
- border-top: 1px solid #CCC;
92
- text-align: right;
93
- }
94
-
95
- #footer img {
96
- border: none;
97
- }
98
-
99
- #footer a:link, #footer a:visited {
100
- margin-right: 15px;
101
- padding: 14px 7px 7px 7px;
102
- color: #000;
103
- }
104
-
105
- #footer a:hover, #footer a:focus, #footer a:active {
106
- background-color: #B8C9DD;
107
- text-decoration: underline;
108
  }
1
+ /**
2
+ * @design http://fv-web.de/
3
+ */
4
+
5
+ * {
6
+ margin: 0;
7
+ padding: 0;
8
+ font-size: small;
9
+ font-family: "Palatino Linotype", Palatino, Georgia, Serif;
10
+ }
11
+
12
+ body {
13
+ background-color: #FFF;
14
+ text-align: center;
15
+ }
16
+
17
+ p, strong, a {
18
+ line-height: 140%;
19
+ font-family: Verdana, Arial, Sans-Serif;
20
+ }
21
+
22
+ #header {
23
+ position: absolute;
24
+ top: 5px;
25
+ width: 100%;
26
+ height: 20px;
27
+ border-bottom: 1px solid #CCC;
28
+ text-align: right;
29
+ }
30
+
31
+ #header p {
32
+ padding-right: 15px;
33
+ }
34
+
35
+ #content {
36
+ margin: 100px auto;
37
+ width: 500px;
38
+ height: 350px;
39
+ background: url('images/do-not-enter.jpg') bottom right no-repeat;
40
+ text-align: left;
41
+ }
42
+
43
+ #content h1 {
44
+ margin: 20px;
45
+ padding-top: 20px;
46
+ font-size: 300%;
47
+ color: #B8C9DD;
48
+ letter-spacing: 2px;
49
+ text-align: center;
50
+ border-bottom: 7px solid #C5C5C5;
51
+ }
52
+
53
+ #content h3 {
54
+ font-size: 140%;
55
+ color: #8f1218;
56
+ padding: 0 0 0 22px;
57
+ }
58
+
59
+ #content p {
60
+ width: 300px;
61
+ }
62
+
63
+ #content p {
64
+ padding: 22px;
65
+ }
66
+
67
+ #content form p {
68
+ padding: 6px;
69
+ }
70
+
71
+ div.admin {
72
+ margin-top: 130px;
73
+ margin-right: 45px;
74
+ text-align: right;
75
+ }
76
+
77
+ div.admin a:link, div.admin a:visited {
78
+ padding: 7px;
79
+ color: #202020;
80
+ }
81
+
82
+ div.admin a:hover, div.admin a:focus, div.admin a:active {
83
+ background-color: #B8C9DD;
84
+ text-decoration: underline;
85
+ }
86
+
87
+ #footer {
88
+ width: 100%;
89
+ height: 20px;
90
+ padding-top: 15px;
91
+ border-top: 1px solid #CCC;
92
+ text-align: right;
93
+ }
94
+
95
+ #footer img {
96
+ border: none;
97
+ }
98
+
99
+ #footer a:link, #footer a:visited {
100
+ margin-right: 15px;
101
+ padding: 14px 7px 7px 7px;
102
+ color: #000;
103
+ }
104
+
105
+ #footer a:hover, #footer a:focus, #footer a:active {
106
+ background-color: #B8C9DD;
107
+ text-decoration: underline;
108
  }
styles/ln.css CHANGED
@@ -1,108 +1,108 @@
1
- @charset "UTF-8";
2
- /*
3
- * ******************************************************************************
4
- *
5
- * @Theme Name: MozMaintenanceMode (like Firefox-Errorpages)
6
- * @Version: 0.1.2009
7
- * @Author: Thomas
8
- * @Last modified: 2009-08-11 18:02:00
9
- * @Author URI: http://www.lokalnetz.com
10
- * @Description: Theme for the '!Wartungsmodus Wordpress-Plugin'
11
- * @WP-Plugin URI: http://wordpress.org/extend/plugins/wartungsmodus/
12
- *
13
- * ******************************************************************************
14
- */
15
-
16
- * {
17
- margin: 0;
18
- padding: 0;
19
- }
20
- html {
21
- background: #F0F0F0;
22
- color: #000000;
23
- font-family: "Segoe UI", "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
24
- font-size: 80%;
25
- }
26
- body {
27
- position: absolute;
28
- left: 50%;
29
- width: 50em;
30
- background: #FFFFFF url('images/gnome-control_48px.png') 3.5em 5.5em no-repeat;
31
- border: 1px solid #A0A0A0;
32
- color: #000000;
33
- margin: 9em 0 0 -25em;
34
- padding: 0 0 2em 0;
35
- -webkit-border-radius: 10px;
36
- -moz-border-radius: 10px;
37
- }
38
- a {
39
- color: #08658F;
40
- text-decoration: none;
41
- }
42
- a:hover {
43
- color: #0092BF;
44
- }
45
- a img {
46
- border: none;
47
- }
48
- #content strong {
49
- color: #008CBA;
50
- font-weight: normal;
51
- letter-spacing: 1px;
52
- line-height: 1.8em;
53
- }
54
- #header {
55
- background: #F6F6F6;
56
- border-bottom: 1px solid #A0A0A0;
57
- padding: 0.4em 0em;
58
- text-align: center;
59
- -webkit-border-top-left-radius: 10px;
60
- -webkit-border-top-right-radius: 10px;
61
- -moz-border-radius-topleft: 9px;
62
- -moz-border-radius-topright: 9px;
63
- }
64
- #content {
65
- padding: 2.5em 2em 0 11em;
66
- }
67
- #content form p {
68
- margin: 5px 0;
69
- }
70
- #footer {
71
- position: absolute;
72
- bottom: -24px;
73
- right: 10px;
74
- font-size: 8px;
75
- text-align: center;
76
- }
77
- #footer img {
78
- padding: 0 0 0 0.8em;
79
- vertical-align: -0.4em;
80
- }
81
- h1 {
82
- font-size: 160%;
83
- font-weight: normal;
84
- border-bottom: 1px solid #E3E3E3;
85
- margin-bottom: 0.8em;
86
- }
87
- h3 {
88
- color: #8f1218;
89
- }
90
- .admin a {
91
- background: #FFFFFF url('images/gnome_key_32px.png') 0.5em 0.5em no-repeat;
92
- border: 1px solid #A0A0A0;
93
- -webkit-border-radius: 5px;
94
- -moz-border-radius: 5px;
95
- float: right;
96
- margin: 1em 0 0em 0;
97
- padding: 1em 1em 1em 4em;
98
- display: block;
99
- }
100
- .admin a:hover {
101
- border: 1px solid #0092BF;
102
- }
103
-
104
- /*
105
-
106
- *** The people are aliens or something. - Robert Smith (The Cure) ***
107
-
108
- */
1
+ @charset "UTF-8";
2
+ /*
3
+ * ******************************************************************************
4
+ *
5
+ * @Theme Name: MozMaintenanceMode (like Firefox-Errorpages)
6
+ * @Version: 0.1.2009
7
+ * @Author: Thomas
8
+ * @Last modified: 2009-08-11 18:02:00
9
+ * @Author URI: http://www.lokalnetz.com
10
+ * @Description: Theme for the '!Wartungsmodus Wordpress-Plugin'
11
+ * @WP-Plugin URI: http://wordpress.org/extend/plugins/wartungsmodus/
12
+ *
13
+ * ******************************************************************************
14
+ */
15
+
16
+ * {
17
+ margin: 0;
18
+ padding: 0;
19
+ }
20
+ html {
21
+ background: #F0F0F0;
22
+ color: #000000;
23
+ font-family: "Segoe UI", "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
24
+ font-size: 80%;
25
+ }
26
+ body {
27
+ position: absolute;
28
+ left: 50%;
29
+ width: 50em;
30
+ background: #FFFFFF url('images/gnome-control_48px.png') 3.5em 5.5em no-repeat;
31
+ border: 1px solid #A0A0A0;
32
+ color: #000000;
33
+ margin: 9em 0 0 -25em;
34
+ padding: 0 0 2em 0;
35
+ -webkit-border-radius: 10px;
36
+ -moz-border-radius: 10px;
37
+ }
38
+ a {
39
+ color: #08658F;
40
+ text-decoration: none;
41
+ }
42
+ a:hover {
43
+ color: #0092BF;
44
+ }
45
+ a img {
46
+ border: none;
47
+ }
48
+ #content strong {
49
+ color: #008CBA;
50
+ font-weight: normal;
51
+ letter-spacing: 1px;
52
+ line-height: 1.8em;
53
+ }
54
+ #header {
55
+ background: #F6F6F6;
56
+ border-bottom: 1px solid #A0A0A0;
57
+ padding: 0.4em 0em;
58
+ text-align: center;
59
+ -webkit-border-top-left-radius: 10px;
60
+ -webkit-border-top-right-radius: 10px;
61
+ -moz-border-radius-topleft: 9px;
62
+ -moz-border-radius-topright: 9px;
63
+ }
64
+ #content {
65
+ padding: 2.5em 2em 0 11em;
66
+ }
67
+ #content form p {
68
+ margin: 5px 0;
69
+ }
70
+ #footer {
71
+ position: absolute;
72
+ bottom: -24px;
73
+ right: 10px;
74
+ font-size: 8px;
75
+ text-align: center;
76
+ }
77
+ #footer img {
78
+ padding: 0 0 0 0.8em;
79
+ vertical-align: -0.4em;
80
+ }
81
+ h1 {
82
+ font-size: 160%;
83
+ font-weight: normal;
84
+ border-bottom: 1px solid #E3E3E3;
85
+ margin-bottom: 0.8em;
86
+ }
87
+ h3 {
88
+ color: #8f1218;
89
+ }
90
+ .admin a {
91
+ background: #FFFFFF url('images/gnome_key_32px.png') 0.5em 0.5em no-repeat;
92
+ border: 1px solid #A0A0A0;
93
+ -webkit-border-radius: 5px;
94
+ -moz-border-radius: 5px;
95
+ float: right;
96
+ margin: 1em 0 0em 0;
97
+ padding: 1em 1em 1em 4em;
98
+ display: block;
99
+ }
100
+ .admin a:hover {
101
+ border: 1px solid #0092BF;
102
+ }
103
+
104
+ /*
105
+
106
+ *** The people are aliens or something. - Robert Smith (The Cure) ***
107
+
108
+ */
styles/monster.css CHANGED
@@ -1,97 +1,97 @@
1
- /*
2
- Designed by: Sebastian Sebald (www.distractedbysquirrels.com)
3
- */
4
-
5
- body{
6
- margin: 0;
7
- background-color:#66CCFF;
8
-
9
- }
10
-
11
- img{
12
- border: none;
13
- }
14
-
15
- #header{
16
- margin:0;
17
- text-align:center;
18
- color:#CCF0FF;
19
- border-bottom:solid 1px #CCF0FF;
20
- }
21
-
22
- #header p{
23
- margin:5px 0;
24
- font: 14px/14px helvetica, arial, sans-serif;
25
- }
26
-
27
- #content{
28
- overflow:hidden;
29
- position:absolute;
30
- top:120px;
31
- left:30%;
32
- right:30%;
33
- height:414px;
34
- width:615px;
35
- background: #66CCFF url(images/monster.jpg) no-repeat scroll right center;
36
- }
37
-
38
- #content h1{
39
- font: 50px/52px impact, arial, helvetica;
40
- color:#404040;
41
- padding: 0 0 0 40px;
42
- margin: 33px 0 20px 0;
43
- }
44
-
45
- #content h3 {
46
- padding: 0 0 0 55px;
47
- margin: -20px 0;
48
- color: #8f1218;
49
- }
50
-
51
- #content p{
52
- width:300px;
53
- font: 14px/16px helvetica, arial, sans-serif;
54
- color:#404040;
55
- padding: 0 0 0 55px;
56
- }
57
-
58
- #content form p{
59
- margin: 0;
60
- }
61
-
62
- #content strong{
63
- font: bold 14px/26px helvetica, arial, sans-serif;
64
- }
65
-
66
- .admin {
67
- position:absolute;
68
- bottom:0;
69
- right:17px;
70
- }
71
-
72
- .admin a{
73
- font: bold 12px/12px helvetica, arial, sans-serif;
74
- color:#CCF0FF;
75
- text-decoration:none;
76
- }
77
-
78
- #footer{
79
- position: absolute;
80
- bottom: 0px;
81
- right: 10px
82
- }
83
-
84
- #footer p{
85
- margin: 0;
86
- }
87
-
88
- #footer a{
89
- text-decoration: none;
90
- color: #CCF0FF;
91
- font: 10px/14px helvetica, arial, sans-serif;
92
- vertical-align:4px;
93
- }
94
-
95
- #footer img{
96
- vertical-align: -4px
97
- }
1
+ /*
2
+ Designed by: Sebastian Sebald (www.distractedbysquirrels.com)
3
+ */
4
+
5
+ body{
6
+ margin: 0;
7
+ background-color:#66CCFF;
8
+
9
+ }
10
+
11
+ img{
12
+ border: none;
13
+ }
14
+
15
+ #header{
16
+ margin:0;
17
+ text-align:center;
18
+ color:#CCF0FF;
19
+ border-bottom:solid 1px #CCF0FF;
20
+ }
21
+
22
+ #header p{
23
+ margin:5px 0;
24
+ font: 14px/14px helvetica, arial, sans-serif;
25
+ }
26
+
27
+ #content{
28
+ overflow:hidden;
29
+ position:absolute;
30
+ top:120px;
31
+ left:30%;
32
+ right:30%;
33
+ height:414px;
34
+ width:615px;
35
+ background: #66CCFF url(images/monster.jpg) no-repeat scroll right center;
36
+ }
37
+
38
+ #content h1{
39
+ font: 50px/52px impact, arial, helvetica;
40
+ color:#404040;
41
+ padding: 0 0 0 40px;
42
+ margin: 33px 0 20px 0;
43
+ }
44
+
45
+ #content h3 {
46
+ padding: 0 0 0 55px;
47
+ margin: -20px 0;
48
+ color: #8f1218;
49
+ }
50
+
51
+ #content p{
52
+ width:300px;
53
+ font: 14px/16px helvetica, arial, sans-serif;
54
+ color:#404040;
55
+ padding: 0 0 0 55px;
56
+ }
57
+
58
+ #content form p{
59
+ margin: 0;
60
+ }
61
+
62
+ #content strong{
63
+ font: bold 14px/26px helvetica, arial, sans-serif;
64
+ }
65
+
66
+ .admin {
67
+ position:absolute;
68
+ bottom:0;
69
+ right:17px;
70
+ }
71
+
72
+ .admin a{
73
+ font: bold 12px/12px helvetica, arial, sans-serif;
74
+ color:#CCF0FF;
75
+ text-decoration:none;
76
+ }
77
+
78
+ #footer{
79
+ position: absolute;
80
+ bottom: 0px;
81
+ right: 10px
82
+ }
83
+
84
+ #footer p{
85
+ margin: 0;
86
+ }
87
+
88
+ #footer a{
89
+ text-decoration: none;
90
+ color: #CCF0FF;
91
+ font: 10px/14px helvetica, arial, sans-serif;
92
+ vertical-align:4px;
93
+ }
94
+
95
+ #footer img{
96
+ vertical-align: -4px
97
+ }
styles/nicki.css CHANGED
@@ -1,66 +1,66 @@
1
- /**
2
- * @design http://www.mynicki.net
3
- */
4
- body{
5
- font-size: 67.5%;
6
- }
7
-
8
- a {
9
- color: #333;
10
- text-decoration: underline;
11
- }
12
-
13
- #header {
14
- display: none;
15
- }
16
-
17
- #content {
18
- background: url('images/wartungsmodus.jpg') no-repeat;
19
- position: absolute;
20
- width: 380px;
21
- height: 302px;
22
- left: 50%;
23
- top: 50%;
24
- margin-left: -351px;
25
- margin-top: -196px;
26
- border: 1px solid #222;
27
- padding: 90px 0 0 320px;
28
- color: #fff;
29
- font-size: 1.2em;
30
- }
31
-
32
- #content h3 {
33
- color: #8f1218;
34
- }
35
-
36
- #content p {
37
- width: 305px;
38
- }
39
-
40
- #content form p {
41
- margin: 0;
42
- }
43
-
44
- .admin {
45
- width: 305px;
46
- padding: 10px 0 0 0;
47
- text-align: center;
48
- }
49
-
50
- .admin a {
51
- color: #fff;
52
- text-decoration: underline;
53
- }
54
-
55
- #footer {
56
- position: absolute;
57
- width: 702px;
58
- left: 50%;
59
- top: 50%;
60
- margin-left: -351px;
61
- margin-top: 200px;
62
- }
63
-
64
- #footer img {
65
- border: none;
66
  }
1
+ /**
2
+ * @design http://www.mynicki.net
3
+ */
4
+ body{
5
+ font-size: 67.5%;
6
+ }
7
+
8
+ a {
9
+ color: #333;
10
+ text-decoration: underline;
11
+ }
12
+
13
+ #header {
14
+ display: none;
15
+ }
16
+
17
+ #content {
18
+ background: url('images/wartungsmodus.jpg') no-repeat;
19
+ position: absolute;
20
+ width: 380px;
21
+ height: 302px;
22
+ left: 50%;
23
+ top: 50%;
24
+ margin-left: -351px;
25
+ margin-top: -196px;
26
+ border: 1px solid #222;
27
+ padding: 90px 0 0 320px;
28
+ color: #fff;
29
+ font-size: 1.2em;
30
+ }
31
+
32
+ #content h3 {
33
+ color: #8f1218;
34
+ }
35
+
36
+ #content p {
37
+ width: 305px;
38
+ }
39
+
40
+ #content form p {
41
+ margin: 0;
42
+ }
43
+
44
+ .admin {
45
+ width: 305px;
46
+ padding: 10px 0 0 0;
47
+ text-align: center;
48
+ }
49
+
50
+ .admin a {
51
+ color: #fff;
52
+ text-decoration: underline;
53
+ }
54
+
55
+ #footer {
56
+ position: absolute;
57
+ width: 702px;
58
+ left: 50%;
59
+ top: 50%;
60
+ margin-left: -351px;
61
+ margin-top: 200px;
62
+ }
63
+
64
+ #footer img {
65
+ border: none;
66
  }
styles/txt.css CHANGED
@@ -1,65 +1,65 @@
1
- * {
2
- margin: 0;
3
- padding: 0;
4
- }
5
-
6
- body {
7
- font-family: Georgia, Arial, Helvetica, Sans Serif;
8
- font-size: 65.5%;
9
- }
10
-
11
- a {
12
- color: #08658F;
13
- }
14
-
15
- a:hover {
16
- color: #0092BF;
17
- }
18
-
19
- #header {
20
- color: #333;
21
- padding: 1.5em;
22
- text-align: center;
23
- font-size: 1.2em;
24
- border-bottom: 1px dotted #0092BF
25
- }
26
-
27
- #content {
28
- font-size: 150%;
29
- width: 80%;
30
- margin: 0 auto;
31
- padding: 8% 0
32
- }
33
-
34
- #content p {
35
- font-size: 1em;
36
- padding: .8em 0
37
- }
38
-
39
- h1 {
40
- color: #08658F;
41
- font-size: 300%;
42
- padding: .5em 0;
43
- }
44
-
45
- h3 {
46
- color: #8f1218;
47
- }
48
-
49
- #content div.admin {
50
- position: fixed;
51
- bottom: 10px;
52
- left: 8%;
53
- font-size: .8em;
54
- }
55
-
56
- #footer {
57
- position: fixed;
58
- bottom: 10px;
59
- right: 15px;
60
- }
61
-
62
- #footer img {
63
- border: none;
64
- vertical-align: bottom;
65
- }
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ }
5
+
6
+ body {
7
+ font-family: Georgia, Arial, Helvetica, Sans Serif;
8
+ font-size: 65.5%;
9
+ }
10
+
11
+ a {
12
+ color: #08658F;
13
+ }
14
+
15
+ a:hover {
16
+ color: #0092BF;
17
+ }
18
+
19
+ #header {
20
+ color: #333;
21
+ padding: 1.5em;
22
+ text-align: center;
23
+ font-size: 1.2em;
24
+ border-bottom: 1px dotted #0092BF
25
+ }
26
+
27
+ #content {
28
+ font-size: 150%;
29
+ width: 80%;
30
+ margin: 0 auto;
31
+ padding: 8% 0
32
+ }
33
+
34
+ #content p {
35
+ font-size: 1em;
36
+ padding: .8em 0
37
+ }
38
+
39
+ h1 {
40
+ color: #08658F;
41
+ font-size: 300%;
42
+ padding: .5em 0;
43
+ }
44
+
45
+ h3 {
46
+ color: #8f1218;
47
+ }
48
+
49
+ #content div.admin {
50
+ position: fixed;
51
+ bottom: 10px;
52
+ left: 8%;
53
+ font-size: .8em;
54
+ }
55
+
56
+ #footer {
57
+ position: fixed;
58
+ bottom: 10px;
59
+ right: 15px;
60
+ }
61
+
62
+ #footer img {
63
+ border: none;
64
+ vertical-align: bottom;
65
+ }
uninstall.php CHANGED
@@ -1,8 +1,8 @@
1
- <?php
2
- if( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) )
3
- exit();
4
-
5
- delete_site_option( 'wp-maintenance-mode' );
6
- delete_site_option( 'wp-maintenance-mode-msqld' );
7
- delete_option( 'wp-maintenance-mode' );
8
- delete_option( 'wp-maintenance-mode-msqld' );
1
+ <?php
2
+ if( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) )
3
+ exit();
4
+
5
+ delete_site_option( 'wp-maintenance-mode' );
6
+ delete_site_option( 'wp-maintenance-mode-msqld' );
7
+ delete_option( 'wp-maintenance-mode' );
8
+ delete_option( 'wp-maintenance-mode-msqld' );
wp-maintenance-mode.php CHANGED
@@ -1,1099 +1,1128 @@
1
- <?php
2
- /**
3
- * Plugin Name: WP Maintenance Mode
4
- * Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance-mode/
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&uuml;ltge
9
- * Author URI: http://bueltge.de/
10
- * Donate URI: http://bueltge.de/wunschliste/
11
- * Version: 1.8.7
12
- * Last change: 04/08/2013
13
- * License: GPLv3
14
- *
15
- *
16
- * License:
17
- * ==============================================================================
18
- * Copyright 2009-2013 Frank Bueltge (email : frank@bueltge.de)
19
- *
20
- * This program is free software; you can redistribute it and/or modify
21
- * it under the terms of the GNU General Public License as published by
22
- * the Free Software Foundation; either version 2 of the License, or
23
- * (at your option) any later version.
24
- *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU General Public License for more details.
29
- *
30
- * You should have received a copy of the GNU General Public License
31
- * along with this program; if not, write to the Free Software
32
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33
- *
34
- * Requirements:
35
- * ==============================================================================
36
- * This plugin requires WordPress >= 2.6 and tested with PHP >= 5.3, WP 3.5*
37
- */
38
-
39
- //avoid direct calls to this file, because now WP core and framework has been used
40
- if ( ! function_exists( 'add_filter' ) ) {
41
- header('Status: 403 Forbidden');
42
- header('HTTP/1.1 403 Forbidden');
43
- exit();
44
- }
45
-
46
- if ( ! class_exists('WPMaintenanceMode') ) {
47
-
48
- if ( ! defined('WP_CONTENT_URL') )
49
- define('WP_CONTENT_URL', site_url() . '/wp-content');
50
- if ( ! defined('WP_PLUGIN_URL') )
51
- define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
52
-
53
- define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
54
- define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
55
- define( 'FB_WM_BASE', rtrim(dirname (__FILE__), '/') );
56
- define( 'FB_WM_TEXTDOMAIN', 'wp-maintenance-mode' );
57
-
58
- add_action( 'plugins_loaded', array ( 'WPMaintenanceMode', 'get_instance' ) );
59
-
60
- class WPMaintenanceMode {
61
-
62
- /**
63
- * Plugin instance.
64
- *
65
- * @see get_instance()
66
- * @type object
67
- */
68
- protected static $instance = NULL;
69
-
70
- /**
71
- * Var for crawlers list
72
- *
73
- * @type Array
74
- */
75
- public $crawlers = array();
76
-
77
- function WPMaintenanceMode() {
78
-
79
- $this->data = array();
80
- $this->datamsqld = FALSE;
81
-
82
- /**
83
- * Crawler List for bypass function
84
- *
85
- * Description, Name => Spider, String for check
86
- */
87
- $this->crawlers = array(
88
- 'Abacho' => 'AbachoBOT',
89
- 'Accoona' => 'Acoon',
90
- 'AcoiRobot' => 'AcoiRobot',
91
- 'Adidxbot' => 'adidxbot',
92
- 'AltaVista robot' => 'Altavista',
93
- 'Altavista robot' => 'Scooter',
94
- 'ASPSeek' => 'ASPSeek',
95
- 'Atomz' => 'Atomz',
96
- 'Bing' => 'bingbot',
97
- 'BingPreview' => 'BingPreview',
98
- 'CrocCrawler' => 'CrocCrawler',
99
- 'Dumbot' => 'Dumbot',
100
- 'eStyle Bot' => 'eStyle',
101
- 'FAST-WebCrawler' => 'FAST-WebCrawler',
102
- 'GeonaBot' => 'GeonaBot',
103
- 'Gigabot' => 'Gigabot',
104
- 'Google' => 'Googlebot',
105
- 'ID-Search Bot' => 'IDBot',
106
- 'Lycos spider' => 'Lycos',
107
- 'MSN' => 'msnbot',
108
- 'MSRBOT' => 'MSRBOT',
109
- 'Rambler' => 'Rambler',
110
- 'Scrubby robot' => 'Scrubby',
111
- 'Yahoo' => 'Yahoo',
112
- );
113
-
114
- $this->load_classes();
115
-
116
- register_activation_hook( __FILE__, array( $this, 'add_config' ) );
117
- add_action( 'admin_print_scripts-plugins.php', array( $this, 'add_scripts' ) );
118
- //add_action( 'load-plugins.php', array(&$this, 'add_scripts') );
119
- add_action( 'init', array( $this, 'on_init') );
120
- //add_action( 'admin_init', array( $this, 'admin_init') );
121
- add_action( 'admin_menu', array( $this, 'redirect' ) );
122
-
123
- add_action( 'admin_init', array( 'WPMaintenanceMode_Settings', 'get_object' ) );
124
-
125
- add_action( 'wp_ajax_wm_config-update', array( $this, 'save_config' ) );
126
- add_action( 'wp_ajax_wm_config-active', array( $this, 'save_active' ) );
127
- }
128
-
129
-
130
- /**
131
- * Access this plugin’s working instance
132
- *
133
- * @wp-hook plugins_loaded
134
- * @since 04/05/2013
135
- * @return object of this class
136
- */
137
- public static function get_instance() {
138
-
139
- NULL === self::$instance and self::$instance = new self;
140
-
141
- return self::$instance;
142
- }
143
-
144
-
145
- /**
146
- * Returns array of features, also
147
- * Scans the plugins subfolder "/classes"
148
- *
149
- * @since 0.1
150
- * @return void
151
- */
152
- protected function load_classes() {
153
-
154
- // load all files with the pattern *.php from the directory inc
155
- foreach( glob( dirname( __FILE__ ) . '/inc/*.php' ) as $class )
156
- require_once $class;
157
- }
158
-
159
- /**
160
- * Function to escape strings
161
- * Use WP default, if exists
162
- *
163
- * @param String
164
- * @return String
165
- */
166
- public function esc_attr( $text ) {
167
-
168
- if ( function_exists('esc_attr') )
169
- $text = esc_attr($text);
170
- else
171
- $text = attribute_escape($text);
172
-
173
- return $text;
174
- }
175
-
176
-
177
- // function for WP < 2.8
178
- public function get_plugins_url( $path = '', $plugin = '' ) {
179
-
180
- if ( function_exists('plugins_url') )
181
- return plugins_url($path, $plugin);
182
-
183
- if ( function_exists('is_ssl') )
184
- $scheme = ( is_ssl() ? 'https' : 'http' );
185
- else
186
- $scheme = 'http';
187
-
188
- if ( function_exists('plugins_url') )
189
- $url = plugins_url();
190
- else
191
- $url = WP_PLUGIN_URL;
192
-
193
- if ( 0 === strpos($url, 'http') ) {
194
- if ( function_exists('is_ssl') && is_ssl() )
195
- $url = str_replace( 'http://', "{$scheme}://", $url );
196
- }
197
-
198
- if ( ! empty($plugin) && is_string($plugin) ) {
199
- $folder = dirname(plugin_basename($plugin));
200
- if ('.' != $folder)
201
- $url .= '/' . ltrim($folder, '/');
202
- }
203
-
204
- if ( ! empty($path) && is_string($path) && ( FALSE === strpos($path, '..') ) )
205
- $url .= '/' . ltrim($path, '/');
206
-
207
- return apply_filters('plugins_url', $url, $path, $plugin);
208
- }
209
-
210
-
211
- public function on_init() {
212
-
213
- load_plugin_textdomain( FB_WM_TEXTDOMAIN, FALSE, FB_WM_BASEDIR . '/languages' );
214
-
215
- if ( is_multisite() && ! function_exists( 'is_plugin_active_for_network' ) )
216
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
217
-
218
- $value = self::get_options();
219
- $valuemsqld = self::get_msqld_option();
220
-
221
- if ( $valuemsqld ) {
222
- $this->on_active();
223
- if ( ! isset( $value['notice'] ) || 0 !== $value['notice'] )
224
- add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_alert' ), 9999 );
225
- }
226
- }
227
-
228
-
229
- /**
230
- * Return the options, check for install and active on WP multisite
231
- *
232
- * @return array $values
233
- */
234
- public static function get_options() {
235
-
236
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
237
- $values = get_site_option( FB_WM_TEXTDOMAIN );
238
- } else {
239
- $values = get_option( FB_WM_TEXTDOMAIN );
240
- }
241
-
242
- return $values;
243
- }
244
-
245
- /**
246
- * Return the msql-dumper-options, check for install and active on WP multisite
247
- *
248
- * @return Boolean $valuemsqld
249
- */
250
- public static function get_msqld_option() {
251
-
252
- $msqld = FB_WM_TEXTDOMAIN . '-msqld';
253
-
254
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
255
- $valuemsqld = get_site_option( $msqld );
256
- } else {
257
- $valuemsqld = get_option( $msqld );
258
- }
259
-
260
- return (bool) $valuemsqld;
261
- }
262
-
263
- /**
264
- * Register and enqueue scripts and styles
265
- *
266
- * @return void
267
- */
268
- function add_scripts() {
269
-
270
- $locale = get_locale();
271
- $i18n = substr($locale, 0, 2);
272
-
273
- wp_register_script(
274
- 'jquery-ui-timepicker-addon',
275
- $this->get_plugins_url( 'js/jquery-ui-timepicker-addon.js', __FILE__ ),
276
- array( 'jquery-ui-datepicker' ),
277
- '02-22-2013',
278
- TRUE
279
- );
280
-
281
- wp_register_script(
282
- 'wp-maintenance-mode',
283
- $this->get_plugins_url( 'js/wp-maintenance-mode.js', __FILE__ ),
284
- array( 'jquery-ui-datepicker', 'jquery-ui-timepicker-addon' ),
285
- '',
286
- TRUE
287
- );
288
- wp_enqueue_script( 'jquery-ui-timepicker-addon' );
289
- wp_enqueue_script( 'wp-maintenance-mode' );
290
-
291
- // translations for datepicker
292
- if ( ! empty( $i18n ) &&
293
- @file_exists( WP_PLUGIN_DIR . '/' . dirname( plugin_basename(__FILE__) ) . '/js/i18n/jquery.ui.datepicker-' . $i18n . '.js' )
294
- ) {
295
- wp_register_script( 'jquery-ui-datepicker-' . $i18n, $this->get_plugins_url( 'js/i18n/jquery.ui.datepicker-' . $i18n . '.js', __FILE__ ), array('jquery-ui-datepicker') , '', TRUE );
296
- wp_enqueue_script( 'jquery-ui-datepicker-' . $i18n );
297
- }
298
-
299
- // include styles for datepicker
300
- wp_enqueue_style( 'jquery-ui-datepicker' );
301
- wp_enqueue_style( 'jquery-ui-datepicker-overcast', $this->get_plugins_url( 'css/overcast/jquery-ui-1.8.21.custom.css', __FILE__ ) );
302
-
303
- // for preview
304
- add_thickbox();
305
- }
306
-
307
-
308
- function admin_init() {
309
-
310
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
311
- // multisite install
312
- add_filter( 'network_admin_plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
313
- //add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
314
- } else {
315
- // Single mode install of WP
316
- if ( version_compare( $GLOBALS['wp_version'], '2.7alpha', '>' ) ) {
317
- add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
318
- add_filter( 'plugin_action_links_' . FB_WM_BASENAME, array( $this, 'add_settings_link' ), 10, 2 );
319
- } else {
320
- add_action( 'after_plugin_row', array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
321
- add_filter( 'plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
322
- }
323
- }
324
-
325
- wp_enqueue_style( 'wp-maintenance-mode-options', $this->get_plugins_url( 'css/style.css', __FILE__ ) );
326
- }
327
-
328
-
329
- public function add_config() {
330
-
331
- $this->data = array(
332
- 'active' => 0,
333
- 'radio' => 0,
334
- 'time' => 60,
335
- 'link' => 1,
336
- 'admin_link' => 1,
337
- 'theme' => 1,
338
- 'role' => 'administrator',
339
- 'unit' => 1,
340
- 'title' => __( 'Maintenance mode', FB_WM_TEXTDOMAIN ),
341
- 'text' => __( '<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>', FB_WM_TEXTDOMAIN ),
342
- 'exclude' => array(
343
- 0 => 'wp-cron',
344
- 1 => 'feed',
345
- 2 => 'wp-login',
346
- 3 => 'login',
347
- 4 => 'wp-admin',
348
- 5 => 'wp-admin/admin-ajax.php'
349
- ),
350
- 'bypass' => 0,
351
- 'notice' => 1,
352
- );
353
- // if is active in network of multisite
354
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
355
- add_site_option( FB_WM_TEXTDOMAIN, $this->data );
356
- add_site_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
357
- } else {
358
- add_option( FB_WM_TEXTDOMAIN, $this->data );
359
- add_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
360
- }
361
-
362
- $old_check = get_option( 'wartungsmodus' );
363
- if ($old_check)
364
- delete_option( 'wartungsmodus' );
365
- }
366
-
367
-
368
- public function save_active() {
369
-
370
- $this->data = self::get_options();
371
- $this->datamsqld = self::get_msqld_option();
372
-
373
- if ( isset($_POST['wm_config-active']) )
374
- $this->data['active'] = (int) $_POST['wm_config-active'];
375
-
376
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
377
- update_site_option( FB_WM_TEXTDOMAIN, $this->data );
378
- update_site_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
379
- } else {
380
- update_option( FB_WM_TEXTDOMAIN, $this->data );
381
- update_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
382
- }
383
-
384
- die( __( 'Updated', FB_WM_TEXTDOMAIN ) );
385
- }
386
-
387
-
388
- public function save_config() {
389
-
390
- $this->data = self::get_options();
391
-
392
- if ( isset($_POST['wm_config-time']) )
393
- $this->data['time'] = (int) $_POST['wm_config-time'];
394
-
395
- if ( isset($_POST['wm_config-link']) )
396
- $this->data['link'] = (int) $_POST['wm_config-link'];
397
-
398
- if ( isset($_POST['wm_config-admin_link']) )
399
- $this->data['admin_link'] = (int) $_POST['wm_config-admin_link'];
400
-
401
- if ( isset($_POST['wm_config-rewrite']) ) {
402
- if ( function_exists('esc_url') ) {
403
- $this->data['rewrite'] = esc_url( $_POST['wm_config-rewrite'] );
404
- } else {
405
- $this->data['rewrite'] = clean_url( $_POST['wm_config-rewrite'] );
406
- }
407
- }
408
-
409
- if ( isset( $_POST['wm_config-notice'] ) )
410
- $this->data['notice'] = (int) $_POST['wm_config-notice'];
411
-
412
- if ( isset($_POST['wm_config-unit']) )
413
- $this->data['unit'] = (int) $_POST['wm_config-unit'];
414
-
415
- if ( isset($_POST['wm_config-theme']) )
416
- $this->data['theme'] = (int) $_POST['wm_config-theme'];
417
-
418
- if ( isset($_POST['wm_config-styleurl']) ) {
419
- if ( function_exists('esc_url') ) {
420
- $this->data['styleurl'] = esc_url( $_POST['wm_config-styleurl'] );
421
- } else {
422
- $this->data['styleurl'] = clean_url( $_POST['wm_config-styleurl'] );
423
- }
424
- }
425
-
426
- if ( isset($_POST['wm_config-index']) )
427
- $this->data['index'] = (int) $_POST['wm_config-index'];
428
-
429
- if ( isset($_POST['wm_config-title']) )
430
- $this->data['title'] = stripslashes_deep( $_POST['wm_config-title'] );
431
-
432
- if ( isset($_POST['wm_config-header']) )
433
- $this->data['header'] = stripslashes_deep( $_POST['wm_config-header'] );
434
-
435
- if ( isset($_POST['wm_config-heading']) )
436
- $this->data['heading'] = stripslashes_deep( $_POST['wm_config-heading'] );
437
-
438
- if ( isset($_POST['wm_config-text']) )
439
- $this->data['text'] = stripslashes_deep( $_POST['wm_config-text'] );
440
-
441
- if ( isset($_POST['wm_config-exclude']) )
442
- $this->data['exclude'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-exclude'] ) );
443
-
444
- if ( isset( $_POST['wm_config-bypass'] ) )
445
- $this->data['bypass'] = (int) $_POST['wm_config-bypass'];
446
-
447
- if ( isset($_POST['wm_config-role']) )
448
- $this->data['role'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-role'] ) );
449
-
450
- if ( isset($_POST['wm_config-role_frontend']) )
451
- $this->data['role_frontend'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-role_frontend'] ) );
452
-
453
- if ( isset($_POST['wm_config-radio']) )
454
- $this->data['radio'] = (int) $_POST['wm_config-radio'];
455
-
456
- if ( isset($_POST['wm_config-date']) )
457
- $this->data['date'] = $this->esc_attr( $_POST['wm_config-date'] );
458
-
459
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
460
- update_site_option( FB_WM_TEXTDOMAIN, $this->data );
461
- else
462
- update_option( FB_WM_TEXTDOMAIN, $this->data );
463
-
464
- die( __( 'Updated', FB_WM_TEXTDOMAIN ) );
465
- }
466
-
467
-
468
- public function del_config() {
469
-
470
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
471
- delete_site_option( FB_WM_TEXTDOMAIN );
472
- delete_site_option( FB_WM_TEXTDOMAIN . '-msqld' );
473
- } else {
474
- delete_option( FB_WM_TEXTDOMAIN );
475
- delete_option( FB_WM_TEXTDOMAIN . '-msqld' );
476
- }
477
- }
478
-
479
-
480
- public function check_version() {
481
- global $wp_version;
482
-
483
- if ( version_compare( $wp_version, '2.1-dev', '<' ) ) {
484
- require (ABSPATH . WPINC . '/pluggable-functions.php'); // < WP 2.1
485
- } else {
486
- require (ABSPATH . WPINC . '/pluggable.php'); // >= WP 2.1
487
- }
488
- }
489
-
490
- /**
491
- * Rewrite for Frontend Login
492
- *
493
- * @return void
494
- */
495
- public function redirect() {
496
-
497
- $value = self::get_options();
498
-
499
- // if the redirect active
500
- if ( ! isset($value['rewrite']) )
501
- return NULL;
502
-
503
- // check, is the maintenance mode active
504
- if ( 0 === $value['active'] )
505
- return NULL;
506
-
507
- // check, Access to backend
508
- if ( isset( $value['role'][0] ) && current_user_can( $value['role'][0] ) )
509
- return NULL;
510
-
511
- // redirect for wp-admin
512
- // only Dashboard: #wp-admin/?(index.php)?$#
513
- if ( preg_match( '#wp-admin/#', $_SERVER['REQUEST_URI'] ) )
514
- wp_redirect( $value['rewrite'] );
515
- }
516
-
517
-
518
- public function check_exclude() {
519
-
520
- $value = self::get_options();
521
-
522
- if ( ! isset($value['exclude']) || empty( $value['exclude'][0] ) )
523
- return FALSE;
524
-
525
- foreach ( (array) $value['exclude'] as $exclude ) {
526
- // check for IP
527
- if ( strstr( $_SERVER['REMOTE_ADDR'], $exclude ) )
528
- return TRUE;
529
-
530
- if ( $exclude && strstr( $_SERVER['REQUEST_URI'], $exclude ) )
531
- return TRUE;
532
- }
533
-
534
- return FALSE;
535
- }
536
-
537
-
538
- /**
539
- * Check exclude for search bots
540
- *
541
- * @since 20/03/2013
542
- * @return boolean
543
- */
544
- public function check_bypass() {
545
-
546
- $value = self::get_options();
547
-
548
- if ( ! isset($value['bypass']) || ( 0 === $value['bypass'] ) )
549
- return FALSE;
550
-
551
- $crawler = $this->crawler_detect( $_SERVER['HTTP_USER_AGENT'] );
552
- if ( $crawler )
553
- return TRUE;
554
-
555
- return FALSE;
556
- }
557
-
558
- /**
559
- * Check for str array value
560
- *
561
- * @since 20/03/2013
562
- * @see http://stackoverflow.com/a/5927675/730125
563
- * @return boolean
564
- */
565
- public function str_in_array( $str, $array ) {
566
-
567
- $regexp = '~(' . implode( '|', array_values( $array ) ) . ')~i';
568
- return (bool) preg_match( $regexp, $str );
569
- }
570
-
571
- /**
572
- * Check for crawlers
573
- *
574
- * @since 20/03/2013
575
- * @return boolean TRUE, if is a crawler detect
576
- */
577
- public function crawler_detect( $user_agent ) {
578
-
579
- if ( $this->str_in_array( $user_agent, $this->crawlers ) )
580
- return TRUE;
581
-
582
- return FALSE;
583
- }
584
-
585
- public function check_role() {
586
-
587
- $value = self::get_options();
588
-
589
- if ( is_super_admin() )
590
- return TRUE;
591
-
592
- if ( ! isset( $value['role'][0] ) || ( '' != $value['role'][0] ) )
593
- $role = 'manage_options';
594
-
595
- if ( ! isset( $value['role_frontend'][0] ) )
596
- $value['role_frontend'][0] = 'manage_options';
597
-
598
- if ( is_admin() )
599
- $current = $value['role'][0];
600
- else
601
- $current = $value['role_frontend'][0];
602
-
603
- $defaultroles = array('administrator', 'editor', 'author', 'contributor', 'subscriber');
604
-
605
- if ( isset( $current ) ) {
606
- if ( 'administrator' == $current )
607
- $role = 'manage_options';
608
-
609
- elseif ( 'editor' == $current )
610
- $role = 'manage_categories';
611
-
612
- elseif ( 'author' == $current )
613
- $role = 'publish_posts';
614
-
615
- elseif ( 'contributor' == $current )
616
- $role = 'edit_posts';
617
-
618
- elseif ( 'subscriber' == $current )
619
- $role = 'read';
620
-
621
- elseif ( ! in_array( $current, $defaultroles ) )
622
- $role = 'manage_options';
623
- } else {
624
- $role = 'manage_options';
625
- }
626
-
627
- if ( current_user_can( $role ) )
628
- return TRUE;
629
- else if ( current_user_can( $value['role_frontend'][0] ) )
630
- return TRUE;
631
-
632
- return FALSE;
633
- }
634
-
635
-
636
- public function case_unit( $unitvalue ) {
637
-
638
- $value['unit'] = $unitvalue;
639
- $unitvalues = array();
640
-
641
- switch( $value['unit'] ) {
642
- case 0:
643
- $unitvalues['unit'] = __( 'seconds', FB_WM_TEXTDOMAIN );
644
- $unitvalues['multiplier'] = 1;
645
- break;
646
- case 1:
647
- $unitvalues['unit'] = __( 'minutes', FB_WM_TEXTDOMAIN );
648
- $unitvalues['multiplier'] = 60;
649
- break;
650
- case 2:
651
- $unitvalues['unit'] = __( 'hours', FB_WM_TEXTDOMAIN );
652
- $unitvalues['multiplier'] = 3600;
653
- break;
654
- case 3:
655
- $unitvalues['unit'] = __( 'days', FB_WM_TEXTDOMAIN );
656
- $unitvalues['multiplier'] = 86400;
657
- break;
658
- case 4:
659
- $unitvalues['unit'] = __( 'weeks', FB_WM_TEXTDOMAIN );
660
- $unitvalues['multiplier'] = 604800;
661
- break;
662
- case 5:
663
- $unitvalues['unit'] = __( 'months', FB_WM_TEXTDOMAIN );
664
- $unitvalues['multiplier'] = 2592000; // 30 days
665
- break;
666
- case 6:
667
- $unitvalues['unit'] = __( 'years', FB_WM_TEXTDOMAIN );
668
- $unitvalues['multiplier'] = 31556952;
669
- break;
670
- }
671
-
672
- return $unitvalues;
673
- }
674
-
675
-
676
- public function check_datetime() {
677
-
678
- $datetime = NULL;
679
- $time = NULL;
680
- $date = NULL;
681
- $value = self::get_options();
682
-
683
- if ( isset($value['radio']) && 1 === $value['radio'] ) {
684
- $datetime = explode( ' ', $value['date'] );
685
- $date = explode( '-', $datetime[0] );
686
- if ( isset($datetime[1]) )
687
- $time = explode( ':', $datetime[1] );
688
- else $time = 0;
689
- if (count($date) < 3) {
690
- $date = 0; //ausschalten wegen datum is nicht
691
- } else {
692
- $date[1] = $date[1] - 1;
693
-
694
- if (count($time) < 3)
695
- $time = 0;
696
- if ( isset($time) && 0 !== $time ) {
697
- // 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
698
- $date = $date[2].', '.$date[1].', '.$date[0].', '.$time[0].', '.$time[1].', '.$time[2];
699
- } else {
700
- $date = $date[2].', '.$date[1].', '.$date[0];
701
- }
702
- }
703
- }
704
-
705
- return array( $datetime, $time, $date );
706
- }
707
-
708
-
709
- public function on_active() {
710
- global $current_user;
711
-
712
- if ( is_multisite() && ! function_exists( 'is_plugin_active_for_network' ) ) {
713
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
714
- }
715
- ob_start();
716
- $value = self::get_options();
717
-
718
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
719
- $settings_link = network_admin_url() . 'plugins.php#wm-pluginconflink';
720
- } else {
721
- $settings_link = admin_url() . 'plugins.php#wm-pluginconflink';
722
- }
723
-
724
- $scmsg = '';
725
- // Super Cache Plugin; clear cache on activation of maintance mode
726
- if ( function_exists( 'wp_cache_clear_cache' ) ) {
727
- ob_end_clean();
728
- wp_cache_clear_cache();
729
- $scmsg .= __( ' &amp; WP Super Cache flushed.', FB_WM_TEXTDOMAIN );
730
- }
731
-
732
- // W3 Total Cache Support
733
- if ( function_exists( 'w3tc_pgcache_flush' ) ) {
734
- ob_end_clean();
735
- w3tc_pgcache_flush();
736
- $scmsg .= __( ' &amp; W3 Total Cache for pages flushed.', FB_WM_TEXTDOMAIN );
737
- }
738
-
739
- // check options, if the user will see the notices for active maintenance mode
740
- if ( ! isset($value['notice']) || 0 !== $value['notice'] ) {
741
- $message = __( 'Caution: Maintenance mode is <strong>active</strong>!', FB_WM_TEXTDOMAIN );
742
- add_filter( 'login_message', create_function( '', "return '<div id=\"login_error\">$message</div>';" ) );
743
- $admin_notices = '<div id="message" class="error fade" style="background-color: #FFEBE8 !important;"><p>' . $message . $scmsg . ' <a href="plugins.php#wm-pluginconflink">' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '</a></p></div>';
744
-
745
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
746
- add_action( 'network_admin_notices', create_function( '', "echo '$admin_notices';" ) );
747
-
748
- add_action( 'admin_notices', create_function( '', "echo '$admin_notices';" ) );
749
-
750
- //$in_admin_header = '<a id="mm_in_admin_header" href="' . $settings_link . '" title="' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '">' . $message . '</a>';
751
- //add_action( 'in_admin_header', create_function( '', "echo '$in_admin_header';" ) );
752
- /**
753
- // actual a ticket in trac #14126
754
- // @link http://core.trac.wordpress.org/ticket/14126
755
- $in_admin_header = '<a class="privacy-on-link" href="plugins.php#wm-pluginconflink" title="' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '">' . $message . '</a>';
756
- add_action( 'in_admin_site_heading', create_function( '', "echo '$in_admin_header';" ) );
757
- */
758
- }
759
-
760
- add_action( 'wm_head', array( $this, 'add_theme' ) );
761
- add_action( 'wm_content', array( $this, 'add_flash' ) );
762
- add_action( 'wm_content', array( $this, 'add_content' ) );
763
- if ( isset($value['link']) && 1 === $value['link'] )
764
- add_action( 'wm_footer', array( $this, 'add_link' ) );
765
-
766
- $locale = get_locale();
767
-
768
- if ( isset($value['unit']) )
769
- $unitvalues = $this->case_unit($value['unit']);
770
-
771
- if ( get_bloginfo('charset') )
772
- $charset = get_bloginfo('charset');
773
- else
774
- $charset = 'UTF-8';
775
-
776
- // set backtime for header status
777
- if ( isset($value['time']) )
778
- $backtime = $value['time'] * $unitvalues['multiplier'];
779
- else
780
- $backtime = NULL;
781
-
782
- $protocol = $_SERVER["SERVER_PROTOCOL"];
783
- if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
784
- $protocol = 'HTTP/1.0';
785
- // Allow to change status code via hook
786
- $status_code = (int) apply_filters( 'wp_maintenance_mode_status_code', '503' );
787
-
788
- if ( ( ! $this->check_role() )
789
- && ! strstr($_SERVER['PHP_SELF'], 'wp-login.php' )
790
- && ! strstr($_SERVER['PHP_SELF'], 'wp-admin/')
791
- && ! strstr($_SERVER['PHP_SELF'], 'async-upload.php')
792
- && ! ( strstr($_SERVER['PHP_SELF'], 'upgrade.php') && $this->check_role() )
793
- && ! strstr($_SERVER['PHP_SELF'], '/plugins/')
794
- && ! strstr($_SERVER['PHP_SELF'], '/xmlrpc.php')
795
- && ! $this->check_exclude()
796
- && ! $this->check_bypass()
797
- ) {
798
- $rolestatus = 'norights';
799
-
800
- nocache_headers();
801
- ob_start();
802
- header( "Content-type: text/html; charset=$charset" );
803
- header( "$protocol $status_code Service Unavailable", TRUE, $status_code );
804
- header( "Retry-After: $backtime" );
805
- // Allow alternative splash page
806
- if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
807
- include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
808
- else
809
- include('site.php');
810
- ob_flush();
811
- exit();
812
- }
813
-
814
- /*
815
- * @TODO: check this old source
816
- //$this->check_version();
817
- if ( ! strstr($_SERVER['PHP_SELF'], 'feed/')
818
- && ! strstr($_SERVER['PHP_SELF'], 'wp-admin/')
819
- && ! strstr($_SERVER['PHP_SELF'], 'wp-login.php')
820
- && ! strstr($_SERVER['PHP_SELF'], 'async-upload.php')
821
- && ! ( strstr($_SERVER['PHP_SELF'], 'upgrade.php') && $this->check_role() )
822
- && ! strstr($_SERVER['PHP_SELF'], 'trackback/')
823
- && ! strstr($_SERVER['PHP_SELF'], '/plugins/')
824
- && ! strstr($_SERVER['PHP_SELF'], '/xmlrpc.php')
825
- && ! $this->check_exclude()
826
- && ! $this->check_bypass()
827
- && ! $this->check_role()
828
- ) {
829
- // Allow alternative splash page
830
- if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
831
- include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
832
- else
833
- include('site.php');
834
- exit();
835
- } else if ( strstr($_SERVER['PHP_SELF'], 'feed/') || strstr($_SERVER['PHP_SELF'], 'trackback/') ) {
836
- nocache_headers();
837
- header( "Content-type: text/html; charset=$charset" );
838
- header( "$protocol $status_code Service Unavailable", TRUE, $status_code );
839
- header( "Retry-After: $backtime" );
840
- exit();
841
- }
842
- */
843
- }
844
-
845
-
846
- public function add_link() {
847
-
848
- $value = self::get_options();
849
- ?>
850
- <div id="footer">
851
- <p><a href="http://bueltge.de/"><?php _e( 'Plugin by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://bueltge.de/favicon.ico" alt="bueltge.de" width="16" height="16" /></a>
852
- <?php if ( 2 === $value['theme'] ) { ?>
853
- &nbsp;<a href="http://davidhellmann.com/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://davidhellmann.com/favicon.ico" alt="davidhellmann.com" width="16" height="16" /></a>
854
- <?php } elseif ( 3 === $value['theme'] ) { ?>
855
- &nbsp;<a href="http://www.mynicki.net"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.mynicki.net/favicon.ico" alt="mynicki.net" width="16" height="16" /></a>
856
- <?php } elseif ( 4 === $value['theme'] ) { ?>
857
- &nbsp;<a href="http://www.lokalnetz.com"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.lokalnetz.com/images/favicon.ico" alt="lokalnetz.com" width="16" height="16" /></a>
858
- <?php } elseif ( 5 === $value['theme'] ) { ?>
859
- &nbsp;<a href="http://www.distractedbysquirrels.com"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.distractedbysquirrels.com/favicon.ico" alt="distractedbysquirrels.com" width="16" height="16" /></a>
860
- <?php } elseif ( 6 === $value['theme'] ) { ?>
861
- &nbsp;<a href="http://fv-web.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://fv-web.de/favicon.ico" alt="fv-web.de" width="16" height="16" /></a>
862
- <?php } elseif ( 7 === $value['theme'] ) { ?>
863
- &nbsp;<a href="http://krautsuppe.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://krautsuppe.de/favicon.ico" alt="krautsuppe.de" width="16" height="16" /></a>
864
- <?php } elseif ( 8 === $value['theme'] ) { ?>
865
- &nbsp;<a href="http://www.bugeyes.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.bugeyes.de/favicon.ico" alt="www.bugeyes.de" width="16" height="16" /></a>
866
- <?php } elseif ( 9 === $value['theme'] ) { ?>
867
- &nbsp;<a href="http://www.cayou-media.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.cayou-media.de/favicon.ico" alt="www.cayou-media.de" width="16" height="16" /></a>
868
- <?php } elseif ( 10 === $value['theme'] ) { ?>
869
- &nbsp;<a href="http://fabianletscher.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://fabianletscher.de/favicon.ico" alt="fabianletscher.de" width="16" height="16" /></a>
870
- <?php } elseif ( 11 === $value['theme'] ) { ?>
871
- &nbsp;<a href="http://www.blogdrauf.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.blogdrauf.de/favicon.ico" alt="www.blogdrauf.de" width="16" height="16" /></a>
872
- <?php } elseif ( 12 === $value['theme'] ) { ?>
873
- &nbsp;<a href="http://www.elmastudio.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.elmastudio.de/favicon.ico" alt="www.elmastudio.de" width="16" height="16" /></a>
874
- <?php } ?>
875
- </p>
876
- </div>
877
- <?php
878
- }
879
-
880
-
881
- public function add_theme() {
882
-
883
- $locale = get_locale();
884
- $value = self::get_options();
885
-
886
- $theme = '';
887
- $link = '';
888
- $style = '';
889
- // default theme
890
- if ( !isset($value['theme']) )
891
- $value['theme'] = 1;
892
-
893
- switch( $value['theme'] ) {
894
- case 0:
895
- if ( $value['styleurl'] )
896
- $style = '<link rel="stylesheet" href="' . $value['styleurl'] . '" type="text/css" media="all" />' ."\n";
897
- break;
898
- case 1:
899
- $theme = 'txt.css';
900
- break;
901
- case 2:
902
- $theme = 'dh.css';
903
- $style .= ' <style type="text/css">' . "\n" . '<!--';
904
- $style .= ' #content h1 { text-indent: -99999px; background: url(\'' . $this->get_plugins_url( '/styles/images/headline-' . $locale . '.jpg', __FILE__) . '\') no-repeat; }' . "\n";
905
- $style .= ' -->' . "\n";
906
- $style .= ' </style>';
907
- break;
908
- case 3:
909
- $theme = 'nicki.css';
910
- break;
911
- case 4:
912
- $theme = 'ln.css';
913
- break;
914
- case 5:
915
- $theme = 'monster.css';
916
- break;
917
- case 6:
918
- $theme = 'fv.css';
919
- break;
920
- case 7:
921
- $theme = 'ks.css';
922
- break;
923
- case 8:
924
- $theme = 'be.css';
925
- break;
926
- case 9:
927
- $theme = 'cm.css';
928
- break;
929
- case 10:
930
- $theme = 'fl.css';
931
- break;
932
- case 11:
933
- $theme = 'af.css';
934
- $style .= ' <style type="text/css">' . "\n" . '<!--';
935
- $style .= ' #content h1 { text-indent: -99999px; background: url(\'' . $this->get_plugins_url( 'styles/images/headline-af-' . $locale . '.jpg\') no-repeat; }', __FILE__ ) . "\n";
936
- $style .= ' -->' . "\n";
937
- $style .= ' </style>';
938
- break;
939
- case 12:
940
- $theme = 'es.css';
941
- break;
942
- }
943
- if ( ! empty($theme) )
944
- $link = '<link rel="stylesheet" href="' . $this->get_plugins_url( 'styles/', __FILE__ ) . $theme . '" type="text/css" media="all" />' ."\n";
945
- echo $link . $style;
946
- }
947
-
948
- /**
949
- * Add markup for flash theme
950
- *
951
- * @return String
952
- */
953
- public function add_flash() {
954
-
955
- $locale = get_locale();
956
- $value = self::get_options();
957
-
958
- $flash = '';
959
- $object = '';
960
- // default theme
961
- if ( !isset($value['theme']) )
962
- $value['theme'] = 1;
963
-
964
- switch( $value['theme'] ) {
965
- case 9:
966
- $flash = FB_WM_BASE . '/styles/wartung-' . $locale . '.swf';
967
- if ( file_exists($flash) ) {
968
- $flash = $this->get_plugins_url( 'styles/', __FILE__ ) . 'wartung-' . $locale . '.swf';
969
- } else {
970
- $flash = $this->get_plugins_url( 'styles/', __FILE__ ) . 'wartung.swf';
971
- }
972
-
973
- $object = '
974
- <object type="application/x-shockwave-flash" data="' . $flash . '" width="800" height="600" id="galerie" style="outline:none;">
975
- <param name="wmode" value="transparent" />
976
- <param name="movie" value="' . $flash . '" />
977
- </object>';
978
- break;
979
- }
980
-
981
- echo $object;
982
- }
983
-
984
-
985
- /**
986
- * Add content on splash page
987
- *
988
- * @return String
989
- */
990
- public function add_content() {
991
-
992
- $locale = get_locale();
993
- $value = self::get_options();
994
-
995
- $echo = '';
996
-
997
- // default for unit
998
- if ( ! isset($value['unit']) )
999
- $value['unit'] = NULL;
1000
-
1001
- $unitvalues = $this->case_unit($value['unit']);
1002
- $td = $this->check_datetime();
1003
-
1004
- if ( ! empty( $value['text'] ) )
1005
- $value['text'] = wpautop( $value['text'] ); // apply_filters( 'the_content', $value['text'] );
1006
-
1007
- if ( isset($value['radio']) && 1 === $value['radio'] && 0 !== $td[2] ) {
1008
- $echo = wp_sprintf(
1009
- stripslashes_deep( $value['text'] ),
1010
- '<br /><span id="countdown"></span>',
1011
- date_i18n( get_option('date_format'), strtotime( $td[0][0] ) )
1012
- );
1013
- } elseif ( isset($value['text']) ) {
1014
- if ( ! isset($value['time']) || 0 == $value['time'] )
1015
- $value['time'] = FALSE;
1016
- if ( ! isset($unitvalues['unit']) )
1017
- $unitvalues['unit'] = FALSE;
1018
- $echo = wp_sprintf( stripslashes_deep( $value['text'] ), $value['time'], $unitvalues['unit'] );
1019
- }
1020
-
1021
- echo do_shortcode( $echo );
1022
- }
1023
-
1024
-
1025
- public function check_file($url) {
1026
-
1027
- $url = parse_url($url);
1028
- $fp = fsockopen($url['host'], 80, $errno, $errstr, 30);
1029
-
1030
- if ( ! $fp) {
1031
- echo $errstr . ' (' . $errno . ')<br />'. "\n";
1032
- } else {
1033
- $httpRequest = 'HEAD ' . $url['path'] . ' HTTP/1.1' . "\r\n"
1034
- . 'Host: ' . $url['host'] ."\r\n"
1035
- . 'Connection: close'. "\r\n\r\n";
1036
-
1037
- fputs($fp, $httpRequest);
1038
- $zeileeins = fgets($fp, 1024);
1039
- fclose($fp);
1040
-
1041
- if ( eregi('200 OK', $zeileeins) ) {
1042
- return TRUE;
1043
- } else {
1044
- return FALSE;
1045
- }
1046
- }
1047
- }
1048
-
1049
- public function add_admin_bar_alert() {
1050
-
1051
- if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
1052
- $settings_link = network_admin_url() . 'plugins.php#wm-pluginconflink';
1053
- else
1054
- $settings_link = admin_url() . 'plugins.php#wm-pluginconflink';
1055
-
1056
- $GLOBALS['wp_admin_bar'] -> add_menu(
1057
- array(
1058
- 'id' => 'mm_alert',
1059
- 'title' => __( 'Caution: Maintenance mode is <strong>active</strong>!', FB_WM_TEXTDOMAIN ),
1060
- 'href' => $settings_link
1061
- )
1062
- );
1063
- }
1064
-
1065
-
1066
- public function url_exists( $url ) {
1067
-
1068
- $scheme = ( is_ssl() ? 'https://' : 'http://' );
1069
-
1070
- if ( ( strpos( $url, $scheme ) ) === FALSE )
1071
- $url = $scheme . $url;
1072
-
1073
- if ( is_array( @get_headers( $url ) ) )
1074
- return TRUE;
1075
- else
1076
- return FALSE;
1077
- }
1078
-
1079
- } // end class
1080
-
1081
- /**
1082
- * Template tag to use in site-template
1083
- */
1084
- function wm_head() {
1085
-
1086
- do_action( 'wm_head', '' );
1087
- }
1088
-
1089
- function wm_content() {
1090
-
1091
- do_action( 'wm_content', '' );
1092
- }
1093
-
1094
- function wm_footer() {
1095
-
1096
- do_action( 'wm_footer', '' );
1097
- }
1098
-
1099
- } // end if class exists
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Plugin Name: WP Maintenance Mode
4
+ * Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance-mode/
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&uuml;ltge
9
+ * Author URI: http://bueltge.de/
10
+ * Donate URI: http://bueltge.de/wunschliste/
11
+ * Version: 1.8.8
12
+ * Last change: 06/05/2013
13
+ * License: GPLv3
14
+ *
15
+ *
16
+ * License:
17
+ * ==============================================================================
18
+ * Copyright 2009-2013 Frank Bueltge (email : frank@bueltge.de)
19
+ *
20
+ * This program is free software; you can redistribute it and/or modify
21
+ * it under the terms of the GNU General Public License as published by
22
+ * the Free Software Foundation; either version 2 of the License, or
23
+ * (at your option) any later version.
24
+ *
25
+ * This program is distributed in the hope that it will be useful,
26
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
+ * GNU General Public License for more details.
29
+ *
30
+ * You should have received a copy of the GNU General Public License
31
+ * along with this program; if not, write to the Free Software
32
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33
+ *
34
+ * Requirements:
35
+ * ==============================================================================
36
+ * This plugin requires WordPress >= 2.6 and tested with PHP >= 5.3, WP 3.5*
37
+ */
38
+
39
+ //avoid direct calls to this file, because now WP core and framework has been used
40
+ if ( ! function_exists( 'add_filter' ) ) {
41
+ header('Status: 403 Forbidden');
42
+ header('HTTP/1.1 403 Forbidden');
43
+ exit();
44
+ }
45
+
46
+ if ( ! class_exists('WPMaintenanceMode') ) {
47
+
48
+ if ( ! defined('WP_CONTENT_URL') )
49
+ define('WP_CONTENT_URL', site_url() . '/wp-content');
50
+ if ( ! defined('WP_PLUGIN_URL') )
51
+ define( 'WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' );
52
+
53
+ define( 'FB_WM_BASENAME', plugin_basename(__FILE__) );
54
+ define( 'FB_WM_BASEDIR', dirname( plugin_basename(__FILE__) ) );
55
+ define( 'FB_WM_BASE', rtrim(dirname (__FILE__), '/') );
56
+ define( 'FB_WM_TEXTDOMAIN', 'wp-maintenance-mode' );
57
+
58
+ add_action( 'plugins_loaded', array ( 'WPMaintenanceMode', 'get_instance' ) );
59
+
60
+ class WPMaintenanceMode {
61
+
62
+ /**
63
+ * Plugin instance.
64
+ *
65
+ * @see get_instance()
66
+ * @type object
67
+ */
68
+ protected static $instance = NULL;
69
+
70
+ /**
71
+ * Var for crawlers list
72
+ *
73
+ * @type Array
74
+ */
75
+ public $crawlers = array();
76
+
77
+ function WPMaintenanceMode() {
78
+
79
+ $this->data = array();
80
+ $this->datamsqld = FALSE;
81
+
82
+ /**
83
+ * Crawler List for bypass function
84
+ *
85
+ * Description, Name => Spider, String for check
86
+ */
87
+ $this->crawlers = array(
88
+ 'Abacho' => 'AbachoBOT',
89
+ 'Accoona' => 'Acoon',
90
+ 'AcoiRobot' => 'AcoiRobot',
91
+ 'Adidxbot' => 'adidxbot',
92
+ 'AltaVista robot' => 'Altavista',
93
+ 'Altavista robot' => 'Scooter',
94
+ 'ASPSeek' => 'ASPSeek',
95
+ 'Atomz' => 'Atomz',
96
+ 'Bing' => 'bingbot',
97
+ 'BingPreview' => 'BingPreview',
98
+ 'CrocCrawler' => 'CrocCrawler',
99
+ 'Dumbot' => 'Dumbot',
100
+ 'eStyle Bot' => 'eStyle',
101
+ 'FAST-WebCrawler' => 'FAST-WebCrawler',
102
+ 'GeonaBot' => 'GeonaBot',
103
+ 'Gigabot' => 'Gigabot',
104
+ 'Google' => 'Googlebot',
105
+ 'ID-Search Bot' => 'IDBot',
106
+ 'Lycos spider' => 'Lycos',
107
+ 'MSN' => 'msnbot',
108
+ 'MSRBOT' => 'MSRBOT',
109
+ 'Rambler' => 'Rambler',
110
+ 'Scrubby robot' => 'Scrubby',
111
+ 'Yahoo' => 'Yahoo',
112
+ );
113
+
114
+ $this->load_classes();
115
+
116
+ register_activation_hook( __FILE__, array( $this, 'add_config' ) );
117
+ add_action( 'admin_print_scripts-plugins.php', array( $this, 'add_scripts' ) );
118
+ //add_action( 'load-plugins.php', array(&$this, 'add_scripts') );
119
+ add_action( 'init', array( $this, 'on_init') );
120
+ //add_action( 'admin_init', array( $this, 'admin_init') );
121
+ add_action( 'admin_menu', array( $this, 'redirect' ) );
122
+
123
+ add_action( 'admin_init', array( 'WPMaintenanceMode_Settings', 'get_object' ) );
124
+
125
+ add_action( 'wp_ajax_wm_config-update', array( $this, 'save_config' ) );
126
+ add_action( 'wp_ajax_wm_config-active', array( $this, 'save_active' ) );
127
+ }
128
+
129
+
130
+ /**
131
+ * Access this plugin’s working instance
132
+ *
133
+ * @wp-hook plugins_loaded
134
+ * @since 04/05/2013
135
+ * @return object of this class
136
+ */
137
+ public static function get_instance() {
138
+
139
+ NULL === self::$instance and self::$instance = new self;
140
+
141
+ return self::$instance;
142
+ }
143
+
144
+
145
+ /**
146
+ * Returns array of features, also
147
+ * Scans the plugins subfolder "/classes"
148
+ *
149
+ * @since 0.1
150
+ * @return void
151
+ */
152
+ protected function load_classes() {
153
+
154
+ // load all files with the pattern *.php from the directory inc
155
+ foreach( glob( dirname( __FILE__ ) . '/inc/*.php' ) as $class )
156
+ require_once $class;
157
+ }
158
+
159
+ /**
160
+ * Function to escape strings
161
+ * Use WP default, if exists
162
+ *
163
+ * @param String
164
+ * @return String
165
+ */
166
+ public function esc_attr( $text ) {
167
+
168
+ if ( function_exists('esc_attr') )
169
+ $text = esc_attr($text);
170
+ else
171
+ $text = attribute_escape($text);
172
+
173
+ return $text;
174
+ }
175
+
176
+
177
+ // function for WP < 2.8
178
+ public function get_plugins_url( $path = '', $plugin = '' ) {
179
+
180
+ if ( function_exists('plugins_url') )
181
+ return plugins_url($path, $plugin);
182
+
183
+ if ( function_exists('is_ssl') )
184
+ $scheme = ( is_ssl() ? 'https' : 'http' );
185
+ else
186
+ $scheme = 'http';
187
+
188
+ if ( function_exists('plugins_url') )
189
+ $url = plugins_url();
190
+ else
191
+ $url = WP_PLUGIN_URL;
192
+
193
+ if ( 0 === strpos($url, 'http') ) {
194
+ if ( function_exists('is_ssl') && is_ssl() )
195
+ $url = str_replace( 'http://', "{$scheme}://", $url );
196
+ }
197
+
198
+ if ( ! empty($plugin) && is_string($plugin) ) {
199
+ $folder = dirname(plugin_basename($plugin));
200
+ if ('.' != $folder)
201
+ $url .= '/' . ltrim($folder, '/');
202
+ }
203
+
204
+ if ( ! empty($path) && is_string($path) && ( FALSE === strpos($path, '..') ) )
205
+ $url .= '/' . ltrim($path, '/');
206
+
207
+ return apply_filters('plugins_url', $url, $path, $plugin);
208
+ }
209
+
210
+
211
+ public function on_init() {
212
+
213
+ load_plugin_textdomain( FB_WM_TEXTDOMAIN, FALSE, FB_WM_BASEDIR . '/languages' );
214
+
215
+ if ( is_multisite() && ! function_exists( 'is_plugin_active_for_network' ) )
216
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
217
+
218
+ $value = self::get_options();
219
+ $valuemsqld = self::get_msqld_option();
220
+
221
+ if ( $valuemsqld ) {
222
+ $this->on_active();
223
+ if ( ! isset( $value['notice'] ) || 0 !== $value['notice'] )
224
+ add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_alert' ), 9999 );
225
+ }
226
+ }
227
+
228
+
229
+ /**
230
+ * Return the options, check for install and active on WP multisite
231
+ *
232
+ * @return array $values
233
+ */
234
+ public static function get_options() {
235
+
236
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
237
+ $values = get_site_option( FB_WM_TEXTDOMAIN );
238
+ } else {
239
+ $values = get_option( FB_WM_TEXTDOMAIN );
240
+ }
241
+
242
+ return $values;
243
+ }
244
+
245
+ /**
246
+ * Return the msql-dumper-options, check for install and active on WP multisite
247
+ *
248
+ * @return Boolean $valuemsqld
249
+ */
250
+ public static function get_msqld_option() {
251
+
252
+ $msqld = FB_WM_TEXTDOMAIN . '-msqld';
253
+
254
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
255
+ $valuemsqld = get_site_option( $msqld );
256
+ } else {
257
+ $valuemsqld = get_option( $msqld );
258
+ }
259
+
260
+ return (bool) $valuemsqld;
261
+ }
262
+
263
+ /**
264
+ * Register and enqueue scripts and styles
265
+ *
266
+ * @return void
267
+ */
268
+ function add_scripts() {
269
+
270
+ $locale = get_locale();
271
+ $i18n = substr($locale, 0, 2);
272
+
273
+ wp_register_script(
274
+ 'jquery-ui-timepicker-addon',
275
+ $this->get_plugins_url( 'js/jquery-ui-timepicker-addon.js', __FILE__ ),
276
+ array( 'jquery-ui-datepicker' ),
277
+ '02-22-2013',
278
+ TRUE
279
+ );
280
+
281
+ wp_register_script(
282
+ 'wp-maintenance-mode',
283
+ $this->get_plugins_url( 'js/wp-maintenance-mode.js', __FILE__ ),
284
+ array( 'jquery-ui-datepicker', 'jquery-ui-timepicker-addon' ),
285
+ '',
286
+ TRUE
287
+ );
288
+ wp_enqueue_script( 'jquery-ui-timepicker-addon' );
289
+ wp_enqueue_script( 'wp-maintenance-mode' );
290
+ // for nonce check on JS
291
+ wp_localize_script(
292
+ 'wp-maintenance-mode',
293
+ 'wp_maintenance_mode_vars',
294
+ array(
295
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
296
+ '_nonce' => wp_create_nonce( 'wp-maintenance-mode-nonce' )
297
+ )
298
+ );
299
+
300
+ // translations for datepicker
301
+ if ( ! empty( $i18n ) &&
302
+ @file_exists( WP_PLUGIN_DIR . '/' . dirname( plugin_basename(__FILE__) ) . '/js/i18n/jquery.ui.datepicker-' . $i18n . '.js' )
303
+ ) {
304
+ wp_register_script( 'jquery-ui-datepicker-' . $i18n, $this->get_plugins_url( 'js/i18n/jquery.ui.datepicker-' . $i18n . '.js', __FILE__ ), array('jquery-ui-datepicker') , '', TRUE );
305
+ wp_enqueue_script( 'jquery-ui-datepicker-' . $i18n );
306
+ }
307
+
308
+ // include styles for datepicker
309
+ wp_enqueue_style( 'jquery-ui-datepicker' );
310
+ wp_enqueue_style( 'jquery-ui-datepicker-overcast', $this->get_plugins_url( 'css/overcast/jquery-ui-1.8.21.custom.css', __FILE__ ) );
311
+
312
+ // for preview
313
+ add_thickbox();
314
+ }
315
+
316
+
317
+ function admin_init() {
318
+
319
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
320
+ // multisite install
321
+ add_filter( 'network_admin_plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
322
+ //add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
323
+ } else {
324
+ // Single mode install of WP
325
+ if ( version_compare( $GLOBALS['wp_version'], '2.7alpha', '>' ) ) {
326
+ add_action( 'after_plugin_row_' . FB_WM_BASENAME, array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
327
+ add_filter( 'plugin_action_links_' . FB_WM_BASENAME, array( $this, 'add_settings_link' ), 10, 2 );
328
+ } else {
329
+ add_action( 'after_plugin_row', array( 'WPMaintenanceMode_Settings', 'add_config_form'), 10, 3 );
330
+ add_filter( 'plugin_action_links', array( $this, 'add_settings_link' ), 10, 2 );
331
+ }
332
+ }
333
+
334
+ wp_enqueue_style( 'wp-maintenance-mode-options', $this->get_plugins_url( 'css/style.css', __FILE__ ) );
335
+ }
336
+
337
+
338
+ public function add_config() {
339
+
340
+ $this->data = array(
341
+ 'active' => 0,
342
+ 'radio' => 0,
343
+ 'time' => 60,
344
+ 'link' => 1,
345
+ 'admin_link' => 1,
346
+ 'theme' => 1,
347
+ 'role' => 'administrator',
348
+ 'unit' => 1,
349
+ 'title' => __( 'Maintenance mode', FB_WM_TEXTDOMAIN ),
350
+ 'text' => __( '<p>Sorry for the inconvenience.<br />Our website is currently undergoing scheduled maintenance.<br /><strong>Please try back in %1$s %2$s</strong><br />Thank you for your understanding.</p>', FB_WM_TEXTDOMAIN ),
351
+ 'exclude' => array(
352
+ 0 => 'wp-cron',
353
+ 1 => 'feed',
354
+ 2 => 'wp-login',
355
+ 3 => 'login',
356
+ 4 => 'wp-admin',
357
+ 5 => 'wp-admin/admin-ajax.php'
358
+ ),
359
+ 'bypass' => 0,
360
+ 'notice' => 1,
361
+ );
362
+ // if is active in network of multisite
363
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
364
+ add_site_option( FB_WM_TEXTDOMAIN, $this->data );
365
+ add_site_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
366
+ } else {
367
+ add_option( FB_WM_TEXTDOMAIN, $this->data );
368
+ add_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
369
+ }
370
+
371
+ $old_check = get_option( 'wartungsmodus' );
372
+ if ($old_check)
373
+ delete_option( 'wartungsmodus' );
374
+
375
+ exit();
376
+ }
377
+
378
+
379
+ public function save_active() {
380
+
381
+ //check_ajax_referer( 'wm_config-update', 'wp-maintenance-mode-nonce' );
382
+ $nonce = $_POST['nonce'];
383
+ if ( ! wp_verify_nonce( $nonce, 'wp-maintenance-mode-nonce' ) )
384
+ wp_die( __( 'You are not authorised to perform this operation.' ) );
385
+
386
+ if ( ! current_user_can( 'manage_options' ) )
387
+ wp_die( __( 'You are not authorised to perform this operation.' ) );
388
+
389
+ $this->data = self::get_options();
390
+ $this->datamsqld = self::get_msqld_option();
391
+
392
+ if ( isset($_POST['wm_config-active']) )
393
+ $this->data['active'] = (int) $_POST['wm_config-active'];
394
+
395
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
396
+ update_site_option( FB_WM_TEXTDOMAIN, $this->data );
397
+ update_site_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
398
+ } else {
399
+ update_option( FB_WM_TEXTDOMAIN, $this->data );
400
+ update_option( FB_WM_TEXTDOMAIN . '-msqld', $this->data['active'] );
401
+ }
402
+
403
+ die( __( 'Updated', FB_WM_TEXTDOMAIN ) );
404
+
405
+ exit();
406
+ }
407
+
408
+
409
+ public function save_config() {
410
+
411
+ //check_ajax_referer( 'wm_config-update', 'wp-maintenance-mode-nonce' );
412
+ $nonce = $_POST['nonce'];
413
+ if ( ! wp_verify_nonce( $nonce, 'wp-maintenance-mode-nonce' ) )
414
+ wp_die( __( 'You are not authorised to perform this operation.' ) );
415
+
416
+ if ( ! current_user_can( 'manage_options' ) )
417
+ wp_die( __( 'You are not authorised to perform this operation.' ) );
418
+
419
+ $this->data = self::get_options();
420
+
421
+ if ( isset($_POST['wm_config-time']) )
422
+ $this->data['time'] = (int) $_POST['wm_config-time'];
423
+
424
+ if ( isset($_POST['wm_config-link']) )
425
+ $this->data['link'] = (int) $_POST['wm_config-link'];
426
+
427
+ if ( isset($_POST['wm_config-admin_link']) )
428
+ $this->data['admin_link'] = (int) $_POST['wm_config-admin_link'];
429
+
430
+ if ( isset($_POST['wm_config-rewrite']) ) {
431
+ if ( function_exists('esc_url') ) {
432
+ $this->data['rewrite'] = esc_url( $_POST['wm_config-rewrite'] );
433
+ } else {
434
+ $this->data['rewrite'] = clean_url( $_POST['wm_config-rewrite'] );
435
+ }
436
+ }
437
+
438
+ if ( isset( $_POST['wm_config-notice'] ) )
439
+ $this->data['notice'] = (int) $_POST['wm_config-notice'];
440
+
441
+ if ( isset($_POST['wm_config-unit']) )
442
+ $this->data['unit'] = (int) $_POST['wm_config-unit'];
443
+
444
+ if ( isset($_POST['wm_config-theme']) )
445
+ $this->data['theme'] = (int) $_POST['wm_config-theme'];
446
+
447
+ if ( isset($_POST['wm_config-styleurl']) ) {
448
+ if ( function_exists('esc_url') ) {
449
+ $this->data['styleurl'] = esc_url( $_POST['wm_config-styleurl'] );
450
+ } else {
451
+ $this->data['styleurl'] = clean_url( $_POST['wm_config-styleurl'] );
452
+ }
453
+ }
454
+
455
+ if ( isset($_POST['wm_config-index']) )
456
+ $this->data['index'] = (int) $_POST['wm_config-index'];
457
+
458
+ if ( isset($_POST['wm_config-title']) )
459
+ $this->data['title'] = stripslashes_deep( $_POST['wm_config-title'] );
460
+
461
+ if ( isset($_POST['wm_config-header']) )
462
+ $this->data['header'] = stripslashes_deep( $_POST['wm_config-header'] );
463
+
464
+ if ( isset($_POST['wm_config-heading']) )
465
+ $this->data['heading'] = stripslashes_deep( $_POST['wm_config-heading'] );
466
+
467
+ if ( isset($_POST['wm_config-text']) )
468
+ $this->data['text'] = stripslashes_deep( $_POST['wm_config-text'] );
469
+
470
+ if ( isset($_POST['wm_config-exclude']) )
471
+ $this->data['exclude'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-exclude'] ) );
472
+
473
+ if ( isset( $_POST['wm_config-bypass'] ) )
474
+ $this->data['bypass'] = (int) $_POST['wm_config-bypass'];
475
+
476
+ if ( isset($_POST['wm_config-role']) )
477
+ $this->data['role'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-role'] ) );
478
+
479
+ if ( isset($_POST['wm_config-role_frontend']) )
480
+ $this->data['role_frontend'] = preg_split("/[\s,]+/", $this->esc_attr( $_POST['wm_config-role_frontend'] ) );
481
+
482
+ if ( isset($_POST['wm_config-radio']) )
483
+ $this->data['radio'] = (int) $_POST['wm_config-radio'];
484
+
485
+ if ( isset($_POST['wm_config-date']) )
486
+ $this->data['date'] = $this->esc_attr( $_POST['wm_config-date'] );
487
+
488
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
489
+ update_site_option( FB_WM_TEXTDOMAIN, $this->data );
490
+ else
491
+ update_option( FB_WM_TEXTDOMAIN, $this->data );
492
+
493
+ die( __( 'Updated', FB_WM_TEXTDOMAIN ) );
494
+ }
495
+
496
+
497
+ public function del_config() {
498
+
499
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
500
+ delete_site_option( FB_WM_TEXTDOMAIN );
501
+ delete_site_option( FB_WM_TEXTDOMAIN . '-msqld' );
502
+ } else {
503
+ delete_option( FB_WM_TEXTDOMAIN );
504
+ delete_option( FB_WM_TEXTDOMAIN . '-msqld' );
505
+ }
506
+ }
507
+
508
+
509
+ public function check_version() {
510
+ global $wp_version;
511
+
512
+ if ( version_compare( $wp_version, '2.1-dev', '<' ) ) {
513
+ require (ABSPATH . WPINC . '/pluggable-functions.php'); // < WP 2.1
514
+ } else {
515
+ require (ABSPATH . WPINC . '/pluggable.php'); // >= WP 2.1
516
+ }
517
+ }
518
+
519
+ /**
520
+ * Rewrite for Frontend Login
521
+ *
522
+ * @return void
523
+ */
524
+ public function redirect() {
525
+
526
+ $value = self::get_options();
527
+
528
+ // if the redirect active
529
+ if ( ! isset($value['rewrite']) )
530
+ return NULL;
531
+
532
+ // check, is the maintenance mode active
533
+ if ( 0 === $value['active'] )
534
+ return NULL;
535
+
536
+ // check, Access to backend
537
+ if ( isset( $value['role'][0] ) && current_user_can( $value['role'][0] ) )
538
+ return NULL;
539
+
540
+ // redirect for wp-admin
541
+ // only Dashboard: #wp-admin/?(index.php)?$#
542
+ if ( preg_match( '#wp-admin/#', $_SERVER['REQUEST_URI'] ) )
543
+ wp_redirect( $value['rewrite'] );
544
+ }
545
+
546
+
547
+ public function check_exclude() {
548
+
549
+ $value = self::get_options();
550
+
551
+ if ( ! isset($value['exclude']) || empty( $value['exclude'][0] ) )
552
+ return FALSE;
553
+
554
+ foreach ( (array) $value['exclude'] as $exclude ) {
555
+ // check for IP
556
+ if ( $exclude && ! empty( $_SERVER['REMOTE_ADDR'] ) && strstr( $_SERVER['REMOTE_ADDR'], $exclude ) )
557
+ return TRUE;
558
+
559
+ if ( $exclude && isset( $_SERVER['REQUEST_URI'] ) && strstr( $_SERVER['REQUEST_URI'], $exclude ) )
560
+ return TRUE;
561
+ }
562
+
563
+ return FALSE;
564
+ }
565
+
566
+
567
+ /**
568
+ * Check exclude for search bots
569
+ *
570
+ * @since 20/03/2013
571
+ * @return boolean
572
+ */
573
+ public function check_bypass() {
574
+
575
+ $value = self::get_options();
576
+
577
+ if ( ! isset($value['bypass']) || ( 0 === $value['bypass'] ) )
578
+ return FALSE;
579
+
580
+ $crawler = $this->crawler_detect( $_SERVER['HTTP_USER_AGENT'] );
581
+ if ( $crawler )
582
+ return TRUE;
583
+
584
+ return FALSE;
585
+ }
586
+
587
+ /**
588
+ * Check for str array value
589
+ *
590
+ * @since 20/03/2013
591
+ * @see http://stackoverflow.com/a/5927675/730125
592
+ * @return boolean
593
+ */
594
+ public function str_in_array( $str, $array ) {
595
+
596
+ $regexp = '~(' . implode( '|', array_values( $array ) ) . ')~i';
597
+ return (bool) preg_match( $regexp, $str );
598
+ }
599
+
600
+ /**
601
+ * Check for crawlers
602
+ *
603
+ * @since 20/03/2013
604
+ * @return boolean TRUE, if is a crawler detect
605
+ */
606
+ public function crawler_detect( $user_agent ) {
607
+
608
+ if ( $this->str_in_array( $user_agent, $this->crawlers ) )
609
+ return TRUE;
610
+
611
+ return FALSE;
612
+ }
613
+
614
+ public function check_role() {
615
+
616
+ $value = self::get_options();
617
+
618
+ if ( is_super_admin() )
619
+ return TRUE;
620
+
621
+ if ( ! isset( $value['role'][0] ) || ( '' != $value['role'][0] ) )
622
+ $role = 'manage_options';
623
+
624
+ if ( ! isset( $value['role_frontend'][0] ) )
625
+ $value['role_frontend'][0] = 'manage_options';
626
+
627
+ if ( is_admin() )
628
+ $current = $value['role'][0];
629
+ else
630
+ $current = $value['role_frontend'][0];
631
+
632
+ $defaultroles = array('administrator', 'editor', 'author', 'contributor', 'subscriber');
633
+
634
+ if ( isset( $current ) ) {
635
+ if ( 'administrator' == $current )
636
+ $role = 'manage_options';
637
+
638
+ elseif ( 'editor' == $current )
639
+ $role = 'manage_categories';
640
+
641
+ elseif ( 'author' == $current )
642
+ $role = 'publish_posts';
643
+
644
+ elseif ( 'contributor' == $current )
645
+ $role = 'edit_posts';
646
+
647
+ elseif ( 'subscriber' == $current )
648
+ $role = 'read';
649
+
650
+ elseif ( ! in_array( $current, $defaultroles ) )
651
+ $role = 'manage_options';
652
+ } else {
653
+ $role = 'manage_options';
654
+ }
655
+
656
+ if ( current_user_can( $role ) )
657
+ return TRUE;
658
+ else if ( current_user_can( $value['role_frontend'][0] ) )
659
+ return TRUE;
660
+
661
+ return FALSE;
662
+ }
663
+
664
+
665
+ public function case_unit( $unitvalue ) {
666
+
667
+ $value['unit'] = $unitvalue;
668
+ $unitvalues = array();
669
+
670
+ switch( $value['unit'] ) {
671
+ case 0:
672
+ $unitvalues['unit'] = __( 'seconds', FB_WM_TEXTDOMAIN );
673
+ $unitvalues['multiplier'] = 1;
674
+ break;
675
+ case 1:
676
+ $unitvalues['unit'] = __( 'minutes', FB_WM_TEXTDOMAIN );
677
+ $unitvalues['multiplier'] = 60;
678
+ break;
679
+ case 2:
680
+ $unitvalues['unit'] = __( 'hours', FB_WM_TEXTDOMAIN );
681
+ $unitvalues['multiplier'] = 3600;
682
+ break;
683
+ case 3:
684
+ $unitvalues['unit'] = __( 'days', FB_WM_TEXTDOMAIN );
685
+ $unitvalues['multiplier'] = 86400;
686
+ break;
687
+ case 4:
688
+ $unitvalues['unit'] = __( 'weeks', FB_WM_TEXTDOMAIN );
689
+ $unitvalues['multiplier'] = 604800;
690
+ break;
691
+ case 5:
692
+ $unitvalues['unit'] = __( 'months', FB_WM_TEXTDOMAIN );
693
+ $unitvalues['multiplier'] = 2592000; // 30 days
694
+ break;
695
+ case 6:
696
+ $unitvalues['unit'] = __( 'years', FB_WM_TEXTDOMAIN );
697
+ $unitvalues['multiplier'] = 31556952;
698
+ break;
699
+ }
700
+
701
+ return $unitvalues;
702
+ }
703
+
704
+
705
+ public function check_datetime() {
706
+
707
+ $datetime = NULL;
708
+ $time = NULL;
709
+ $date = NULL;
710
+ $value = self::get_options();
711
+
712
+ if ( isset($value['radio']) && 1 === $value['radio'] ) {
713
+ $datetime = explode( ' ', $value['date'] );
714
+ $date = explode( '-', $datetime[0] );
715
+ if ( isset($datetime[1]) )
716
+ $time = explode( ':', $datetime[1] );
717
+ else $time = 0;
718
+ if (count($date) < 3) {
719
+ $date = 0; //ausschalten wegen datum is nicht
720
+ } else {
721
+ $date[1] = $date[1] - 1;
722
+
723
+ if (count($time) < 3)
724
+ $time = 0;
725
+ if ( isset($time) && 0 !== $time ) {
726
+ // 'Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'
727
+ $date = $date[2].', '.$date[1].', '.$date[0].', '.$time[0].', '.$time[1].', '.$time[2];
728
+ } else {
729
+ $date = $date[2].', '.$date[1].', '.$date[0];
730
+ }
731
+ }
732
+ }
733
+
734
+ return array( $datetime, $time, $date );
735
+ }
736
+
737
+
738
+ public function on_active() {
739
+ global $current_user;
740
+
741
+ if ( is_multisite() && ! function_exists( 'is_plugin_active_for_network' ) ) {
742
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
743
+ }
744
+ ob_start();
745
+ $value = self::get_options();
746
+
747
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
748
+ $settings_link = network_admin_url() . 'plugins.php#wm-pluginconflink';
749
+ } else {
750
+ $settings_link = admin_url() . 'plugins.php#wm-pluginconflink';
751
+ }
752
+
753
+ $scmsg = '';
754
+ // Super Cache Plugin; clear cache on activation of maintance mode
755
+ if ( function_exists( 'wp_cache_clear_cache' ) ) {
756
+ ob_end_clean();
757
+ wp_cache_clear_cache();
758
+ $scmsg .= __( ' &amp; WP Super Cache flushed.', FB_WM_TEXTDOMAIN );
759
+ }
760
+
761
+ // W3 Total Cache Support
762
+ if ( function_exists( 'w3tc_pgcache_flush' ) ) {
763
+ ob_end_clean();
764
+ w3tc_pgcache_flush();
765
+ $scmsg .= __( ' &amp; W3 Total Cache for pages flushed.', FB_WM_TEXTDOMAIN );
766
+ }
767
+
768
+ // check options, if the user will see the notices for active maintenance mode
769
+ if ( ! isset($value['notice']) || 0 !== $value['notice'] ) {
770
+ $message = __( 'Caution: Maintenance mode is <strong>active</strong>!', FB_WM_TEXTDOMAIN );
771
+ add_filter( 'login_message', create_function( '', "return '<div id=\"login_error\">$message</div>';" ) );
772
+ $admin_notices = '<div id="message" class="error fade" style="background-color: #FFEBE8 !important;"><p>' . $message . $scmsg . ' <a href="plugins.php#wm-pluginconflink">' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '</a></p></div>';
773
+
774
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
775
+ add_action( 'network_admin_notices', create_function( '', "echo '$admin_notices';" ) );
776
+
777
+ add_action( 'admin_notices', create_function( '', "echo '$admin_notices';" ) );
778
+
779
+ //$in_admin_header = '<a id="mm_in_admin_header" href="' . $settings_link . '" title="' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '">' . $message . '</a>';
780
+ //add_action( 'in_admin_header', create_function( '', "echo '$in_admin_header';" ) );
781
+ /**
782
+ // actual a ticket in trac #14126
783
+ // @link http://core.trac.wordpress.org/ticket/14126
784
+ $in_admin_header = '<a class="privacy-on-link" href="plugins.php#wm-pluginconflink" title="' . __( 'Deactivate or change Settings', FB_WM_TEXTDOMAIN ) . '">' . $message . '</a>';
785
+ add_action( 'in_admin_site_heading', create_function( '', "echo '$in_admin_header';" ) );
786
+ */
787
+ }
788
+
789
+ add_action( 'wm_head', array( $this, 'add_theme' ) );
790
+ add_action( 'wm_content', array( $this, 'add_flash' ) );
791
+ add_action( 'wm_content', array( $this, 'add_content' ) );
792
+ if ( isset($value['link']) && 1 === $value['link'] )
793
+ add_action( 'wm_footer', array( $this, 'add_link' ) );
794
+
795
+ $locale = get_locale();
796
+
797
+ if ( isset($value['unit']) )
798
+ $unitvalues = $this->case_unit($value['unit']);
799
+
800
+ if ( get_bloginfo('charset') )
801
+ $charset = get_bloginfo('charset');
802
+ else
803
+ $charset = 'UTF-8';
804
+
805
+ // set backtime for header status
806
+ if ( isset($value['time']) )
807
+ $backtime = $value['time'] * $unitvalues['multiplier'];
808
+ else
809
+ $backtime = NULL;
810
+
811
+ $protocol = $_SERVER["SERVER_PROTOCOL"];
812
+ if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
813
+ $protocol = 'HTTP/1.0';
814
+ // Allow to change status code via hook
815
+ $status_code = (int) apply_filters( 'wp_maintenance_mode_status_code', '503' );
816
+
817
+ if ( ( ! $this->check_role() )
818
+ && ! strstr($_SERVER['PHP_SELF'], 'wp-login.php' )
819
+ && ! strstr($_SERVER['PHP_SELF'], 'wp-admin/')
820
+ && ! strstr($_SERVER['PHP_SELF'], 'async-upload.php')
821
+ && ! ( strstr($_SERVER['PHP_SELF'], 'upgrade.php') && $this->check_role() )
822
+ && ! strstr($_SERVER['PHP_SELF'], '/plugins/')
823
+ && ! strstr($_SERVER['PHP_SELF'], '/xmlrpc.php')
824
+ && ! $this->check_exclude()
825
+ && ! $this->check_bypass()
826
+ ) {
827
+ $rolestatus = 'norights';
828
+
829
+ nocache_headers();
830
+ ob_start();
831
+ header( "Content-type: text/html; charset=$charset" );
832
+ header( "$protocol $status_code Service Unavailable", TRUE, $status_code );
833
+ header( "Retry-After: $backtime" );
834
+ // Allow alternative splash page
835
+ if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
836
+ include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
837
+ else
838
+ include('site.php');
839
+ ob_flush();
840
+ exit();
841
+ }
842
+
843
+ /*
844
+ * @TODO: check this old source
845
+ //$this->check_version();
846
+ if ( ! strstr($_SERVER['PHP_SELF'], 'feed/')
847
+ && ! strstr($_SERVER['PHP_SELF'], 'wp-admin/')
848
+ && ! strstr($_SERVER['PHP_SELF'], 'wp-login.php')
849
+ && ! strstr($_SERVER['PHP_SELF'], 'async-upload.php')
850
+ && ! ( strstr($_SERVER['PHP_SELF'], 'upgrade.php') && $this->check_role() )
851
+ && ! strstr($_SERVER['PHP_SELF'], 'trackback/')
852
+ && ! strstr($_SERVER['PHP_SELF'], '/plugins/')
853
+ && ! strstr($_SERVER['PHP_SELF'], '/xmlrpc.php')
854
+ && ! $this->check_exclude()
855
+ && ! $this->check_bypass()
856
+ && ! $this->check_role()
857
+ ) {
858
+ // Allow alternative splash page
859
+ if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
860
+ include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
861
+ else
862
+ include('site.php');
863
+ exit();
864
+ } else if ( strstr($_SERVER['PHP_SELF'], 'feed/') || strstr($_SERVER['PHP_SELF'], 'trackback/') ) {
865
+ nocache_headers();
866
+ header( "Content-type: text/html; charset=$charset" );
867
+ header( "$protocol $status_code Service Unavailable", TRUE, $status_code );
868
+ header( "Retry-After: $backtime" );
869
+ exit();
870
+ }
871
+ */
872
+ }
873
+
874
+
875
+ public function add_link() {
876
+
877
+ $value = self::get_options();
878
+ ?>
879
+ <div id="footer">
880
+ <p><a href="http://bueltge.de/"><?php _e( 'Plugin by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://bueltge.de/favicon.ico" alt="bueltge.de" width="16" height="16" /></a>
881
+ <?php if ( 2 === $value['theme'] ) { ?>
882
+ &nbsp;<a href="http://davidhellmann.com/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://davidhellmann.com/favicon.ico" alt="davidhellmann.com" width="16" height="16" /></a>
883
+ <?php } elseif ( 3 === $value['theme'] ) { ?>
884
+ &nbsp;<a href="http://www.mynicki.net"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.mynicki.net/favicon.ico" alt="mynicki.net" width="16" height="16" /></a>
885
+ <?php } elseif ( 4 === $value['theme'] ) { ?>
886
+ &nbsp;<a href="http://www.lokalnetz.com"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.lokalnetz.com/images/favicon.ico" alt="lokalnetz.com" width="16" height="16" /></a>
887
+ <?php } elseif ( 5 === $value['theme'] ) { ?>
888
+ &nbsp;<a href="http://www.distractedbysquirrels.com"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.distractedbysquirrels.com/favicon.ico" alt="distractedbysquirrels.com" width="16" height="16" /></a>
889
+ <?php } elseif ( 6 === $value['theme'] ) { ?>
890
+ &nbsp;<a href="http://fv-web.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://fv-web.de/favicon.ico" alt="fv-web.de" width="16" height="16" /></a>
891
+ <?php } elseif ( 7 === $value['theme'] ) { ?>
892
+ &nbsp;<a href="http://krautsuppe.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://krautsuppe.de/favicon.ico" alt="krautsuppe.de" width="16" height="16" /></a>
893
+ <?php } elseif ( 8 === $value['theme'] ) { ?>
894
+ &nbsp;<a href="http://www.bugeyes.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.bugeyes.de/favicon.ico" alt="www.bugeyes.de" width="16" height="16" /></a>
895
+ <?php } elseif ( 9 === $value['theme'] ) { ?>
896
+ &nbsp;<a href="http://www.cayou-media.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.cayou-media.de/favicon.ico" alt="www.cayou-media.de" width="16" height="16" /></a>
897
+ <?php } elseif ( 10 === $value['theme'] ) { ?>
898
+ &nbsp;<a href="http://fabianletscher.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://fabianletscher.de/favicon.ico" alt="fabianletscher.de" width="16" height="16" /></a>
899
+ <?php } elseif ( 11 === $value['theme'] ) { ?>
900
+ &nbsp;<a href="http://www.blogdrauf.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.blogdrauf.de/favicon.ico" alt="www.blogdrauf.de" width="16" height="16" /></a>
901
+ <?php } elseif ( 12 === $value['theme'] ) { ?>
902
+ &nbsp;<a href="http://www.elmastudio.de/"><?php _e( 'Design by:', FB_WM_TEXTDOMAIN ); ?> <img src="http://www.elmastudio.de/favicon.ico" alt="www.elmastudio.de" width="16" height="16" /></a>
903
+ <?php } ?>
904
+ </p>
905
+ </div>
906
+ <?php
907
+ }
908
+
909
+
910
+ public function add_theme() {
911
+
912
+ $locale = get_locale();
913
+ $value = self::get_options();
914
+
915
+ $theme = '';
916
+ $link = '';
917
+ $style = '';
918
+ // default theme
919
+ if ( !isset($value['theme']) )
920
+ $value['theme'] = 1;
921
+
922
+ switch( $value['theme'] ) {
923
+ case 0:
924
+ if ( $value['styleurl'] )
925
+ $style = '<link rel="stylesheet" href="' . $value['styleurl'] . '" type="text/css" media="all" />' ."\n";
926
+ break;
927
+ case 1:
928
+ $theme = 'txt.css';
929
+ break;
930
+ case 2:
931
+ $theme = 'dh.css';
932
+ $style .= ' <style type="text/css">' . "\n" . '<!--';
933
+ $style .= ' #content h1 { text-indent: -99999px; background: url(\'' . $this->get_plugins_url( '/styles/images/headline-' . $locale . '.jpg', __FILE__) . '\') no-repeat; }' . "\n";
934
+ $style .= ' -->' . "\n";
935
+ $style .= ' </style>';
936
+ break;
937
+ case 3:
938
+ $theme = 'nicki.css';
939
+ break;
940
+ case 4:
941
+ $theme = 'ln.css';
942
+ break;
943
+ case 5:
944
+ $theme = 'monster.css';
945
+ break;
946
+ case 6:
947
+ $theme = 'fv.css';
948
+ break;
949
+ case 7:
950
+ $theme = 'ks.css';
951
+ break;
952
+ case 8:
953
+ $theme = 'be.css';
954
+ break;
955
+ case 9:
956
+ $theme = 'cm.css';
957
+ break;
958
+ case 10:
959
+ $theme = 'fl.css';
960
+ break;
961
+ case 11:
962
+ $theme = 'af.css';
963
+ $style .= ' <style type="text/css">' . "\n" . '<!--';
964
+ $style .= ' #content h1 { text-indent: -99999px; background: url(\'' . $this->get_plugins_url( 'styles/images/headline-af-' . $locale . '.jpg\') no-repeat; }', __FILE__ ) . "\n";
965
+ $style .= ' -->' . "\n";
966
+ $style .= ' </style>';
967
+ break;
968
+ case 12:
969
+ $theme = 'es.css';
970
+ break;
971
+ }
972
+ if ( ! empty($theme) )
973
+ $link = '<link rel="stylesheet" href="' . $this->get_plugins_url( 'styles/', __FILE__ ) . $theme . '" type="text/css" media="all" />' ."\n";
974
+ echo $link . $style;
975
+ }
976
+
977
+ /**
978
+ * Add markup for flash theme
979
+ *
980
+ * @return String
981
+ */
982
+ public function add_flash() {
983
+
984
+ $locale = get_locale();
985
+ $value = self::get_options();
986
+
987
+ $flash = '';
988
+ $object = '';
989
+ // default theme
990
+ if ( !isset($value['theme']) )
991
+ $value['theme'] = 1;
992
+
993
+ switch( $value['theme'] ) {
994
+ case 9:
995
+ $flash = FB_WM_BASE . '/styles/wartung-' . $locale . '.swf';
996
+ if ( file_exists($flash) ) {
997
+ $flash = $this->get_plugins_url( 'styles/', __FILE__ ) . 'wartung-' . $locale . '.swf';
998
+ } else {
999
+ $flash = $this->get_plugins_url( 'styles/', __FILE__ ) . 'wartung.swf';
1000
+ }
1001
+
1002
+ $object = '
1003
+ <object type="application/x-shockwave-flash" data="' . $flash . '" width="800" height="600" id="galerie" style="outline:none;">
1004
+ <param name="wmode" value="transparent" />
1005
+ <param name="movie" value="' . $flash . '" />
1006
+ </object>';
1007
+ break;
1008
+ }
1009
+
1010
+ echo $object;
1011
+ }
1012
+
1013
+
1014
+ /**
1015
+ * Add content on splash page
1016
+ *
1017
+ * @return String
1018
+ */
1019
+ public function add_content() {
1020
+
1021
+ $locale = get_locale();
1022
+ $value = self::get_options();
1023
+
1024
+ $echo = '';
1025
+
1026
+ // default for unit
1027
+ if ( ! isset($value['unit']) )
1028
+ $value['unit'] = NULL;
1029
+
1030
+ $unitvalues = $this->case_unit($value['unit']);
1031
+ $td = $this->check_datetime();
1032
+
1033
+ if ( ! empty( $value['text'] ) )
1034
+ $value['text'] = wpautop( $value['text'] ); // apply_filters( 'the_content', $value['text'] );
1035
+
1036
+ if ( isset($value['radio']) && 1 === $value['radio'] && 0 !== $td[2] ) {
1037
+ $echo = wp_sprintf(
1038
+ stripslashes_deep( $value['text'] ),
1039
+ '<br /><span id="countdown"></span>',
1040
+ date_i18n( get_option('date_format'), strtotime( $td[0][0] ) )
1041
+ );
1042
+ } elseif ( isset($value['text']) ) {
1043
+ if ( ! isset($value['time']) || 0 == $value['time'] )
1044
+ $value['time'] = FALSE;
1045
+ if ( ! isset($unitvalues['unit']) )
1046
+ $unitvalues['unit'] = FALSE;
1047
+ $echo = wp_sprintf( stripslashes_deep( $value['text'] ), $value['time'], $unitvalues['unit'] );
1048
+ }
1049
+
1050
+ echo do_shortcode( $echo );
1051
+ }
1052
+
1053
+
1054
+ public function check_file($url) {
1055
+
1056
+ $url = parse_url($url);
1057
+ $fp = fsockopen($url['host'], 80, $errno, $errstr, 30);
1058
+
1059
+ if ( ! $fp) {
1060
+ echo $errstr . ' (' . $errno . ')<br />'. "\n";
1061
+ } else {
1062
+ $httpRequest = 'HEAD ' . $url['path'] . ' HTTP/1.1' . "\r\n"
1063
+ . 'Host: ' . $url['host'] ."\r\n"
1064
+ . 'Connection: close'. "\r\n\r\n";
1065
+
1066
+ fputs($fp, $httpRequest);
1067
+ $zeileeins = fgets($fp, 1024);
1068
+ fclose($fp);
1069
+
1070
+ if ( eregi('200 OK', $zeileeins) ) {
1071
+ return TRUE;
1072
+ } else {
1073
+ return FALSE;
1074
+ }
1075
+ }
1076
+ }
1077
+
1078
+ public function add_admin_bar_alert() {
1079
+
1080
+ if ( is_multisite() && is_plugin_active_for_network( plugin_basename( __FILE__ ) ) )
1081
+ $settings_link = network_admin_url() . 'plugins.php#wm-pluginconflink';
1082
+ else
1083
+ $settings_link = admin_url() . 'plugins.php#wm-pluginconflink';
1084
+
1085
+ $GLOBALS['wp_admin_bar'] -> add_menu(
1086
+ array(
1087
+ 'id' => 'mm_alert',
1088
+ 'title' => __( 'Caution: Maintenance mode is <strong>active</strong>!', FB_WM_TEXTDOMAIN ),
1089
+ 'href' => $settings_link
1090
+ )
1091
+ );
1092
+ }
1093
+
1094
+
1095
+ public function url_exists( $url ) {
1096
+
1097
+ $scheme = ( is_ssl() ? 'https://' : 'http://' );
1098
+
1099
+ if ( ( strpos( $url, $scheme ) ) === FALSE )
1100
+ $url = $scheme . $url;
1101
+
1102
+ if ( is_array( @get_headers( $url ) ) )
1103
+ return TRUE;
1104
+ else
1105
+ return FALSE;
1106
+ }
1107
+
1108
+ } // end class
1109
+
1110
+ /**
1111
+ * Template tag to use in site-template
1112
+ */
1113
+ function wm_head() {
1114
+
1115
+ do_action( 'wm_head', '' );
1116
+ }
1117
+
1118
+ function wm_content() {
1119
+
1120
+ do_action( 'wm_content', '' );
1121
+ }
1122
+
1123
+ function wm_footer() {
1124
+
1125
+ do_action( 'wm_footer', '' );
1126
+ }
1127
+
1128
+ } // end if class exists