WP Maintenance - Version 3.0.1

Version Description

This version is stable

=

Download this release

Release Info

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

Code changes from version 3.0 to 3.0.1

classes/countdown.php CHANGED
@@ -1,13 +1,13 @@
1
- <?php
2
 
3
 
4
  class WPM_Countdown extends WP_maintenance {
5
-
6
-
7
  var $errors = array();
8
-
9
  public static function display($date = '') {
10
-
11
  // Récupère les paramètres sauvegardés
12
  $paramMMode = wp_maintenance::wpm_get_options();
13
  $Counter = '';
@@ -15,7 +15,7 @@ class WPM_Countdown extends WP_maintenance {
15
  if( isset($paramMMode['active_cpt']) && $paramMMode['active_cpt']==1 && !empty($date) ) {
16
 
17
  if( isset($paramMMode['cptdate']) && !empty($paramMMode['cptdate']) ) {
18
-
19
  if( !isset($paramMMode['disable']) ) { $paramMMode['disable'] = 0; }
20
  $Counter = '
21
  <div id="countdown">
@@ -40,22 +40,22 @@ class WPM_Countdown extends WP_maintenance {
40
  $Counter .= '
41
  FinishMessage = "'.trim( stripslashes( preg_replace("/(\r\n|\n|\r)/", "", $paramMMode['message_cpt_fin']) ) ).'";';
42
  }
43
- $Counter .= '
44
  </script>';
45
  $Counter .= '
46
  <script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/js/wpm-cpt-script.js"></script>
47
  </div>';
48
- }
49
  }
50
-
51
  return $Counter;
52
  }
53
-
54
  public static function css() {
55
-
56
  // Récupère les paramètres sauvegardés
57
  $paramMMode = wp_maintenance::wpm_get_options();
58
-
59
  return '
60
  #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {}
61
  .cptR-rec_countdown {';
@@ -82,12 +82,12 @@ $wpmStyle .= '
82
  if( isset($paramMMode['date_cpt_size']) ) { $wpmStyle .= 'font-size:'.($paramMMode['date_cpt_size']*0.5).'px;'; }
83
  $wpmStyle .= '
84
  text-align:center;
85
- }
86
  #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
87
  /*width:20%;*/
88
  text-align:center;
89
  }
90
  }';
91
  }
92
-
93
- }
1
+ <?php
2
 
3
 
4
  class WPM_Countdown extends WP_maintenance {
5
+
6
+
7
  var $errors = array();
8
+
9
  public static function display($date = '') {
10
+
11
  // Récupère les paramètres sauvegardés
12
  $paramMMode = wp_maintenance::wpm_get_options();
13
  $Counter = '';
15
  if( isset($paramMMode['active_cpt']) && $paramMMode['active_cpt']==1 && !empty($date) ) {
16
 
17
  if( isset($paramMMode['cptdate']) && !empty($paramMMode['cptdate']) ) {
18
+
19
  if( !isset($paramMMode['disable']) ) { $paramMMode['disable'] = 0; }
20
  $Counter = '
21
  <div id="countdown">
40
  $Counter .= '
41
  FinishMessage = "'.trim( stripslashes( preg_replace("/(\r\n|\n|\r)/", "", $paramMMode['message_cpt_fin']) ) ).'";';
42
  }
43
+ $Counter .= '
44
  </script>';
45
  $Counter .= '
46
  <script language="JavaScript" src="'.WP_PLUGIN_URL.'/wp-maintenance/js/wpm-cpt-script.js"></script>
47
  </div>';
48
+ }
49
  }
50
+
51
  return $Counter;
52
  }
53
+
54
  public static function css() {
55
+
56
  // Récupère les paramètres sauvegardés
57
  $paramMMode = wp_maintenance::wpm_get_options();
58
+
59
  return '
60
  #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {}
61
  .cptR-rec_countdown {';
82
  if( isset($paramMMode['date_cpt_size']) ) { $wpmStyle .= 'font-size:'.($paramMMode['date_cpt_size']*0.5).'px;'; }
83
  $wpmStyle .= '
84
  text-align:center;
85
+ }
86
  #wpm-cpt-day, #wpm-cpt-hours, #wpm-cpt-minutes, #wpm-cpt-seconds {
87
  /*width:20%;*/
88
  text-align:center;
89
  }
90
  }';
91
  }
92
+
93
+ }
classes/wp-maintenance.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
 
3
  class WP_maintenance {
4
-
5
- protected static $instance;
6
 
7
- public static function init() {
8
- is_null( self::$instance ) AND self::$instance = new self;
9
- return self::$instance;
10
- }
11
-
 
 
12
  public function hooks() {
13
-
14
  /* Version du plugin */
15
  $option['wp_maintenance_version'] = WPM_VERSION;
16
  if( !get_option('wp_maintenance_version') ) {
@@ -21,19 +21,21 @@ class WP_maintenance {
21
 
22
  add_action( 'admin_menu', array( $this, 'wpm_add_admin') );
23
  add_filter( 'plugin_action_links', array( $this, 'wpm_plugin_actions'), 10, 2 );
24
- add_action( 'admin_head', array( $this, 'wpm_admin_head') );
25
  add_action( 'init', array( $this, 'wpm_date_picker') );
26
  add_action( 'admin_bar_menu', array( $this, 'wpm_add_menu_admin_bar'), 999 );
27
- add_action( 'admin_footer', array( $this, 'wpm_print_footer_scripts') );
28
  add_action( 'template_redirect', array( $this, 'wpm_maintenance_mode') );
29
- add_editor_style( plugins_url('../css/custom-editor-style.css', __FILE__ ) );
30
- register_deactivation_hook(__FILE__, 'wpm_uninstall');
31
-
32
-
33
  }
34
 
 
 
 
35
  public static function wpm_dashboard_install() {
36
-
37
  $wpMaintenanceAdminOptions = array(
38
  'enable' => 0,
39
  'color_bg' => "#f1f1f1",
@@ -54,7 +56,7 @@ class WP_maintenance {
54
  'font_text_bottom' => 'PT Sans',
55
  'font_text_weigth' => 'normal',
56
  'font_bottom_size' => 12,
57
- 'font_bottom_weigth' => 'normal',
58
  'font_bottom_style' => '',
59
  'font_cpt' => 'PT Sans',
60
  'color_cpt' => '#333333',
@@ -106,24 +108,24 @@ class WP_maintenance {
106
  }
107
  add_option('wp_maintenance_settings', $wpMaintenanceAdminOptions);
108
  }
109
-
110
  if(!get_option('wp_maintenance_active')) { add_option('wp_maintenance_active', 0); }
111
 
112
- if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
113
  add_option('wp_maintenance_style', wpm_print_style());
114
  }
115
-
116
  }
117
-
118
  public static function wpm_dashboard_remove() {
119
-
120
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
121
  $paramMMode = get_option('wp_maintenance_settings');
122
-
123
  delete_option('wp_maintenance_active');
124
-
125
  if( isset($paramMMode['dashboard_delete_db']) && $paramMMode['dashboard_delete_db'] == 'Yes' ) {
126
-
127
  delete_option('wp_maintenance_settings');
128
  delete_option('wp_maintenance_version');
129
  delete_option('wp_maintenance_style');
@@ -137,10 +139,10 @@ class WP_maintenance {
137
  }
138
 
139
  }
140
-
141
  // Add "Réglages" link on plugins page
142
  function wpm_plugin_actions( $links, $file ) {
143
-
144
  if ( $file != WPM_PLUGIN_BASENAME ) {
145
  return $links;
146
  } else {
@@ -152,16 +154,16 @@ class WP_maintenance {
152
  return $links;
153
  }
154
  }
155
-
156
  /* Ajout feuille CSS pour l'admin barre */
157
  function wpm_admin_head() {
158
-
159
  global $current_user;
160
  global $_wp_admin_css_colors;
161
 
162
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
163
  echo '<link rel="stylesheet" type="text/css" media="all" href="' .WPM_PLUGIN_URL.'css/wpm-admin.css">';
164
-
165
  $admin_color = get_user_option( 'admin_color', get_current_user_id() );
166
  $colors = $_wp_admin_css_colors[$admin_color]->colors;
167
 
@@ -194,7 +196,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
194
  color:#e4e4e4!important;
195
  }
196
 
197
-
198
  </style>';
199
  }
200
  }
@@ -218,10 +220,10 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
218
  $wp_admin_bar->add_node( $args );
219
  }
220
  }
221
-
222
  /* DATEPICKER */
223
  function wpm_date_picker() {
224
-
225
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
226
  wp_enqueue_script( 'jquery' );
227
  wp_enqueue_script('jquery-ui-datepicker');
@@ -229,40 +231,40 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
229
  }
230
 
231
  }
232
-
233
- function wpm_init_wysiwyg() {
234
  wp_enqueue_script('editor');
235
  add_thickbox();
236
  wp_enqueue_script('media-upload');
237
  add_action('admin_print_footer_scripts', 'wp_tiny_mce', 25);
238
  wp_enqueue_script('quicktags');
239
  }
240
-
241
  public static function wpm_get_options() {
242
-
243
  // Récupère les paramètres sauvegardés
244
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
245
  $paramMMode = get_option('wp_maintenance_settings');
246
-
247
  return $paramMMode;
248
  }
249
-
250
  function wpm_add_admin() {
251
-
252
  add_menu_page( 'WP Maintenance Settings', 'WP Maintenance', 'manage_options', 'wp-maintenance', array( $this, 'wpm_dashboard_page'), plugins_url( '/wp-maintenance/images/wpm-menu-icon.png' ) );
253
-
254
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('General', 'wp-maintenance'), __('General', 'wp-maintenance'), 'manage_options', 'wp-maintenance', array( $this, 'wpm_dashboard_page') );
255
-
256
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Colors & Fonts', 'wp-maintenance'), __('Colors & Fonts', 'wp-maintenance'), 'manage_options', 'wp-maintenance-colors', array( $this, 'wpm_colors_page') );
257
-
258
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Pictures', 'wp-maintenance'), __('Pictures', 'wp-maintenance'), 'manage_options', 'wp-maintenance-picture', array( $this, 'wpm_picture_page') );
259
-
260
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('CountDown', 'wp-maintenance'), __('CountDown', 'wp-maintenance'), 'manage_options', 'wp-maintenance-countdown', array( $this, 'wpm_countdown_page') );
261
-
262
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('CSS Style', 'wp-maintenance'), __('CSS Style', 'wp-maintenance'), 'manage_options', 'wp-maintenance-css', array( $this, 'wpm_css_page') );
263
-
264
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Settings', 'wp-maintenance'), __('Settings', 'wp-maintenance'), 'manage_options', 'wp-maintenance-settings', array( $this, 'wpm_settings_page') );
265
-
266
  /*add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('About', 'wp-maintenance'), __('About', 'wp-maintenance'), 'manage_options', 'wp-maintenance-about', array( $this, 'wpm_about_page') );*/
267
 
268
  $wp_maintenanceAdminOptions = array(
@@ -285,7 +287,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
285
  'font_text_bottom' => 'PT Sans',
286
  'font_text_weigth' => 'normal',
287
  'font_bottom_size' => 12,
288
- 'font_bottom_weigth' => 'normal',
289
  'font_bottom_style' => '',
290
  'font_cpt' => 'PT Sans',
291
  'color_cpt' => '#333333',
@@ -336,16 +338,16 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
336
  }
337
  update_option('wp_maintenance_settings', $wp_maintenanceAdminOptions);
338
  }
339
-
340
  if(!get_option('wp_maintenance_active')) { update_option('wp_maintenance_active', 0); }
341
 
342
- if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
343
  update_option('wp_maintenance_style', wpm_print_style());
344
  }
345
 
346
- // If you're not including an image upload then you can leave this function call out
347
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
348
-
349
  wp_enqueue_script('media-upload');
350
  wp_enqueue_script('thickbox');
351
 
@@ -356,36 +358,36 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
356
  wp_enqueue_style('jquery-date-style', WPM_PLUGIN_URL.'js/lib/themes/default.date.css' );
357
  wp_enqueue_style('jquery-time-style', WPM_PLUGIN_URL.'js/lib/themes/default.time.css');
358
  wp_enqueue_style('jquery-fontselect-style', WPM_PLUGIN_URL.'js/fontselect/fontselect.css' );
359
-
360
  wp_enqueue_style( 'wp-color-picker' );
361
  wp_enqueue_script( 'my-script-handle', WPM_PLUGIN_URL.'js/wpm-color-options.js', array( 'wp-color-picker' ), false, true );
362
-
363
  wp_enqueue_style('thickbox');
364
  wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
365
-
366
  //wp_enqueue_script('nomikos_my_plugin_js_comment', site_url('wp-admin/js/comment.js'));
367
-
368
  /* ****************************************
369
- * Create a simple CodeMirror instance
370
  * ****************************************
371
  */
372
- // Mode http://codemirror.net/mode/php/index.html
373
  wp_register_style( 'wpm_codemirror_css', WPM_PLUGIN_URL.'js/codemirror/codemirror.css', false, '1.0.0' );
374
  wp_enqueue_style( 'wpm_codemirror_css' );
375
-
376
  wp_register_style( 'wpm_codemirror_theme_css', WPM_PLUGIN_URL.'js/codemirror/theme/material.css', false, '1.0.0' );
377
  wp_enqueue_style( 'wpm_codemirror_theme_css' );
378
-
379
  wp_register_script('wpm_codemirror', WPM_PLUGIN_URL.'js/codemirror/codemirror.js', 'jquery', '1.0');
380
  wp_enqueue_script('wpm_codemirror');
381
  wp_register_script('wpm_codemirror_css', WPM_PLUGIN_URL.'js/codemirror/css.js', 'jquery', '1.0');
382
  wp_enqueue_script('wpm_codemirror_css');
383
-
384
  /* END CODE MIRROR */
385
-
386
  wp_register_script('wpm_sticky', WPM_PLUGIN_URL.'js/jquery.sticky.js', 'jquery', '1.0');
387
  wp_enqueue_script('wpm_sticky');
388
-
389
  // If you're not including an image upload then you can leave this function call out
390
  wp_enqueue_media();
391
 
@@ -428,7 +430,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
428
  }
429
  include(WPM_DIR."/views/wp-maintenance-css.php");
430
  }
431
-
432
  function wpm_picture_page() {
433
 
434
  //must check that the user has the required capability
@@ -437,7 +439,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
437
  }
438
  include(WPM_DIR."/views/wp-maintenance-picture.php");
439
  }
440
-
441
  function wpm_countdown_page() {
442
 
443
  //must check that the user has the required capability
@@ -446,7 +448,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
446
  }
447
  include(WPM_DIR."/views/wp-maintenance-countdown.php");
448
  }
449
-
450
  function wpm_settings_page() {
451
 
452
  //must check that the user has the required capability
@@ -455,7 +457,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
455
  }
456
  include(WPM_DIR."/views/wp-maintenance-settings.php");
457
  }
458
-
459
  /*function wpm_about_page() {
460
 
461
  //must check that the user has the required capability
@@ -464,9 +466,9 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
464
  }
465
  include(WPM_DIR."/views/wp-maintenance-about.php");
466
  }*/
467
-
468
  function wpm_print_footer_scripts() {
469
-
470
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
471
  wp_register_script('wpm-picker', WPM_PLUGIN_URL.'js/lib/picker.js' );
472
  wp_enqueue_script('wpm-picker');
@@ -480,24 +482,101 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
480
  }
481
 
482
  function wpm_uninstall() {
483
-
484
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
485
  $paramMMode = get_option('wp_maintenance_settings');
486
-
487
  if(get_option('wp_maintenance_active')) { delete_option('wp_maintenance_active'); }
488
-
489
  if( isset($paramMMode['dashboard_delete_db']) && $paramMMode['dashboard_delete_db'] == 'Yes' ) {
490
  if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
 
491
  if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
492
  if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
493
  if(get_option('wp_maintenance_limit')) { delete_option('wp_maintenance_limit'); }
494
  if(get_option('wp_maintenance_active')) { delete_option('wp_maintenance_active'); }
495
  if(get_option('wp_maintenance_social')) { delete_option('wp_maintenance_social'); }
496
  if(get_option('wp_maintenance_social_options')) { delete_option('wp_maintenance_social_options'); }
 
 
497
  }
498
 
499
  }
500
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
501
  /* Mode Maintenance */
502
  function wpm_maintenance_mode() {
503
 
@@ -532,10 +611,10 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
532
 
533
 
534
  /* Désactive le mode maintenance pour les IP définies */
535
- if( isset($paramIpAddress) ) {
536
  //$paramIpAddress = explode("\n", $paramIpAddress);
537
  if( strpos($paramIpAddress, wpm_get_ip())!== false ) {
538
- $statusActive = 0;
539
  }
540
  }
541
 
@@ -549,14 +628,14 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
549
  }
550
 
551
  /* Désactive le mode maintenance pour les PAGE ID définies */
552
- if( isset($paramMMode['id_pages']) ) {
553
  $listPageId = explode(',', $paramMMode['id_pages']);
554
  foreach($listPageId as $keyPageId => $valPageId) {
555
  if( $valPageId == get_the_ID() ) {
556
- $statusActive = 0;
557
- }
558
  //echo 'Status: '.$statusActive.' - Page: '.$valPageId.' - ID:'.get_the_ID().'<br />';
559
- }
560
  }
561
 
562
  /* On désactive le mode maintenance pour les admins */
@@ -611,8 +690,8 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
611
  if( empty($paramMMode['container_opacity']) ) { $paramMMode['container_opacity'] = 0.5; }
612
  if( empty($paramMMode['container_width']) ) { $paramMMode['container_width'] = 80; }
613
  if( empty($paramMMode['container_color']) ) { $paramMMode['container_color'] = '#ffffff'; }
614
- if( isset($paramMMode['container_color']) ) {
615
- $paramRGBColor = wpm_hex2rgb($paramMMode['container_color']);
616
  }
617
 
618
  $wpmStyle .= '
@@ -625,10 +704,10 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
625
  }
626
  ';
627
  }
628
-
629
  /* Défninition des couleurs par défault */
630
  if( !isset($paramMMode['color_bg']) || $paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
631
- if( !isset($paramMMode['color_txt']) || $paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
632
 
633
  /* Traitement de la feuille de style */
634
  $styleRemplacements = array (
@@ -644,34 +723,34 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
644
  $wpmStyle .= str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
645
  if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
646
 
647
-
648
  $template_page = wpm_get_template();
649
-
650
  $Counter = '';
651
  $addFormLogin = '';
652
  $newLetter = '';
653
-
654
- if( isset($paramMMode['analytics']) && $paramMMode['analytics']!='') {
655
  $CodeAnalytics = do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]');
656
  } else {
657
  $CodeAnalytics = '';
658
  }
659
- if( isset($paramMMode['headercode']) && $paramMMode['headercode']!='') {
660
  $HeaderCode = stripslashes($paramMMode['headercode']);
661
  } else {
662
  $HeaderCode = '';
663
  }
664
- if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='top') {
665
  $TopSocialIcons = '<div id="header">'.do_shortcode('[wpm_social]').'</div>';
666
  } else {
667
  $TopSocialIcons = '';
668
  }
669
- if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='bottom') {
670
  $BottomSocialIcons = do_shortcode('[wpm_social]');
671
  } else {
672
  $BottomSocialIcons = '';
673
  }
674
- if( isset($paramMMode['image']) && $paramMMode['image'] ) {
675
  if( ini_get('allow_url_fopen')==1) {
676
  $image_path = str_replace(get_bloginfo('url'), ABSPATH, $paramMMode['image']);
677
  list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($image_path);
@@ -683,8 +762,8 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
683
  } else {
684
  $LogoImage = '';
685
  }
686
-
687
- if( isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='' ) {
688
  $TextCopyright = stripslashes($paramMMode['text_bt_maintenance']);
689
  } else {
690
  $TextCopyright = '';
@@ -692,21 +771,21 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
692
  if( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) {
693
  $textLogin = str_replace('%DASHBOARD%', '<a href="'.get_admin_url().'">'.__('Dashboard', 'wp-maintenance').'</a>', $paramMMode['add_wplogin_title']);
694
  $TextCopyright .= '<br />'.$textLogin;
695
-
696
  }
697
- if( isset($paramMMode['titre_maintenance']) && $paramMMode['titre_maintenance']!='' ) {
698
  $Titre = stripslashes($paramMMode['titre_maintenance']);
699
  } else {
700
  $Titre = '';
701
  }
702
- if( isset($paramMMode['text_maintenance']) && $paramMMode['text_maintenance']!='' ) {
703
  $Texte = stripslashes($paramMMode['text_maintenance']);
704
  } else {
705
  $Texte = '';
706
  }
707
  $wysijaStyle = '/* no NEWLETTER Style */';
708
  if( isset($paramMMode['newletter']) && $paramMMode['newletter']==1 && isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' ) {
709
-
710
  if( empty($paramMMode['color_field_text']) ) { $paramMMode['color_field_text'] = '#333333'; }
711
  if( empty($paramMMode['color_text_button']) ) { $paramMMode['color_text_button']= '#ffffff'; }
712
  if( empty($paramMMode['color_field_background']) ) { $paramMMode['color_field_background']= '#F1F1F1'; }
@@ -714,7 +793,7 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
714
  if( empty($paramMMode['color_button_onclick']) ) { $paramMMode['color_button_onclick']= '#333333'; }
715
  if( empty($paramMMode['color_button_hover']) ) { $paramMMode['color_button_hover']= '#cccccc'; }
716
  if( empty($paramMMode['color_button']) ) { $paramMMode['color_button']= '#1e73be'; }
717
-
718
  $wysijaRemplacements = array (
719
  "#_COLORTXT" => $paramMMode['color_field_text'],
720
  "#_COLORBG" => $paramMMode['color_field_background'],
@@ -724,31 +803,31 @@ a.wpmadashicons:hover { text-decoration:none;color: '.$colors[2].'!important; }
724
  "#_COLOR_BTN_HOVER" => $paramMMode['color_button_hover'],
725
  "#_COLOR_BTN_CLICK" => $paramMMode['color_button_onclick']
726
  );
727
-
728
  if( strpos($paramMMode['code_newletter'], 'wysija_form') == 1 ) {
729
-
730
  $wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_wysija_style() );
731
-
732
  } else if( strpos($paramMMode['code_newletter'], 'mc4wp_form') == 1 ) {
733
-
734
  $wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_mc4wp_style() );
735
-
736
  }
737
  $newLetter = '<div class="wpm_newletter">'.stripslashes($paramMMode['title_newletter']);
738
  if( isset($paramMMode['type_newletter']) && isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' && $paramMMode['type_newletter']=='iframe' ) {
739
- $newLetter .= stripslashes($paramMMode['iframe_newletter']);
740
  }
741
  if( isset($paramMMode['type_newletter']) && isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' && $paramMMode['type_newletter']=='shortcode' ) {
742
  $newLetter .= do_shortcode(stripslashes($paramMMode['code_newletter']));
743
  }
744
  $newLetter .= '</div>';
745
  }
746
-
747
  $optionBackground = '';
748
  $addBImage = '';
749
  if( (isset($paramMMode['b_image']) && $paramMMode['b_image']) && (isset($paramMMode['b_enable_image']) && $paramMMode['b_enable_image']==1) ) {
750
  if( isset($paramMMode['b_repeat_image']) || $paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
751
- if( isset($paramMMode['b_fixed_image']) && $paramMMode['b_fixed_image']==1 ) {
752
  $optionBackground = 'background-attachment:fixed;';
753
  }
754
  $addBImage = '
@@ -770,8 +849,8 @@ body {
770
  '.$optionBackground.'
771
  }'; }
772
 
773
-
774
-
775
  /*********** AJOUT DU STYLE SUIVANT LES PARAMETRES *********/
776
  $wpmFonts = '
777
  @import url(https://fonts.googleapis.com/css?family='.str_replace(' ', '+', $paramMMode['font_title']).'|'.str_replace(' ', '+',$paramMMode['font_text']).'|'.str_replace(' ', '+',$paramMMode['font_text_bottom']).'|'.str_replace(' ', '+',$paramMMode['font_cpt']);
@@ -779,12 +858,12 @@ body {
779
  $wpmFonts .= '|'.str_replace(' ', '+',$paramMMode['newletter_font_text']);
780
  }
781
  $wpmFonts .= ');';
782
-
783
  /* Si on a une couleur de fond */
784
  if( isset($paramMMode['color_bg']) && $paramMMode['color_bg']!='' ) {
785
  $wpmStyle .= 'body { background-color: '.$paramMMode['color_bg'].'; }';
786
  }
787
-
788
  $wpmStyle .= ''.$addBImage.'
789
  .wpm_social_icon {
790
  float:left;
@@ -798,7 +877,7 @@ body {
798
  text-align: '.$paramSocialOption['align'].';
799
  }
800
  ';
801
- $wpmStyle .= '
802
  .wpm_newletter {';
803
  if( isset($paramMMode['newletter_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['newletter_size'].'px;'; }
804
  if( isset($paramMMode['newletter_font_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['newletter_font_style'].';'; }
@@ -818,26 +897,26 @@ $wpmStyle .= '
818
  text-align:center;
819
  margin:0.5em auto;
820
  }
821
- p {';
822
  if( isset($paramMMode['font_text']) ) { $wpmStyle .= 'font-family: '.wpm_format_font($paramMMode['font_text']).', serif;'; }
823
  if( isset($paramMMode['font_text_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_text_size'].'px;'; }
824
  if( isset($paramMMode['font_text_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['font_text_style'].';'; }
825
  if( isset($paramMMode['font_text_weigth']) ) { $wpmStyle .= 'font-weight: '.$paramMMode['font_text_weigth'].';'; }
826
  if( isset($paramMMode['color_txt']) ) { $wpmStyle .= 'color:'.$paramMMode['color_txt'].';'; }
827
- $wpmStyle .= '
828
  line-height: 100%;
829
  text-align:center;
830
  margin:0.5em auto;
831
  padding-left:2%;
832
  padding-right:2%;
833
-
834
  }';
835
  if( (isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='') or ( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) ) {
836
  $wpmStyle .= '#footer {';
837
  if( isset($paramMMode['color_bg_bottom']) ) { $wpmStyle .= 'background:'.$paramMMode['color_bg_bottom'].';'; }
838
  $wpmStyle .= '}';
839
  }
840
- $wpmStyle .= '
841
  div.bloc {';
842
  if( isset($paramMMode['font_text_bottom']) ) { $wpmStyle .= 'font-family: '.wpm_format_font($paramMMode['font_text_bottom']).', serif;'; }
843
  if( isset($paramMMode['font_bottom_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['font_bottom_style'].';'; }
@@ -850,13 +929,13 @@ $wpmStyle .= '
850
  div.bloc a:link {';
851
  if( isset($paramMMode['color_text_bottom']) ) { $wpmStyle .= 'color:'.$paramMMode['color_text_bottom'].';'; }
852
  if( isset($paramMMode['font_bottom_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_bottom_size'].'px;'; }
853
- $wpmStyle .= '
854
  text-decoration:none;
855
  }
856
  div.bloc a:visited {';
857
  if( isset($paramMMode['color_text_bottom']) ) { $wpmStyle .= 'color:'.$paramMMode['color_text_bottom'].';'; }
858
  if( isset($paramMMode['font_bottom_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_bottom_size'].'px;'; }
859
- $wpmStyle .= '
860
  text-decoration:none;
861
  }
862
  div.bloc a:hover {
@@ -866,16 +945,16 @@ $wpmStyle .= '
866
  }
867
 
868
 
869
-
870
  ';
871
 
872
  $addCssSlider = WPM_Slider::slider_css();
873
  $addScriptSlider = WPM_Slider::slider_scripts();
874
  $addScriptSlideshow = WPM_Slider::slider_functions();
875
  $Counter = WPM_Countdown::display($dateCpt);
876
-
877
  $wpmStyle = $wpmStyle.WPM_Countdown::css();
878
-
879
  $tplRemplacements = array (
880
  "%TITLE%" => get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ),
881
  "%ANALYTICS%" => $CodeAnalytics,
@@ -901,15 +980,15 @@ $wpmStyle .= '
901
  "%SLIDESHOWBT%" => WPM_Slider::slidershow('belowtext')
902
  );
903
  $template_page = str_replace(array_keys($tplRemplacements), array_values($tplRemplacements), $template_page );
904
-
905
  $content = $template_page;
906
  }
907
  die($content);
908
  }
909
 
910
- }
911
-
912
  }
913
 
914
 
915
- ?>
1
  <?php
2
 
3
  class WP_maintenance {
 
 
4
 
5
+ protected static $instance;
6
+
7
+ public static function init() {
8
+ is_null( self::$instance ) AND self::$instance = new self;
9
+ return self::$instance;
10
+ }
11
+
12
  public function hooks() {
13
+
14
  /* Version du plugin */
15
  $option['wp_maintenance_version'] = WPM_VERSION;
16
  if( !get_option('wp_maintenance_version') ) {
21
 
22
  add_action( 'admin_menu', array( $this, 'wpm_add_admin') );
23
  add_filter( 'plugin_action_links', array( $this, 'wpm_plugin_actions'), 10, 2 );
24
+ add_action( 'admin_head', array( $this, 'wpm_admin_head') );
25
  add_action( 'init', array( $this, 'wpm_date_picker') );
26
  add_action( 'admin_bar_menu', array( $this, 'wpm_add_menu_admin_bar'), 999 );
27
+ add_action( 'admin_footer', array( $this, 'wpm_print_footer_scripts') );
28
  add_action( 'template_redirect', array( $this, 'wpm_maintenance_mode') );
29
+ add_action( 'admin_init', array( $this, 'wpm_process_settings_import') );
30
+ add_action( 'admin_init', array( $this, 'wpm_process_settings_export') );
31
+ add_action( 'after_setup_theme', array( $this, 'wpm_theme_add_editor_styles') );
 
32
  }
33
 
34
+ function wpm_theme_add_editor_styles() {
35
+ add_editor_style( plugins_url('../css/custom-editor-style.css', __FILE__ ) );
36
+ }
37
  public static function wpm_dashboard_install() {
38
+
39
  $wpMaintenanceAdminOptions = array(
40
  'enable' => 0,
41
  'color_bg' => "#f1f1f1",
56
  'font_text_bottom' => 'PT Sans',
57
  'font_text_weigth' => 'normal',
58
  'font_bottom_size' => 12,
59
+ 'font_bottom_weigth' => 'normal',
60
  'font_bottom_style' => '',
61
  'font_cpt' => 'PT Sans',
62
  'color_cpt' => '#333333',
108
  }
109
  add_option('wp_maintenance_settings', $wpMaintenanceAdminOptions);
110
  }
111
+
112
  if(!get_option('wp_maintenance_active')) { add_option('wp_maintenance_active', 0); }
113
 
114
+ if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
115
  add_option('wp_maintenance_style', wpm_print_style());
116
  }
117
+
118
  }
119
+
120
  public static function wpm_dashboard_remove() {
121
+
122
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
123
  $paramMMode = get_option('wp_maintenance_settings');
124
+
125
  delete_option('wp_maintenance_active');
126
+
127
  if( isset($paramMMode['dashboard_delete_db']) && $paramMMode['dashboard_delete_db'] == 'Yes' ) {
128
+
129
  delete_option('wp_maintenance_settings');
130
  delete_option('wp_maintenance_version');
131
  delete_option('wp_maintenance_style');
139
  }
140
 
141
  }
142
+
143
  // Add "Réglages" link on plugins page
144
  function wpm_plugin_actions( $links, $file ) {
145
+
146
  if ( $file != WPM_PLUGIN_BASENAME ) {
147
  return $links;
148
  } else {
154
  return $links;
155
  }
156
  }
157
+
158
  /* Ajout feuille CSS pour l'admin barre */
159
  function wpm_admin_head() {
160
+
161
  global $current_user;
162
  global $_wp_admin_css_colors;
163
 
164
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
165
  echo '<link rel="stylesheet" type="text/css" media="all" href="' .WPM_PLUGIN_URL.'css/wpm-admin.css">';
166
+
167
  $admin_color = get_user_option( 'admin_color', get_current_user_id() );
168
  $colors = $_wp_admin_css_colors[$admin_color]->colors;
169
 
196
  color:#e4e4e4!important;
197
  }
198
 
199
+
200
  </style>';
201
  }
202
  }
220
  $wp_admin_bar->add_node( $args );
221
  }
222
  }
223
+
224
  /* DATEPICKER */
225
  function wpm_date_picker() {
226
+
227
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
228
  wp_enqueue_script( 'jquery' );
229
  wp_enqueue_script('jquery-ui-datepicker');
231
  }
232
 
233
  }
234
+
235
+ function wpm_init_wysiwyg() {
236
  wp_enqueue_script('editor');
237
  add_thickbox();
238
  wp_enqueue_script('media-upload');
239
  add_action('admin_print_footer_scripts', 'wp_tiny_mce', 25);
240
  wp_enqueue_script('quicktags');
241
  }
242
+
243
  public static function wpm_get_options() {
244
+
245
  // Récupère les paramètres sauvegardés
246
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
247
  $paramMMode = get_option('wp_maintenance_settings');
248
+
249
  return $paramMMode;
250
  }
251
+
252
  function wpm_add_admin() {
253
+
254
  add_menu_page( 'WP Maintenance Settings', 'WP Maintenance', 'manage_options', 'wp-maintenance', array( $this, 'wpm_dashboard_page'), plugins_url( '/wp-maintenance/images/wpm-menu-icon.png' ) );
255
+
256
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('General', 'wp-maintenance'), __('General', 'wp-maintenance'), 'manage_options', 'wp-maintenance', array( $this, 'wpm_dashboard_page') );
257
+
258
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Colors & Fonts', 'wp-maintenance'), __('Colors & Fonts', 'wp-maintenance'), 'manage_options', 'wp-maintenance-colors', array( $this, 'wpm_colors_page') );
259
+
260
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Pictures', 'wp-maintenance'), __('Pictures', 'wp-maintenance'), 'manage_options', 'wp-maintenance-picture', array( $this, 'wpm_picture_page') );
261
+
262
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('CountDown', 'wp-maintenance'), __('CountDown', 'wp-maintenance'), 'manage_options', 'wp-maintenance-countdown', array( $this, 'wpm_countdown_page') );
263
+
264
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('CSS Style', 'wp-maintenance'), __('CSS Style', 'wp-maintenance'), 'manage_options', 'wp-maintenance-css', array( $this, 'wpm_css_page') );
265
+
266
  add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('Settings', 'wp-maintenance'), __('Settings', 'wp-maintenance'), 'manage_options', 'wp-maintenance-settings', array( $this, 'wpm_settings_page') );
267
+
268
  /*add_submenu_page( 'wp-maintenance', 'WP Maintenance > '.__('About', 'wp-maintenance'), __('About', 'wp-maintenance'), 'manage_options', 'wp-maintenance-about', array( $this, 'wpm_about_page') );*/
269
 
270
  $wp_maintenanceAdminOptions = array(
287
  'font_text_bottom' => 'PT Sans',
288
  'font_text_weigth' => 'normal',
289
  'font_bottom_size' => 12,
290
+ 'font_bottom_weigth' => 'normal',
291
  'font_bottom_style' => '',
292
  'font_cpt' => 'PT Sans',
293
  'color_cpt' => '#333333',
338
  }
339
  update_option('wp_maintenance_settings', $wp_maintenanceAdminOptions);
340
  }
341
+
342
  if(!get_option('wp_maintenance_active')) { update_option('wp_maintenance_active', 0); }
343
 
344
+ if(!get_option('wp_maintenance_style') or get_option('wp_maintenance_style')=='') {
345
  update_option('wp_maintenance_style', wpm_print_style());
346
  }
347
 
348
+ // If you're not including an image upload then you can leave this function call out
349
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
350
+
351
  wp_enqueue_script('media-upload');
352
  wp_enqueue_script('thickbox');
353
 
358
  wp_enqueue_style('jquery-date-style', WPM_PLUGIN_URL.'js/lib/themes/default.date.css' );
359
  wp_enqueue_style('jquery-time-style', WPM_PLUGIN_URL.'js/lib/themes/default.time.css');
360
  wp_enqueue_style('jquery-fontselect-style', WPM_PLUGIN_URL.'js/fontselect/fontselect.css' );
361
+
362
  wp_enqueue_style( 'wp-color-picker' );
363
  wp_enqueue_script( 'my-script-handle', WPM_PLUGIN_URL.'js/wpm-color-options.js', array( 'wp-color-picker' ), false, true );
364
+
365
  wp_enqueue_style('thickbox');
366
  wp_enqueue_style('jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
367
+
368
  //wp_enqueue_script('nomikos_my_plugin_js_comment', site_url('wp-admin/js/comment.js'));
369
+
370
  /* ****************************************
371
+ * Create a simple CodeMirror instance
372
  * ****************************************
373
  */
374
+ // Mode http://codemirror.net/mode/php/index.html
375
  wp_register_style( 'wpm_codemirror_css', WPM_PLUGIN_URL.'js/codemirror/codemirror.css', false, '1.0.0' );
376
  wp_enqueue_style( 'wpm_codemirror_css' );
377
+
378
  wp_register_style( 'wpm_codemirror_theme_css', WPM_PLUGIN_URL.'js/codemirror/theme/material.css', false, '1.0.0' );
379
  wp_enqueue_style( 'wpm_codemirror_theme_css' );
380
+
381
  wp_register_script('wpm_codemirror', WPM_PLUGIN_URL.'js/codemirror/codemirror.js', 'jquery', '1.0');
382
  wp_enqueue_script('wpm_codemirror');
383
  wp_register_script('wpm_codemirror_css', WPM_PLUGIN_URL.'js/codemirror/css.js', 'jquery', '1.0');
384
  wp_enqueue_script('wpm_codemirror_css');
385
+
386
  /* END CODE MIRROR */
387
+
388
  wp_register_script('wpm_sticky', WPM_PLUGIN_URL.'js/jquery.sticky.js', 'jquery', '1.0');
389
  wp_enqueue_script('wpm_sticky');
390
+
391
  // If you're not including an image upload then you can leave this function call out
392
  wp_enqueue_media();
393
 
430
  }
431
  include(WPM_DIR."/views/wp-maintenance-css.php");
432
  }
433
+
434
  function wpm_picture_page() {
435
 
436
  //must check that the user has the required capability
439
  }
440
  include(WPM_DIR."/views/wp-maintenance-picture.php");
441
  }
442
+
443
  function wpm_countdown_page() {
444
 
445
  //must check that the user has the required capability
448
  }
449
  include(WPM_DIR."/views/wp-maintenance-countdown.php");
450
  }
451
+
452
  function wpm_settings_page() {
453
 
454
  //must check that the user has the required capability
457
  }
458
  include(WPM_DIR."/views/wp-maintenance-settings.php");
459
  }
460
+
461
  /*function wpm_about_page() {
462
 
463
  //must check that the user has the required capability
466
  }
467
  include(WPM_DIR."/views/wp-maintenance-about.php");
468
  }*/
469
+
470
  function wpm_print_footer_scripts() {
471
+
472
  if (isset($_GET['page']) && strpos($_GET['page'], 'wp-maintenance') !==false) {
473
  wp_register_script('wpm-picker', WPM_PLUGIN_URL.'js/lib/picker.js' );
474
  wp_enqueue_script('wpm-picker');
482
  }
483
 
484
  function wpm_uninstall() {
485
+
486
  if(get_option('wp_maintenance_settings')) { extract(get_option('wp_maintenance_settings')); }
487
  $paramMMode = get_option('wp_maintenance_settings');
488
+
489
  if(get_option('wp_maintenance_active')) { delete_option('wp_maintenance_active'); }
490
+
491
  if( isset($paramMMode['dashboard_delete_db']) && $paramMMode['dashboard_delete_db'] == 'Yes' ) {
492
  if(get_option('wp_maintenance_settings')) { delete_option('wp_maintenance_settings'); }
493
+ if(get_option('wp_maintenance_ipaddresses')) { delete_option('wp_maintenance_ipaddresses'); }
494
  if(get_option('wp_maintenance_version')) { delete_option('wp_maintenance_version'); }
495
  if(get_option('wp_maintenance_style')) { delete_option('wp_maintenance_style'); }
496
  if(get_option('wp_maintenance_limit')) { delete_option('wp_maintenance_limit'); }
497
  if(get_option('wp_maintenance_active')) { delete_option('wp_maintenance_active'); }
498
  if(get_option('wp_maintenance_social')) { delete_option('wp_maintenance_social'); }
499
  if(get_option('wp_maintenance_social_options')) { delete_option('wp_maintenance_social_options'); }
500
+
501
+
502
  }
503
 
504
  }
505
+ /**
506
+ * Process a settings export that generates a .json file of the erident settings
507
+ */
508
+ function wpm_process_settings_export() {
509
+
510
+ if( empty( $_POST['wpm_action'] ) || 'export_settings' != $_POST['wpm_action'] )
511
+ return;
512
+
513
+ if( ! wp_verify_nonce( $_POST['wpm_export_nonce'], 'wpm_export_nonce' ) )
514
+ return;
515
+
516
+ if( ! current_user_can( 'manage_options' ) )
517
+ return;
518
+
519
+ $settingsJson = array(
520
+ 'settings' => get_option('wp_maintenance_settings'),
521
+ 'social' => get_option('wp_maintenance_social'),
522
+ 'social_options' => get_option('wp_maintenance_social_options'),
523
+ 'slider' => get_option('wp_maintenance_slider'),
524
+ 'slider_options' => get_option('wp_maintenance_slider_options'),
525
+ 'limit' => get_option('wp_maintenance_limit'),
526
+ 'ipaddresses' => get_option('wp_maintenance_ipaddresses'),
527
+ 'style' => get_option('wp_maintenance_style')
528
+ );
529
+
530
+ ignore_user_abort( true );
531
+
532
+ nocache_headers();
533
+ header( 'Content-Type: application/json; charset=utf-8' );
534
+ header( 'Content-Disposition: attachment; filename=wp-maintenance-' . date( 'm-d-Y' ) . '.json' );
535
+ header( "Expires: 0" );
536
+
537
+ echo json_encode( $settingsJson );
538
+ exit;
539
+ }
540
+
541
+
542
+ /**
543
+ * Process a settings import from a json file
544
+ */
545
+ function wpm_process_settings_import() {
546
+
547
+ if( empty( $_POST['wpm_action'] ) || 'import_settings' != $_POST['wpm_action'] )
548
+ return;
549
+
550
+ if( ! wp_verify_nonce( $_POST['wpm_import_nonce'], 'wpm_import_nonce' ) )
551
+ return;
552
+
553
+ if( ! current_user_can( 'manage_options' ) )
554
+ return;
555
+
556
+ $extensionExploded = explode('.', $_FILES['wpm_import_file']['name']);
557
+ $extension = strtolower(end($extensionExploded));
558
+
559
+ if( $extension != 'json' ) {
560
+ wp_die( __( 'Please upload a valid .json file' ) );
561
+ }
562
+
563
+ $import_file = $_FILES['wpm_import_file']['tmp_name'];
564
+
565
+ if( empty( $import_file ) ) {
566
+ wp_die( __( 'Please upload a file to import', 'wp-maintenance' ) );
567
+ }
568
+
569
+ // Retrieve the settings from the file and convert the json object to an array.
570
+ $settings = (array) json_decode( file_get_contents( $import_file ), true);
571
+
572
+ foreach($settings as $name=>$value) {
573
+ update_option('wp_maintenance_'.$name, $value);
574
+ }
575
+
576
+ echo '<div id="message" class="updated fade"><p><strong>' . __('New settings imported successfully!', 'wp-maintenance') . '</strong></p></div>';
577
+
578
+ }
579
+
580
  /* Mode Maintenance */
581
  function wpm_maintenance_mode() {
582
 
611
 
612
 
613
  /* Désactive le mode maintenance pour les IP définies */
614
+ if( isset($paramIpAddress) ) {
615
  //$paramIpAddress = explode("\n", $paramIpAddress);
616
  if( strpos($paramIpAddress, wpm_get_ip())!== false ) {
617
+ $statusActive = 0;
618
  }
619
  }
620
 
628
  }
629
 
630
  /* Désactive le mode maintenance pour les PAGE ID définies */
631
+ if( isset($paramMMode['id_pages']) ) {
632
  $listPageId = explode(',', $paramMMode['id_pages']);
633
  foreach($listPageId as $keyPageId => $valPageId) {
634
  if( $valPageId == get_the_ID() ) {
635
+ $statusActive = 0;
636
+ }
637
  //echo 'Status: '.$statusActive.' - Page: '.$valPageId.' - ID:'.get_the_ID().'<br />';
638
+ }
639
  }
640
 
641
  /* On désactive le mode maintenance pour les admins */
690
  if( empty($paramMMode['container_opacity']) ) { $paramMMode['container_opacity'] = 0.5; }
691
  if( empty($paramMMode['container_width']) ) { $paramMMode['container_width'] = 80; }
692
  if( empty($paramMMode['container_color']) ) { $paramMMode['container_color'] = '#ffffff'; }
693
+ if( isset($paramMMode['container_color']) ) {
694
+ $paramRGBColor = wpm_hex2rgb($paramMMode['container_color']);
695
  }
696
 
697
  $wpmStyle .= '
704
  }
705
  ';
706
  }
707
+
708
  /* Défninition des couleurs par défault */
709
  if( !isset($paramMMode['color_bg']) || $paramMMode['color_bg']=="") { $paramMMode['color_bg'] = "#f1f1f1"; }
710
+ if( !isset($paramMMode['color_txt']) || $paramMMode['color_txt']=="") { $paramMMode['color_txt'] = "#888888"; }
711
 
712
  /* Traitement de la feuille de style */
713
  $styleRemplacements = array (
723
  $wpmStyle .= str_replace(array_keys($styleRemplacements), array_values($styleRemplacements), get_option('wp_maintenance_style'));
724
  if( isset($paramMMode['message_cpt_fin']) && $paramMMode['message_cpt_fin']=='') { $paramMMode['message_cpt_fin'] = '&nbsp;'; }
725
 
726
+
727
  $template_page = wpm_get_template();
728
+
729
  $Counter = '';
730
  $addFormLogin = '';
731
  $newLetter = '';
732
+
733
+ if( isset($paramMMode['analytics']) && $paramMMode['analytics']!='') {
734
  $CodeAnalytics = do_shortcode('[wpm_analytics enable="'.$paramMMode['analytics'].'"]');
735
  } else {
736
  $CodeAnalytics = '';
737
  }
738
+ if( isset($paramMMode['headercode']) && $paramMMode['headercode']!='') {
739
  $HeaderCode = stripslashes($paramMMode['headercode']);
740
  } else {
741
  $HeaderCode = '';
742
  }
743
+ if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='top') {
744
  $TopSocialIcons = '<div id="header">'.do_shortcode('[wpm_social]').'</div>';
745
  } else {
746
  $TopSocialIcons = '';
747
  }
748
+ if( isset($paramSocialOption['position']) && $paramSocialOption['position']=='bottom') {
749
  $BottomSocialIcons = do_shortcode('[wpm_social]');
750
  } else {
751
  $BottomSocialIcons = '';
752
  }
753
+ if( isset($paramMMode['image']) && $paramMMode['image'] ) {
754
  if( ini_get('allow_url_fopen')==1) {
755
  $image_path = str_replace(get_bloginfo('url'), ABSPATH, $paramMMode['image']);
756
  list($logoWidth, $logoHeight, $logoType, $logoAttr) = getimagesize($image_path);
762
  } else {
763
  $LogoImage = '';
764
  }
765
+
766
+ if( isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='' ) {
767
  $TextCopyright = stripslashes($paramMMode['text_bt_maintenance']);
768
  } else {
769
  $TextCopyright = '';
771
  if( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) {
772
  $textLogin = str_replace('%DASHBOARD%', '<a href="'.get_admin_url().'">'.__('Dashboard', 'wp-maintenance').'</a>', $paramMMode['add_wplogin_title']);
773
  $TextCopyright .= '<br />'.$textLogin;
774
+
775
  }
776
+ if( isset($paramMMode['titre_maintenance']) && $paramMMode['titre_maintenance']!='' ) {
777
  $Titre = stripslashes($paramMMode['titre_maintenance']);
778
  } else {
779
  $Titre = '';
780
  }
781
+ if( isset($paramMMode['text_maintenance']) && $paramMMode['text_maintenance']!='' ) {
782
  $Texte = stripslashes($paramMMode['text_maintenance']);
783
  } else {
784
  $Texte = '';
785
  }
786
  $wysijaStyle = '/* no NEWLETTER Style */';
787
  if( isset($paramMMode['newletter']) && $paramMMode['newletter']==1 && isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' ) {
788
+
789
  if( empty($paramMMode['color_field_text']) ) { $paramMMode['color_field_text'] = '#333333'; }
790
  if( empty($paramMMode['color_text_button']) ) { $paramMMode['color_text_button']= '#ffffff'; }
791
  if( empty($paramMMode['color_field_background']) ) { $paramMMode['color_field_background']= '#F1F1F1'; }
793
  if( empty($paramMMode['color_button_onclick']) ) { $paramMMode['color_button_onclick']= '#333333'; }
794
  if( empty($paramMMode['color_button_hover']) ) { $paramMMode['color_button_hover']= '#cccccc'; }
795
  if( empty($paramMMode['color_button']) ) { $paramMMode['color_button']= '#1e73be'; }
796
+
797
  $wysijaRemplacements = array (
798
  "#_COLORTXT" => $paramMMode['color_field_text'],
799
  "#_COLORBG" => $paramMMode['color_field_background'],
803
  "#_COLOR_BTN_HOVER" => $paramMMode['color_button_hover'],
804
  "#_COLOR_BTN_CLICK" => $paramMMode['color_button_onclick']
805
  );
806
+
807
  if( strpos($paramMMode['code_newletter'], 'wysija_form') == 1 ) {
808
+
809
  $wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_wysija_style() );
810
+
811
  } else if( strpos($paramMMode['code_newletter'], 'mc4wp_form') == 1 ) {
812
+
813
  $wysijaStyle = str_replace(array_keys($wysijaRemplacements), array_values($wysijaRemplacements), wpm_mc4wp_style() );
814
+
815
  }
816
  $newLetter = '<div class="wpm_newletter">'.stripslashes($paramMMode['title_newletter']);
817
  if( isset($paramMMode['type_newletter']) && isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' && $paramMMode['type_newletter']=='iframe' ) {
818
+ $newLetter .= stripslashes($paramMMode['iframe_newletter']);
819
  }
820
  if( isset($paramMMode['type_newletter']) && isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' && $paramMMode['type_newletter']=='shortcode' ) {
821
  $newLetter .= do_shortcode(stripslashes($paramMMode['code_newletter']));
822
  }
823
  $newLetter .= '</div>';
824
  }
825
+
826
  $optionBackground = '';
827
  $addBImage = '';
828
  if( (isset($paramMMode['b_image']) && $paramMMode['b_image']) && (isset($paramMMode['b_enable_image']) && $paramMMode['b_enable_image']==1) ) {
829
  if( isset($paramMMode['b_repeat_image']) || $paramMMode['b_repeat_image']=='') { $paramMMode['b_repeat_image'] = 'repeat'; }
830
+ if( isset($paramMMode['b_fixed_image']) && $paramMMode['b_fixed_image']==1 ) {
831
  $optionBackground = 'background-attachment:fixed;';
832
  }
833
  $addBImage = '
849
  '.$optionBackground.'
850
  }'; }
851
 
852
+
853
+
854
  /*********** AJOUT DU STYLE SUIVANT LES PARAMETRES *********/
855
  $wpmFonts = '
856
  @import url(https://fonts.googleapis.com/css?family='.str_replace(' ', '+', $paramMMode['font_title']).'|'.str_replace(' ', '+',$paramMMode['font_text']).'|'.str_replace(' ', '+',$paramMMode['font_text_bottom']).'|'.str_replace(' ', '+',$paramMMode['font_cpt']);
858
  $wpmFonts .= '|'.str_replace(' ', '+',$paramMMode['newletter_font_text']);
859
  }
860
  $wpmFonts .= ');';
861
+
862
  /* Si on a une couleur de fond */
863
  if( isset($paramMMode['color_bg']) && $paramMMode['color_bg']!='' ) {
864
  $wpmStyle .= 'body { background-color: '.$paramMMode['color_bg'].'; }';
865
  }
866
+
867
  $wpmStyle .= ''.$addBImage.'
868
  .wpm_social_icon {
869
  float:left;
877
  text-align: '.$paramSocialOption['align'].';
878
  }
879
  ';
880
+ $wpmStyle .= '
881
  .wpm_newletter {';
882
  if( isset($paramMMode['newletter_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['newletter_size'].'px;'; }
883
  if( isset($paramMMode['newletter_font_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['newletter_font_style'].';'; }
897
  text-align:center;
898
  margin:0.5em auto;
899
  }
900
+ p {';
901
  if( isset($paramMMode['font_text']) ) { $wpmStyle .= 'font-family: '.wpm_format_font($paramMMode['font_text']).', serif;'; }
902
  if( isset($paramMMode['font_text_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_text_size'].'px;'; }
903
  if( isset($paramMMode['font_text_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['font_text_style'].';'; }
904
  if( isset($paramMMode['font_text_weigth']) ) { $wpmStyle .= 'font-weight: '.$paramMMode['font_text_weigth'].';'; }
905
  if( isset($paramMMode['color_txt']) ) { $wpmStyle .= 'color:'.$paramMMode['color_txt'].';'; }
906
+ $wpmStyle .= '
907
  line-height: 100%;
908
  text-align:center;
909
  margin:0.5em auto;
910
  padding-left:2%;
911
  padding-right:2%;
912
+
913
  }';
914
  if( (isset($paramMMode['text_bt_maintenance']) && $paramMMode['text_bt_maintenance']!='') or ( (isset($paramMMode['add_wplogin']) && $paramMMode['add_wplogin']==1) && (isset($paramMMode['add_wplogin_title']) && $paramMMode['add_wplogin_title']!='') ) ) {
915
  $wpmStyle .= '#footer {';
916
  if( isset($paramMMode['color_bg_bottom']) ) { $wpmStyle .= 'background:'.$paramMMode['color_bg_bottom'].';'; }
917
  $wpmStyle .= '}';
918
  }
919
+ $wpmStyle .= '
920
  div.bloc {';
921
  if( isset($paramMMode['font_text_bottom']) ) { $wpmStyle .= 'font-family: '.wpm_format_font($paramMMode['font_text_bottom']).', serif;'; }
922
  if( isset($paramMMode['font_bottom_style']) ) { $wpmStyle .= 'font-style: '.$paramMMode['font_bottom_style'].';'; }
929
  div.bloc a:link {';
930
  if( isset($paramMMode['color_text_bottom']) ) { $wpmStyle .= 'color:'.$paramMMode['color_text_bottom'].';'; }
931
  if( isset($paramMMode['font_bottom_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_bottom_size'].'px;'; }
932
+ $wpmStyle .= '
933
  text-decoration:none;
934
  }
935
  div.bloc a:visited {';
936
  if( isset($paramMMode['color_text_bottom']) ) { $wpmStyle .= 'color:'.$paramMMode['color_text_bottom'].';'; }
937
  if( isset($paramMMode['font_bottom_size']) ) { $wpmStyle .= 'font-size: '.$paramMMode['font_bottom_size'].'px;'; }
938
+ $wpmStyle .= '
939
  text-decoration:none;
940
  }
941
  div.bloc a:hover {
945
  }
946
 
947
 
948
+
949
  ';
950
 
951
  $addCssSlider = WPM_Slider::slider_css();
952
  $addScriptSlider = WPM_Slider::slider_scripts();
953
  $addScriptSlideshow = WPM_Slider::slider_functions();
954
  $Counter = WPM_Countdown::display($dateCpt);
955
+
956
  $wpmStyle = $wpmStyle.WPM_Countdown::css();
957
+
958
  $tplRemplacements = array (
959
  "%TITLE%" => get_bloginfo( 'name', 'display' ).' '.get_bloginfo( 'description', 'display' ),
960
  "%ANALYTICS%" => $CodeAnalytics,
980
  "%SLIDESHOWBT%" => WPM_Slider::slidershow('belowtext')
981
  );
982
  $template_page = str_replace(array_keys($tplRemplacements), array_values($tplRemplacements), $template_page );
983
+
984
  $content = $template_page;
985
  }
986
  die($content);
987
  }
988
 
989
+ }
990
+
991
  }
992
 
993
 
994
+ ?>
css/wpm-admin.css CHANGED
@@ -1,6 +1,8 @@
1
- /* Checkbox animés */
2
-
3
- /* Fin checkbox animés */
 
 
4
 
5
  .switch-field {
6
  font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
@@ -165,5 +167,26 @@
165
  -moz-border-radius-bottomleft:10px;
166
  border-bottom-left-radius:10px;
167
  }
168
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
 
1
+ body#tinymce.wp-editor {
2
+ font-size: 0.9rem;
3
+ margin: 10px;
4
+ max-width: 100%;
5
+ }
6
 
7
  .switch-field {
8
  font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
167
  -moz-border-radius-bottomleft:10px;
168
  border-bottom-left-radius:10px;
169
  }
170
+ .postbox, .bottom-notices {
171
+ width: 75%;
172
+ box-shadow: none;
173
+ -webkit-box-shadow: none;
174
+ }
175
+ .postbox .hndle {
176
+ padding: 5px 5px 15px 5px;
177
+ }
178
+ .postbox .hndle span {
179
+ font-size: 25px;
180
+ }
181
+ .postbox .hndle .postbox-title-action {
182
+ font-size:12px;
183
+ font-style:italic;
184
+ padding-left:5px;
185
+ }
186
+ .inside {
187
+ display: none;
188
+ }
189
+ .inside.openinside {
190
+ display: block;
191
+ }
192
 
languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
- "POT-Creation-Date: 2017-04-04 17:25+0100\n"
5
- "PO-Revision-Date: 2017-04-04 17:29+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
@@ -45,66 +45,75 @@ msgstr "Précédent"
45
  msgid "Next"
46
  msgstr "Suivant"
47
 
48
- #: classes/wp-maintenance.php:43 classes/wp-maintenance.php:274
49
  msgid "This site is down for maintenance"
50
  msgstr "Ce site est fermé pour maintenance"
51
 
52
- #: classes/wp-maintenance.php:44 classes/wp-maintenance.php:275
53
  msgid "Come back quickly!"
54
  msgstr "Nous revenons rapidement !"
55
 
56
- #: classes/wp-maintenance.php:148 classes/wp-maintenance.php:264
57
- #: views/wp-maintenance-admin.php:129 views/wp-maintenance-settings.php:30
58
  msgid "Settings"
59
  msgstr "Réglages"
60
 
61
- #: classes/wp-maintenance.php:207
62
  msgid "Maintenance mode activated!"
63
  msgstr "Maintenance activée !"
64
 
65
- #: classes/wp-maintenance.php:254 views/wp-maintenance-admin.php:124
66
- #: views/wp-maintenance-dashboard.php:47
67
  msgid "General"
68
  msgstr "Général"
69
 
70
- #: classes/wp-maintenance.php:256 views/wp-maintenance-admin.php:125
71
- #: views/wp-maintenance-colors.php:34
72
  msgid "Colors & Fonts"
73
  msgstr "Coleurs & Polices"
74
 
75
- #: classes/wp-maintenance.php:258
76
  msgid "Pictures"
77
  msgstr "Images"
78
 
79
- #: classes/wp-maintenance.php:260 views/wp-maintenance-admin.php:127
80
  msgid "CountDown"
81
  msgstr "Compte à rebours"
82
 
83
- #: classes/wp-maintenance.php:262 views/wp-maintenance-admin.php:128
84
- #: views/wp-maintenance-css.php:36
85
  msgid "CSS Style"
86
  msgstr "Style CSS"
87
 
88
- #: classes/wp-maintenance.php:394
89
  msgid "Choose This Image"
90
  msgstr "Choisir cette image"
91
 
92
- #: classes/wp-maintenance.php:395
93
  msgid "Choose Image"
94
  msgstr "Choisir une image"
95
 
96
- #: classes/wp-maintenance.php:411 classes/wp-maintenance.php:419
97
- #: classes/wp-maintenance.php:427 classes/wp-maintenance.php:436
98
- #: classes/wp-maintenance.php:445 classes/wp-maintenance.php:454
99
  msgid "You do not have sufficient privileges to access this page."
100
  msgstr ""
101
  "Vous n'avez pas les autorisations suffisantes pour accéder à cette page."
102
 
103
- #: classes/wp-maintenance.php:693
 
 
 
 
 
 
 
 
 
 
 
 
104
  msgid "Dashboard"
105
  msgstr "Tableau de bord"
106
 
107
- #: includes/functions.php:25 views/wp-maintenance-admin.php:35
108
  msgid "Options saved."
109
  msgstr "Options sauvegardées."
110
 
@@ -147,11 +156,11 @@ msgstr ""
147
  "Elle est libre de droits, vous pouvez la prendre, la modifier, la distribuer "
148
  "comme bon vous semble."
149
 
150
- #: includes/functions.php:139 views/wp-maintenance-admin.php:934
151
  msgid "Visit"
152
  msgstr "Visitez"
153
 
154
- #: includes/functions.php:139 views/wp-maintenance-admin.php:934
155
  msgid ""
156
  "try the demo of the plugin, talk about this plugin to your surroundings!"
157
  msgstr "essayez la démo de cette extension et parlez-en à votre entourage !"
@@ -165,463 +174,312 @@ msgid "DISCOVER"
165
  msgstr "DÉCOUVRIR"
166
 
167
  #. Plugin Name of the plugin/theme
168
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
169
  msgid "WP Maintenance"
170
  msgstr "WP Maintenance"
171
 
172
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
173
  msgid "is brought to you by"
174
  msgstr "vous est proposé par"
175
 
176
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
177
  msgid "If you found this plugin useful"
178
  msgstr "Si vous avez trouvé cette extension utile"
179
 
180
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
181
  msgid "give it 5 &#9733; on WordPress.org"
182
  msgstr "donnez-lui 5 &#9733; sur WordPress.org"
183
 
184
- #: views/wp-maintenance-admin.php:74
185
- msgid "The Style Sheet has been reset!"
186
- msgstr "La feuille de style a bien été réinitilisée !"
187
-
188
- #: views/wp-maintenance-admin.php:119
189
- msgid "WP Maintenance Settings"
190
- msgstr "Paramètres WP Maintenance"
191
-
192
- #: views/wp-maintenance-admin.php:126 views/wp-maintenance-picture.php:60
193
- msgid "Picture"
194
- msgstr "Image"
195
-
196
- #: views/wp-maintenance-admin.php:130
197
- msgid "About"
198
- msgstr "A propos"
199
-
200
- #: views/wp-maintenance-admin.php:143 views/wp-maintenance-dashboard.php:55
201
- msgid "Enable maintenance mode:"
202
- msgstr "Activer le mode maintenance :"
203
-
204
- #: views/wp-maintenance-admin.php:144 views/wp-maintenance-admin.php:200
205
- #: views/wp-maintenance-admin.php:210 views/wp-maintenance-admin.php:277
206
- #: views/wp-maintenance-admin.php:571 views/wp-maintenance-admin.php:575
207
- #: views/wp-maintenance-admin.php:669 views/wp-maintenance-admin.php:854
208
- #: views/wp-maintenance-colors.php:109 views/wp-maintenance-countdown.php:58
209
- #: views/wp-maintenance-countdown.php:96 views/wp-maintenance-countdown.php:108
210
- #: views/wp-maintenance-css.php:57 views/wp-maintenance-dashboard.php:59
211
- #: views/wp-maintenance-dashboard.php:119
212
- #: views/wp-maintenance-dashboard.php:143
213
- #: views/wp-maintenance-dashboard.php:166
214
- #: views/wp-maintenance-dashboard.php:243 views/wp-maintenance-picture.php:92
215
- #: views/wp-maintenance-picture.php:152 views/wp-maintenance-picture.php:184
216
- #: views/wp-maintenance-picture.php:191 views/wp-maintenance-settings.php:42
217
- #: views/wp-maintenance-settings.php:61
218
- msgid "Yes"
219
- msgstr "Oui"
220
-
221
- #: views/wp-maintenance-admin.php:145 views/wp-maintenance-admin.php:572
222
- #: views/wp-maintenance-admin.php:576 views/wp-maintenance-admin.php:855
223
- #: views/wp-maintenance-colors.php:111 views/wp-maintenance-countdown.php:60
224
- #: views/wp-maintenance-countdown.php:98 views/wp-maintenance-countdown.php:110
225
- #: views/wp-maintenance-css.php:59 views/wp-maintenance-dashboard.php:61
226
- #: views/wp-maintenance-dashboard.php:121
227
- #: views/wp-maintenance-dashboard.php:145
228
- #: views/wp-maintenance-dashboard.php:168
229
- #: views/wp-maintenance-dashboard.php:245 views/wp-maintenance-picture.php:94
230
- #: views/wp-maintenance-picture.php:154 views/wp-maintenance-picture.php:186
231
- #: views/wp-maintenance-picture.php:193 views/wp-maintenance-settings.php:44
232
- #: views/wp-maintenance-settings.php:63
233
- msgid "No"
234
- msgstr "Non"
235
-
236
- #: views/wp-maintenance-admin.php:149 views/wp-maintenance-dashboard.php:69
237
- msgid "Title and text for the maintenance page:"
238
- msgstr "Titre et Texte de la page maintenance :"
239
-
240
- #: views/wp-maintenance-admin.php:150 views/wp-maintenance-dashboard.php:70
241
- msgid "Title:"
242
- msgstr "Titre :"
243
-
244
- #: views/wp-maintenance-admin.php:153 views/wp-maintenance-admin.php:173
245
- #: views/wp-maintenance-admin.php:618 views/wp-maintenance-dashboard.php:71
246
- #: views/wp-maintenance-picture.php:238
247
- msgid "Text:"
248
- msgstr "Texte :"
249
-
250
- #: views/wp-maintenance-admin.php:172 views/wp-maintenance-dashboard.php:91
251
- msgid "Text in the bottom of maintenance page:"
252
- msgstr "Texte du bas de la page de maintenance :"
253
-
254
- #: views/wp-maintenance-admin.php:192 views/wp-maintenance-dashboard.php:115
255
- msgid "Enable login access in the bottom ?"
256
- msgstr "Permettre l’accès de connexion en bas de page ?"
257
-
258
- #: views/wp-maintenance-admin.php:193 views/wp-maintenance-dashboard.php:129
259
- msgid "Enter a text to go to the dashboard:"
260
- msgstr "Entrer une phrase pour aller au tableau de bord :"
261
-
262
- #: views/wp-maintenance-admin.php:195 views/wp-maintenance-dashboard.php:131
263
- msgid "Eg: connect to %DASHBOARD% here!"
264
- msgstr "Ex : Connectez-vous au %DASHBOARD% !"
265
-
266
- #: views/wp-maintenance-admin.php:195 views/wp-maintenance-dashboard.php:131
267
- msgid ""
268
- "(%DASHBOARD% will be replaced with the link to the dashboard and the word "
269
- "\"Dashboard\")"
270
- msgstr ""
271
- "(%DASHBOARD% sera remplacé par le mot \"Tableau de bord\" et le lien vers "
272
- "celui-ci)"
273
-
274
- #: views/wp-maintenance-admin.php:199 views/wp-maintenance-dashboard.php:139
275
- msgid "Enable Google Analytics:"
276
- msgstr "Activer Google Analytics :"
277
-
278
- #: views/wp-maintenance-admin.php:201 views/wp-maintenance-dashboard.php:153
279
- msgid "Enter your Google analytics tracking ID here:"
280
- msgstr "Enter votre ID de suivi de Google Analytics ici :"
281
-
282
- #: views/wp-maintenance-admin.php:203 views/wp-maintenance-dashboard.php:155
283
- msgid "Enter your domain URL:"
284
- msgstr "Entrer l'URL de votre domaine :"
285
-
286
- #: views/wp-maintenance-admin.php:209 views/wp-maintenance-dashboard.php:162
287
- msgid "Enable Social Networks:"
288
- msgstr "Activer les réseaux sociaux :"
289
-
290
- #: views/wp-maintenance-admin.php:211 views/wp-maintenance-dashboard.php:176
291
- msgid "Enter text for the title icons:"
292
- msgstr "Entrez un texte pour la balise title des icônes :"
293
-
294
- #: views/wp-maintenance-admin.php:212 views/wp-maintenance-dashboard.php:177
295
- msgid "Follow me on"
296
- msgstr "Suivez-moi sur"
297
-
298
- #: views/wp-maintenance-admin.php:214 views/wp-maintenance-dashboard.php:179
299
- msgid "Drad and drop the lines to put in the order you want:"
300
- msgstr ""
301
- "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
302
-
303
- #: views/wp-maintenance-admin.php:241 views/wp-maintenance-dashboard.php:206
304
- msgid "Choose icons size:"
305
- msgstr "Choisissez la taille des icônes :"
306
-
307
- #: views/wp-maintenance-admin.php:253 views/wp-maintenance-admin.php:579
308
- #: views/wp-maintenance-dashboard.php:217 views/wp-maintenance-picture.php:199
309
- msgid "Position:"
310
- msgstr "Position :"
311
-
312
- #: views/wp-maintenance-admin.php:255 views/wp-maintenance-dashboard.php:219
313
- msgid "Top"
314
- msgstr "Haut"
315
-
316
- #: views/wp-maintenance-admin.php:256 views/wp-maintenance-dashboard.php:220
317
- msgid "Bottom"
318
- msgstr "Bas"
319
-
320
- #: views/wp-maintenance-admin.php:260 views/wp-maintenance-dashboard.php:223
321
- msgid "Align:"
322
- msgstr "Alignement :"
323
-
324
- #: views/wp-maintenance-admin.php:262 views/wp-maintenance-dashboard.php:225
325
- msgid "Left"
326
- msgstr "Gauche"
327
-
328
- #: views/wp-maintenance-admin.php:263 views/wp-maintenance-dashboard.php:226
329
- msgid "Center"
330
- msgstr "Centre"
331
-
332
- #: views/wp-maintenance-admin.php:264 views/wp-maintenance-dashboard.php:227
333
- msgid "Right"
334
- msgstr "Droite"
335
-
336
- #: views/wp-maintenance-admin.php:267 views/wp-maintenance-dashboard.php:230
337
- msgid "You have your own icons? Enter the folder name of your theme here:"
338
- msgstr ""
339
- "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
340
-
341
- #: views/wp-maintenance-admin.php:270 views/wp-maintenance-dashboard.php:232
342
- msgid "Reset Social Icon?"
343
- msgstr "Réinitialiser les icônes des réseaux sociaux ?"
344
-
345
- #: views/wp-maintenance-admin.php:276 views/wp-maintenance-dashboard.php:239
346
- msgid "Enable Newletter:"
347
- msgstr "Activer l'encart de newletter :"
348
-
349
- #: views/wp-maintenance-admin.php:278 views/wp-maintenance-dashboard.php:253
350
- msgid "Enter title for the newletter block:"
351
- msgstr "Entrez un titre pour l'encart de la newsletter :"
352
-
353
- #: views/wp-maintenance-admin.php:280 views/wp-maintenance-dashboard.php:255
354
- msgid "Enter your newletter shortcode here:"
355
- msgstr "Entrez le Shortcode de la newletter ici :"
356
-
357
- #: views/wp-maintenance-admin.php:282 views/wp-maintenance-dashboard.php:257
358
- msgid "Or enter your newletter iframe code here:"
359
- msgstr "Ou entrez le code iframe de la newsletter ici :"
360
-
361
- #: views/wp-maintenance-admin.php:304 views/wp-maintenance-colors.php:44
362
  msgid "Choice general colors:"
363
  msgstr "Choix des couleurs générales :"
364
 
365
- #: views/wp-maintenance-admin.php:305 views/wp-maintenance-colors.php:45
366
  msgid "Background page color:"
367
  msgstr "Couleur du fond de page :"
368
 
369
- #: views/wp-maintenance-admin.php:306 views/wp-maintenance-colors.php:46
370
  msgid "Header color:"
371
  msgstr "Couleur d'entête :"
372
 
373
- #: views/wp-maintenance-admin.php:310 views/wp-maintenance-colors.php:49
374
  msgid "Choice texts fonts and colors:"
375
  msgstr "Choix des polices et couleurs des textes :"
376
 
377
- #: views/wp-maintenance-admin.php:311 views/wp-maintenance-colors.php:50
378
  msgid "Text color:"
379
  msgstr "Couleur du texte :"
380
 
381
- #: views/wp-maintenance-admin.php:313 views/wp-maintenance-colors.php:52
382
  msgid "Title font settings"
383
  msgstr "Paramètres de la police du titre"
384
 
385
- #: views/wp-maintenance-admin.php:327 views/wp-maintenance-admin.php:348
386
- #: views/wp-maintenance-admin.php:387 views/wp-maintenance-admin.php:418
387
- #: views/wp-maintenance-admin.php:437 views/wp-maintenance-colors.php:66
388
- #: views/wp-maintenance-colors.php:87 views/wp-maintenance-colors.php:135
389
- #: views/wp-maintenance-colors.php:154 views/wp-maintenance-colors.php:186
390
  msgid "Size:"
391
  msgstr "Taille :"
392
 
393
- #: views/wp-maintenance-admin.php:343 views/wp-maintenance-admin.php:382
394
  #: views/wp-maintenance-colors.php:82 views/wp-maintenance-colors.php:149
395
  msgid "Text font settings"
396
  msgstr "Paramètres de la police du texte"
397
 
398
- #: views/wp-maintenance-admin.php:364
399
- msgid "Frame settings"
400
- msgstr "Paramètres du cadre"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
401
 
402
- #: views/wp-maintenance-admin.php:366
403
- msgid "Activate"
404
- msgstr "Activé"
 
 
 
 
 
 
 
 
 
 
405
 
406
- #: views/wp-maintenance-admin.php:366 views/wp-maintenance-colors.php:116
407
  msgid "Color:"
408
  msgstr "Couleur :"
409
 
410
- #: views/wp-maintenance-admin.php:367 views/wp-maintenance-colors.php:117
411
  msgid "Opacity:"
412
  msgstr "Opacité :"
413
 
414
- #: views/wp-maintenance-admin.php:369 views/wp-maintenance-admin.php:567
415
  #: views/wp-maintenance-colors.php:119 views/wp-maintenance-picture.php:176
416
  msgid "Width:"
417
  msgstr "Largeur :"
418
 
419
- #: views/wp-maintenance-admin.php:377 views/wp-maintenance-colors.php:144
420
- msgid "Choice fonts and colors bottom page:"
421
- msgstr "Choix des polices et couleurs du bas de page :"
422
-
423
- #: views/wp-maintenance-admin.php:378 views/wp-maintenance-colors.php:145
424
- msgid "Bottom color:"
425
- msgstr "Couleur du fond :"
426
-
427
- #: views/wp-maintenance-admin.php:379 views/wp-maintenance-colors.php:146
428
- msgid "Text bottom color:"
429
- msgstr "Couleur du texte :"
430
-
431
- #: views/wp-maintenance-admin.php:406 views/wp-maintenance-colors.php:126
432
  msgid "Choice countdown fonts and colors:"
433
  msgstr "Choix des polices et couleurs du compte à rebours :"
434
 
435
- #: views/wp-maintenance-admin.php:407 views/wp-maintenance-colors.php:127
436
  msgid "Countdown text color:"
437
  msgstr "Couleur du texte du compteur :"
438
 
439
- #: views/wp-maintenance-admin.php:408 views/wp-maintenance-colors.php:128
440
  msgid "Countdown background color:"
441
  msgstr "Couleur du fond du compteur :"
442
 
443
- #: views/wp-maintenance-admin.php:413 views/wp-maintenance-colors.php:130
444
  msgid "Countdown font settings"
445
  msgstr "Paramètres de la police du compte à rebours"
446
 
447
- #: views/wp-maintenance-admin.php:430 views/wp-maintenance-colors.php:171
 
 
 
 
 
 
 
 
 
 
 
 
448
  msgid "Choice form color:"
449
  msgstr "Choisir les couleurs du formulaire :"
450
 
451
- #: views/wp-maintenance-admin.php:451 views/wp-maintenance-colors.php:200
452
  msgid "Field text color:"
453
  msgstr "Couleur du texte dans les champs :"
454
 
455
- #: views/wp-maintenance-admin.php:453 views/wp-maintenance-colors.php:202
456
  msgid "Field border color:"
457
  msgstr "Couleur de bordure des champs :"
458
 
459
- #: views/wp-maintenance-admin.php:455 views/wp-maintenance-colors.php:204
460
  msgid "Field background color:"
461
  msgstr "Couleur de fond des champs :"
462
 
463
- #: views/wp-maintenance-admin.php:458 views/wp-maintenance-colors.php:207
464
  msgid "Button text color:"
465
  msgstr "Couleur du texte dans le bouton :"
466
 
467
- #: views/wp-maintenance-admin.php:461 views/wp-maintenance-colors.php:210
468
  msgid "Button color:"
469
  msgstr "Couleur du bouton :"
470
 
471
- #: views/wp-maintenance-admin.php:464 views/wp-maintenance-colors.php:213
472
  msgid "Button color hover:"
473
  msgstr "Couleur du bouton au survol :"
474
 
475
- #: views/wp-maintenance-admin.php:466 views/wp-maintenance-colors.php:215
476
  msgid "Button color onclick:"
477
  msgstr "Couleur du bouton au click :"
478
 
479
- #: views/wp-maintenance-admin.php:498
480
- msgid "Upload a picture"
481
- msgstr "Mettre en ligne une image"
482
-
483
- #: views/wp-maintenance-admin.php:500 views/wp-maintenance-picture.php:81
484
- msgid "You use this picture:"
485
- msgstr "Image actuelle :"
486
-
487
- #: views/wp-maintenance-admin.php:502 views/wp-maintenance-admin.php:520
488
- #: views/wp-maintenance-picture.php:76 views/wp-maintenance-picture.php:104
489
- msgid "Enter a URL or upload an image."
490
- msgstr "Entrez une url ou mettez en ligne une image."
491
-
492
- #: views/wp-maintenance-admin.php:503 views/wp-maintenance-admin.php:519
493
- #: views/wp-maintenance-admin.php:589 views/wp-maintenance-picture.php:77
494
- #: views/wp-maintenance-picture.php:105 views/wp-maintenance-picture.php:209
495
- msgid "Select or Upload your picture"
496
- msgstr "Sélectionnez / Mettre en ligne votre image"
497
-
498
- #: views/wp-maintenance-admin.php:509
499
- msgid "Upload a background picture"
500
- msgstr "Mettre en ligne une image de fond"
501
-
502
- #: views/wp-maintenance-admin.php:510
503
- msgid "Enable image background"
504
- msgstr "Activer l'image de fond"
505
-
506
- #: views/wp-maintenance-admin.php:512 views/wp-maintenance-picture.php:116
507
- msgid "You use this background picture:"
508
- msgstr "Image de fond actuelle :"
509
-
510
- #: views/wp-maintenance-admin.php:516 views/wp-maintenance-picture.php:140
511
- msgid "You use this pattern:"
512
- msgstr "Vous utilisez ce modèle :"
513
-
514
- #: views/wp-maintenance-admin.php:521 views/wp-maintenance-picture.php:124
515
- msgid "Or choose a pattern:"
516
- msgstr "Ou choisissez un pattern de fond :"
517
-
518
- #: views/wp-maintenance-admin.php:525 views/wp-maintenance-picture.php:127
519
- msgid "NO PATTERN"
520
- msgstr "AUCUN PATTERN"
521
-
522
- #: views/wp-maintenance-admin.php:538 views/wp-maintenance-picture.php:106
523
- msgid "Background picture options"
524
- msgstr "Options de l'image de fond"
525
-
526
- #: views/wp-maintenance-admin.php:545 views/wp-maintenance-picture.php:112
527
- msgid "Fixed"
528
- msgstr "Fixe"
529
-
530
- #: views/wp-maintenance-admin.php:550 views/wp-maintenance-picture.php:161
531
- msgid "Slider image options"
532
- msgstr "Options du Slider"
533
-
534
- #: views/wp-maintenance-admin.php:551 views/wp-maintenance-picture.php:148
535
- msgid "Enable Slider"
536
- msgstr "Activer le Slider"
537
-
538
- #: views/wp-maintenance-admin.php:566 views/wp-maintenance-picture.php:175
539
- msgid "Speed:"
540
- msgstr "Vitesse :"
541
-
542
- #: views/wp-maintenance-admin.php:570 views/wp-maintenance-picture.php:181
543
- msgid "Display Auto Slider:"
544
- msgstr "Afficher le Slider en auto :"
545
-
546
- #: views/wp-maintenance-admin.php:574 views/wp-maintenance-picture.php:188
547
- msgid "Display button navigation:"
548
- msgstr "Afficher les boutons navigation :"
549
-
550
- #: views/wp-maintenance-admin.php:581 views/wp-maintenance-picture.php:201
551
- msgid "Above logo"
552
- msgstr "Au-dessus du logo"
553
-
554
- #: views/wp-maintenance-admin.php:582 views/wp-maintenance-picture.php:202
555
- msgid "Below logo"
556
- msgstr "Au-dessous du logo"
557
 
558
- #: views/wp-maintenance-admin.php:583 views/wp-maintenance-picture.php:203
559
- msgid "Below title & text"
560
- msgstr "Au-dessous du titre & texte"
561
 
562
- #: views/wp-maintenance-admin.php:619 views/wp-maintenance-picture.php:239
563
- msgid "Link:"
564
- msgstr "Lien :"
 
565
 
566
- #: views/wp-maintenance-admin.php:622 views/wp-maintenance-picture.php:242
567
- msgid "Delete this slide"
568
- msgstr "Supprimer ce slide"
569
 
570
- #: views/wp-maintenance-admin.php:668 views/wp-maintenance-countdown.php:50
571
  msgid "Enable a countdown ?"
572
  msgstr "Activer le compte à rebours ?"
573
 
574
- #: views/wp-maintenance-admin.php:687 views/wp-maintenance-countdown.php:89
 
 
 
 
575
  msgid "Select the launch date/time"
576
  msgstr "Sélectionner une date et heure de lancement"
577
 
578
- #: views/wp-maintenance-admin.php:690 views/wp-maintenance-countdown.php:101
 
 
 
 
579
  msgid "Enable seconds ?"
580
  msgstr "Afficher les secondes ?"
581
 
582
- #: views/wp-maintenance-admin.php:691 views/wp-maintenance-countdown.php:113
583
  msgid "Disable maintenance mode at the end of the countdown?"
584
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
585
 
586
- #: views/wp-maintenance-admin.php:692 views/wp-maintenance-countdown.php:117
587
  msgid "End message:"
588
  msgstr "Message de fin :"
589
 
590
- #: views/wp-maintenance-admin.php:708 views/wp-maintenance-countdown.php:151
591
- msgid "Today"
592
- msgstr "Aujourd'hui"
593
-
594
- #: views/wp-maintenance-admin.php:709 views/wp-maintenance-countdown.php:152
595
- msgid "Delete"
596
- msgstr "Supprimer"
597
 
598
- #: views/wp-maintenance-admin.php:710 views/wp-maintenance-admin.php:729
599
- #: views/wp-maintenance-countdown.php:153
600
- #: views/wp-maintenance-countdown.php:172
601
- msgid "Close"
602
- msgstr "Fermer"
603
 
604
- #: views/wp-maintenance-admin.php:713 views/wp-maintenance-countdown.php:156
605
- msgid "Next month"
606
- msgstr "Mois suivant"
607
 
608
- #: views/wp-maintenance-admin.php:714 views/wp-maintenance-countdown.php:157
609
- msgid "Previous month"
610
- msgstr "Mois précédent"
611
 
612
- #: views/wp-maintenance-admin.php:715 views/wp-maintenance-countdown.php:158
613
- msgid "Select a month"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  msgstr "Sélectionner un mois"
615
 
616
- #: views/wp-maintenance-admin.php:716 views/wp-maintenance-countdown.php:159
617
  msgid "Select a year"
618
  msgstr "Sélectionner une année"
619
 
620
- #: views/wp-maintenance-admin.php:759
621
- msgid "CSS style sheet code:"
622
- msgstr "Code style CSS :"
623
-
624
- #: views/wp-maintenance-admin.php:760 views/wp-maintenance-css.php:45
625
  msgid ""
626
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
627
  "\" to retrieve the default style sheet."
@@ -629,259 +487,290 @@ msgstr ""
629
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
630
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
631
 
632
- #: views/wp-maintenance-admin.php:770 views/wp-maintenance-css.php:68
 
 
 
 
633
  msgid "Markers for colors"
634
  msgstr "Marqueurs pour les couleurs"
635
 
636
- #: views/wp-maintenance-admin.php:775 views/wp-maintenance-css.php:73
637
  msgid "Use this code for text color"
638
  msgstr "Utiliser ce code pour la couleur du texte"
639
 
640
- #: views/wp-maintenance-admin.php:779 views/wp-maintenance-css.php:77
641
  msgid "Use this code for background text color"
642
  msgstr "Utiliser ce code pour la couleur de fond du texte"
643
 
644
- #: views/wp-maintenance-admin.php:783 views/wp-maintenance-css.php:81
645
  msgid "Use this code for background color countdown"
646
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
647
 
648
- #: views/wp-maintenance-admin.php:787 views/wp-maintenance-css.php:85
649
  msgid "Use this code for size countdown"
650
  msgstr "Utiliser ce code pour la taille du compte à rebours"
651
 
652
- #: views/wp-maintenance-admin.php:791 views/wp-maintenance-css.php:89
653
  msgid "Use this code for countdown color"
654
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
655
 
656
- #: views/wp-maintenance-admin.php:796 views/wp-maintenance-css.php:94
657
  msgid "Need CSS code for MailPoet plugin?"
658
  msgstr "Besoin de code CSS pour le plugin MailPoet ?"
659
 
660
- #: views/wp-maintenance-admin.php:797 views/wp-maintenance-admin.php:812
661
  #: views/wp-maintenance-css.php:95 views/wp-maintenance-css.php:110
662
  msgid "Click for select all"
663
  msgstr "Cliquez pour tout sélectionner"
664
 
665
- #: views/wp-maintenance-admin.php:811 views/wp-maintenance-css.php:109
666
  msgid "Need CSS code for MailChimp plugin?"
667
  msgstr "Besoin de code CSS pour le plugin MailChimp ?"
668
 
669
- #: views/wp-maintenance-admin.php:833 views/wp-maintenance-css.php:53
670
- msgid "Reset default CSS stylesheet ?"
671
- msgstr "Réinitialiser la feuille de style ?"
672
 
673
- #: views/wp-maintenance-admin.php:852
674
- msgid "Theme maintenance page:"
675
- msgstr "Page maintenance du thème :"
676
 
677
- #: views/wp-maintenance-admin.php:853 views/wp-maintenance-settings.php:38
678
- msgid ""
679
- "If you would use your maintenance.php page in your theme folder, click Yes."
680
- msgstr ""
681
- "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
682
- "votre thème, cliquez sur Oui."
683
 
684
- #: views/wp-maintenance-admin.php:856 views/wp-maintenance-settings.php:51
685
- msgid "You can use this shortcode to include Google Analytics code:"
686
- msgstr ""
687
- "Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
688
- "votre page :"
689
 
690
- #: views/wp-maintenance-admin.php:856 views/wp-maintenance-settings.php:51
691
- msgid "You can use this shortcode to include Social Networks icons:"
692
- msgstr ""
693
- "Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
694
- "sur votre page :"
695
 
696
- #: views/wp-maintenance-admin.php:865 views/wp-maintenance-settings.php:71
697
- msgid "Roles and Capabilities:"
698
- msgstr "Rôles et capacités :"
699
 
700
- #: views/wp-maintenance-admin.php:866 views/wp-maintenance-settings.php:72
701
- msgid "Allow the site to display these roles:"
702
- msgstr "Autoriser l'affichage du site à ces rôles :"
703
 
704
- #: views/wp-maintenance-admin.php:883 views/wp-maintenance-settings.php:91
705
- msgid "IP autorized:"
706
- msgstr "IP autorisées :"
707
 
708
- #: views/wp-maintenance-admin.php:884 views/wp-maintenance-settings.php:92
709
  msgid ""
710
- "Allow the site to display these IP addresses. Please, enter one IP address "
711
- "by line:"
712
  msgstr ""
713
- "Autoriser l'affichage du site à ces adresses IP. Merci d'entrer 1 adresse IP "
714
- "par ligne :"
715
 
716
- #: views/wp-maintenance-admin.php:890 views/wp-maintenance-settings.php:98
717
- msgid "ID pages autorized:"
718
- msgstr "ID de pages autorisées :"
719
 
720
- #: views/wp-maintenance-admin.php:891 views/wp-maintenance-settings.php:99
721
- msgid ""
722
- "Allow the site to display these ID pages. Please, enter the ID pages "
723
- "separate with comma :"
724
- msgstr ""
725
- "Autoriser le site à afficher des pages d'ID. Merci d'entrer les ID de pages "
726
- "séparées par une virgule :"
727
 
728
- #: views/wp-maintenance-admin.php:897 views/wp-maintenance-settings.php:105
729
- msgid "Header Code:"
730
- msgstr "Code pour le header :"
731
 
732
- #: views/wp-maintenance-admin.php:898 views/wp-maintenance-settings.php:106
733
- msgid ""
734
- "The following code will add to the <head> tag. Useful if you need to add "
735
- "additional scripts such as CSS or JS."
736
- msgstr ""
737
- "Le code suivant va être ajouter à la balise <head>. Très utile si vous avez "
738
- "besoin d'ajouter des scripts supplémentaires tels que CSS ou JS."
739
 
740
- #: views/wp-maintenance-admin.php:930
741
- msgid ""
742
- "This plugin has been developed for you for free by <a href=\"https://"
743
- "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</a>. It is royalty "
744
- "free, you can take it, modify it, distribute it as you see fit.<br /><br /"
745
- ">It would be desirable that I can get feedback on your potential changes to "
746
- "improve this plugin for all."
747
- msgstr ""
748
- "Cette extension a été développée gratuitement pour vous par <a href="
749
- "\"https://restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</a>. "
750
- "Elle est libre de droits, vous pouvez la prendre, la modifier, la distribuer "
751
- "comme bon vous semble.<br /><br />Il serait néanmoins souhaitable que je "
752
- "puisse avoir des retours sur vos éventuelles modifications afin d'améliorer "
753
- "cette extension pour tous."
754
 
755
- #: views/wp-maintenance-admin.php:939
756
- msgid ""
757
- "If you want Donate (French Paypal) for my current and future developments:"
 
 
 
758
  msgstr ""
759
- "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
760
 
761
- #: views/wp-maintenance-colors.php:105
762
- msgid "Activate Frame"
763
- msgstr "Activer le cadre"
764
 
765
- #: views/wp-maintenance-colors.php:219
766
- #, php-format
767
- msgid "Enable %s to customize the forms"
768
- msgstr "Activer %s pour personnaliser les formulaires"
769
 
770
- #: views/wp-maintenance-colors.php:219
771
- msgid "newsletter option"
772
- msgstr "options de newsletter"
773
 
774
- #: views/wp-maintenance-colors.php:223
775
- msgid "Enable Mailpoet or MailChimp extensions to customize the forms"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
  msgstr ""
777
- "Activer les extensions Mailpoet ou MailChimp personnaliser les formulaires"
778
 
779
- #: views/wp-maintenance-countdown.php:24
780
- msgid "Countdown"
781
- msgstr "Compte à rebours"
782
 
783
- #: views/wp-maintenance-countdown.php:70
784
- msgid "Personnalize Colors and Fonts"
785
- msgstr "Personnaliser les couleurs et polices"
786
 
787
- #: views/wp-maintenance-countdown.php:89
788
- msgid "at"
789
- msgstr "à"
790
 
791
- #: views/wp-maintenance-countdown.php:148
792
- msgid "January"
793
- msgstr "Janvier"
794
 
795
- #: views/wp-maintenance-countdown.php:148
796
- msgid "February"
797
- msgstr "Février"
798
 
799
- #: views/wp-maintenance-countdown.php:148
800
- msgid "March"
801
- msgstr "Mars"
802
 
803
- #: views/wp-maintenance-countdown.php:148
804
- msgid "April"
805
- msgstr "Avril"
806
 
807
- #: views/wp-maintenance-countdown.php:148
808
- msgid "May"
809
- msgstr "Mai"
810
 
811
- #: views/wp-maintenance-countdown.php:148
812
- msgid "June"
813
- msgstr "Juin"
 
814
 
815
- #: views/wp-maintenance-countdown.php:148
816
- msgid "July"
817
- msgstr "Juillet"
818
 
819
- #: views/wp-maintenance-countdown.php:148
820
- msgid "August"
821
- msgstr "Août"
822
 
823
- #: views/wp-maintenance-countdown.php:148
824
- msgid "September"
825
- msgstr "Septembre"
826
 
827
- #: views/wp-maintenance-countdown.php:148
828
- msgid "October"
829
- msgstr "Octobre"
830
 
831
- #: views/wp-maintenance-countdown.php:148
832
- msgid "November"
833
- msgstr "Novembre"
834
 
835
- #: views/wp-maintenance-countdown.php:148
836
- msgid "December"
837
- msgstr "Décembre"
838
 
839
- #: views/wp-maintenance-countdown.php:150
840
- msgid "Sunday"
841
- msgstr "Dimanche"
842
 
843
- #: views/wp-maintenance-countdown.php:150
844
- msgid "Monday"
845
- msgstr "Lundi"
846
 
847
- #: views/wp-maintenance-countdown.php:150
848
- msgid "Tuesday"
849
- msgstr "Mardi"
850
 
851
- #: views/wp-maintenance-countdown.php:150
852
- msgid "Wednesday"
853
- msgstr "Mercredi"
854
 
855
- #: views/wp-maintenance-countdown.php:150
856
- msgid "Thurday"
857
- msgstr "Jeudi"
858
 
859
- #: views/wp-maintenance-countdown.php:150
860
- msgid "Friday"
861
- msgstr "Vendredi"
862
 
863
- #: views/wp-maintenance-countdown.php:150
864
- msgid "Saturday"
865
- msgstr "Samedi"
866
 
867
- #: views/wp-maintenance-picture.php:75
868
- msgid "Header picture"
869
- msgstr "Image d'entête"
870
 
871
- #: views/wp-maintenance-picture.php:88
872
- msgid "Background picture or pattern"
873
- msgstr "Image de fond ou un modèle"
874
 
875
- #: views/wp-maintenance-settings.php:38
 
 
 
 
 
 
 
 
 
 
 
 
876
  msgid "Theme maintenance page"
877
  msgstr "Page maintenance du thème"
878
 
879
- #: views/wp-maintenance-settings.php:57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
880
  msgid "Delete custom settings upon plugin deactivation?"
881
  msgstr ""
882
  "Effacer les réglages personnalisés lors de la désactivation de l'extension ?"
883
 
884
- #: views/wp-maintenance-settings.php:57
885
  msgid ""
886
  "If you set \"Yes\" all custom settings will be deleted from database upon "
887
  "plugin deactivation"
@@ -889,6 +778,80 @@ msgstr ""
889
  "Si vous laissez sur \"oui\" tous les réglages personnalisés seront effacés "
890
  "de la base de données lors de la désactivation de l'extension"
891
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
892
  #. Plugin URI of the plugin/theme
893
  msgid "https://fr.wordpress.org/plugins/wp-maintenance/"
894
  msgstr "https://fr.wordpress.org/plugins/wp-maintenance/"
@@ -910,3 +873,52 @@ msgstr "Florent Maillefaud"
910
  #. Author URI of the plugin/theme
911
  msgid "https://wpmaintenance.info"
912
  msgstr "https://wpmaintenance.info"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
+ "POT-Creation-Date: 2017-04-18 12:27+0100\n"
5
+ "PO-Revision-Date: 2017-04-18 13:00+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
45
  msgid "Next"
46
  msgstr "Suivant"
47
 
48
+ #: classes/wp-maintenance.php:45 classes/wp-maintenance.php:276
49
  msgid "This site is down for maintenance"
50
  msgstr "Ce site est fermé pour maintenance"
51
 
52
+ #: classes/wp-maintenance.php:46 classes/wp-maintenance.php:277
53
  msgid "Come back quickly!"
54
  msgstr "Nous revenons rapidement !"
55
 
56
+ #: classes/wp-maintenance.php:150 classes/wp-maintenance.php:266
57
+ #: views/wp-maintenance-settings.php:57
58
  msgid "Settings"
59
  msgstr "Réglages"
60
 
61
+ #: classes/wp-maintenance.php:209
62
  msgid "Maintenance mode activated!"
63
  msgstr "Maintenance activée !"
64
 
65
+ #: classes/wp-maintenance.php:256 views/wp-maintenance-dashboard.php:54
 
66
  msgid "General"
67
  msgstr "Général"
68
 
69
+ #: classes/wp-maintenance.php:258 views/wp-maintenance-colors.php:34
 
70
  msgid "Colors & Fonts"
71
  msgstr "Coleurs & Polices"
72
 
73
+ #: classes/wp-maintenance.php:260
74
  msgid "Pictures"
75
  msgstr "Images"
76
 
77
+ #: classes/wp-maintenance.php:262
78
  msgid "CountDown"
79
  msgstr "Compte à rebours"
80
 
81
+ #: classes/wp-maintenance.php:264 views/wp-maintenance-css.php:36
 
82
  msgid "CSS Style"
83
  msgstr "Style CSS"
84
 
85
+ #: classes/wp-maintenance.php:396
86
  msgid "Choose This Image"
87
  msgstr "Choisir cette image"
88
 
89
+ #: classes/wp-maintenance.php:397
90
  msgid "Choose Image"
91
  msgstr "Choisir une image"
92
 
93
+ #: classes/wp-maintenance.php:413 classes/wp-maintenance.php:421
94
+ #: classes/wp-maintenance.php:429 classes/wp-maintenance.php:438
95
+ #: classes/wp-maintenance.php:447 classes/wp-maintenance.php:456
96
  msgid "You do not have sufficient privileges to access this page."
97
  msgstr ""
98
  "Vous n'avez pas les autorisations suffisantes pour accéder à cette page."
99
 
100
+ #: classes/wp-maintenance.php:560
101
+ msgid "Please upload a valid .json file"
102
+ msgstr "Veuillez téléverser un fichier .json valide"
103
+
104
+ #: classes/wp-maintenance.php:566
105
+ msgid "Please upload a file to import"
106
+ msgstr "Veuillez téléverser un fichier à importer"
107
+
108
+ #: classes/wp-maintenance.php:576
109
+ msgid "New settings imported successfully!"
110
+ msgstr "Nouveaux paramètres importés avec succès."
111
+
112
+ #: classes/wp-maintenance.php:772
113
  msgid "Dashboard"
114
  msgstr "Tableau de bord"
115
 
116
+ #: includes/functions.php:25
117
  msgid "Options saved."
118
  msgstr "Options sauvegardées."
119
 
156
  "Elle est libre de droits, vous pouvez la prendre, la modifier, la distribuer "
157
  "comme bon vous semble."
158
 
159
+ #: includes/functions.php:139
160
  msgid "Visit"
161
  msgstr "Visitez"
162
 
163
+ #: includes/functions.php:139
164
  msgid ""
165
  "try the demo of the plugin, talk about this plugin to your surroundings!"
166
  msgstr "essayez la démo de cette extension et parlez-en à votre entourage !"
174
  msgstr "DÉCOUVRIR"
175
 
176
  #. Plugin Name of the plugin/theme
177
+ #: includes/functions.php:174
178
  msgid "WP Maintenance"
179
  msgstr "WP Maintenance"
180
 
181
+ #: includes/functions.php:174
182
  msgid "is brought to you by"
183
  msgstr "vous est proposé par"
184
 
185
+ #: includes/functions.php:174
186
  msgid "If you found this plugin useful"
187
  msgstr "Si vous avez trouvé cette extension utile"
188
 
189
+ #: includes/functions.php:174
190
  msgid "give it 5 &#9733; on WordPress.org"
191
  msgstr "donnez-lui 5 &#9733; sur WordPress.org"
192
 
193
+ #: views/wp-maintenance-colors.php:44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  msgid "Choice general colors:"
195
  msgstr "Choix des couleurs générales :"
196
 
197
+ #: views/wp-maintenance-colors.php:45
198
  msgid "Background page color:"
199
  msgstr "Couleur du fond de page :"
200
 
201
+ #: views/wp-maintenance-colors.php:46
202
  msgid "Header color:"
203
  msgstr "Couleur d'entête :"
204
 
205
+ #: views/wp-maintenance-colors.php:49
206
  msgid "Choice texts fonts and colors:"
207
  msgstr "Choix des polices et couleurs des textes :"
208
 
209
+ #: views/wp-maintenance-colors.php:50
210
  msgid "Text color:"
211
  msgstr "Couleur du texte :"
212
 
213
+ #: views/wp-maintenance-colors.php:52
214
  msgid "Title font settings"
215
  msgstr "Paramètres de la police du titre"
216
 
217
+ #: views/wp-maintenance-colors.php:66 views/wp-maintenance-colors.php:87
218
+ #: views/wp-maintenance-colors.php:135 views/wp-maintenance-colors.php:154
219
+ #: views/wp-maintenance-colors.php:186
 
 
220
  msgid "Size:"
221
  msgstr "Taille :"
222
 
 
223
  #: views/wp-maintenance-colors.php:82 views/wp-maintenance-colors.php:149
224
  msgid "Text font settings"
225
  msgstr "Paramètres de la police du texte"
226
 
227
+ #: views/wp-maintenance-colors.php:105
228
+ msgid "Activate Frame"
229
+ msgstr "Activer le cadre"
230
+
231
+ #: views/wp-maintenance-colors.php:109 views/wp-maintenance-countdown.php:58
232
+ #: views/wp-maintenance-countdown.php:96 views/wp-maintenance-countdown.php:108
233
+ #: views/wp-maintenance-css.php:57 views/wp-maintenance-dashboard.php:66
234
+ #: views/wp-maintenance-dashboard.php:126
235
+ #: views/wp-maintenance-dashboard.php:150
236
+ #: views/wp-maintenance-dashboard.php:173
237
+ #: views/wp-maintenance-dashboard.php:244
238
+ #: views/wp-maintenance-dashboard.php:261 views/wp-maintenance-picture.php:91
239
+ #: views/wp-maintenance-picture.php:152 views/wp-maintenance-picture.php:184
240
+ #: views/wp-maintenance-picture.php:191 views/wp-maintenance-settings.php:69
241
+ #: views/wp-maintenance-settings.php:88
242
+ msgid "Yes"
243
+ msgstr "Oui"
244
 
245
+ #: views/wp-maintenance-colors.php:111 views/wp-maintenance-countdown.php:60
246
+ #: views/wp-maintenance-countdown.php:98 views/wp-maintenance-countdown.php:110
247
+ #: views/wp-maintenance-css.php:59 views/wp-maintenance-dashboard.php:68
248
+ #: views/wp-maintenance-dashboard.php:128
249
+ #: views/wp-maintenance-dashboard.php:152
250
+ #: views/wp-maintenance-dashboard.php:175
251
+ #: views/wp-maintenance-dashboard.php:246
252
+ #: views/wp-maintenance-dashboard.php:263 views/wp-maintenance-picture.php:93
253
+ #: views/wp-maintenance-picture.php:154 views/wp-maintenance-picture.php:186
254
+ #: views/wp-maintenance-picture.php:193 views/wp-maintenance-settings.php:71
255
+ #: views/wp-maintenance-settings.php:90
256
+ msgid "No"
257
+ msgstr "Non"
258
 
259
+ #: views/wp-maintenance-colors.php:116
260
  msgid "Color:"
261
  msgstr "Couleur :"
262
 
263
+ #: views/wp-maintenance-colors.php:117
264
  msgid "Opacity:"
265
  msgstr "Opacité :"
266
 
 
267
  #: views/wp-maintenance-colors.php:119 views/wp-maintenance-picture.php:176
268
  msgid "Width:"
269
  msgstr "Largeur :"
270
 
271
+ #: views/wp-maintenance-colors.php:126
 
 
 
 
 
 
 
 
 
 
 
 
272
  msgid "Choice countdown fonts and colors:"
273
  msgstr "Choix des polices et couleurs du compte à rebours :"
274
 
275
+ #: views/wp-maintenance-colors.php:127
276
  msgid "Countdown text color:"
277
  msgstr "Couleur du texte du compteur :"
278
 
279
+ #: views/wp-maintenance-colors.php:128
280
  msgid "Countdown background color:"
281
  msgstr "Couleur du fond du compteur :"
282
 
283
+ #: views/wp-maintenance-colors.php:130
284
  msgid "Countdown font settings"
285
  msgstr "Paramètres de la police du compte à rebours"
286
 
287
+ #: views/wp-maintenance-colors.php:144
288
+ msgid "Choice fonts and colors bottom page:"
289
+ msgstr "Choix des polices et couleurs du bas de page :"
290
+
291
+ #: views/wp-maintenance-colors.php:145
292
+ msgid "Bottom color:"
293
+ msgstr "Couleur du fond :"
294
+
295
+ #: views/wp-maintenance-colors.php:146
296
+ msgid "Text bottom color:"
297
+ msgstr "Couleur du texte :"
298
+
299
+ #: views/wp-maintenance-colors.php:171
300
  msgid "Choice form color:"
301
  msgstr "Choisir les couleurs du formulaire :"
302
 
303
+ #: views/wp-maintenance-colors.php:200
304
  msgid "Field text color:"
305
  msgstr "Couleur du texte dans les champs :"
306
 
307
+ #: views/wp-maintenance-colors.php:202
308
  msgid "Field border color:"
309
  msgstr "Couleur de bordure des champs :"
310
 
311
+ #: views/wp-maintenance-colors.php:204
312
  msgid "Field background color:"
313
  msgstr "Couleur de fond des champs :"
314
 
315
+ #: views/wp-maintenance-colors.php:207
316
  msgid "Button text color:"
317
  msgstr "Couleur du texte dans le bouton :"
318
 
319
+ #: views/wp-maintenance-colors.php:210
320
  msgid "Button color:"
321
  msgstr "Couleur du bouton :"
322
 
323
+ #: views/wp-maintenance-colors.php:213
324
  msgid "Button color hover:"
325
  msgstr "Couleur du bouton au survol :"
326
 
327
+ #: views/wp-maintenance-colors.php:215
328
  msgid "Button color onclick:"
329
  msgstr "Couleur du bouton au click :"
330
 
331
+ #: views/wp-maintenance-colors.php:219
332
+ #, php-format
333
+ msgid "Enable %s to customize the forms"
334
+ msgstr "Activer %s pour personnaliser les formulaires"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
 
336
+ #: views/wp-maintenance-colors.php:219
337
+ msgid "newsletter option"
338
+ msgstr "options de newsletter"
339
 
340
+ #: views/wp-maintenance-colors.php:223
341
+ msgid "Enable Mailpoet or MailChimp extensions to customize the forms"
342
+ msgstr ""
343
+ "Activer les extensions Mailpoet ou MailChimp personnaliser les formulaires"
344
 
345
+ #: views/wp-maintenance-countdown.php:24
346
+ msgid "Countdown"
347
+ msgstr "Compte à rebours"
348
 
349
+ #: views/wp-maintenance-countdown.php:50
350
  msgid "Enable a countdown ?"
351
  msgstr "Activer le compte à rebours ?"
352
 
353
+ #: views/wp-maintenance-countdown.php:70
354
+ msgid "Personnalize Colors and Fonts"
355
+ msgstr "Personnaliser les couleurs et polices"
356
+
357
+ #: views/wp-maintenance-countdown.php:89
358
  msgid "Select the launch date/time"
359
  msgstr "Sélectionner une date et heure de lancement"
360
 
361
+ #: views/wp-maintenance-countdown.php:89
362
+ msgid "at"
363
+ msgstr "à"
364
+
365
+ #: views/wp-maintenance-countdown.php:101
366
  msgid "Enable seconds ?"
367
  msgstr "Afficher les secondes ?"
368
 
369
+ #: views/wp-maintenance-countdown.php:113
370
  msgid "Disable maintenance mode at the end of the countdown?"
371
  msgstr "Désactiver le mode maintenance à la fin du compte à rebours ?"
372
 
373
+ #: views/wp-maintenance-countdown.php:117
374
  msgid "End message:"
375
  msgstr "Message de fin :"
376
 
377
+ #: views/wp-maintenance-countdown.php:148
378
+ msgid "January"
379
+ msgstr "Janvier"
 
 
 
 
380
 
381
+ #: views/wp-maintenance-countdown.php:148
382
+ msgid "February"
383
+ msgstr "Février"
 
 
384
 
385
+ #: views/wp-maintenance-countdown.php:148
386
+ msgid "March"
387
+ msgstr "Mars"
388
 
389
+ #: views/wp-maintenance-countdown.php:148
390
+ msgid "April"
391
+ msgstr "Avril"
392
 
393
+ #: views/wp-maintenance-countdown.php:148
394
+ msgid "May"
395
+ msgstr "Mai"
396
+
397
+ #: views/wp-maintenance-countdown.php:148
398
+ msgid "June"
399
+ msgstr "Juin"
400
+
401
+ #: views/wp-maintenance-countdown.php:148
402
+ msgid "July"
403
+ msgstr "Juillet"
404
+
405
+ #: views/wp-maintenance-countdown.php:148
406
+ msgid "August"
407
+ msgstr "Août"
408
+
409
+ #: views/wp-maintenance-countdown.php:148
410
+ msgid "September"
411
+ msgstr "Septembre"
412
+
413
+ #: views/wp-maintenance-countdown.php:148
414
+ msgid "October"
415
+ msgstr "Octobre"
416
+
417
+ #: views/wp-maintenance-countdown.php:148
418
+ msgid "November"
419
+ msgstr "Novembre"
420
+
421
+ #: views/wp-maintenance-countdown.php:148
422
+ msgid "December"
423
+ msgstr "Décembre"
424
+
425
+ #: views/wp-maintenance-countdown.php:150
426
+ msgid "Sunday"
427
+ msgstr "Dimanche"
428
+
429
+ #: views/wp-maintenance-countdown.php:150
430
+ msgid "Monday"
431
+ msgstr "Lundi"
432
+
433
+ #: views/wp-maintenance-countdown.php:150
434
+ msgid "Tuesday"
435
+ msgstr "Mardi"
436
+
437
+ #: views/wp-maintenance-countdown.php:150
438
+ msgid "Wednesday"
439
+ msgstr "Mercredi"
440
+
441
+ #: views/wp-maintenance-countdown.php:150
442
+ msgid "Thurday"
443
+ msgstr "Jeudi"
444
+
445
+ #: views/wp-maintenance-countdown.php:150
446
+ msgid "Friday"
447
+ msgstr "Vendredi"
448
+
449
+ #: views/wp-maintenance-countdown.php:150
450
+ msgid "Saturday"
451
+ msgstr "Samedi"
452
+
453
+ #: views/wp-maintenance-countdown.php:151
454
+ msgid "Today"
455
+ msgstr "Aujourd'hui"
456
+
457
+ #: views/wp-maintenance-countdown.php:152
458
+ msgid "Delete"
459
+ msgstr "Supprimer"
460
+
461
+ #: views/wp-maintenance-countdown.php:153
462
+ #: views/wp-maintenance-countdown.php:172
463
+ msgid "Close"
464
+ msgstr "Fermer"
465
+
466
+ #: views/wp-maintenance-countdown.php:156
467
+ msgid "Next month"
468
+ msgstr "Mois suivant"
469
+
470
+ #: views/wp-maintenance-countdown.php:157
471
+ msgid "Previous month"
472
+ msgstr "Mois précédent"
473
+
474
+ #: views/wp-maintenance-countdown.php:158
475
+ msgid "Select a month"
476
  msgstr "Sélectionner un mois"
477
 
478
+ #: views/wp-maintenance-countdown.php:159
479
  msgid "Select a year"
480
  msgstr "Sélectionner une année"
481
 
482
+ #: views/wp-maintenance-css.php:45
 
 
 
 
483
  msgid ""
484
  "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
485
  "\" to retrieve the default style sheet."
487
  "Editer le code CSS de votre page de maintenance ici. Cliquez sur "
488
  "\"Réinitialiser\" et \"Sauvegarder\" pour remettre le style par défaut."
489
 
490
+ #: views/wp-maintenance-css.php:53
491
+ msgid "Reset default CSS stylesheet ?"
492
+ msgstr "Réinitialiser la feuille de style ?"
493
+
494
+ #: views/wp-maintenance-css.php:68
495
  msgid "Markers for colors"
496
  msgstr "Marqueurs pour les couleurs"
497
 
498
+ #: views/wp-maintenance-css.php:73
499
  msgid "Use this code for text color"
500
  msgstr "Utiliser ce code pour la couleur du texte"
501
 
502
+ #: views/wp-maintenance-css.php:77
503
  msgid "Use this code for background text color"
504
  msgstr "Utiliser ce code pour la couleur de fond du texte"
505
 
506
+ #: views/wp-maintenance-css.php:81
507
  msgid "Use this code for background color countdown"
508
  msgstr "Utiliser ce code pour la couleur du fond du compte à rebours"
509
 
510
+ #: views/wp-maintenance-css.php:85
511
  msgid "Use this code for size countdown"
512
  msgstr "Utiliser ce code pour la taille du compte à rebours"
513
 
514
+ #: views/wp-maintenance-css.php:89
515
  msgid "Use this code for countdown color"
516
  msgstr "Utiliser ce code pour la couleur du texte du compte à rebours"
517
 
518
+ #: views/wp-maintenance-css.php:94
519
  msgid "Need CSS code for MailPoet plugin?"
520
  msgstr "Besoin de code CSS pour le plugin MailPoet ?"
521
 
 
522
  #: views/wp-maintenance-css.php:95 views/wp-maintenance-css.php:110
523
  msgid "Click for select all"
524
  msgstr "Cliquez pour tout sélectionner"
525
 
526
+ #: views/wp-maintenance-css.php:109
527
  msgid "Need CSS code for MailChimp plugin?"
528
  msgstr "Besoin de code CSS pour le plugin MailChimp ?"
529
 
530
+ #: views/wp-maintenance-dashboard.php:62
531
+ msgid "Enable maintenance mode:"
532
+ msgstr "Activer le mode maintenance :"
533
 
534
+ #: views/wp-maintenance-dashboard.php:76
535
+ msgid "Title and text for the maintenance page:"
536
+ msgstr "Titre et Texte de la page maintenance :"
537
 
538
+ #: views/wp-maintenance-dashboard.php:77
539
+ msgid "Title:"
540
+ msgstr "Titre :"
 
 
 
541
 
542
+ #: views/wp-maintenance-dashboard.php:78 views/wp-maintenance-picture.php:238
543
+ msgid "Text:"
544
+ msgstr "Texte :"
 
 
545
 
546
+ #: views/wp-maintenance-dashboard.php:98
547
+ msgid "Text in the bottom of maintenance page:"
548
+ msgstr "Texte du bas de la page de maintenance :"
 
 
549
 
550
+ #: views/wp-maintenance-dashboard.php:122
551
+ msgid "Enable login access in the bottom ?"
552
+ msgstr "Permettre l’accès de connexion en bas de page ?"
553
 
554
+ #: views/wp-maintenance-dashboard.php:136
555
+ msgid "Enter a text to go to the dashboard:"
556
+ msgstr "Entrer une phrase pour aller au tableau de bord :"
557
 
558
+ #: views/wp-maintenance-dashboard.php:138
559
+ msgid "Eg: connect to %DASHBOARD% here!"
560
+ msgstr "Ex : Connectez-vous au %DASHBOARD% !"
561
 
562
+ #: views/wp-maintenance-dashboard.php:138
563
  msgid ""
564
+ "(%DASHBOARD% will be replaced with the link to the dashboard and the word "
565
+ "\"Dashboard\")"
566
  msgstr ""
567
+ "(%DASHBOARD% sera remplacé par le mot \"Tableau de bord\" et le lien vers "
568
+ "celui-ci)"
569
 
570
+ #: views/wp-maintenance-dashboard.php:146
571
+ msgid "Enable Google Analytics:"
572
+ msgstr "Activer Google Analytics :"
573
 
574
+ #: views/wp-maintenance-dashboard.php:160
575
+ msgid "Enter your Google analytics tracking ID here:"
576
+ msgstr "Enter votre ID de suivi de Google Analytics ici :"
 
 
 
 
577
 
578
+ #: views/wp-maintenance-dashboard.php:162
579
+ msgid "Enter your domain URL:"
580
+ msgstr "Entrer l'URL de votre domaine :"
581
 
582
+ #: views/wp-maintenance-dashboard.php:169
583
+ msgid "Enable Social Networks:"
584
+ msgstr "Activer les réseaux sociaux :"
 
 
 
 
585
 
586
+ #: views/wp-maintenance-dashboard.php:183
587
+ msgid "Enter text for the title icons:"
588
+ msgstr "Entrez un texte pour la balise title des icônes :"
 
 
 
 
 
 
 
 
 
 
 
589
 
590
+ #: views/wp-maintenance-dashboard.php:184
591
+ msgid "Follow me on"
592
+ msgstr "Suivez-moi sur"
593
+
594
+ #: views/wp-maintenance-dashboard.php:186
595
+ msgid "Drad and drop the lines to put in the order you want:"
596
  msgstr ""
597
+ "Cliquez et glisser les lignes pour mettre dans l'ordre que vous souhaitez :"
598
 
599
+ #: views/wp-maintenance-dashboard.php:213
600
+ msgid "Choose icons size:"
601
+ msgstr "Choisissez la taille des icônes :"
602
 
603
+ #: views/wp-maintenance-dashboard.php:224 views/wp-maintenance-picture.php:199
604
+ msgid "Position:"
605
+ msgstr "Position :"
 
606
 
607
+ #: views/wp-maintenance-dashboard.php:226
608
+ msgid "Top"
609
+ msgstr "Haut"
610
 
611
+ #: views/wp-maintenance-dashboard.php:227
612
+ msgid "Bottom"
613
+ msgstr "Bas"
614
+
615
+ #: views/wp-maintenance-dashboard.php:230
616
+ msgid "Align:"
617
+ msgstr "Alignement :"
618
+
619
+ #: views/wp-maintenance-dashboard.php:232
620
+ msgid "Left"
621
+ msgstr "Gauche"
622
+
623
+ #: views/wp-maintenance-dashboard.php:233
624
+ msgid "Center"
625
+ msgstr "Centre"
626
+
627
+ #: views/wp-maintenance-dashboard.php:234
628
+ msgid "Right"
629
+ msgstr "Droite"
630
+
631
+ #: views/wp-maintenance-dashboard.php:237
632
+ msgid "You have your own icons? Enter the folder name of your theme here:"
633
  msgstr ""
634
+ "Vous avez vos propres icônes ? Entrez le nom du dossier de votre thème ici :"
635
 
636
+ #: views/wp-maintenance-dashboard.php:240
637
+ msgid "Reset Social Icon?"
638
+ msgstr "Réinitialiser les icônes des réseaux sociaux ?"
639
 
640
+ #: views/wp-maintenance-dashboard.php:257
641
+ msgid "Enable Newletter:"
642
+ msgstr "Activer l'encart de newletter :"
643
 
644
+ #: views/wp-maintenance-dashboard.php:271
645
+ msgid "Enter title for the newletter block:"
646
+ msgstr "Entrez un titre pour l'encart de la newsletter :"
647
 
648
+ #: views/wp-maintenance-dashboard.php:273
649
+ msgid "Enter your newletter shortcode here:"
650
+ msgstr "Entrez le Shortcode de la newletter ici :"
651
 
652
+ #: views/wp-maintenance-dashboard.php:275
653
+ msgid "Or enter your newletter iframe code here:"
654
+ msgstr "Ou entrez le code iframe de la newsletter ici :"
655
 
656
+ #: views/wp-maintenance-picture.php:60
657
+ msgid "Picture"
658
+ msgstr "Image"
659
 
660
+ #: views/wp-maintenance-picture.php:74
661
+ msgid "Header picture"
662
+ msgstr "Image d'entête"
663
 
664
+ #: views/wp-maintenance-picture.php:75 views/wp-maintenance-picture.php:103
665
+ msgid "Enter a URL or upload an image."
666
+ msgstr "Entrez une url ou mettez en ligne une image."
667
 
668
+ #: views/wp-maintenance-picture.php:76 views/wp-maintenance-picture.php:104
669
+ #: views/wp-maintenance-picture.php:209
670
+ msgid "Select or Upload your picture"
671
+ msgstr "Sélectionnez / Mettre en ligne votre image"
672
 
673
+ #: views/wp-maintenance-picture.php:80
674
+ msgid "You use this picture:"
675
+ msgstr "Image actuelle :"
676
 
677
+ #: views/wp-maintenance-picture.php:87
678
+ msgid "Background picture or pattern"
679
+ msgstr "Image de fond ou un modèle"
680
 
681
+ #: views/wp-maintenance-picture.php:105
682
+ msgid "Background picture options"
683
+ msgstr "Options de l'image de fond"
684
 
685
+ #: views/wp-maintenance-picture.php:111
686
+ msgid "Fixed"
687
+ msgstr "Fixe"
688
 
689
+ #: views/wp-maintenance-picture.php:115
690
+ msgid "You use this background picture:"
691
+ msgstr "Image de fond actuelle :"
692
 
693
+ #: views/wp-maintenance-picture.php:123
694
+ msgid "Or choose a pattern:"
695
+ msgstr "Ou choisissez un pattern de fond :"
696
 
697
+ #: views/wp-maintenance-picture.php:126
698
+ msgid "NO PATTERN"
699
+ msgstr "AUCUN PATTERN"
700
 
701
+ #: views/wp-maintenance-picture.php:139
702
+ msgid "You use this pattern:"
703
+ msgstr "Vous utilisez ce modèle :"
704
 
705
+ #: views/wp-maintenance-picture.php:148
706
+ msgid "Enable Slider"
707
+ msgstr "Activer le Slider"
708
 
709
+ #: views/wp-maintenance-picture.php:161
710
+ msgid "Slider image options"
711
+ msgstr "Options du Slider"
712
 
713
+ #: views/wp-maintenance-picture.php:175
714
+ msgid "Speed:"
715
+ msgstr "Vitesse :"
716
 
717
+ #: views/wp-maintenance-picture.php:181
718
+ msgid "Display Auto Slider:"
719
+ msgstr "Afficher le Slider en auto :"
720
 
721
+ #: views/wp-maintenance-picture.php:188
722
+ msgid "Display button navigation:"
723
+ msgstr "Afficher les boutons navigation :"
724
 
725
+ #: views/wp-maintenance-picture.php:201
726
+ msgid "Above logo"
727
+ msgstr "Au-dessus du logo"
728
 
729
+ #: views/wp-maintenance-picture.php:202
730
+ msgid "Below logo"
731
+ msgstr "Au-dessous du logo"
732
 
733
+ #: views/wp-maintenance-picture.php:203
734
+ msgid "Below title & text"
735
+ msgstr "Au-dessous du titre & texte"
736
+
737
+ #: views/wp-maintenance-picture.php:239
738
+ msgid "Link:"
739
+ msgstr "Lien :"
740
+
741
+ #: views/wp-maintenance-picture.php:242
742
+ msgid "Delete this slide"
743
+ msgstr "Supprimer ce slide"
744
+
745
+ #: views/wp-maintenance-settings.php:65
746
  msgid "Theme maintenance page"
747
  msgstr "Page maintenance du thème"
748
 
749
+ #: views/wp-maintenance-settings.php:65
750
+ msgid ""
751
+ "If you would use your maintenance.php page in your theme folder, click Yes."
752
+ msgstr ""
753
+ "Si vous souhaitez utiliser votre page maintenance.php dans le dossier de "
754
+ "votre thème, cliquez sur Oui."
755
+
756
+ #: views/wp-maintenance-settings.php:78
757
+ msgid "You can use this shortcode to include Google Analytics code:"
758
+ msgstr ""
759
+ "Vous pouvez utiliser ce Shortcode pour include le code Google Analytics sur "
760
+ "votre page :"
761
+
762
+ #: views/wp-maintenance-settings.php:78
763
+ msgid "You can use this shortcode to include Social Networks icons:"
764
+ msgstr ""
765
+ "Vous pouvez utiliser ce Shortcode pour include les icons des réseaux sociaux "
766
+ "sur votre page :"
767
+
768
+ #: views/wp-maintenance-settings.php:84
769
  msgid "Delete custom settings upon plugin deactivation?"
770
  msgstr ""
771
  "Effacer les réglages personnalisés lors de la désactivation de l'extension ?"
772
 
773
+ #: views/wp-maintenance-settings.php:84
774
  msgid ""
775
  "If you set \"Yes\" all custom settings will be deleted from database upon "
776
  "plugin deactivation"
778
  "Si vous laissez sur \"oui\" tous les réglages personnalisés seront effacés "
779
  "de la base de données lors de la désactivation de l'extension"
780
 
781
+ #: views/wp-maintenance-settings.php:98
782
+ msgid "Roles and Capabilities:"
783
+ msgstr "Rôles et capacités :"
784
+
785
+ #: views/wp-maintenance-settings.php:99
786
+ msgid "Allow the site to display these roles:"
787
+ msgstr "Autoriser l'affichage du site à ces rôles :"
788
+
789
+ #: views/wp-maintenance-settings.php:118
790
+ msgid "IP autorized:"
791
+ msgstr "IP autorisées :"
792
+
793
+ #: views/wp-maintenance-settings.php:119
794
+ msgid ""
795
+ "Allow the site to display these IP addresses. Please, enter one IP address "
796
+ "by line:"
797
+ msgstr ""
798
+ "Autoriser l'affichage du site à ces adresses IP. Merci d'entrer 1 adresse IP "
799
+ "par ligne :"
800
+
801
+ #: views/wp-maintenance-settings.php:125
802
+ msgid "ID pages autorized:"
803
+ msgstr "ID de pages autorisées :"
804
+
805
+ #: views/wp-maintenance-settings.php:126
806
+ msgid ""
807
+ "Allow the site to display these ID pages. Please, enter the ID pages "
808
+ "separate with comma :"
809
+ msgstr ""
810
+ "Autoriser le site à afficher des pages d'ID. Merci d'entrer les ID de pages "
811
+ "séparées par une virgule :"
812
+
813
+ #: views/wp-maintenance-settings.php:132
814
+ msgid "Header Code:"
815
+ msgstr "Code pour le header :"
816
+
817
+ #: views/wp-maintenance-settings.php:133
818
+ msgid ""
819
+ "The following code will add to the <head> tag. Useful if you need to add "
820
+ "additional scripts such as CSS or JS."
821
+ msgstr ""
822
+ "Le code suivant va être ajouter à la balise <head>. Très utile si vous avez "
823
+ "besoin d'ajouter des scripts supplémentaires tels que CSS ou JS."
824
+
825
+ #: views/wp-maintenance-settings.php:160 views/wp-maintenance-settings.php:161
826
+ #: views/wp-maintenance-settings.php:175 views/wp-maintenance-settings.php:176
827
+ msgid "Click to toggle"
828
+ msgstr "Cliquez pour ouvrir"
829
+
830
+ #: views/wp-maintenance-settings.php:161
831
+ msgid "Export Settings"
832
+ msgstr "Exporter les paramètres"
833
+
834
+ #: views/wp-maintenance-settings.php:169
835
+ msgid "Export"
836
+ msgstr "Exporter"
837
+
838
+ #: views/wp-maintenance-settings.php:176
839
+ msgid "Import Settings"
840
+ msgstr "Importer les paramètres"
841
+
842
+ #: views/wp-maintenance-settings.php:178
843
+ msgid ""
844
+ "Import the plugin settings from a .json file. This file can be obtained by "
845
+ "exporting the settings on another site using the form above."
846
+ msgstr ""
847
+ "Importer les paramètres du plugin depuis un fichier .json. Ce fichier peut "
848
+ "être obtenu en exportant les paramètres sur un autre site en utilisant le "
849
+ "formulaire ci-dessus."
850
+
851
+ #: views/wp-maintenance-settings.php:186
852
+ msgid "Import"
853
+ msgstr "Importer"
854
+
855
  #. Plugin URI of the plugin/theme
856
  msgid "https://fr.wordpress.org/plugins/wp-maintenance/"
857
  msgstr "https://fr.wordpress.org/plugins/wp-maintenance/"
873
  #. Author URI of the plugin/theme
874
  msgid "https://wpmaintenance.info"
875
  msgstr "https://wpmaintenance.info"
876
+
877
+ #~ msgid "The Style Sheet has been reset!"
878
+ #~ msgstr "La feuille de style a bien été réinitilisée !"
879
+
880
+ #~ msgid "WP Maintenance Settings"
881
+ #~ msgstr "Paramètres WP Maintenance"
882
+
883
+ #~ msgid "About"
884
+ #~ msgstr "A propos"
885
+
886
+ #~ msgid "Frame settings"
887
+ #~ msgstr "Paramètres du cadre"
888
+
889
+ #~ msgid "Activate"
890
+ #~ msgstr "Activé"
891
+
892
+ #~ msgid "Upload a picture"
893
+ #~ msgstr "Mettre en ligne une image"
894
+
895
+ #~ msgid "Upload a background picture"
896
+ #~ msgstr "Mettre en ligne une image de fond"
897
+
898
+ #~ msgid "Enable image background"
899
+ #~ msgstr "Activer l'image de fond"
900
+
901
+ #~ msgid "CSS style sheet code:"
902
+ #~ msgstr "Code style CSS :"
903
+
904
+ #~ msgid "Theme maintenance page:"
905
+ #~ msgstr "Page maintenance du thème :"
906
+
907
+ #~ msgid ""
908
+ #~ "This plugin has been developed for you for free by <a href=\"https://"
909
+ #~ "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</a>. It is "
910
+ #~ "royalty free, you can take it, modify it, distribute it as you see fit."
911
+ #~ "<br /><br />It would be desirable that I can get feedback on your "
912
+ #~ "potential changes to improve this plugin for all."
913
+ #~ msgstr ""
914
+ #~ "Cette extension a été développée gratuitement pour vous par <a href="
915
+ #~ "\"https://restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</a>. "
916
+ #~ "Elle est libre de droits, vous pouvez la prendre, la modifier, la "
917
+ #~ "distribuer comme bon vous semble.<br /><br />Il serait néanmoins "
918
+ #~ "souhaitable que je puisse avoir des retours sur vos éventuelles "
919
+ #~ "modifications afin d'améliorer cette extension pour tous."
920
+
921
+ #~ msgid ""
922
+ #~ "If you want Donate (French Paypal) for my current and future developments:"
923
+ #~ msgstr ""
924
+ #~ "Si vous souhaitez me soutenir pour mes développements actuels et futurs :"
languages/wp-maintenance.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
- "POT-Creation-Date: 2017-04-04 17:25+0100\n"
6
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
7
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
@@ -41,65 +41,74 @@ msgstr ""
41
  msgid "Next"
42
  msgstr ""
43
 
44
- #: classes/wp-maintenance.php:43 classes/wp-maintenance.php:274
45
  msgid "This site is down for maintenance"
46
  msgstr ""
47
 
48
- #: classes/wp-maintenance.php:44 classes/wp-maintenance.php:275
49
  msgid "Come back quickly!"
50
  msgstr ""
51
 
52
- #: classes/wp-maintenance.php:148 classes/wp-maintenance.php:264
53
- #: views/wp-maintenance-admin.php:129 views/wp-maintenance-settings.php:30
54
  msgid "Settings"
55
  msgstr ""
56
 
57
- #: classes/wp-maintenance.php:207
58
  msgid "Maintenance mode activated!"
59
  msgstr ""
60
 
61
- #: classes/wp-maintenance.php:254 views/wp-maintenance-admin.php:124
62
- #: views/wp-maintenance-dashboard.php:47
63
  msgid "General"
64
  msgstr ""
65
 
66
- #: classes/wp-maintenance.php:256 views/wp-maintenance-admin.php:125
67
- #: views/wp-maintenance-colors.php:34
68
  msgid "Colors & Fonts"
69
  msgstr ""
70
 
71
- #: classes/wp-maintenance.php:258
72
  msgid "Pictures"
73
  msgstr ""
74
 
75
- #: classes/wp-maintenance.php:260 views/wp-maintenance-admin.php:127
76
  msgid "CountDown"
77
  msgstr ""
78
 
79
- #: classes/wp-maintenance.php:262 views/wp-maintenance-admin.php:128
80
- #: views/wp-maintenance-css.php:36
81
  msgid "CSS Style"
82
  msgstr ""
83
 
84
- #: classes/wp-maintenance.php:394
85
  msgid "Choose This Image"
86
  msgstr ""
87
 
88
- #: classes/wp-maintenance.php:395
89
  msgid "Choose Image"
90
  msgstr ""
91
 
92
- #: classes/wp-maintenance.php:411 classes/wp-maintenance.php:419
93
- #: classes/wp-maintenance.php:427 classes/wp-maintenance.php:436
94
- #: classes/wp-maintenance.php:445 classes/wp-maintenance.php:454
95
  msgid "You do not have sufficient privileges to access this page."
96
  msgstr ""
97
 
98
- #: classes/wp-maintenance.php:693
 
 
 
 
 
 
 
 
 
 
 
 
99
  msgid "Dashboard"
100
  msgstr ""
101
 
102
- #: includes/functions.php:25 views/wp-maintenance-admin.php:35
103
  msgid "Options saved."
104
  msgstr ""
105
 
@@ -138,11 +147,11 @@ msgid ""
138
  "free, you can take it, modify it, distribute it as you see fit."
139
  msgstr ""
140
 
141
- #: includes/functions.php:139 views/wp-maintenance-admin.php:934
142
  msgid "Visit"
143
  msgstr ""
144
 
145
- #: includes/functions.php:139 views/wp-maintenance-admin.php:934
146
  msgid ""
147
  "try the demo of the plugin, talk about this plugin to your surroundings!"
148
  msgstr ""
@@ -155,697 +164,655 @@ msgstr ""
155
  msgid "DISCOVER"
156
  msgstr ""
157
 
158
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
159
  msgid "WP Maintenance"
160
  msgstr ""
161
 
162
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
163
  msgid "is brought to you by"
164
  msgstr ""
165
 
166
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
167
  msgid "If you found this plugin useful"
168
  msgstr ""
169
 
170
- #: includes/functions.php:174 views/wp-maintenance-admin.php:958
171
  msgid "give it 5 &#9733; on WordPress.org"
172
  msgstr ""
173
 
174
- #: views/wp-maintenance-admin.php:74
175
- msgid "The Style Sheet has been reset!"
176
- msgstr ""
177
-
178
- #: views/wp-maintenance-admin.php:119
179
- msgid "WP Maintenance Settings"
180
- msgstr ""
181
-
182
- #: views/wp-maintenance-admin.php:126 views/wp-maintenance-picture.php:60
183
- msgid "Picture"
184
- msgstr ""
185
-
186
- #: views/wp-maintenance-admin.php:130
187
- msgid "About"
188
- msgstr ""
189
-
190
- #: views/wp-maintenance-admin.php:143 views/wp-maintenance-dashboard.php:55
191
- msgid "Enable maintenance mode:"
192
- msgstr ""
193
-
194
- #: views/wp-maintenance-admin.php:144 views/wp-maintenance-admin.php:200
195
- #: views/wp-maintenance-admin.php:210 views/wp-maintenance-admin.php:277
196
- #: views/wp-maintenance-admin.php:571 views/wp-maintenance-admin.php:575
197
- #: views/wp-maintenance-admin.php:669 views/wp-maintenance-admin.php:854
198
- #: views/wp-maintenance-colors.php:109 views/wp-maintenance-countdown.php:58
199
- #: views/wp-maintenance-countdown.php:96 views/wp-maintenance-countdown.php:108
200
- #: views/wp-maintenance-css.php:57 views/wp-maintenance-dashboard.php:59
201
- #: views/wp-maintenance-dashboard.php:119
202
- #: views/wp-maintenance-dashboard.php:143
203
- #: views/wp-maintenance-dashboard.php:166
204
- #: views/wp-maintenance-dashboard.php:243 views/wp-maintenance-picture.php:92
205
- #: views/wp-maintenance-picture.php:152 views/wp-maintenance-picture.php:184
206
- #: views/wp-maintenance-picture.php:191 views/wp-maintenance-settings.php:42
207
- #: views/wp-maintenance-settings.php:61
208
- msgid "Yes"
209
- msgstr ""
210
-
211
- #: views/wp-maintenance-admin.php:145 views/wp-maintenance-admin.php:572
212
- #: views/wp-maintenance-admin.php:576 views/wp-maintenance-admin.php:855
213
- #: views/wp-maintenance-colors.php:111 views/wp-maintenance-countdown.php:60
214
- #: views/wp-maintenance-countdown.php:98 views/wp-maintenance-countdown.php:110
215
- #: views/wp-maintenance-css.php:59 views/wp-maintenance-dashboard.php:61
216
- #: views/wp-maintenance-dashboard.php:121
217
- #: views/wp-maintenance-dashboard.php:145
218
- #: views/wp-maintenance-dashboard.php:168
219
- #: views/wp-maintenance-dashboard.php:245 views/wp-maintenance-picture.php:94
220
- #: views/wp-maintenance-picture.php:154 views/wp-maintenance-picture.php:186
221
- #: views/wp-maintenance-picture.php:193 views/wp-maintenance-settings.php:44
222
- #: views/wp-maintenance-settings.php:63
223
- msgid "No"
224
  msgstr ""
225
 
226
- #: views/wp-maintenance-admin.php:149 views/wp-maintenance-dashboard.php:69
227
- msgid "Title and text for the maintenance page:"
228
  msgstr ""
229
 
230
- #: views/wp-maintenance-admin.php:150 views/wp-maintenance-dashboard.php:70
231
- msgid "Title:"
232
  msgstr ""
233
 
234
- #: views/wp-maintenance-admin.php:153 views/wp-maintenance-admin.php:173
235
- #: views/wp-maintenance-admin.php:618 views/wp-maintenance-dashboard.php:71
236
- #: views/wp-maintenance-picture.php:238
237
- msgid "Text:"
238
  msgstr ""
239
 
240
- #: views/wp-maintenance-admin.php:172 views/wp-maintenance-dashboard.php:91
241
- msgid "Text in the bottom of maintenance page:"
242
  msgstr ""
243
 
244
- #: views/wp-maintenance-admin.php:192 views/wp-maintenance-dashboard.php:115
245
- msgid "Enable login access in the bottom ?"
246
  msgstr ""
247
 
248
- #: views/wp-maintenance-admin.php:193 views/wp-maintenance-dashboard.php:129
249
- msgid "Enter a text to go to the dashboard:"
 
 
250
  msgstr ""
251
 
252
- #: views/wp-maintenance-admin.php:195 views/wp-maintenance-dashboard.php:131
253
- msgid "Eg: connect to %DASHBOARD% here!"
254
  msgstr ""
255
 
256
- #: views/wp-maintenance-admin.php:195 views/wp-maintenance-dashboard.php:131
257
- msgid ""
258
- "(%DASHBOARD% will be replaced with the link to the dashboard and the word "
259
- "\"Dashboard\")"
260
  msgstr ""
261
 
262
- #: views/wp-maintenance-admin.php:199 views/wp-maintenance-dashboard.php:139
263
- msgid "Enable Google Analytics:"
 
 
 
 
 
 
 
 
 
 
264
  msgstr ""
265
 
266
- #: views/wp-maintenance-admin.php:201 views/wp-maintenance-dashboard.php:153
267
- msgid "Enter your Google analytics tracking ID here:"
 
 
 
 
 
 
 
 
 
 
268
  msgstr ""
269
 
270
- #: views/wp-maintenance-admin.php:203 views/wp-maintenance-dashboard.php:155
271
- msgid "Enter your domain URL:"
272
  msgstr ""
273
 
274
- #: views/wp-maintenance-admin.php:209 views/wp-maintenance-dashboard.php:162
275
- msgid "Enable Social Networks:"
276
  msgstr ""
277
 
278
- #: views/wp-maintenance-admin.php:211 views/wp-maintenance-dashboard.php:176
279
- msgid "Enter text for the title icons:"
280
  msgstr ""
281
 
282
- #: views/wp-maintenance-admin.php:212 views/wp-maintenance-dashboard.php:177
283
- msgid "Follow me on"
284
  msgstr ""
285
 
286
- #: views/wp-maintenance-admin.php:214 views/wp-maintenance-dashboard.php:179
287
- msgid "Drad and drop the lines to put in the order you want:"
288
  msgstr ""
289
 
290
- #: views/wp-maintenance-admin.php:241 views/wp-maintenance-dashboard.php:206
291
- msgid "Choose icons size:"
292
  msgstr ""
293
 
294
- #: views/wp-maintenance-admin.php:253 views/wp-maintenance-admin.php:579
295
- #: views/wp-maintenance-dashboard.php:217 views/wp-maintenance-picture.php:199
296
- msgid "Position:"
297
  msgstr ""
298
 
299
- #: views/wp-maintenance-admin.php:255 views/wp-maintenance-dashboard.php:219
300
- msgid "Top"
301
  msgstr ""
302
 
303
- #: views/wp-maintenance-admin.php:256 views/wp-maintenance-dashboard.php:220
304
- msgid "Bottom"
305
  msgstr ""
306
 
307
- #: views/wp-maintenance-admin.php:260 views/wp-maintenance-dashboard.php:223
308
- msgid "Align:"
309
  msgstr ""
310
 
311
- #: views/wp-maintenance-admin.php:262 views/wp-maintenance-dashboard.php:225
312
- msgid "Left"
313
  msgstr ""
314
 
315
- #: views/wp-maintenance-admin.php:263 views/wp-maintenance-dashboard.php:226
316
- msgid "Center"
317
  msgstr ""
318
 
319
- #: views/wp-maintenance-admin.php:264 views/wp-maintenance-dashboard.php:227
320
- msgid "Right"
321
  msgstr ""
322
 
323
- #: views/wp-maintenance-admin.php:267 views/wp-maintenance-dashboard.php:230
324
- msgid "You have your own icons? Enter the folder name of your theme here:"
325
  msgstr ""
326
 
327
- #: views/wp-maintenance-admin.php:270 views/wp-maintenance-dashboard.php:232
328
- msgid "Reset Social Icon?"
329
  msgstr ""
330
 
331
- #: views/wp-maintenance-admin.php:276 views/wp-maintenance-dashboard.php:239
332
- msgid "Enable Newletter:"
333
  msgstr ""
334
 
335
- #: views/wp-maintenance-admin.php:278 views/wp-maintenance-dashboard.php:253
336
- msgid "Enter title for the newletter block:"
337
  msgstr ""
338
 
339
- #: views/wp-maintenance-admin.php:280 views/wp-maintenance-dashboard.php:255
340
- msgid "Enter your newletter shortcode here:"
341
  msgstr ""
342
 
343
- #: views/wp-maintenance-admin.php:282 views/wp-maintenance-dashboard.php:257
344
- msgid "Or enter your newletter iframe code here:"
 
345
  msgstr ""
346
 
347
- #: views/wp-maintenance-admin.php:304 views/wp-maintenance-colors.php:44
348
- msgid "Choice general colors:"
349
  msgstr ""
350
 
351
- #: views/wp-maintenance-admin.php:305 views/wp-maintenance-colors.php:45
352
- msgid "Background page color:"
353
  msgstr ""
354
 
355
- #: views/wp-maintenance-admin.php:306 views/wp-maintenance-colors.php:46
356
- msgid "Header color:"
357
  msgstr ""
358
 
359
- #: views/wp-maintenance-admin.php:310 views/wp-maintenance-colors.php:49
360
- msgid "Choice texts fonts and colors:"
361
  msgstr ""
362
 
363
- #: views/wp-maintenance-admin.php:311 views/wp-maintenance-colors.php:50
364
- msgid "Text color:"
365
  msgstr ""
366
 
367
- #: views/wp-maintenance-admin.php:313 views/wp-maintenance-colors.php:52
368
- msgid "Title font settings"
369
  msgstr ""
370
 
371
- #: views/wp-maintenance-admin.php:327 views/wp-maintenance-admin.php:348
372
- #: views/wp-maintenance-admin.php:387 views/wp-maintenance-admin.php:418
373
- #: views/wp-maintenance-admin.php:437 views/wp-maintenance-colors.php:66
374
- #: views/wp-maintenance-colors.php:87 views/wp-maintenance-colors.php:135
375
- #: views/wp-maintenance-colors.php:154 views/wp-maintenance-colors.php:186
376
- msgid "Size:"
377
  msgstr ""
378
 
379
- #: views/wp-maintenance-admin.php:343 views/wp-maintenance-admin.php:382
380
- #: views/wp-maintenance-colors.php:82 views/wp-maintenance-colors.php:149
381
- msgid "Text font settings"
382
  msgstr ""
383
 
384
- #: views/wp-maintenance-admin.php:364
385
- msgid "Frame settings"
386
  msgstr ""
387
 
388
- #: views/wp-maintenance-admin.php:366
389
- msgid "Activate"
390
  msgstr ""
391
 
392
- #: views/wp-maintenance-admin.php:366 views/wp-maintenance-colors.php:116
393
- msgid "Color:"
394
  msgstr ""
395
 
396
- #: views/wp-maintenance-admin.php:367 views/wp-maintenance-colors.php:117
397
- msgid "Opacity:"
398
  msgstr ""
399
 
400
- #: views/wp-maintenance-admin.php:369 views/wp-maintenance-admin.php:567
401
- #: views/wp-maintenance-colors.php:119 views/wp-maintenance-picture.php:176
402
- msgid "Width:"
403
  msgstr ""
404
 
405
- #: views/wp-maintenance-admin.php:377 views/wp-maintenance-colors.php:144
406
- msgid "Choice fonts and colors bottom page:"
407
  msgstr ""
408
 
409
- #: views/wp-maintenance-admin.php:378 views/wp-maintenance-colors.php:145
410
- msgid "Bottom color:"
411
  msgstr ""
412
 
413
- #: views/wp-maintenance-admin.php:379 views/wp-maintenance-colors.php:146
414
- msgid "Text bottom color:"
415
  msgstr ""
416
 
417
- #: views/wp-maintenance-admin.php:406 views/wp-maintenance-colors.php:126
418
- msgid "Choice countdown fonts and colors:"
419
  msgstr ""
420
 
421
- #: views/wp-maintenance-admin.php:407 views/wp-maintenance-colors.php:127
422
- msgid "Countdown text color:"
423
  msgstr ""
424
 
425
- #: views/wp-maintenance-admin.php:408 views/wp-maintenance-colors.php:128
426
- msgid "Countdown background color:"
427
  msgstr ""
428
 
429
- #: views/wp-maintenance-admin.php:413 views/wp-maintenance-colors.php:130
430
- msgid "Countdown font settings"
431
  msgstr ""
432
 
433
- #: views/wp-maintenance-admin.php:430 views/wp-maintenance-colors.php:171
434
- msgid "Choice form color:"
435
  msgstr ""
436
 
437
- #: views/wp-maintenance-admin.php:451 views/wp-maintenance-colors.php:200
438
- msgid "Field text color:"
439
  msgstr ""
440
 
441
- #: views/wp-maintenance-admin.php:453 views/wp-maintenance-colors.php:202
442
- msgid "Field border color:"
443
  msgstr ""
444
 
445
- #: views/wp-maintenance-admin.php:455 views/wp-maintenance-colors.php:204
446
- msgid "Field background color:"
447
  msgstr ""
448
 
449
- #: views/wp-maintenance-admin.php:458 views/wp-maintenance-colors.php:207
450
- msgid "Button text color:"
451
  msgstr ""
452
 
453
- #: views/wp-maintenance-admin.php:461 views/wp-maintenance-colors.php:210
454
- msgid "Button color:"
455
  msgstr ""
456
 
457
- #: views/wp-maintenance-admin.php:464 views/wp-maintenance-colors.php:213
458
- msgid "Button color hover:"
459
  msgstr ""
460
 
461
- #: views/wp-maintenance-admin.php:466 views/wp-maintenance-colors.php:215
462
- msgid "Button color onclick:"
463
  msgstr ""
464
 
465
- #: views/wp-maintenance-admin.php:498
466
- msgid "Upload a picture"
467
  msgstr ""
468
 
469
- #: views/wp-maintenance-admin.php:500 views/wp-maintenance-picture.php:81
470
- msgid "You use this picture:"
471
  msgstr ""
472
 
473
- #: views/wp-maintenance-admin.php:502 views/wp-maintenance-admin.php:520
474
- #: views/wp-maintenance-picture.php:76 views/wp-maintenance-picture.php:104
475
- msgid "Enter a URL or upload an image."
476
  msgstr ""
477
 
478
- #: views/wp-maintenance-admin.php:503 views/wp-maintenance-admin.php:519
479
- #: views/wp-maintenance-admin.php:589 views/wp-maintenance-picture.php:77
480
- #: views/wp-maintenance-picture.php:105 views/wp-maintenance-picture.php:209
481
- msgid "Select or Upload your picture"
482
  msgstr ""
483
 
484
- #: views/wp-maintenance-admin.php:509
485
- msgid "Upload a background picture"
486
  msgstr ""
487
 
488
- #: views/wp-maintenance-admin.php:510
489
- msgid "Enable image background"
490
  msgstr ""
491
 
492
- #: views/wp-maintenance-admin.php:512 views/wp-maintenance-picture.php:116
493
- msgid "You use this background picture:"
494
  msgstr ""
495
 
496
- #: views/wp-maintenance-admin.php:516 views/wp-maintenance-picture.php:140
497
- msgid "You use this pattern:"
498
  msgstr ""
499
 
500
- #: views/wp-maintenance-admin.php:521 views/wp-maintenance-picture.php:124
501
- msgid "Or choose a pattern:"
 
 
502
  msgstr ""
503
 
504
- #: views/wp-maintenance-admin.php:525 views/wp-maintenance-picture.php:127
505
- msgid "NO PATTERN"
506
  msgstr ""
507
 
508
- #: views/wp-maintenance-admin.php:538 views/wp-maintenance-picture.php:106
509
- msgid "Background picture options"
510
  msgstr ""
511
 
512
- #: views/wp-maintenance-admin.php:545 views/wp-maintenance-picture.php:112
513
- msgid "Fixed"
514
  msgstr ""
515
 
516
- #: views/wp-maintenance-admin.php:550 views/wp-maintenance-picture.php:161
517
- msgid "Slider image options"
518
  msgstr ""
519
 
520
- #: views/wp-maintenance-admin.php:551 views/wp-maintenance-picture.php:148
521
- msgid "Enable Slider"
522
  msgstr ""
523
 
524
- #: views/wp-maintenance-admin.php:566 views/wp-maintenance-picture.php:175
525
- msgid "Speed:"
526
  msgstr ""
527
 
528
- #: views/wp-maintenance-admin.php:570 views/wp-maintenance-picture.php:181
529
- msgid "Display Auto Slider:"
530
  msgstr ""
531
 
532
- #: views/wp-maintenance-admin.php:574 views/wp-maintenance-picture.php:188
533
- msgid "Display button navigation:"
534
  msgstr ""
535
 
536
- #: views/wp-maintenance-admin.php:581 views/wp-maintenance-picture.php:201
537
- msgid "Above logo"
538
  msgstr ""
539
 
540
- #: views/wp-maintenance-admin.php:582 views/wp-maintenance-picture.php:202
541
- msgid "Below logo"
542
  msgstr ""
543
 
544
- #: views/wp-maintenance-admin.php:583 views/wp-maintenance-picture.php:203
545
- msgid "Below title & text"
546
  msgstr ""
547
 
548
- #: views/wp-maintenance-admin.php:619 views/wp-maintenance-picture.php:239
549
- msgid "Link:"
550
  msgstr ""
551
 
552
- #: views/wp-maintenance-admin.php:622 views/wp-maintenance-picture.php:242
553
- msgid "Delete this slide"
554
  msgstr ""
555
 
556
- #: views/wp-maintenance-admin.php:668 views/wp-maintenance-countdown.php:50
557
- msgid "Enable a countdown ?"
558
  msgstr ""
559
 
560
- #: views/wp-maintenance-admin.php:687 views/wp-maintenance-countdown.php:89
561
- msgid "Select the launch date/time"
562
  msgstr ""
563
 
564
- #: views/wp-maintenance-admin.php:690 views/wp-maintenance-countdown.php:101
565
- msgid "Enable seconds ?"
566
  msgstr ""
567
 
568
- #: views/wp-maintenance-admin.php:691 views/wp-maintenance-countdown.php:113
569
- msgid "Disable maintenance mode at the end of the countdown?"
570
  msgstr ""
571
 
572
- #: views/wp-maintenance-admin.php:692 views/wp-maintenance-countdown.php:117
573
- msgid "End message:"
574
  msgstr ""
575
 
576
- #: views/wp-maintenance-admin.php:708 views/wp-maintenance-countdown.php:151
577
- msgid "Today"
 
 
578
  msgstr ""
579
 
580
- #: views/wp-maintenance-admin.php:709 views/wp-maintenance-countdown.php:152
581
- msgid "Delete"
582
  msgstr ""
583
 
584
- #: views/wp-maintenance-admin.php:710 views/wp-maintenance-admin.php:729
585
- #: views/wp-maintenance-countdown.php:153
586
- #: views/wp-maintenance-countdown.php:172
587
- msgid "Close"
588
  msgstr ""
589
 
590
- #: views/wp-maintenance-admin.php:713 views/wp-maintenance-countdown.php:156
591
- msgid "Next month"
592
  msgstr ""
593
 
594
- #: views/wp-maintenance-admin.php:714 views/wp-maintenance-countdown.php:157
595
- msgid "Previous month"
596
  msgstr ""
597
 
598
- #: views/wp-maintenance-admin.php:715 views/wp-maintenance-countdown.php:158
599
- msgid "Select a month"
600
  msgstr ""
601
 
602
- #: views/wp-maintenance-admin.php:716 views/wp-maintenance-countdown.php:159
603
- msgid "Select a year"
604
  msgstr ""
605
 
606
- #: views/wp-maintenance-admin.php:759
607
- msgid "CSS style sheet code:"
608
  msgstr ""
609
 
610
- #: views/wp-maintenance-admin.php:760 views/wp-maintenance-css.php:45
611
- msgid ""
612
- "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
613
- "\" to retrieve the default style sheet."
614
  msgstr ""
615
 
616
- #: views/wp-maintenance-admin.php:770 views/wp-maintenance-css.php:68
617
- msgid "Markers for colors"
618
  msgstr ""
619
 
620
- #: views/wp-maintenance-admin.php:775 views/wp-maintenance-css.php:73
621
- msgid "Use this code for text color"
622
  msgstr ""
623
 
624
- #: views/wp-maintenance-admin.php:779 views/wp-maintenance-css.php:77
625
- msgid "Use this code for background text color"
626
  msgstr ""
627
 
628
- #: views/wp-maintenance-admin.php:783 views/wp-maintenance-css.php:81
629
- msgid "Use this code for background color countdown"
630
  msgstr ""
631
 
632
- #: views/wp-maintenance-admin.php:787 views/wp-maintenance-css.php:85
633
- msgid "Use this code for size countdown"
634
  msgstr ""
635
 
636
- #: views/wp-maintenance-admin.php:791 views/wp-maintenance-css.php:89
637
- msgid "Use this code for countdown color"
638
  msgstr ""
639
 
640
- #: views/wp-maintenance-admin.php:796 views/wp-maintenance-css.php:94
641
- msgid "Need CSS code for MailPoet plugin?"
642
  msgstr ""
643
 
644
- #: views/wp-maintenance-admin.php:797 views/wp-maintenance-admin.php:812
645
- #: views/wp-maintenance-css.php:95 views/wp-maintenance-css.php:110
646
- msgid "Click for select all"
647
  msgstr ""
648
 
649
- #: views/wp-maintenance-admin.php:811 views/wp-maintenance-css.php:109
650
- msgid "Need CSS code for MailChimp plugin?"
651
  msgstr ""
652
 
653
- #: views/wp-maintenance-admin.php:833 views/wp-maintenance-css.php:53
654
- msgid "Reset default CSS stylesheet ?"
655
  msgstr ""
656
 
657
- #: views/wp-maintenance-admin.php:852
658
- msgid "Theme maintenance page:"
659
  msgstr ""
660
 
661
- #: views/wp-maintenance-admin.php:853 views/wp-maintenance-settings.php:38
662
- msgid ""
663
- "If you would use your maintenance.php page in your theme folder, click Yes."
664
  msgstr ""
665
 
666
- #: views/wp-maintenance-admin.php:856 views/wp-maintenance-settings.php:51
667
- msgid "You can use this shortcode to include Google Analytics code:"
668
  msgstr ""
669
 
670
- #: views/wp-maintenance-admin.php:856 views/wp-maintenance-settings.php:51
671
- msgid "You can use this shortcode to include Social Networks icons:"
672
  msgstr ""
673
 
674
- #: views/wp-maintenance-admin.php:865 views/wp-maintenance-settings.php:71
675
- msgid "Roles and Capabilities:"
676
  msgstr ""
677
 
678
- #: views/wp-maintenance-admin.php:866 views/wp-maintenance-settings.php:72
679
- msgid "Allow the site to display these roles:"
680
  msgstr ""
681
 
682
- #: views/wp-maintenance-admin.php:883 views/wp-maintenance-settings.php:91
683
- msgid "IP autorized:"
 
684
  msgstr ""
685
 
686
- #: views/wp-maintenance-admin.php:884 views/wp-maintenance-settings.php:92
687
- msgid ""
688
- "Allow the site to display these IP addresses. Please, enter one IP address "
689
- "by line:"
690
  msgstr ""
691
 
692
- #: views/wp-maintenance-admin.php:890 views/wp-maintenance-settings.php:98
693
- msgid "ID pages autorized:"
694
  msgstr ""
695
 
696
- #: views/wp-maintenance-admin.php:891 views/wp-maintenance-settings.php:99
697
- msgid ""
698
- "Allow the site to display these ID pages. Please, enter the ID pages "
699
- "separate with comma :"
700
  msgstr ""
701
 
702
- #: views/wp-maintenance-admin.php:897 views/wp-maintenance-settings.php:105
703
- msgid "Header Code:"
704
  msgstr ""
705
 
706
- #: views/wp-maintenance-admin.php:898 views/wp-maintenance-settings.php:106
707
- msgid ""
708
- "The following code will add to the <head> tag. Useful if you need to add "
709
- "additional scripts such as CSS or JS."
710
  msgstr ""
711
 
712
- #: views/wp-maintenance-admin.php:930
713
- msgid ""
714
- "This plugin has been developed for you for free by <a href=\"https://"
715
- "restezconnectes.fr\" target=\"_blank\">Florent Maillefaud</a>. It is royalty "
716
- "free, you can take it, modify it, distribute it as you see fit.<br /><br /"
717
- ">It would be desirable that I can get feedback on your potential changes to "
718
- "improve this plugin for all."
719
  msgstr ""
720
 
721
- #: views/wp-maintenance-admin.php:939
722
- msgid ""
723
- "If you want Donate (French Paypal) for my current and future developments:"
724
  msgstr ""
725
 
726
- #: views/wp-maintenance-colors.php:105
727
- msgid "Activate Frame"
728
  msgstr ""
729
 
730
- #: views/wp-maintenance-colors.php:219
731
- #, php-format
732
- msgid "Enable %s to customize the forms"
733
  msgstr ""
734
 
735
- #: views/wp-maintenance-colors.php:219
736
- msgid "newsletter option"
737
  msgstr ""
738
 
739
- #: views/wp-maintenance-colors.php:223
740
- msgid "Enable Mailpoet or MailChimp extensions to customize the forms"
741
  msgstr ""
742
 
743
- #: views/wp-maintenance-countdown.php:24
744
- msgid "Countdown"
745
  msgstr ""
746
 
747
- #: views/wp-maintenance-countdown.php:70
748
- msgid "Personnalize Colors and Fonts"
749
  msgstr ""
750
 
751
- #: views/wp-maintenance-countdown.php:89
752
- msgid "at"
753
  msgstr ""
754
 
755
- #: views/wp-maintenance-countdown.php:148
756
- msgid "January"
757
  msgstr ""
758
 
759
- #: views/wp-maintenance-countdown.php:148
760
- msgid "February"
761
  msgstr ""
762
 
763
- #: views/wp-maintenance-countdown.php:148
764
- msgid "March"
765
  msgstr ""
766
 
767
- #: views/wp-maintenance-countdown.php:148
768
- msgid "April"
769
  msgstr ""
770
 
771
- #: views/wp-maintenance-countdown.php:148
772
- msgid "May"
773
  msgstr ""
774
 
775
- #: views/wp-maintenance-countdown.php:148
776
- msgid "June"
 
777
  msgstr ""
778
 
779
- #: views/wp-maintenance-countdown.php:148
780
- msgid "July"
781
  msgstr ""
782
 
783
- #: views/wp-maintenance-countdown.php:148
784
- msgid "August"
785
  msgstr ""
786
 
787
- #: views/wp-maintenance-countdown.php:148
788
- msgid "September"
789
  msgstr ""
790
 
791
- #: views/wp-maintenance-countdown.php:148
792
- msgid "October"
 
 
793
  msgstr ""
794
 
795
- #: views/wp-maintenance-countdown.php:148
796
- msgid "November"
797
  msgstr ""
798
 
799
- #: views/wp-maintenance-countdown.php:148
800
- msgid "December"
801
  msgstr ""
802
 
803
- #: views/wp-maintenance-countdown.php:150
804
- msgid "Sunday"
805
  msgstr ""
806
 
807
- #: views/wp-maintenance-countdown.php:150
808
- msgid "Monday"
 
 
809
  msgstr ""
810
 
811
- #: views/wp-maintenance-countdown.php:150
812
- msgid "Tuesday"
813
  msgstr ""
814
 
815
- #: views/wp-maintenance-countdown.php:150
816
- msgid "Wednesday"
 
 
817
  msgstr ""
818
 
819
- #: views/wp-maintenance-countdown.php:150
820
- msgid "Thurday"
821
  msgstr ""
822
 
823
- #: views/wp-maintenance-countdown.php:150
824
- msgid "Friday"
 
 
825
  msgstr ""
826
 
827
- #: views/wp-maintenance-countdown.php:150
828
- msgid "Saturday"
 
829
  msgstr ""
830
 
831
- #: views/wp-maintenance-picture.php:75
832
- msgid "Header picture"
833
  msgstr ""
834
 
835
- #: views/wp-maintenance-picture.php:88
836
- msgid "Background picture or pattern"
837
  msgstr ""
838
 
839
- #: views/wp-maintenance-settings.php:38
840
- msgid "Theme maintenance page"
841
  msgstr ""
842
 
843
- #: views/wp-maintenance-settings.php:57
844
- msgid "Delete custom settings upon plugin deactivation?"
 
 
845
  msgstr ""
846
 
847
- #: views/wp-maintenance-settings.php:57
848
- msgid ""
849
- "If you set \"Yes\" all custom settings will be deleted from database upon "
850
- "plugin deactivation"
851
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: WP Maintenance\n"
5
+ "POT-Creation-Date: 2017-04-18 12:27+0100\n"
6
  "PO-Revision-Date: 2015-03-19 11:19+0100\n"
7
  "Last-Translator: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
41
  msgid "Next"
42
  msgstr ""
43
 
44
+ #: classes/wp-maintenance.php:45 classes/wp-maintenance.php:276
45
  msgid "This site is down for maintenance"
46
  msgstr ""
47
 
48
+ #: classes/wp-maintenance.php:46 classes/wp-maintenance.php:277
49
  msgid "Come back quickly!"
50
  msgstr ""
51
 
52
+ #: classes/wp-maintenance.php:150 classes/wp-maintenance.php:266
53
+ #: views/wp-maintenance-settings.php:57
54
  msgid "Settings"
55
  msgstr ""
56
 
57
+ #: classes/wp-maintenance.php:209
58
  msgid "Maintenance mode activated!"
59
  msgstr ""
60
 
61
+ #: classes/wp-maintenance.php:256 views/wp-maintenance-dashboard.php:54
 
62
  msgid "General"
63
  msgstr ""
64
 
65
+ #: classes/wp-maintenance.php:258 views/wp-maintenance-colors.php:34
 
66
  msgid "Colors & Fonts"
67
  msgstr ""
68
 
69
+ #: classes/wp-maintenance.php:260
70
  msgid "Pictures"
71
  msgstr ""
72
 
73
+ #: classes/wp-maintenance.php:262
74
  msgid "CountDown"
75
  msgstr ""
76
 
77
+ #: classes/wp-maintenance.php:264 views/wp-maintenance-css.php:36
 
78
  msgid "CSS Style"
79
  msgstr ""
80
 
81
+ #: classes/wp-maintenance.php:396
82
  msgid "Choose This Image"
83
  msgstr ""
84
 
85
+ #: classes/wp-maintenance.php:397
86
  msgid "Choose Image"
87
  msgstr ""
88
 
89
+ #: classes/wp-maintenance.php:413 classes/wp-maintenance.php:421
90
+ #: classes/wp-maintenance.php:429 classes/wp-maintenance.php:438
91
+ #: classes/wp-maintenance.php:447 classes/wp-maintenance.php:456
92
  msgid "You do not have sufficient privileges to access this page."
93
  msgstr ""
94
 
95
+ #: classes/wp-maintenance.php:560
96
+ msgid "Please upload a valid .json file"
97
+ msgstr ""
98
+
99
+ #: classes/wp-maintenance.php:566
100
+ msgid "Please upload a file to import"
101
+ msgstr ""
102
+
103
+ #: classes/wp-maintenance.php:576
104
+ msgid "New settings imported successfully!"
105
+ msgstr ""
106
+
107
+ #: classes/wp-maintenance.php:772
108
  msgid "Dashboard"
109
  msgstr ""
110
 
111
+ #: includes/functions.php:25
112
  msgid "Options saved."
113
  msgstr ""
114
 
147
  "free, you can take it, modify it, distribute it as you see fit."
148
  msgstr ""
149
 
150
+ #: includes/functions.php:139
151
  msgid "Visit"
152
  msgstr ""
153
 
154
+ #: includes/functions.php:139
155
  msgid ""
156
  "try the demo of the plugin, talk about this plugin to your surroundings!"
157
  msgstr ""
164
  msgid "DISCOVER"
165
  msgstr ""
166
 
167
+ #: includes/functions.php:174
168
  msgid "WP Maintenance"
169
  msgstr ""
170
 
171
+ #: includes/functions.php:174
172
  msgid "is brought to you by"
173
  msgstr ""
174
 
175
+ #: includes/functions.php:174
176
  msgid "If you found this plugin useful"
177
  msgstr ""
178
 
179
+ #: includes/functions.php:174
180
  msgid "give it 5 &#9733; on WordPress.org"
181
  msgstr ""
182
 
183
+ #: views/wp-maintenance-colors.php:44
184
+ msgid "Choice general colors:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  msgstr ""
186
 
187
+ #: views/wp-maintenance-colors.php:45
188
+ msgid "Background page color:"
189
  msgstr ""
190
 
191
+ #: views/wp-maintenance-colors.php:46
192
+ msgid "Header color:"
193
  msgstr ""
194
 
195
+ #: views/wp-maintenance-colors.php:49
196
+ msgid "Choice texts fonts and colors:"
 
 
197
  msgstr ""
198
 
199
+ #: views/wp-maintenance-colors.php:50
200
+ msgid "Text color:"
201
  msgstr ""
202
 
203
+ #: views/wp-maintenance-colors.php:52
204
+ msgid "Title font settings"
205
  msgstr ""
206
 
207
+ #: views/wp-maintenance-colors.php:66 views/wp-maintenance-colors.php:87
208
+ #: views/wp-maintenance-colors.php:135 views/wp-maintenance-colors.php:154
209
+ #: views/wp-maintenance-colors.php:186
210
+ msgid "Size:"
211
  msgstr ""
212
 
213
+ #: views/wp-maintenance-colors.php:82 views/wp-maintenance-colors.php:149
214
+ msgid "Text font settings"
215
  msgstr ""
216
 
217
+ #: views/wp-maintenance-colors.php:105
218
+ msgid "Activate Frame"
 
 
219
  msgstr ""
220
 
221
+ #: views/wp-maintenance-colors.php:109 views/wp-maintenance-countdown.php:58
222
+ #: views/wp-maintenance-countdown.php:96 views/wp-maintenance-countdown.php:108
223
+ #: views/wp-maintenance-css.php:57 views/wp-maintenance-dashboard.php:66
224
+ #: views/wp-maintenance-dashboard.php:126
225
+ #: views/wp-maintenance-dashboard.php:150
226
+ #: views/wp-maintenance-dashboard.php:173
227
+ #: views/wp-maintenance-dashboard.php:244
228
+ #: views/wp-maintenance-dashboard.php:261 views/wp-maintenance-picture.php:91
229
+ #: views/wp-maintenance-picture.php:152 views/wp-maintenance-picture.php:184
230
+ #: views/wp-maintenance-picture.php:191 views/wp-maintenance-settings.php:69
231
+ #: views/wp-maintenance-settings.php:88
232
+ msgid "Yes"
233
  msgstr ""
234
 
235
+ #: views/wp-maintenance-colors.php:111 views/wp-maintenance-countdown.php:60
236
+ #: views/wp-maintenance-countdown.php:98 views/wp-maintenance-countdown.php:110
237
+ #: views/wp-maintenance-css.php:59 views/wp-maintenance-dashboard.php:68
238
+ #: views/wp-maintenance-dashboard.php:128
239
+ #: views/wp-maintenance-dashboard.php:152
240
+ #: views/wp-maintenance-dashboard.php:175
241
+ #: views/wp-maintenance-dashboard.php:246
242
+ #: views/wp-maintenance-dashboard.php:263 views/wp-maintenance-picture.php:93
243
+ #: views/wp-maintenance-picture.php:154 views/wp-maintenance-picture.php:186
244
+ #: views/wp-maintenance-picture.php:193 views/wp-maintenance-settings.php:71
245
+ #: views/wp-maintenance-settings.php:90
246
+ msgid "No"
247
  msgstr ""
248
 
249
+ #: views/wp-maintenance-colors.php:116
250
+ msgid "Color:"
251
  msgstr ""
252
 
253
+ #: views/wp-maintenance-colors.php:117
254
+ msgid "Opacity:"
255
  msgstr ""
256
 
257
+ #: views/wp-maintenance-colors.php:119 views/wp-maintenance-picture.php:176
258
+ msgid "Width:"
259
  msgstr ""
260
 
261
+ #: views/wp-maintenance-colors.php:126
262
+ msgid "Choice countdown fonts and colors:"
263
  msgstr ""
264
 
265
+ #: views/wp-maintenance-colors.php:127
266
+ msgid "Countdown text color:"
267
  msgstr ""
268
 
269
+ #: views/wp-maintenance-colors.php:128
270
+ msgid "Countdown background color:"
271
  msgstr ""
272
 
273
+ #: views/wp-maintenance-colors.php:130
274
+ msgid "Countdown font settings"
 
275
  msgstr ""
276
 
277
+ #: views/wp-maintenance-colors.php:144
278
+ msgid "Choice fonts and colors bottom page:"
279
  msgstr ""
280
 
281
+ #: views/wp-maintenance-colors.php:145
282
+ msgid "Bottom color:"
283
  msgstr ""
284
 
285
+ #: views/wp-maintenance-colors.php:146
286
+ msgid "Text bottom color:"
287
  msgstr ""
288
 
289
+ #: views/wp-maintenance-colors.php:171
290
+ msgid "Choice form color:"
291
  msgstr ""
292
 
293
+ #: views/wp-maintenance-colors.php:200
294
+ msgid "Field text color:"
295
  msgstr ""
296
 
297
+ #: views/wp-maintenance-colors.php:202
298
+ msgid "Field border color:"
299
  msgstr ""
300
 
301
+ #: views/wp-maintenance-colors.php:204
302
+ msgid "Field background color:"
303
  msgstr ""
304
 
305
+ #: views/wp-maintenance-colors.php:207
306
+ msgid "Button text color:"
307
  msgstr ""
308
 
309
+ #: views/wp-maintenance-colors.php:210
310
+ msgid "Button color:"
311
  msgstr ""
312
 
313
+ #: views/wp-maintenance-colors.php:213
314
+ msgid "Button color hover:"
315
  msgstr ""
316
 
317
+ #: views/wp-maintenance-colors.php:215
318
+ msgid "Button color onclick:"
319
  msgstr ""
320
 
321
+ #: views/wp-maintenance-colors.php:219
322
+ #, php-format
323
+ msgid "Enable %s to customize the forms"
324
  msgstr ""
325
 
326
+ #: views/wp-maintenance-colors.php:219
327
+ msgid "newsletter option"
328
  msgstr ""
329
 
330
+ #: views/wp-maintenance-colors.php:223
331
+ msgid "Enable Mailpoet or MailChimp extensions to customize the forms"
332
  msgstr ""
333
 
334
+ #: views/wp-maintenance-countdown.php:24
335
+ msgid "Countdown"
336
  msgstr ""
337
 
338
+ #: views/wp-maintenance-countdown.php:50
339
+ msgid "Enable a countdown ?"
340
  msgstr ""
341
 
342
+ #: views/wp-maintenance-countdown.php:70
343
+ msgid "Personnalize Colors and Fonts"
344
  msgstr ""
345
 
346
+ #: views/wp-maintenance-countdown.php:89
347
+ msgid "Select the launch date/time"
348
  msgstr ""
349
 
350
+ #: views/wp-maintenance-countdown.php:89
351
+ msgid "at"
 
 
 
 
352
  msgstr ""
353
 
354
+ #: views/wp-maintenance-countdown.php:101
355
+ msgid "Enable seconds ?"
 
356
  msgstr ""
357
 
358
+ #: views/wp-maintenance-countdown.php:113
359
+ msgid "Disable maintenance mode at the end of the countdown?"
360
  msgstr ""
361
 
362
+ #: views/wp-maintenance-countdown.php:117
363
+ msgid "End message:"
364
  msgstr ""
365
 
366
+ #: views/wp-maintenance-countdown.php:148
367
+ msgid "January"
368
  msgstr ""
369
 
370
+ #: views/wp-maintenance-countdown.php:148
371
+ msgid "February"
372
  msgstr ""
373
 
374
+ #: views/wp-maintenance-countdown.php:148
375
+ msgid "March"
 
376
  msgstr ""
377
 
378
+ #: views/wp-maintenance-countdown.php:148
379
+ msgid "April"
380
  msgstr ""
381
 
382
+ #: views/wp-maintenance-countdown.php:148
383
+ msgid "May"
384
  msgstr ""
385
 
386
+ #: views/wp-maintenance-countdown.php:148
387
+ msgid "June"
388
  msgstr ""
389
 
390
+ #: views/wp-maintenance-countdown.php:148
391
+ msgid "July"
392
  msgstr ""
393
 
394
+ #: views/wp-maintenance-countdown.php:148
395
+ msgid "August"
396
  msgstr ""
397
 
398
+ #: views/wp-maintenance-countdown.php:148
399
+ msgid "September"
400
  msgstr ""
401
 
402
+ #: views/wp-maintenance-countdown.php:148
403
+ msgid "October"
404
  msgstr ""
405
 
406
+ #: views/wp-maintenance-countdown.php:148
407
+ msgid "November"
408
  msgstr ""
409
 
410
+ #: views/wp-maintenance-countdown.php:148
411
+ msgid "December"
412
  msgstr ""
413
 
414
+ #: views/wp-maintenance-countdown.php:150
415
+ msgid "Sunday"
416
  msgstr ""
417
 
418
+ #: views/wp-maintenance-countdown.php:150
419
+ msgid "Monday"
420
  msgstr ""
421
 
422
+ #: views/wp-maintenance-countdown.php:150
423
+ msgid "Tuesday"
424
  msgstr ""
425
 
426
+ #: views/wp-maintenance-countdown.php:150
427
+ msgid "Wednesday"
428
  msgstr ""
429
 
430
+ #: views/wp-maintenance-countdown.php:150
431
+ msgid "Thurday"
432
  msgstr ""
433
 
434
+ #: views/wp-maintenance-countdown.php:150
435
+ msgid "Friday"
436
  msgstr ""
437
 
438
+ #: views/wp-maintenance-countdown.php:150
439
+ msgid "Saturday"
440
  msgstr ""
441
 
442
+ #: views/wp-maintenance-countdown.php:151
443
+ msgid "Today"
444
  msgstr ""
445
 
446
+ #: views/wp-maintenance-countdown.php:152
447
+ msgid "Delete"
 
448
  msgstr ""
449
 
450
+ #: views/wp-maintenance-countdown.php:153
451
+ #: views/wp-maintenance-countdown.php:172
452
+ msgid "Close"
 
453
  msgstr ""
454
 
455
+ #: views/wp-maintenance-countdown.php:156
456
+ msgid "Next month"
457
  msgstr ""
458
 
459
+ #: views/wp-maintenance-countdown.php:157
460
+ msgid "Previous month"
461
  msgstr ""
462
 
463
+ #: views/wp-maintenance-countdown.php:158
464
+ msgid "Select a month"
465
  msgstr ""
466
 
467
+ #: views/wp-maintenance-countdown.php:159
468
+ msgid "Select a year"
469
  msgstr ""
470
 
471
+ #: views/wp-maintenance-css.php:45
472
+ msgid ""
473
+ "Edit the CSS sheet of your maintenance page here. Click \"Reset\" and \"Save"
474
+ "\" to retrieve the default style sheet."
475
  msgstr ""
476
 
477
+ #: views/wp-maintenance-css.php:53
478
+ msgid "Reset default CSS stylesheet ?"
479
  msgstr ""
480
 
481
+ #: views/wp-maintenance-css.php:68
482
+ msgid "Markers for colors"
483
  msgstr ""
484
 
485
+ #: views/wp-maintenance-css.php:73
486
+ msgid "Use this code for text color"
487
  msgstr ""
488
 
489
+ #: views/wp-maintenance-css.php:77
490
+ msgid "Use this code for background text color"
491
  msgstr ""
492
 
493
+ #: views/wp-maintenance-css.php:81
494
+ msgid "Use this code for background color countdown"
495
  msgstr ""
496
 
497
+ #: views/wp-maintenance-css.php:85
498
+ msgid "Use this code for size countdown"
499
  msgstr ""
500
 
501
+ #: views/wp-maintenance-css.php:89
502
+ msgid "Use this code for countdown color"
503
  msgstr ""
504
 
505
+ #: views/wp-maintenance-css.php:94
506
+ msgid "Need CSS code for MailPoet plugin?"
507
  msgstr ""
508
 
509
+ #: views/wp-maintenance-css.php:95 views/wp-maintenance-css.php:110
510
+ msgid "Click for select all"
511
  msgstr ""
512
 
513
+ #: views/wp-maintenance-css.php:109
514
+ msgid "Need CSS code for MailChimp plugin?"
515
  msgstr ""
516
 
517
+ #: views/wp-maintenance-dashboard.php:62
518
+ msgid "Enable maintenance mode:"
519
  msgstr ""
520
 
521
+ #: views/wp-maintenance-dashboard.php:76
522
+ msgid "Title and text for the maintenance page:"
523
  msgstr ""
524
 
525
+ #: views/wp-maintenance-dashboard.php:77
526
+ msgid "Title:"
527
  msgstr ""
528
 
529
+ #: views/wp-maintenance-dashboard.php:78 views/wp-maintenance-picture.php:238
530
+ msgid "Text:"
531
  msgstr ""
532
 
533
+ #: views/wp-maintenance-dashboard.php:98
534
+ msgid "Text in the bottom of maintenance page:"
535
  msgstr ""
536
 
537
+ #: views/wp-maintenance-dashboard.php:122
538
+ msgid "Enable login access in the bottom ?"
539
  msgstr ""
540
 
541
+ #: views/wp-maintenance-dashboard.php:136
542
+ msgid "Enter a text to go to the dashboard:"
543
  msgstr ""
544
 
545
+ #: views/wp-maintenance-dashboard.php:138
546
+ msgid "Eg: connect to %DASHBOARD% here!"
547
  msgstr ""
548
 
549
+ #: views/wp-maintenance-dashboard.php:138
550
+ msgid ""
551
+ "(%DASHBOARD% will be replaced with the link to the dashboard and the word "
552
+ "\"Dashboard\")"
553
  msgstr ""
554
 
555
+ #: views/wp-maintenance-dashboard.php:146
556
+ msgid "Enable Google Analytics:"
557
  msgstr ""
558
 
559
+ #: views/wp-maintenance-dashboard.php:160
560
+ msgid "Enter your Google analytics tracking ID here:"
 
 
561
  msgstr ""
562
 
563
+ #: views/wp-maintenance-dashboard.php:162
564
+ msgid "Enter your domain URL:"
565
  msgstr ""
566
 
567
+ #: views/wp-maintenance-dashboard.php:169
568
+ msgid "Enable Social Networks:"
569
  msgstr ""
570
 
571
+ #: views/wp-maintenance-dashboard.php:183
572
+ msgid "Enter text for the title icons:"
573
  msgstr ""
574
 
575
+ #: views/wp-maintenance-dashboard.php:184
576
+ msgid "Follow me on"
577
  msgstr ""
578
 
579
+ #: views/wp-maintenance-dashboard.php:186
580
+ msgid "Drad and drop the lines to put in the order you want:"
581
  msgstr ""
582
 
583
+ #: views/wp-maintenance-dashboard.php:213
584
+ msgid "Choose icons size:"
 
 
585
  msgstr ""
586
 
587
+ #: views/wp-maintenance-dashboard.php:224 views/wp-maintenance-picture.php:199
588
+ msgid "Position:"
589
  msgstr ""
590
 
591
+ #: views/wp-maintenance-dashboard.php:226
592
+ msgid "Top"
593
  msgstr ""
594
 
595
+ #: views/wp-maintenance-dashboard.php:227
596
+ msgid "Bottom"
597
  msgstr ""
598
 
599
+ #: views/wp-maintenance-dashboard.php:230
600
+ msgid "Align:"
601
  msgstr ""
602
 
603
+ #: views/wp-maintenance-dashboard.php:232
604
+ msgid "Left"
605
  msgstr ""
606
 
607
+ #: views/wp-maintenance-dashboard.php:233
608
+ msgid "Center"
609
  msgstr ""
610
 
611
+ #: views/wp-maintenance-dashboard.php:234
612
+ msgid "Right"
613
  msgstr ""
614
 
615
+ #: views/wp-maintenance-dashboard.php:237
616
+ msgid "You have your own icons? Enter the folder name of your theme here:"
 
617
  msgstr ""
618
 
619
+ #: views/wp-maintenance-dashboard.php:240
620
+ msgid "Reset Social Icon?"
621
  msgstr ""
622
 
623
+ #: views/wp-maintenance-dashboard.php:257
624
+ msgid "Enable Newletter:"
625
  msgstr ""
626
 
627
+ #: views/wp-maintenance-dashboard.php:271
628
+ msgid "Enter title for the newletter block:"
629
  msgstr ""
630
 
631
+ #: views/wp-maintenance-dashboard.php:273
632
+ msgid "Enter your newletter shortcode here:"
 
633
  msgstr ""
634
 
635
+ #: views/wp-maintenance-dashboard.php:275
636
+ msgid "Or enter your newletter iframe code here:"
637
  msgstr ""
638
 
639
+ #: views/wp-maintenance-picture.php:60
640
+ msgid "Picture"
641
  msgstr ""
642
 
643
+ #: views/wp-maintenance-picture.php:74
644
+ msgid "Header picture"
645
  msgstr ""
646
 
647
+ #: views/wp-maintenance-picture.php:75 views/wp-maintenance-picture.php:103
648
+ msgid "Enter a URL or upload an image."
649
  msgstr ""
650
 
651
+ #: views/wp-maintenance-picture.php:76 views/wp-maintenance-picture.php:104
652
+ #: views/wp-maintenance-picture.php:209
653
+ msgid "Select or Upload your picture"
654
  msgstr ""
655
 
656
+ #: views/wp-maintenance-picture.php:80
657
+ msgid "You use this picture:"
 
 
658
  msgstr ""
659
 
660
+ #: views/wp-maintenance-picture.php:87
661
+ msgid "Background picture or pattern"
662
  msgstr ""
663
 
664
+ #: views/wp-maintenance-picture.php:105
665
+ msgid "Background picture options"
 
 
666
  msgstr ""
667
 
668
+ #: views/wp-maintenance-picture.php:111
669
+ msgid "Fixed"
670
  msgstr ""
671
 
672
+ #: views/wp-maintenance-picture.php:115
673
+ msgid "You use this background picture:"
 
 
674
  msgstr ""
675
 
676
+ #: views/wp-maintenance-picture.php:123
677
+ msgid "Or choose a pattern:"
 
 
 
 
 
678
  msgstr ""
679
 
680
+ #: views/wp-maintenance-picture.php:126
681
+ msgid "NO PATTERN"
 
682
  msgstr ""
683
 
684
+ #: views/wp-maintenance-picture.php:139
685
+ msgid "You use this pattern:"
686
  msgstr ""
687
 
688
+ #: views/wp-maintenance-picture.php:148
689
+ msgid "Enable Slider"
 
690
  msgstr ""
691
 
692
+ #: views/wp-maintenance-picture.php:161
693
+ msgid "Slider image options"
694
  msgstr ""
695
 
696
+ #: views/wp-maintenance-picture.php:175
697
+ msgid "Speed:"
698
  msgstr ""
699
 
700
+ #: views/wp-maintenance-picture.php:181
701
+ msgid "Display Auto Slider:"
702
  msgstr ""
703
 
704
+ #: views/wp-maintenance-picture.php:188
705
+ msgid "Display button navigation:"
706
  msgstr ""
707
 
708
+ #: views/wp-maintenance-picture.php:201
709
+ msgid "Above logo"
710
  msgstr ""
711
 
712
+ #: views/wp-maintenance-picture.php:202
713
+ msgid "Below logo"
714
  msgstr ""
715
 
716
+ #: views/wp-maintenance-picture.php:203
717
+ msgid "Below title & text"
718
  msgstr ""
719
 
720
+ #: views/wp-maintenance-picture.php:239
721
+ msgid "Link:"
722
  msgstr ""
723
 
724
+ #: views/wp-maintenance-picture.php:242
725
+ msgid "Delete this slide"
726
  msgstr ""
727
 
728
+ #: views/wp-maintenance-settings.php:65
729
+ msgid "Theme maintenance page"
730
  msgstr ""
731
 
732
+ #: views/wp-maintenance-settings.php:65
733
+ msgid ""
734
+ "If you would use your maintenance.php page in your theme folder, click Yes."
735
  msgstr ""
736
 
737
+ #: views/wp-maintenance-settings.php:78
738
+ msgid "You can use this shortcode to include Google Analytics code:"
739
  msgstr ""
740
 
741
+ #: views/wp-maintenance-settings.php:78
742
+ msgid "You can use this shortcode to include Social Networks icons:"
743
  msgstr ""
744
 
745
+ #: views/wp-maintenance-settings.php:84
746
+ msgid "Delete custom settings upon plugin deactivation?"
747
  msgstr ""
748
 
749
+ #: views/wp-maintenance-settings.php:84
750
+ msgid ""
751
+ "If you set \"Yes\" all custom settings will be deleted from database upon "
752
+ "plugin deactivation"
753
  msgstr ""
754
 
755
+ #: views/wp-maintenance-settings.php:98
756
+ msgid "Roles and Capabilities:"
757
  msgstr ""
758
 
759
+ #: views/wp-maintenance-settings.php:99
760
+ msgid "Allow the site to display these roles:"
761
  msgstr ""
762
 
763
+ #: views/wp-maintenance-settings.php:118
764
+ msgid "IP autorized:"
765
  msgstr ""
766
 
767
+ #: views/wp-maintenance-settings.php:119
768
+ msgid ""
769
+ "Allow the site to display these IP addresses. Please, enter one IP address "
770
+ "by line:"
771
  msgstr ""
772
 
773
+ #: views/wp-maintenance-settings.php:125
774
+ msgid "ID pages autorized:"
775
  msgstr ""
776
 
777
+ #: views/wp-maintenance-settings.php:126
778
+ msgid ""
779
+ "Allow the site to display these ID pages. Please, enter the ID pages "
780
+ "separate with comma :"
781
  msgstr ""
782
 
783
+ #: views/wp-maintenance-settings.php:132
784
+ msgid "Header Code:"
785
  msgstr ""
786
 
787
+ #: views/wp-maintenance-settings.php:133
788
+ msgid ""
789
+ "The following code will add to the <head> tag. Useful if you need to add "
790
+ "additional scripts such as CSS or JS."
791
  msgstr ""
792
 
793
+ #: views/wp-maintenance-settings.php:160 views/wp-maintenance-settings.php:161
794
+ #: views/wp-maintenance-settings.php:175 views/wp-maintenance-settings.php:176
795
+ msgid "Click to toggle"
796
  msgstr ""
797
 
798
+ #: views/wp-maintenance-settings.php:161
799
+ msgid "Export Settings"
800
  msgstr ""
801
 
802
+ #: views/wp-maintenance-settings.php:169
803
+ msgid "Export"
804
  msgstr ""
805
 
806
+ #: views/wp-maintenance-settings.php:176
807
+ msgid "Import Settings"
808
  msgstr ""
809
 
810
+ #: views/wp-maintenance-settings.php:178
811
+ msgid ""
812
+ "Import the plugin settings from a .json file. This file can be obtained by "
813
+ "exporting the settings on another site using the form above."
814
  msgstr ""
815
 
816
+ #: views/wp-maintenance-settings.php:186
817
+ msgid "Import"
 
 
818
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpmaintenance.info/a-propos/
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
- Stable tag: 3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -57,11 +57,16 @@ You can translate WP Maintenance on [__translate.wordpress.org__](https://transl
57
 
58
  == Upgrade Notice ==
59
 
60
- = 3.0 =
61
  This version is stable
62
 
63
  == Changelog ==
64
 
 
 
 
 
 
65
  = 3.0 =
66
  * Rebuilt plugin core from the ground up
67
  * Add CodeMirror for codes options
4
  Tags: Maintenance, Construction, Launch, Coming soon
5
  Requires at least: 3.0
6
  Tested up to: 4.7
7
+ Stable tag: 3.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
57
 
58
  == Upgrade Notice ==
59
 
60
+ = 3.0.1 =
61
  This version is stable
62
 
63
  == Changelog ==
64
 
65
+ = 3.0.1 =
66
+ * Fixed bug on desactivate/uninstall plugin
67
+ * Fixed bug fatal error function is_rtl() in multisites
68
+ * Added export/import settings
69
+
70
  = 3.0 =
71
  * Rebuilt plugin core from the ground up
72
  * Add CodeMirror for codes options
views/wp-maintenance-dashboard.php CHANGED
@@ -269,9 +269,9 @@ $paramSocialOption = get_option('wp_maintenance_social_options');
269
  <div id="option-newletter" style="<?php if( empty($paramMMode['newletter']) || isset($paramMMode['newletter']) && $paramMMode['newletter']==0) { echo ' display:none;'; } else { echo 'display:block'; } ?>">
270
 
271
  <?php _e('Enter title for the newletter block:', 'wp-maintenance'); ?><br />
272
- <input type="text" class="wpm-form-field" name="wp_maintenance_settings[title_newletter]" size="100%" value="<?php if( isset($paramMMode['title_newletter']) && $paramMMode['title_newletter']!='' ) { echo stripslashes(trim($paramMMode['title_newletter'])); } ?>" /><br /><br />
273
  <input type="radio" class="wpm-form-field" name="wp_maintenance_settings[type_newletter]" value="shortcode" <?php if( isset($paramMMode['type_newletter']) && $paramMMode['type_newletter']=='shortcode' ) { echo 'checked'; } if( empty($paramMMode['type_newletter']) ) { echo 'checked'; } ?> /><?php _e('Enter your newletter shortcode here:', 'wp-maintenance'); ?><br />
274
- <input type="text" size="100%" class="wpm-form-field" name="wp_maintenance_settings[code_newletter]" value='<?php if( isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' ) { echo stripslashes(trim($paramMMode['code_newletter'])); } ?>' onclick="select()" /><br /><br />
275
  <input type="radio" class="wpm-form-field" name="wp_maintenance_settings[type_newletter]" value="iframe" <?php if( isset($paramMMode['type_newletter']) && $paramMMode['type_newletter']=='iframe' ) { echo 'checked'; } ?>/> <?php _e('Or enter your newletter iframe code here:', 'wp-maintenance'); ?><br />
276
  <textarea class="wpm-form-field" id="iframe_newletter" cols="60" rows="10" name="wp_maintenance_settings[iframe_newletter]"><?php if( isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' ) { echo stripslashes(trim($paramMMode['iframe_newletter'])); } ?></textarea>
277
 
269
  <div id="option-newletter" style="<?php if( empty($paramMMode['newletter']) || isset($paramMMode['newletter']) && $paramMMode['newletter']==0) { echo ' display:none;'; } else { echo 'display:block'; } ?>">
270
 
271
  <?php _e('Enter title for the newletter block:', 'wp-maintenance'); ?><br />
272
+ <input type="text" class="wpm-form-field" name="wp_maintenance_settings[title_newletter]" size="60" value="<?php if( isset($paramMMode['title_newletter']) && $paramMMode['title_newletter']!='' ) { echo stripslashes(trim($paramMMode['title_newletter'])); } ?>" /><br /><br />
273
  <input type="radio" class="wpm-form-field" name="wp_maintenance_settings[type_newletter]" value="shortcode" <?php if( isset($paramMMode['type_newletter']) && $paramMMode['type_newletter']=='shortcode' ) { echo 'checked'; } if( empty($paramMMode['type_newletter']) ) { echo 'checked'; } ?> /><?php _e('Enter your newletter shortcode here:', 'wp-maintenance'); ?><br />
274
+ <input type="text" class="wpm-form-field" name="wp_maintenance_settings[code_newletter]" value='<?php if( isset($paramMMode['code_newletter']) && $paramMMode['code_newletter']!='' ) { echo stripslashes(trim($paramMMode['code_newletter'])); } ?>' onclick="select()" /><br /><br />
275
  <input type="radio" class="wpm-form-field" name="wp_maintenance_settings[type_newletter]" value="iframe" <?php if( isset($paramMMode['type_newletter']) && $paramMMode['type_newletter']=='iframe' ) { echo 'checked'; } ?>/> <?php _e('Or enter your newletter iframe code here:', 'wp-maintenance'); ?><br />
276
  <textarea class="wpm-form-field" id="iframe_newletter" cols="60" rows="10" name="wp_maintenance_settings[iframe_newletter]"><?php if( isset($paramMMode['iframe_newletter']) && $paramMMode['iframe_newletter']!='' ) { echo stripslashes(trim($paramMMode['iframe_newletter'])); } ?></textarea>
277
 
views/wp-maintenance-settings.php CHANGED
@@ -25,6 +25,23 @@ $paramLimit = get_option('wp_maintenance_limit');
25
  $paramIpAddress = get_option('wp_maintenance_ipaddresses');
26
 
27
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  <style>
29
  .CodeMirror {
30
  border: 1px solid #eee;
@@ -137,7 +154,41 @@ $paramIpAddress = get_option('wp_maintenance_ipaddresses');
137
  mode: "text/x-scss",
138
  theme:"material"
139
  });
140
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  <?php echo wpm_footer(); ?>
142
 
143
  </div>
25
  $paramIpAddress = get_option('wp_maintenance_ipaddresses');
26
 
27
  ?>
28
+ <script type="text/javascript">
29
+
30
+ jQuery(document).ready(function() {
31
+
32
+ jQuery( ".postbox .hndle" ).on( "mouseover", function() {
33
+ jQuery( this ).css( "cursor", "pointer" );
34
+ });
35
+ /* Sliding the panels */
36
+ jQuery(".postbox").on('click', '.handlediv', function(){
37
+ jQuery(this).siblings(".inside").slideToggle();
38
+ });
39
+ jQuery(".postbox").on('click', '.hndle', function(){
40
+ jQuery(this).siblings(".inside").slideToggle();
41
+ });
42
+
43
+ });
44
+ </script>
45
  <style>
46
  .CodeMirror {
47
  border: 1px solid #eee;
154
  mode: "text/x-scss",
155
  theme:"material"
156
  });
157
+ </script>
158
+ <div style="margin-top:15px;margin-bottom:15px;"></div>
159
+ <div class="postbox">
160
+ <div class="handlediv" title="<?php _e('Click to toggle', 'wp-maintenance'); ?>"><br></div>
161
+ <h3 class="hndle" title="<?php _e('Click to toggle', 'wp-maintenance'); ?>"><span class="dashicons dashicons-download"></span> <?php _e( 'Export Settings', 'wp-maintenance' ); ?></h3>
162
+ <div class="inside">
163
+ <form method="post">
164
+ <p>
165
+ <input type="hidden" name="wpm_action" value="export_settings" />
166
+ </p>
167
+ <p>
168
+ <?php wp_nonce_field( 'wpm_export_nonce', 'wpm_export_nonce' ); ?>
169
+ <?php submit_button( __( 'Export', 'wp-maintenance' ), 'secondary', 'submit', false ); ?>
170
+ </p>
171
+ </form>
172
+ </div>
173
+ </div>
174
+ <div class="postbox">
175
+ <div class="handlediv" title="<?php _e('Click to toggle', 'wp-maintenance'); ?>"><br></div>
176
+ <h3 class="hndle" title="<?php _e('Click to toggle', 'wp-maintenance'); ?>"><span class="dashicons dashicons-upload"></span> <?php _e( 'Import Settings', 'wp-maintenance' ); ?></h3>
177
+ <div class="inside">
178
+ <p><?php _e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'wp-maintenance' ); ?></p>
179
+ <form method="post" enctype="multipart/form-data">
180
+ <p>
181
+ <input type="file" name="wpm_import_file"/>
182
+ </p>
183
+ <p>
184
+ <input type="hidden" name="wpm_action" value="import_settings" />
185
+ <?php wp_nonce_field( 'wpm_import_nonce', 'wpm_import_nonce' ); ?>
186
+ <?php submit_button( __( 'Import', 'wp-maintenance' ), 'secondary', 'submit', false ); ?>
187
+ </p>
188
+ </form>
189
+ </div>
190
+ </div>
191
+
192
  <?php echo wpm_footer(); ?>
193
 
194
  </div>
wp-maintenance.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
6
  * Author: Florent Maillefaud
7
  * Author URI: https://wpmaintenance.info
8
- * Version: 3.0
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
@@ -36,7 +36,7 @@ define( 'WPM_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
36
  define( 'WPM_PLUGIN_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/');
37
  define( 'WPM_ICONS_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/');
38
 
39
- if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '3.0' ); }
40
 
41
  require WPM_DIR . 'classes/wp-maintenance.php';
42
  require WPM_DIR . 'classes/slider.php';
5
  * Description: The WP Maintenance plugin allows you to put your website on the waiting time for you to do maintenance or launch your website. Personalize this page with picture, countdown...
6
  * Author: Florent Maillefaud
7
  * Author URI: https://wpmaintenance.info
8
+ * Version: 3.0.1
9
  * Text Domain: wp-maintenance
10
  * Domain Path: /languages/
11
  */
36
  define( 'WPM_PLUGIN_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/');
37
  define( 'WPM_ICONS_URL', WP_CONTENT_URL.'/plugins/wp-maintenance/socialicons/');
38
 
39
+ if( !defined( 'WPM_VERSION' )) { define( 'WPM_VERSION', '3.0.1' ); }
40
 
41
  require WPM_DIR . 'classes/wp-maintenance.php';
42
  require WPM_DIR . 'classes/slider.php';