WP Maintenance - Version 0.6

Version Description

Cette version est stable / This version is stable

=

Download this release

Release Info

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

Code changes from version 0.5 to 0.6

default.png CHANGED
File without changes
languages/wp-maintenance-fr_FR.mo CHANGED
Binary file
languages/wp-maintenance-fr_FR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
  "POT-Creation-Date: 2013-08-30 15:34+0100\n"
5
- "PO-Revision-Date: 2013-08-30 15:35+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language: Français\n"
2
  msgstr ""
3
  "Project-Id-Version: WP Maintenance\n"
4
  "POT-Creation-Date: 2013-08-30 15:34+0100\n"
5
+ "PO-Revision-Date: 2013-08-30 16:54+0100\n"
6
  "Last-Translator: Florent <contact@restezconnectes.fr>\n"
7
  "Language-Team: Florent Maillefaud <contact@restezconnectes.fr>\n"
8
  "Language: Français\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 2.0
6
  Tested up to: 3.6
7
- Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -48,14 +48,17 @@ Oui mais merci de me soumettre les modifications souhaitées afin de mettre à j
48
 
49
  == Upgrade Notice ==
50
 
51
- = 0.5 =
52
  Cette version est stable / This version is stable
53
 
54
 
55
  == Changelog ==
56
 
57
- = 0.4 =
58
- Ajout de l'édition de la feuille de Style CSS / Add editor for stylesheet
 
 
 
59
 
60
  = 0.4 =
61
  * Plugin en multilangue / Add multilanguage
4
  Tags: wordpress maintenance plugin
5
  Requires at least: 2.0
6
  Tested up to: 3.6
7
+ Stable tag: 0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
48
 
49
  == Upgrade Notice ==
50
 
51
+ = 0.6 =
52
  Cette version est stable / This version is stable
53
 
54
 
55
  == Changelog ==
56
 
57
+ = 0.6 =
58
+ * Conflits javascript résolus / Javascript conflicts fixed
59
+
60
+ = 0.5 =
61
+ *Ajout de l'édition de la feuille de Style CSS / Add editor for stylesheet
62
 
63
  = 0.4 =
64
  * Plugin en multilangue / Add multilanguage
wp-maintenance-admin.php CHANGED
@@ -267,7 +267,7 @@ echo $paramMMode['styless'];
267
  </li>
268
  <li> &nbsp;</li>
269
  <li>
270
- <a href="#4" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php echo __('Save this settings', 'wp-maintenance'); ?> </span></a>
271
  </li>
272
  </ul>
273
  </div>
267
  </li>
268
  <li> &nbsp;</li>
269
  <li>
270
+ <a href="#compte" id="submitbutton" OnClick="document.forms['valide_maintenance'].submit();this.blur();" name="Save" class="button-primary"><span> <?php echo __('Save this settings', 'wp-maintenance'); ?> </span></a>
271
  </li>
272
  </ul>
273
  </div>
wp-maintenance.php CHANGED
@@ -6,12 +6,13 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-maintenance/
6
  Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance. Personnalisez cette page de maintenance.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
- Version: 0.5
10
  */
11
 
12
 
13
  /*
14
  Change Log
 
15
  30/08/2013 - CSS personnalisable
16
  27/08/2013 - Ajout du multilangue
17
  23/08/2013 - Refonte de l'admin et ajout d'un compte à rebours
@@ -46,7 +47,7 @@ function make_wpm_multilang() {
46
  }
47
 
48
  /* Ajoute la version dnas les options */
49
- define('WPM_VERSION', '0.5');
50
  $option['wp_maintenance_version'] = WPM_VERSION;
51
  add_option('wp_maintenance_version',$option);
52
 
@@ -95,11 +96,11 @@ function wpm_admin_scripts() {
95
  wp_register_script('wpm-admin-settings', WP_PLUGIN_URL.'/wp-maintenance/wpm-admin-settings.js');
96
  wp_enqueue_script('wpm-admin-settings');
97
  }
98
- add_action('admin_print_scripts', 'wpm_admin_scripts');
99
 
100
  if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
101
  add_action('admin_print_scripts', 'WpMaintenanceAdminScripts');
102
  add_action('admin_print_styles', 'WpMaintenanceAdminStyles');
 
103
  }
104
 
105
  /* Mode Mainteance */
6
  Description: Le plugin WP Maintenance vous permet de mettre votre site en attente le temps pour vous de faire une maintenance. Personnalisez cette page de maintenance.
7
  Author: Florent Maillefaud
8
  Author URI: http://www.restezconnectes.fr/
9
+ Version: 0.6
10
  */
11
 
12
 
13
  /*
14
  Change Log
15
+ 11/09/2013 - Conflits javascript résolus
16
  30/08/2013 - CSS personnalisable
17
  27/08/2013 - Ajout du multilangue
18
  23/08/2013 - Refonte de l'admin et ajout d'un compte à rebours
47
  }
48
 
49
  /* Ajoute la version dnas les options */
50
+ define('WPM_VERSION', '0.6');
51
  $option['wp_maintenance_version'] = WPM_VERSION;
52
  add_option('wp_maintenance_version',$option);
53
 
96
  wp_register_script('wpm-admin-settings', WP_PLUGIN_URL.'/wp-maintenance/wpm-admin-settings.js');
97
  wp_enqueue_script('wpm-admin-settings');
98
  }
 
99
 
100
  if (isset($_GET['page']) && $_GET['page'] == 'wp-maintenance/wp-maintenance.php') {
101
  add_action('admin_print_scripts', 'WpMaintenanceAdminScripts');
102
  add_action('admin_print_styles', 'WpMaintenanceAdminStyles');
103
+ add_action('admin_print_scripts', 'wpm_admin_scripts');
104
  }
105
 
106
  /* Mode Mainteance */
wpm-style.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ #wp-admin-bar-wp-maintenance-active {
2
+ background-color: #d00;
3
+ background-image: -moz-linear-gradient(bottom, #f44, #d00 );
4
+ background-image: -webkit-gradient(linear, left bottom, left top, from(#f44), to(#d00));
5
+ }