WP-DBManager - Version 2.31

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-DBManager
Version 2.31
Comparing to
See all releases

Code changes from version 2.30 to 2.31

database-backup.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
@@ -87,7 +87,7 @@ $stats_function_disabled = 0;
87
  echo '<font color="green">'.__('Backup folder exists', 'wp-dbmanager').'</font><br />';
88
  $status_count++;
89
  } else {
90
- echo '<font color="red">'.__('Backup folder does NOT exist. Please create \'backup-db\' folder in \'wp-content\' folder and CHMOD it to \'777\' or change the location of the backup folder under DB Option.', 'wp-dbmanager').'</font><br />';
91
  }
92
  if(@is_writable(stripslashes($backup['path']))) {
93
  echo '<font color="green">'.__('Backup folder is writable', 'wp-dbmanager').'</font>';
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
87
  echo '<font color="green">'.__('Backup folder exists', 'wp-dbmanager').'</font><br />';
88
  $status_count++;
89
  } else {
90
+ echo '<font color="red">'.sprintf(__('Backup folder does NOT exist. Please create \'backup-db\' folder in \'%s\' folder and CHMOD it to \'777\' or change the location of the backup folder under DB Option.', 'wp-dbmanager'), WP_CONTENT_DIR).'</font><br />';
91
  }
92
  if(@is_writable(stripslashes($backup['path']))) {
93
  echo '<font color="green">'.__('Backup folder is writable', 'wp-dbmanager').'</font>';
database-empty.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
database-manage.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
database-manager.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
database-optimize.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
@@ -38,19 +38,20 @@ if($_POST['do']) {
38
  if(!empty($optimize)) {
39
  foreach($optimize as $key => $value) {
40
  if($value == 'yes') {
41
- $tables_string .= ', '.$key;
42
  }
43
  }
44
  } else {
45
  $text = '<font color="red">'.__('No Tables Selected', 'wp-dbmanager').'</font>';
46
  }
47
- $selected_tables = substr($tables_string, 2);
 
48
  if(!empty($selected_tables)) {
49
  $optimize2 = $wpdb->query("OPTIMIZE TABLE $selected_tables");
50
  if(!$optimize2) {
51
- $text = '<font color="red">'.sprintf(__('Table(s) \'%s\' NOT Optimized', 'wp-dbmanager'), $selected_tables).'</font>';
52
  } else {
53
- $text = '<font color="green">'.sprintf(__('Table(s) \'%s\' Optimized', 'wp-dbmanager'), $selected_tables).'</font>';
54
  }
55
  }
56
  break;
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
38
  if(!empty($optimize)) {
39
  foreach($optimize as $key => $value) {
40
  if($value == 'yes') {
41
+ $tables_string .= '`, `'.$key;
42
  }
43
  }
44
  } else {
45
  $text = '<font color="red">'.__('No Tables Selected', 'wp-dbmanager').'</font>';
46
  }
47
+ $selected_tables = substr($tables_string, 3);
48
+ $selected_tables .= '`';
49
  if(!empty($selected_tables)) {
50
  $optimize2 = $wpdb->query("OPTIMIZE TABLE $selected_tables");
51
  if(!$optimize2) {
52
+ $text = '<font color="red">'.sprintf(__('Table(s) \'%s\' NOT Optimized', 'wp-dbmanager'), str_replace('`', '', $selected_tables)).'</font>';
53
  } else {
54
+ $text = '<font color="green">'.sprintf(__('Table(s) \'%s\' Optimized', 'wp-dbmanager'), str_replace('`', '', $selected_tables)).'</font>';
55
  }
56
  }
57
  break;
database-repair.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
@@ -38,16 +38,21 @@ if($_POST['do']) {
38
  if(!empty($repair)) {
39
  foreach($repair as $key => $value) {
40
  if($value == 'yes') {
41
- $tables_string .= ', '.$key;
42
  }
43
  }
44
  } else {
45
  $text = '<font color="red">'.__('No Tables Selected', 'wp-dbmanager').'</font>';
46
  }
47
  $selected_tables = substr($tables_string, 2);
 
48
  if(!empty($selected_tables)) {
49
  $repair2 = $wpdb->query("REPAIR TABLE $selected_tables");
50
- $text = '<font color="green">'.sprintf(__('Table(s) \'%s\' Repaired', 'wp-dbmanager'), $selected_tables).'</font>';
 
 
 
 
51
  }
52
  break;
53
  }
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
38
  if(!empty($repair)) {
39
  foreach($repair as $key => $value) {
40
  if($value == 'yes') {
41
+ $tables_string .= '`, `'.$key;
42
  }
43
  }
44
  } else {
45
  $text = '<font color="red">'.__('No Tables Selected', 'wp-dbmanager').'</font>';
46
  }
47
  $selected_tables = substr($tables_string, 2);
48
+ $selected_tables .= '`';
49
  if(!empty($selected_tables)) {
50
  $repair2 = $wpdb->query("REPAIR TABLE $selected_tables");
51
+ if(!$repair2) {
52
+ $text = '<font color="red">'.sprintf(__('Table(s) \'%s\' NOT Repaired', 'wp-dbmanager'), str_replace('`', '', $selected_tables)).'</font>';
53
+ } else {
54
+ $text = '<font color="green">'.sprintf(__('Table(s) \'%s\' Repaired', 'wp-dbmanager'), str_replace('`', '', $selected_tables)).'</font>';
55
+ }
56
  }
57
  break;
58
  }
database-run.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
database-uninstall.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.5 Plugin: WP-DBManager 2.30 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.5 Plugin: WP-DBManager 2.31 |
6
  | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
readme.html CHANGED
@@ -2,7 +2,7 @@
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>WP-DBManager 2.30 Readme</title>
6
  <style type="text/css" media="screen">
7
  /* Default Style */
8
  BODY {
@@ -203,7 +203,7 @@
203
  <body>
204
  <div id="Container">
205
  <!-- Title -->
206
- <div id="Title">WP-DBManager 2.30&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
 
208
  <!-- Tabs -->
209
  <ul id="Tabs">
@@ -234,7 +234,7 @@
234
  </p>
235
  <p>
236
  <strong>Download:</strong><br />
237
- <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.30.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.30.zip">WP-DBManager 2.30 For WordPress 2.1.x And Above</a><br />
238
  <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip">WP-DBManager 2.05 For WordPress 2.0.x</a><br />
239
  <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip">WP-DBManager 1.00 For WordPress 1.5.2</a>
240
  </p>
@@ -277,6 +277,13 @@
277
  <div id="Changelog" style="display: none;">
278
  <div class="SubTitle">&raquo; Changelog</div>
279
  <ul>
 
 
 
 
 
 
 
280
  <li>
281
  <strong>Version 2.30 (01-06-2008)</strong>
282
  <ul>
@@ -398,7 +405,7 @@
398
  <!-- Upgrade Instructions -->
399
  <div id="Upgrade" style="display: none;">
400
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
401
- <div class="SubSubTitle">From v2.0x To v2.30</div>
402
  <ol>
403
  <li>
404
  <strong>Deactivate</strong> WP-DBManager Plugin
@@ -440,6 +447,6 @@
440
  </div>
441
  </div>
442
  </div>
443
- <p id="Copyright">WP-DBManager 2.30<br />Copyright &copy; 2008 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
444
  </body>
445
  </html>
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <title>WP-DBManager 2.31 Readme</title>
6
  <style type="text/css" media="screen">
7
  /* Default Style */
8
  BODY {
203
  <body>
204
  <div id="Container">
205
  <!-- Title -->
206
+ <div id="Title">WP-DBManager 2.31&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
 
208
  <!-- Tabs -->
209
  <ul id="Tabs">
234
  </p>
235
  <p>
236
  <strong>Download:</strong><br />
237
+ <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.31.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.31.zip">WP-DBManager 2.31 For WordPress 2.1.x And Above</a><br />
238
  <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip">WP-DBManager 2.05 For WordPress 2.0.x</a><br />
239
  <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip">WP-DBManager 1.00 For WordPress 1.5.2</a>
240
  </p>
277
  <div id="Changelog" style="display: none;">
278
  <div class="SubTitle">&raquo; Changelog</div>
279
  <ul>
280
+ <li>
281
+ <strong>Version 2.31 (16-07-2008)</strong>
282
+ <ul>
283
+ <li>NEW: Works For WordPress 2.6</li>
284
+ <li>FIXED: Unable To Optimize Or Repair Tables If Table Name Contains - (dash)</li>
285
+ </ul>
286
+ </li>
287
  <li>
288
  <strong>Version 2.30 (01-06-2008)</strong>
289
  <ul>
405
  <!-- Upgrade Instructions -->
406
  <div id="Upgrade" style="display: none;">
407
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
408
+ <div class="SubSubTitle">From v2.0x To v2.31</div>
409
  <ol>
410
  <li>
411
  <strong>Deactivate</strong> WP-DBManager Plugin
447
  </div>
448
  </div>
449
  </div>
450
+ <p id="Copyright">WP-DBManager 2.31<br />Copyright &copy; 2008 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
451
  </body>
452
  </html>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: GamerZ
3
  Donate link: http://lesterchan.net/wordpress
4
  Tags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic
5
  Requires at least: 2.5.0
6
- Stable tag: 2.30
7
 
8
  Manages your WordPress database.
9
 
3
  Donate link: http://lesterchan.net/wordpress
4
  Tags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic
5
  Requires at least: 2.5.0
6
+ Stable tag: 2.31
7
 
8
  Manages your WordPress database.
9
 
wp-dbmanager.mo CHANGED
Binary file
wp-dbmanager.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-DBManager
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Manages your Wordpress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database.
6
- Version: 2.30
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  */
@@ -28,10 +28,29 @@ Author URI: http://lesterchan.net
28
  */
29
 
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ### Create Text Domain For Translations
32
  add_action('init', 'dbmanager_textdomain');
33
  function dbmanager_textdomain() {
34
- load_plugin_textdomain('wp-dbmanager', 'wp-content/plugins/wp-dbmanager');
 
 
 
 
35
  }
36
 
37
 
@@ -132,7 +151,7 @@ function cron_dbmanager_optimize() {
132
  $optimize_tables = array();
133
  $tables = $wpdb->get_col("SHOW TABLES");
134
  foreach($tables as $table_name) {
135
- $optimize_tables[] = $table_name;
136
  }
137
  $wpdb->query('OPTIMIZE TABLE '.implode(',', $optimize_tables));
138
  }
@@ -279,7 +298,7 @@ function dbmanager_init() {
279
  $backup_options = array();
280
  $backup_options['mysqldumppath'] = $auto['mysqldump'];
281
  $backup_options['mysqlpath'] = $auto['mysql'];
282
- $backup_options['path'] = str_replace('\\', '/', ABSPATH).'wp-content/backup-db';
283
  $backup_options['max_backup'] = 10;
284
  $backup_options['backup'] = 1;
285
  $backup_options['backup_gzip'] = 0;
@@ -290,8 +309,8 @@ function dbmanager_init() {
290
  add_option('dbmanager_options', $backup_options, 'WP-DBManager Options');
291
 
292
  // Create Backup Folder
293
- if(!is_dir(ABSPATH.'wp-content/backup-db')) {
294
- mkdir(ABSPATH.'wp-content/backup-db');
295
  }
296
 
297
  // Set 'manage_database' Capabilities To Administrator
3
  Plugin Name: WP-DBManager
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Manages your Wordpress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database.
6
+ Version: 2.31
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  */
28
  */
29
 
30
 
31
+ ### Use WordPress 2.6 Constants
32
+ if (!defined('WP_CONTENT_DIR')) {
33
+ define( 'WP_CONTENT_DIR', ABSPATH.'wp-content');
34
+ }
35
+ if (!defined('WP_CONTENT_URL')) {
36
+ define('WP_CONTENT_URL', get_option('siteurl').'/wp-content');
37
+ }
38
+ if (!defined('WP_PLUGIN_DIR')) {
39
+ define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins');
40
+ }
41
+ if (!defined('WP_PLUGIN_URL')) {
42
+ define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');
43
+ }
44
+
45
+
46
  ### Create Text Domain For Translations
47
  add_action('init', 'dbmanager_textdomain');
48
  function dbmanager_textdomain() {
49
+ if (!function_exists('wp_print_styles')) {
50
+ load_plugin_textdomain('wp-dbmanager', 'wp-content/plugins/wp-dbmanager');
51
+ } else {
52
+ load_plugin_textdomain('wp-dbmanager', false, 'wp-dbmanager');
53
+ }
54
  }
55
 
56
 
151
  $optimize_tables = array();
152
  $tables = $wpdb->get_col("SHOW TABLES");
153
  foreach($tables as $table_name) {
154
+ $optimize_tables[] = '`'.$table_name.'`';
155
  }
156
  $wpdb->query('OPTIMIZE TABLE '.implode(',', $optimize_tables));
157
  }
298
  $backup_options = array();
299
  $backup_options['mysqldumppath'] = $auto['mysqldump'];
300
  $backup_options['mysqlpath'] = $auto['mysql'];
301
+ $backup_options['path'] = str_replace('\\', '/', WP_CONTENT_DIR).'/backup-db';
302
  $backup_options['max_backup'] = 10;
303
  $backup_options['backup'] = 1;
304
  $backup_options['backup_gzip'] = 0;
309
  add_option('dbmanager_options', $backup_options, 'WP-DBManager Options');
310
 
311
  // Create Backup Folder
312
+ if(!is_dir(WP_CONTENT_DIR.'/backup-db')) {
313
+ mkdir(WP_CONTENT_DIR.'/backup-db');
314
  }
315
 
316
  // Set 'manage_database' Capabilities To Administrator
wp-dbmanager.pot CHANGED
@@ -1,11 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP-DBManager 2.30\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2008-05-16 19:44+0800\n"
6
- "PO-Revision-Date: 2008-05-16 19:44+0800\n"
7
  "Last-Translator: Lester Chan <lesterchan@gmail.com>\n"
8
- "Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,10 +21,10 @@ msgstr ""
21
  #: database-manage.php:67
22
  #: database-manage.php:122
23
  #: database-manage.php:174
24
- #: wp-dbmanager.php:66
25
- #: wp-dbmanager.php:87
26
- #: wp-dbmanager.php:446
27
- #: wp-dbmanager.php:477
28
  #, php-format
29
  msgid "%s @ %s"
30
  msgstr ""
@@ -72,7 +72,8 @@ msgid "Backup folder exists"
72
  msgstr ""
73
 
74
  #: database-backup.php:90
75
- msgid "Backup folder does NOT exist. Please create 'backup-db' folder in 'wp-content' folder and CHMOD it to '777' or change the location of the backup folder under DB Option."
 
76
  msgstr ""
77
 
78
  #: database-backup.php:93
@@ -191,25 +192,25 @@ msgid "GZIP Database Backup File?"
191
  msgstr ""
192
 
193
  #: database-backup.php:199
194
- #: database-optimize.php:86
195
- #: database-repair.php:82
196
  #: database-uninstall.php:124
197
- #: wp-dbmanager.php:464
198
  msgid "Yes"
199
  msgstr ""
200
 
201
  #: database-backup.php:199
202
- #: database-optimize.php:86
203
- #: database-repair.php:82
204
- #: wp-dbmanager.php:463
205
  msgid "No"
206
  msgstr ""
207
 
208
  #: database-backup.php:202
209
  #: database-empty.php:111
210
  #: database-manage.php:205
211
- #: database-optimize.php:93
212
- #: database-repair.php:86
213
  #: database-run.php:97
214
  msgid "Cancel"
215
  msgstr ""
@@ -234,15 +235,15 @@ msgid "Table(s) '%s' Dropped"
234
  msgstr ""
235
 
236
  #: database-empty.php:80
237
- #: wp-dbmanager.php:49
238
  msgid "Empty/Drop Tables"
239
  msgstr ""
240
 
241
  #: database-empty.php:85
242
  #: database-manager.php:83
243
  #: database-manager.php:116
244
- #: database-optimize.php:73
245
- #: database-repair.php:69
246
  msgid "Tables"
247
  msgstr ""
248
 
@@ -308,43 +309,43 @@ msgid "E-Mail"
308
  msgstr ""
309
 
310
  #: database-manage.php:78
311
- #: wp-dbmanager.php:93
312
  #, php-format
313
  msgid "%s Database Backup File For %s"
314
  msgstr ""
315
 
316
  #: database-manage.php:87
317
- #: wp-dbmanager.php:102
318
  msgid "Website Name:"
319
  msgstr ""
320
 
321
  #: database-manage.php:88
322
- #: wp-dbmanager.php:103
323
  msgid "Website URL:"
324
  msgstr ""
325
 
326
  #: database-manage.php:89
327
- #: wp-dbmanager.php:104
328
  msgid "Backup File Name:"
329
  msgstr ""
330
 
331
  #: database-manage.php:90
332
- #: wp-dbmanager.php:105
333
  msgid "Backup File Date:"
334
  msgstr ""
335
 
336
  #: database-manage.php:91
337
- #: wp-dbmanager.php:106
338
  msgid "Backup File Size:"
339
  msgstr ""
340
 
341
  #: database-manage.php:92
342
- #: wp-dbmanager.php:107
343
  msgid "With Regards,"
344
  msgstr ""
345
 
346
  #: database-manage.php:93
347
- #: wp-dbmanager.php:108
348
  msgid "Administrator"
349
  msgstr ""
350
 
@@ -503,43 +504,48 @@ msgstr ""
503
  msgid "No Tables Selected"
504
  msgstr ""
505
 
506
- #: database-optimize.php:51
507
  #, php-format
508
  msgid "Table(s) '%s' NOT Optimized"
509
  msgstr ""
510
 
511
- #: database-optimize.php:53
512
  #, php-format
513
  msgid "Table(s) '%s' Optimized"
514
  msgstr ""
515
 
516
- #: database-optimize.php:68
517
  msgid "Optimize Database"
518
  msgstr ""
519
 
520
- #: database-optimize.php:74
521
- #: database-repair.php:70
522
  msgid "Options"
523
  msgstr ""
524
 
525
- #: database-optimize.php:90
526
  msgid "Database should be optimize once every month."
527
  msgstr ""
528
 
529
- #: database-optimize.php:93
530
  msgid "Optimize"
531
  msgstr ""
532
 
533
- #: database-repair.php:50
 
 
 
 
 
534
  #, php-format
535
  msgid "Table(s) '%s' Repaired"
536
  msgstr ""
537
 
538
- #: database-repair.php:64
539
  msgid "Repair Database"
540
  msgstr ""
541
 
542
- #: database-repair.php:86
543
  msgid "Repair"
544
  msgstr ""
545
 
@@ -558,7 +564,7 @@ msgid "Empty Query"
558
  msgstr ""
559
 
560
  #: database-run.php:86
561
- #: wp-dbmanager.php:50
562
  msgid "Run SQL Query"
563
  msgstr ""
564
 
@@ -610,7 +616,7 @@ msgstr ""
610
 
611
  #: database-uninstall.php:78
612
  #: database-uninstall.php:88
613
- #: wp-dbmanager.php:52
614
  msgid "Uninstall WP-DBManager"
615
  msgstr ""
616
 
@@ -651,205 +657,205 @@ msgid ""
651
  " Choose [Cancel] To Stop, [OK] To Uninstall."
652
  msgstr ""
653
 
654
- #: wp-dbmanager.php:42
655
  msgid "Database"
656
  msgstr ""
657
 
658
- #: wp-dbmanager.php:45
659
  msgid "Backup DB"
660
  msgstr ""
661
 
662
- #: wp-dbmanager.php:46
663
  msgid "Manage Backup DB"
664
  msgstr ""
665
 
666
- #: wp-dbmanager.php:47
667
  msgid "Optimize DB"
668
  msgstr ""
669
 
670
- #: wp-dbmanager.php:48
671
  msgid "Repair DB"
672
  msgstr ""
673
 
674
- #: wp-dbmanager.php:51
675
  msgid "DB Options"
676
  msgstr ""
677
 
678
- #: wp-dbmanager.php:152
679
  msgid "WP-DBManager Backup Schedule"
680
  msgstr ""
681
 
682
- #: wp-dbmanager.php:153
683
  msgid "WP-DBManager Optimize Schedule"
684
  msgstr ""
685
 
686
- #: wp-dbmanager.php:347
687
  msgid "Database Options Updated"
688
  msgstr ""
689
 
690
- #: wp-dbmanager.php:350
691
  msgid "No Database Option Updated"
692
  msgstr ""
693
 
694
- #: wp-dbmanager.php:381
695
  msgid "Database Options"
696
  msgstr ""
697
 
698
- #: wp-dbmanager.php:382
699
  msgid "Paths"
700
  msgstr ""
701
 
702
- #: wp-dbmanager.php:385
703
  msgid "Path To mysqldump:"
704
  msgstr ""
705
 
706
- #: wp-dbmanager.php:387
707
- #: wp-dbmanager.php:394
708
  msgid "Auto Detect"
709
  msgstr ""
710
 
711
- #: wp-dbmanager.php:388
712
  msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
713
  msgstr ""
714
 
715
- #: wp-dbmanager.php:392
716
  msgid "Path To mysql:"
717
  msgstr ""
718
 
719
- #: wp-dbmanager.php:395
720
  msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
721
  msgstr ""
722
 
723
- #: wp-dbmanager.php:399
724
  msgid "Path To Backup:"
725
  msgstr ""
726
 
727
- #: wp-dbmanager.php:402
728
  msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
729
  msgstr ""
730
 
731
- #: wp-dbmanager.php:406
732
  msgid "Maximum Backup Files:"
733
  msgstr ""
734
 
735
- #: wp-dbmanager.php:409
736
  msgid "The maximum number of database backup files that is allowed in the backup folder as stated above. The oldest database backup file is always deleted in order to maintain this value. This is to prevent the backup folder from getting too large."
737
  msgstr ""
738
 
739
- #: wp-dbmanager.php:414
740
- #: wp-dbmanager.php:432
741
  msgid "Note"
742
  msgstr ""
743
 
744
- #: wp-dbmanager.php:418
745
  msgid "Windows Server"
746
  msgstr ""
747
 
748
- #: wp-dbmanager.php:419
749
  msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
750
  msgstr ""
751
 
752
- #: wp-dbmanager.php:420
753
  msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
754
  msgstr ""
755
 
756
- #: wp-dbmanager.php:425
757
  msgid "Linux Server"
758
  msgstr ""
759
 
760
- #: wp-dbmanager.php:426
761
  msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
762
  msgstr ""
763
 
764
- #: wp-dbmanager.php:427
765
  msgid "For mysql path, normally is just '<strong>mysql</strong>'."
766
  msgstr ""
767
 
768
- #: wp-dbmanager.php:433
769
  msgid "The 'Auto Detect' function does not work for some servers. If it does not work for you, please contact your server administrator for the MYSQL and MYSQL DUMP paths."
770
  msgstr ""
771
 
772
- #: wp-dbmanager.php:438
773
  msgid "Automatic Scheduling"
774
  msgstr ""
775
 
776
- #: wp-dbmanager.php:441
777
  msgid "Automatic Backing Up Of DB:"
778
  msgstr ""
779
 
780
- #: wp-dbmanager.php:444
781
  msgid "Next backup date: "
782
  msgstr ""
783
 
784
- #: wp-dbmanager.php:448
785
- #: wp-dbmanager.php:479
786
  msgid "N/A"
787
  msgstr ""
788
 
789
- #: wp-dbmanager.php:452
790
- #: wp-dbmanager.php:483
791
  msgid "Every"
792
  msgstr ""
793
 
794
- #: wp-dbmanager.php:454
795
- #: wp-dbmanager.php:485
796
  msgid "Disable"
797
  msgstr ""
798
 
799
- #: wp-dbmanager.php:455
800
- #: wp-dbmanager.php:486
801
  msgid "Minutes(s)"
802
  msgstr ""
803
 
804
- #: wp-dbmanager.php:456
805
- #: wp-dbmanager.php:487
806
  msgid "Hour(s)"
807
  msgstr ""
808
 
809
- #: wp-dbmanager.php:457
810
- #: wp-dbmanager.php:488
811
  msgid "Day(s)"
812
  msgstr ""
813
 
814
- #: wp-dbmanager.php:458
815
- #: wp-dbmanager.php:489
816
  msgid "Week(s)"
817
  msgstr ""
818
 
819
- #: wp-dbmanager.php:459
820
- #: wp-dbmanager.php:490
821
  msgid "Month(s)"
822
  msgstr ""
823
 
824
- #: wp-dbmanager.php:461
825
  msgid "Gzip"
826
  msgstr ""
827
 
828
- #: wp-dbmanager.php:467
829
  msgid "E-mail backup to:"
830
  msgstr ""
831
 
832
- #: wp-dbmanager.php:467
833
  msgid "(Leave black to disable this feature)"
834
  msgstr ""
835
 
836
- #: wp-dbmanager.php:468
837
  msgid "WP-DBManager can automatically backup your database after a certain period."
838
  msgstr ""
839
 
840
- #: wp-dbmanager.php:472
841
  msgid "Automatic Optimizing Of DB:"
842
  msgstr ""
843
 
844
- #: wp-dbmanager.php:475
845
  msgid "Next optimize date: "
846
  msgstr ""
847
 
848
- #: wp-dbmanager.php:493
849
  msgid "WP-DBManager can automatically optimize your database after a certain period."
850
  msgstr ""
851
 
852
- #: wp-dbmanager.php:498
853
  msgid "Save Changes"
854
  msgstr ""
855
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP-DBManager 2.31\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-07-15 15:21+0800\n"
6
+ "PO-Revision-Date: 2008-07-15 15:21+0800\n"
7
  "Last-Translator: Lester Chan <lesterchan@gmail.com>\n"
8
+ "Language-Team: Lester Chan <lesterchan@gmail.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
21
  #: database-manage.php:67
22
  #: database-manage.php:122
23
  #: database-manage.php:174
24
+ #: wp-dbmanager.php:85
25
+ #: wp-dbmanager.php:106
26
+ #: wp-dbmanager.php:465
27
+ #: wp-dbmanager.php:496
28
  #, php-format
29
  msgid "%s @ %s"
30
  msgstr ""
72
  msgstr ""
73
 
74
  #: database-backup.php:90
75
+ #, php-format
76
+ msgid "Backup folder does NOT exist. Please create 'backup-db' folder in '%s' folder and CHMOD it to '777' or change the location of the backup folder under DB Option."
77
  msgstr ""
78
 
79
  #: database-backup.php:93
192
  msgstr ""
193
 
194
  #: database-backup.php:199
195
+ #: database-optimize.php:87
196
+ #: database-repair.php:87
197
  #: database-uninstall.php:124
198
+ #: wp-dbmanager.php:483
199
  msgid "Yes"
200
  msgstr ""
201
 
202
  #: database-backup.php:199
203
+ #: database-optimize.php:87
204
+ #: database-repair.php:87
205
+ #: wp-dbmanager.php:482
206
  msgid "No"
207
  msgstr ""
208
 
209
  #: database-backup.php:202
210
  #: database-empty.php:111
211
  #: database-manage.php:205
212
+ #: database-optimize.php:94
213
+ #: database-repair.php:91
214
  #: database-run.php:97
215
  msgid "Cancel"
216
  msgstr ""
235
  msgstr ""
236
 
237
  #: database-empty.php:80
238
+ #: wp-dbmanager.php:68
239
  msgid "Empty/Drop Tables"
240
  msgstr ""
241
 
242
  #: database-empty.php:85
243
  #: database-manager.php:83
244
  #: database-manager.php:116
245
+ #: database-optimize.php:74
246
+ #: database-repair.php:74
247
  msgid "Tables"
248
  msgstr ""
249
 
309
  msgstr ""
310
 
311
  #: database-manage.php:78
312
+ #: wp-dbmanager.php:112
313
  #, php-format
314
  msgid "%s Database Backup File For %s"
315
  msgstr ""
316
 
317
  #: database-manage.php:87
318
+ #: wp-dbmanager.php:121
319
  msgid "Website Name:"
320
  msgstr ""
321
 
322
  #: database-manage.php:88
323
+ #: wp-dbmanager.php:122
324
  msgid "Website URL:"
325
  msgstr ""
326
 
327
  #: database-manage.php:89
328
+ #: wp-dbmanager.php:123
329
  msgid "Backup File Name:"
330
  msgstr ""
331
 
332
  #: database-manage.php:90
333
+ #: wp-dbmanager.php:124
334
  msgid "Backup File Date:"
335
  msgstr ""
336
 
337
  #: database-manage.php:91
338
+ #: wp-dbmanager.php:125
339
  msgid "Backup File Size:"
340
  msgstr ""
341
 
342
  #: database-manage.php:92
343
+ #: wp-dbmanager.php:126
344
  msgid "With Regards,"
345
  msgstr ""
346
 
347
  #: database-manage.php:93
348
+ #: wp-dbmanager.php:127
349
  msgid "Administrator"
350
  msgstr ""
351
 
504
  msgid "No Tables Selected"
505
  msgstr ""
506
 
507
+ #: database-optimize.php:52
508
  #, php-format
509
  msgid "Table(s) '%s' NOT Optimized"
510
  msgstr ""
511
 
512
+ #: database-optimize.php:54
513
  #, php-format
514
  msgid "Table(s) '%s' Optimized"
515
  msgstr ""
516
 
517
+ #: database-optimize.php:69
518
  msgid "Optimize Database"
519
  msgstr ""
520
 
521
+ #: database-optimize.php:75
522
+ #: database-repair.php:75
523
  msgid "Options"
524
  msgstr ""
525
 
526
+ #: database-optimize.php:91
527
  msgid "Database should be optimize once every month."
528
  msgstr ""
529
 
530
+ #: database-optimize.php:94
531
  msgid "Optimize"
532
  msgstr ""
533
 
534
+ #: database-repair.php:52
535
+ #, php-format
536
+ msgid "Table(s) '%s' NOT Repaired"
537
+ msgstr ""
538
+
539
+ #: database-repair.php:54
540
  #, php-format
541
  msgid "Table(s) '%s' Repaired"
542
  msgstr ""
543
 
544
+ #: database-repair.php:69
545
  msgid "Repair Database"
546
  msgstr ""
547
 
548
+ #: database-repair.php:91
549
  msgid "Repair"
550
  msgstr ""
551
 
564
  msgstr ""
565
 
566
  #: database-run.php:86
567
+ #: wp-dbmanager.php:69
568
  msgid "Run SQL Query"
569
  msgstr ""
570
 
616
 
617
  #: database-uninstall.php:78
618
  #: database-uninstall.php:88
619
+ #: wp-dbmanager.php:71
620
  msgid "Uninstall WP-DBManager"
621
  msgstr ""
622
 
657
  " Choose [Cancel] To Stop, [OK] To Uninstall."
658
  msgstr ""
659
 
660
+ #: wp-dbmanager.php:61
661
  msgid "Database"
662
  msgstr ""
663
 
664
+ #: wp-dbmanager.php:64
665
  msgid "Backup DB"
666
  msgstr ""
667
 
668
+ #: wp-dbmanager.php:65
669
  msgid "Manage Backup DB"
670
  msgstr ""
671
 
672
+ #: wp-dbmanager.php:66
673
  msgid "Optimize DB"
674
  msgstr ""
675
 
676
+ #: wp-dbmanager.php:67
677
  msgid "Repair DB"
678
  msgstr ""
679
 
680
+ #: wp-dbmanager.php:70
681
  msgid "DB Options"
682
  msgstr ""
683
 
684
+ #: wp-dbmanager.php:171
685
  msgid "WP-DBManager Backup Schedule"
686
  msgstr ""
687
 
688
+ #: wp-dbmanager.php:172
689
  msgid "WP-DBManager Optimize Schedule"
690
  msgstr ""
691
 
692
+ #: wp-dbmanager.php:366
693
  msgid "Database Options Updated"
694
  msgstr ""
695
 
696
+ #: wp-dbmanager.php:369
697
  msgid "No Database Option Updated"
698
  msgstr ""
699
 
700
+ #: wp-dbmanager.php:400
701
  msgid "Database Options"
702
  msgstr ""
703
 
704
+ #: wp-dbmanager.php:401
705
  msgid "Paths"
706
  msgstr ""
707
 
708
+ #: wp-dbmanager.php:404
709
  msgid "Path To mysqldump:"
710
  msgstr ""
711
 
712
+ #: wp-dbmanager.php:406
713
+ #: wp-dbmanager.php:413
714
  msgid "Auto Detect"
715
  msgstr ""
716
 
717
+ #: wp-dbmanager.php:407
718
  msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
719
  msgstr ""
720
 
721
+ #: wp-dbmanager.php:411
722
  msgid "Path To mysql:"
723
  msgstr ""
724
 
725
+ #: wp-dbmanager.php:414
726
  msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
727
  msgstr ""
728
 
729
+ #: wp-dbmanager.php:418
730
  msgid "Path To Backup:"
731
  msgstr ""
732
 
733
+ #: wp-dbmanager.php:421
734
  msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
735
  msgstr ""
736
 
737
+ #: wp-dbmanager.php:425
738
  msgid "Maximum Backup Files:"
739
  msgstr ""
740
 
741
+ #: wp-dbmanager.php:428
742
  msgid "The maximum number of database backup files that is allowed in the backup folder as stated above. The oldest database backup file is always deleted in order to maintain this value. This is to prevent the backup folder from getting too large."
743
  msgstr ""
744
 
745
+ #: wp-dbmanager.php:433
746
+ #: wp-dbmanager.php:451
747
  msgid "Note"
748
  msgstr ""
749
 
750
+ #: wp-dbmanager.php:437
751
  msgid "Windows Server"
752
  msgstr ""
753
 
754
+ #: wp-dbmanager.php:438
755
  msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
756
  msgstr ""
757
 
758
+ #: wp-dbmanager.php:439
759
  msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
760
  msgstr ""
761
 
762
+ #: wp-dbmanager.php:444
763
  msgid "Linux Server"
764
  msgstr ""
765
 
766
+ #: wp-dbmanager.php:445
767
  msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
768
  msgstr ""
769
 
770
+ #: wp-dbmanager.php:446
771
  msgid "For mysql path, normally is just '<strong>mysql</strong>'."
772
  msgstr ""
773
 
774
+ #: wp-dbmanager.php:452
775
  msgid "The 'Auto Detect' function does not work for some servers. If it does not work for you, please contact your server administrator for the MYSQL and MYSQL DUMP paths."
776
  msgstr ""
777
 
778
+ #: wp-dbmanager.php:457
779
  msgid "Automatic Scheduling"
780
  msgstr ""
781
 
782
+ #: wp-dbmanager.php:460
783
  msgid "Automatic Backing Up Of DB:"
784
  msgstr ""
785
 
786
+ #: wp-dbmanager.php:463
787
  msgid "Next backup date: "
788
  msgstr ""
789
 
790
+ #: wp-dbmanager.php:467
791
+ #: wp-dbmanager.php:498
792
  msgid "N/A"
793
  msgstr ""
794
 
795
+ #: wp-dbmanager.php:471
796
+ #: wp-dbmanager.php:502
797
  msgid "Every"
798
  msgstr ""
799
 
800
+ #: wp-dbmanager.php:473
801
+ #: wp-dbmanager.php:504
802
  msgid "Disable"
803
  msgstr ""
804
 
805
+ #: wp-dbmanager.php:474
806
+ #: wp-dbmanager.php:505
807
  msgid "Minutes(s)"
808
  msgstr ""
809
 
810
+ #: wp-dbmanager.php:475
811
+ #: wp-dbmanager.php:506
812
  msgid "Hour(s)"
813
  msgstr ""
814
 
815
+ #: wp-dbmanager.php:476
816
+ #: wp-dbmanager.php:507
817
  msgid "Day(s)"
818
  msgstr ""
819
 
820
+ #: wp-dbmanager.php:477
821
+ #: wp-dbmanager.php:508
822
  msgid "Week(s)"
823
  msgstr ""
824
 
825
+ #: wp-dbmanager.php:478
826
+ #: wp-dbmanager.php:509
827
  msgid "Month(s)"
828
  msgstr ""
829
 
830
+ #: wp-dbmanager.php:480
831
  msgid "Gzip"
832
  msgstr ""
833
 
834
+ #: wp-dbmanager.php:486
835
  msgid "E-mail backup to:"
836
  msgstr ""
837
 
838
+ #: wp-dbmanager.php:486
839
  msgid "(Leave black to disable this feature)"
840
  msgstr ""
841
 
842
+ #: wp-dbmanager.php:487
843
  msgid "WP-DBManager can automatically backup your database after a certain period."
844
  msgstr ""
845
 
846
+ #: wp-dbmanager.php:491
847
  msgid "Automatic Optimizing Of DB:"
848
  msgstr ""
849
 
850
+ #: wp-dbmanager.php:494
851
  msgid "Next optimize date: "
852
  msgstr ""
853
 
854
+ #: wp-dbmanager.php:512
855
  msgid "WP-DBManager can automatically optimize your database after a certain period."
856
  msgstr ""
857
 
858
+ #: wp-dbmanager.php:517
859
  msgid "Save Changes"
860
  msgstr ""
861