WP-DBManager - Version 2.50

Version Description

Download this release

Release Info

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

Code changes from version 2.40 to 2.50

database-admin-css.css CHANGED
@@ -1,8 +1,8 @@
1
  /*
2
  +----------------------------------------------------------------+
3
  | |
4
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
5
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
6
  | |
7
  | File Written By: |
8
  | - Lester "GaMerZ" Chan |
1
  /*
2
  +----------------------------------------------------------------+
3
  | |
4
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
5
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
6
  | |
7
  | File Written By: |
8
  | - Lester "GaMerZ" Chan |
database-backup.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -162,7 +162,7 @@ $stats_function_disabled = 0;
162
  <p><i><?php _e('Note: The checking of backup status is still undergoing testing, it may not be accurate.', 'wp-dbmanager'); ?></i></p>
163
  </div>
164
  <!-- Backup Database -->
165
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
166
  <div class="wrap">
167
  <h3><?php _e('Backup Database', 'wp-dbmanager'); ?></h3>
168
  <br style="clear" />
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
162
  <p><i><?php _e('Note: The checking of backup status is still undergoing testing, it may not be accurate.', 'wp-dbmanager'); ?></i></p>
163
  </div>
164
  <!-- Backup Database -->
165
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
166
  <div class="wrap">
167
  <h3><?php _e('Backup Database', 'wp-dbmanager'); ?></h3>
168
  <br style="clear" />
database-empty.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -75,7 +75,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
75
  ?>
76
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
77
  <!-- Empty/Drop Tables -->
78
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
79
  <div class="wrap">
80
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
81
  <h2><?php _e('Empty/Drop Tables', 'wp-dbmanager'); ?></h2>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
75
  ?>
76
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
77
  <!-- Empty/Drop Tables -->
78
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
79
  <div class="wrap">
80
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
81
  <h2><?php _e('Empty/Drop Tables', 'wp-dbmanager'); ?></h2>
database-manage.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -138,7 +138,7 @@ if($_POST['do']) {
138
  ?>
139
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
140
  <!-- Manage Backup Database -->
141
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
142
  <div class="wrap">
143
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
144
  <h2><?php _e('Manage Backup Database', 'wp-dbmanager'); ?></h2>
@@ -190,7 +190,7 @@ if($_POST['do']) {
190
  }
191
  ?>
192
  <tr class="thead">
193
- <th colspan="3"><?php printf(__ngettext('%s Backup File', '%s Backup Files', $no, 'wp-dbmanager'), number_format_i18n($no)); ?></th>
194
  <th><?php echo format_size($totalsize); ?></th>
195
  <th>&nbsp;</th>
196
  </tr>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
138
  ?>
139
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
140
  <!-- Manage Backup Database -->
141
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
142
  <div class="wrap">
143
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
144
  <h2><?php _e('Manage Backup Database', 'wp-dbmanager'); ?></h2>
190
  }
191
  ?>
192
  <tr class="thead">
193
+ <th colspan="3"><?php printf(_n('%s Backup File', '%s Backup Files', $no, 'wp-dbmanager'), number_format_i18n($no)); ?></th>
194
  <th><?php echo format_size($totalsize); ?></th>
195
  <th>&nbsp;</th>
196
  </tr>
database-manager.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -115,8 +115,8 @@ if($sqlversion >= '3.23') {
115
  }
116
  echo '<tr class="thead">'."\n";
117
  echo '<th>'.__('Total:', 'wp-dbmanager').'</th>'."\n";
118
- echo '<th>'.sprintf(__ngettext('%s Table', '%s Tables', $no, 'wp-dbmanager'), number_format_i18n($no)).'</th>'."\n";
119
- echo '<th>'.sprintf(__ngettext('%s Record', '%s Records', $row_usage, 'wp-dbmanager'), number_format_i18n($row_usage)).'</th>'."\n";
120
  echo '<th>'.format_size($data_usage).'</th>'."\n";
121
  echo '<th>'.format_size($index_usage).'</th>'."\n";
122
  echo '<th>'.format_size($overhead_usage).'</th>'."\n";
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
115
  }
116
  echo '<tr class="thead">'."\n";
117
  echo '<th>'.__('Total:', 'wp-dbmanager').'</th>'."\n";
118
+ echo '<th>'.sprintf(_n('%s Table', '%s Tables', $no, 'wp-dbmanager'), number_format_i18n($no)).'</th>'."\n";
119
+ echo '<th>'.sprintf(_n('%s Record', '%s Records', $row_usage, 'wp-dbmanager'), number_format_i18n($row_usage)).'</th>'."\n";
120
  echo '<th>'.format_size($data_usage).'</th>'."\n";
121
  echo '<th>'.format_size($index_usage).'</th>'."\n";
122
  echo '<th>'.format_size($overhead_usage).'</th>'."\n";
database-optimize.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -34,7 +34,7 @@ if($_POST['do']) {
34
 
35
  // Decide What To Do
36
  switch($_POST['do']) {
37
- case 'Optimize':
38
  if(!empty($optimize)) {
39
  foreach($optimize as $key => $value) {
40
  if($value == 'yes') {
@@ -64,7 +64,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
64
  ?>
65
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
66
  <!-- Optimize Database -->
67
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
68
  <div class="wrap">
69
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
70
  <h2><?php _e('Optimize Database', 'wp-dbmanager'); ?></h2>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
34
 
35
  // Decide What To Do
36
  switch($_POST['do']) {
37
+ case __('Optimize', 'wp-dbmanager'):
38
  if(!empty($optimize)) {
39
  foreach($optimize as $key => $value) {
40
  if($value == 'yes') {
64
  ?>
65
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
66
  <!-- Optimize Database -->
67
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
68
  <div class="wrap">
69
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
70
  <h2><?php _e('Optimize Database', 'wp-dbmanager'); ?></h2>
database-repair.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -64,7 +64,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
64
  ?>
65
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
66
  <!-- Repair Database -->
67
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
68
  <div class="wrap">
69
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
70
  <h2><?php _e('Repair Database', 'wp-dbmanager'); ?></h2>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
64
  ?>
65
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
66
  <!-- Repair Database -->
67
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
68
  <div class="wrap">
69
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
70
  <h2><?php _e('Repair Database', 'wp-dbmanager'); ?></h2>
database-run.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -81,7 +81,7 @@ if($_POST['do']) {
81
  ?>
82
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
83
  <!-- Run SQL Query -->
84
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
85
  <div class="wrap">
86
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
87
  <h2><?php _e('Run SQL Query', 'wp-dbmanager'); ?></h2>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
81
  ?>
82
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
83
  <!-- Run SQL Query -->
84
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
85
  <div class="wrap">
86
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
87
  <h2><?php _e('Run SQL Query', 'wp-dbmanager'); ?></h2>
database-uninstall.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.7 Plugin: WP-DBManager 2.40 |
6
- | Copyright (c) 2008 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
@@ -84,7 +84,7 @@ switch($mode) {
84
  default:
85
  ?>
86
  <!-- Uninstall WP-DBManager -->
87
- <form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>" method="post">
88
  <div class="wrap">
89
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
90
  <h2><?php _e('Uninstall WP-DBManager', 'wp-dbmanager'); ?></h2>
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.8 Plugin: WP-DBManager 2.50 |
6
+ | Copyright (c) 2009 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
84
  default:
85
  ?>
86
  <!-- Uninstall WP-DBManager -->
87
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
88
  <div class="wrap">
89
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
90
  <h2><?php _e('Uninstall WP-DBManager', 'wp-dbmanager'); ?></h2>
.htaccess → htaccess.txt RENAMED
File without changes
readme.html CHANGED
@@ -2,7 +2,7 @@
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>WP-DBManager 2.40 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.40&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
 
208
  <!-- Tabs -->
209
  <ul id="Tabs">
@@ -234,6 +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.40.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.40.zip">WP-DBManager 2.40 For WordPress 2.7.x</a><br />
238
  <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 To 2.6.x</a><br />
239
  <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 />
@@ -283,6 +284,16 @@
283
  <div id="Changelog" style="display: none;">
284
  <div class="SubTitle">&raquo; Changelog</div>
285
  <ul>
 
 
 
 
 
 
 
 
 
 
286
  <li>
287
  <strong>Version 2.40 (12-12-2008)</strong>
288
  <ul>
@@ -414,9 +425,17 @@
414
  Open <strong>wp-content/backup-db</strong> Folder
415
  </li>
416
  <li>
417
- Put:
418
- <blockquote>File: .htaccess</blockquote>
419
- <p>The script will automatically create a folder called <strong>backup-db</strong> in wp-content folder if that folder is writable. If it is not created, please create it and CHMOD it to 777.</p>
 
 
 
 
 
 
 
 
420
  </li>
421
  <li>
422
  Refer To <strong>Usage</strong> For Further Instructions
@@ -427,7 +446,7 @@
427
  <!-- Upgrade Instructions -->
428
  <div id="Upgrade" style="display: none;">
429
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
430
- <div class="SubSubTitle">From v2.0x To v2.40</div>
431
  <ol>
432
  <li>
433
  <strong>Deactivate</strong> WP-DBManager Plugin
@@ -466,6 +485,6 @@
466
  </div>
467
  </div>
468
  </div>
469
- <p id="Copyright">WP-DBManager 2.40<br />Copyright &copy; 2008 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
470
  </body>
471
  </html>
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <title>WP-DBManager 2.50 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.50&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.50.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.50.zip">WP-DBManager 2.50 For WordPress 2.8.x</a><br />
238
  <strong>&raquo;</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.40.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.40.zip">WP-DBManager 2.40 For WordPress 2.7.x</a><br />
239
  <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 To 2.6.x</a><br />
240
  <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 />
284
  <div id="Changelog" style="display: none;">
285
  <div class="SubTitle">&raquo; Changelog</div>
286
  <ul>
287
+ <li>
288
+ <strong>Version 2.50 (01-06-2009)</strong>
289
+ <ul>
290
+ <li>NEW: Works For WordPress 2.8 Only</li>
291
+ <li>NEW: Uses jQuery Framework</li>
292
+ <li>NEW: Ensure That .htaccess Is In Backup Folder By Informing The User If It Is NOT There</li>
293
+ <li>NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()</li>
294
+ <li>FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(__FILE__) Instead Of Just $_SERVER['REQUEST_URI']</li>
295
+ </ul>
296
+ </li>
297
  <li>
298
  <strong>Version 2.40 (12-12-2008)</strong>
299
  <ul>
425
  Open <strong>wp-content/backup-db</strong> Folder
426
  </li>
427
  <li>
428
+ The script will automatically create a folder called <strong>backup-db</strong> in the wp-content folder if that folder is writable. If it is not created, please create it and CHMOD it to 777
429
+ </li>
430
+ <li>
431
+ Renamed <strong>htaccess.txt</strong> to <strong>.htaccess</strong> file in
432
+ <blockquote>Folder: wp-content/plugins/wp-dbmanager</blockquote>
433
+ </li>
434
+ <li>
435
+ Move the <strong>.htaccess</strong> file from:
436
+ <blockquote>Folder: wp-content/plugins/wp-dbmanager</blockquote>
437
+ to:
438
+ <blockquote>Folder: wp-content/backup-db</blockquote>
439
  </li>
440
  <li>
441
  Refer To <strong>Usage</strong> For Further Instructions
446
  <!-- Upgrade Instructions -->
447
  <div id="Upgrade" style="display: none;">
448
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
449
+ <div class="SubSubTitle">From v2.0x To v2.50</div>
450
  <ol>
451
  <li>
452
  <strong>Deactivate</strong> WP-DBManager Plugin
485
  </div>
486
  </div>
487
  </div>
488
+ <p id="Copyright">WP-DBManager 2.50<br />Copyright &copy; 2009 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
489
  </body>
490
  </html>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.7
6
- Stable tag: 2.40
7
 
8
  Manages your WordPress database.
9
 
2
  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.8
6
+ Stable tag: 2.50
7
 
8
  Manages your WordPress database.
9
 
wp-dbmanager.mo CHANGED
Binary file
wp-dbmanager.php CHANGED
@@ -3,14 +3,14 @@
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.40
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  */
10
 
11
 
12
  /*
13
- Copyright 2008 Lester Chan (email : lesterchan@gmail.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
@@ -55,20 +55,12 @@ function dbmanager_menu() {
55
 
56
 
57
  ### Function: Displays DBManager Header In WP-Admin
58
- add_action('admin_head-wp-dbmanager/database-manager.php', 'dbmanager_header_admin');
59
- add_action('admin_head-wp-dbmanager/database-backup.php', 'dbmanager_header_admin');
60
- add_action('admin_head-wp-dbmanager/database-manage.php', 'dbmanager_header_admin');
61
- add_action('admin_head-wp-dbmanager/database-optimize.php', 'dbmanager_header_admin');
62
- add_action('admin_head-wp-dbmanager/database-repair.php', 'dbmanager_header_admin');
63
- add_action('admin_head-wp-dbmanager/database-empty.php', 'dbmanager_header_admin');
64
- add_action('admin_head-wp-dbmanager/database-run.php', 'dbmanager_header_admin');
65
- add_action('admin_head-database_page_wp-dbmanager/wp-dbmanager', 'dbmanager_header_admin');
66
- add_action('admin_head-wp-dbmanager/database-uninstall.php', 'dbmanager_header_admin');
67
- function dbmanager_header_admin() {
68
- wp_register_style('wp-dbmanager-admin', plugins_url('wp-dbmanager/database-admin-css.css'), false, '2.40', 'all');
69
- echo "\n".'<!-- Start Of Script Generated By WP-DBManager 2.40 -->'."\n";
70
- wp_print_styles('wp-dbmanager-admin');
71
- echo '<!-- End Of Script Generated By WP-DBManager 2.40 -->'."\n";
72
  }
73
 
74
 
@@ -172,6 +164,16 @@ function cron_dbmanager_reccurences($schedules) {
172
  }
173
 
174
 
 
 
 
 
 
 
 
 
 
 
175
  ### Function: Auto Detect MYSQL and MYSQL Dump Paths
176
  function detect_mysql() {
177
  global $wpdb;
@@ -309,6 +311,7 @@ function dbmanager_init() {
309
  // Create Backup Folder
310
  if(!is_dir(WP_CONTENT_DIR.'/backup-db')) {
311
  mkdir(WP_CONTENT_DIR.'/backup-db');
 
312
  }
313
 
314
  // Set 'manage_database' Capabilities To Administrator
@@ -322,7 +325,7 @@ function dbmanager_init() {
322
  ### Function: Download Database
323
  add_action('init', 'download_database');
324
  function download_database() {
325
- if($_POST['do'] == __('Download', 'wp-dbmanager') && !empty($_POST['database_file'])) {
326
  if(strpos($_SERVER['HTTP_REFERER'], admin_url('admin.php?page=wp-dbmanager/database-manage.php')) !== false) {
327
  $backup_options = get_option('dbmanager_options');
328
  $file_path = $backup_options['path'].'/'.$_POST['database_file'];
@@ -384,16 +387,16 @@ function dbmanager_options() {
384
  <script type="text/javascript">
385
  /* <![CDATA[*/
386
  function mysqlpath() {
387
- document.getElementById('db_mysqlpath').value = '<?php echo $path['mysql']; ?>';
388
  }
389
  function mysqldumppath() {
390
- document.getElementById('db_mysqldumppath').value = '<?php echo $path['mysqldump']; ?>';
391
  }
392
  /* ]]> */
393
  </script>
394
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
395
  <!-- Database Options -->
396
- <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
397
  <div class="wrap">
398
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
399
  <h2><?php _e('Database Options', 'wp-dbmanager'); ?></h2>
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.50
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  */
10
 
11
 
12
  /*
13
+ Copyright 2009 Lester Chan (email : lesterchan@gmail.com)
14
 
15
  This program is free software; you can redistribute it and/or modify
16
  it under the terms of the GNU General Public License as published by
55
 
56
 
57
  ### Function: Displays DBManager Header In WP-Admin
58
+ add_action('admin_enqueue_scripts', 'dbmanager_stylesheets_admin');
59
+ function dbmanager_stylesheets_admin($hook_suffix) {
60
+ $dbmanager_admin_pages = array('wp-dbmanager/database-manager.php', 'wp-dbmanager/database-backup.php', 'wp-dbmanager/database-manage.php', 'wp-dbmanager/database-optimize.php', 'wp-dbmanager/database-repair.php', 'wp-dbmanager/database-empty.php', 'wp-dbmanager/database-run.php', 'database_page_wp-dbmanager/wp-dbmanager', 'wp-dbmanager/database-uninstall.php');
61
+ if(in_array($hook_suffix, $dbmanager_admin_pages)) {
62
+ wp_enqueue_style('wp-dbmanager-admin', plugins_url('wp-dbmanager/database-admin-css.css'), false, '2.50', 'all');
63
+ }
 
 
 
 
 
 
 
 
64
  }
65
 
66
 
164
  }
165
 
166
 
167
+ ### Function: Ensure .htaccess Is In The Backup Folder
168
+ add_action('admin_notices', 'dbmanager_admin_notices');
169
+ function dbmanager_admin_notices() {
170
+ $backup_options = get_option('dbmanager_options');
171
+ if(!@file_exists($backup_options['path'].'/.htaccess')) {
172
+ echo '<div class="error" style="text-align: center;"><p style="color: red; font-size: 14px; font-weight: bold;">'.__('Your backup folder MIGHT be visible to the public', 'wp-postratings').'</p><p>'.sprintf(__('To correct this issue, move the <strong>.htaccess</strong> file from <strong>wp-content/plugins/wp-dbmanager</strong> to <strong>%s</strong>', 'wp-postratings'), $backup_options['path']).'</p></div>';
173
+ }
174
+ }
175
+
176
+
177
  ### Function: Auto Detect MYSQL and MYSQL Dump Paths
178
  function detect_mysql() {
179
  global $wpdb;
311
  // Create Backup Folder
312
  if(!is_dir(WP_CONTENT_DIR.'/backup-db')) {
313
  mkdir(WP_CONTENT_DIR.'/backup-db');
314
+ chmod(WP_CONTENT_DIR.'/backup-db', 0750);
315
  }
316
 
317
  // Set 'manage_database' Capabilities To Administrator
325
  ### Function: Download Database
326
  add_action('init', 'download_database');
327
  function download_database() {
328
+ if(isset($_POST['do']) && $_POST['do'] == __('Download', 'wp-dbmanager') && !empty($_POST['database_file'])) {
329
  if(strpos($_SERVER['HTTP_REFERER'], admin_url('admin.php?page=wp-dbmanager/database-manage.php')) !== false) {
330
  $backup_options = get_option('dbmanager_options');
331
  $file_path = $backup_options['path'].'/'.$_POST['database_file'];
387
  <script type="text/javascript">
388
  /* <![CDATA[*/
389
  function mysqlpath() {
390
+ jQuery("#db_mysqlpath").val("<?php echo $path['mysql']; ?>");
391
  }
392
  function mysqldumppath() {
393
+ jQuery("#db_mysqldumppath").val("<?php echo $path['mysqldump']; ?>");
394
  }
395
  /* ]]> */
396
  </script>
397
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
398
  <!-- Database Options -->
399
+ <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>?page=<?php echo plugin_basename(__FILE__); ?>">
400
  <div class="wrap">
401
  <div id="icon-wp-dbmanager" class="icon32"><br /></div>
402
  <h2><?php _e('Database Options', 'wp-dbmanager'); ?></h2>
wp-dbmanager.pot CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP-DBManager 2.40\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-01-05 18:44+0800\n"
6
- "PO-Revision-Date: 2009-01-05 18:44+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"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: English\n"
13
  "X-Poedit-Country: SINGAPORE\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;__ngettext_noop:1,2\n"
15
  "X-Poedit-Basepath: .\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Poedit-SearchPath-0: .\n"
@@ -20,10 +20,10 @@ msgstr ""
20
  #: database-backup.php:186
21
  #: database-manage.php:41
22
  #: database-manage.php:175
23
- #: wp-dbmanager.php:84
24
- #: wp-dbmanager.php:105
25
- #: wp-dbmanager.php:464
26
- #: wp-dbmanager.php:495
27
  #, php-format
28
  msgid "%s @ %s"
29
  msgstr ""
@@ -195,14 +195,14 @@ msgstr ""
195
  #: database-optimize.php:88
196
  #: database-repair.php:88
197
  #: database-uninstall.php:126
198
- #: wp-dbmanager.php:482
199
  msgid "Yes"
200
  msgstr ""
201
 
202
  #: database-backup.php:202
203
  #: database-optimize.php:88
204
  #: database-repair.php:88
205
- #: wp-dbmanager.php:481
206
  msgid "No"
207
  msgstr ""
208
 
@@ -308,43 +308,43 @@ msgid "E-Mail"
308
  msgstr ""
309
 
310
  #: database-manage.php:79
311
- #: wp-dbmanager.php:111
312
  #, php-format
313
  msgid "%s Database Backup File For %s"
314
  msgstr ""
315
 
316
  #: database-manage.php:88
317
- #: wp-dbmanager.php:120
318
  msgid "Website Name:"
319
  msgstr ""
320
 
321
  #: database-manage.php:89
322
- #: wp-dbmanager.php:121
323
  msgid "Website URL:"
324
  msgstr ""
325
 
326
  #: database-manage.php:90
327
- #: wp-dbmanager.php:122
328
  msgid "Backup File Name:"
329
  msgstr ""
330
 
331
  #: database-manage.php:91
332
- #: wp-dbmanager.php:123
333
  msgid "Backup File Date:"
334
  msgstr ""
335
 
336
  #: database-manage.php:92
337
- #: wp-dbmanager.php:124
338
  msgid "Backup File Size:"
339
  msgstr ""
340
 
341
  #: database-manage.php:93
342
- #: wp-dbmanager.php:125
343
  msgid "With Regards,"
344
  msgstr ""
345
 
346
  #: database-manage.php:94
347
- #: wp-dbmanager.php:126
348
  msgid "Administrator"
349
  msgstr ""
350
 
@@ -360,7 +360,7 @@ msgstr ""
360
 
361
  #: database-manage.php:116
362
  #: database-manage.php:204
363
- #: wp-dbmanager.php:325
364
  msgid "Download"
365
  msgstr ""
366
 
@@ -418,13 +418,6 @@ msgstr ""
418
  msgid "There Are No Database Backup Files Available."
419
  msgstr ""
420
 
421
- #: database-manage.php:193
422
- #, php-format
423
- msgid "%s Backup File"
424
- msgid_plural "%s Backup Files"
425
- msgstr[0] ""
426
- msgstr[1] ""
427
-
428
  #: database-manage.php:200
429
  msgid "E-mail database backup file to:"
430
  msgstr ""
@@ -503,24 +496,15 @@ msgstr ""
503
  msgid "Total:"
504
  msgstr ""
505
 
506
- #: database-manager.php:118
507
- #, php-format
508
- msgid "%s Table"
509
- msgid_plural "%s Tables"
510
- msgstr[0] ""
511
- msgstr[1] ""
512
-
513
- #: database-manager.php:119
514
- #, php-format
515
- msgid "%s Record"
516
- msgid_plural "%s Records"
517
- msgstr[0] ""
518
- msgstr[1] ""
519
-
520
  #: database-manager.php:125
521
  msgid "Could Not Show Table Status Due To Your MYSQL Version Is Lower Than 3.23."
522
  msgstr ""
523
 
 
 
 
 
 
524
  #: database-optimize.php:45
525
  #: database-repair.php:45
526
  msgid "No Tables Selected"
@@ -549,10 +533,6 @@ msgstr ""
549
  msgid "Database should be optimize once every month."
550
  msgstr ""
551
 
552
- #: database-optimize.php:95
553
- msgid "Optimize"
554
- msgstr ""
555
-
556
  #: database-repair.php:52
557
  #, php-format
558
  msgid "Table(s) '%s' NOT Repaired"
@@ -699,197 +679,206 @@ msgstr ""
699
  msgid "DB Options"
700
  msgstr ""
701
 
702
- #: wp-dbmanager.php:169
703
  msgid "WP-DBManager Backup Schedule"
704
  msgstr ""
705
 
706
- #: wp-dbmanager.php:170
707
  msgid "WP-DBManager Optimize Schedule"
708
  msgstr ""
709
 
710
- #: wp-dbmanager.php:225
711
- msgid "GiB"
 
 
 
 
 
712
  msgstr ""
713
 
714
  #: wp-dbmanager.php:227
715
- msgid "MiB"
716
  msgstr ""
717
 
718
  #: wp-dbmanager.php:229
719
- msgid "KiB"
720
  msgstr ""
721
 
722
  #: wp-dbmanager.php:231
 
 
 
 
723
  msgid "bytes"
724
  msgstr ""
725
 
726
- #: wp-dbmanager.php:364
727
  msgid "Database Options Updated"
728
  msgstr ""
729
 
730
- #: wp-dbmanager.php:367
731
  msgid "No Database Option Updated"
732
  msgstr ""
733
 
734
- #: wp-dbmanager.php:399
735
  msgid "Database Options"
736
  msgstr ""
737
 
738
- #: wp-dbmanager.php:400
739
  msgid "Paths"
740
  msgstr ""
741
 
742
- #: wp-dbmanager.php:403
743
  msgid "Path To mysqldump:"
744
  msgstr ""
745
 
746
- #: wp-dbmanager.php:405
747
- #: wp-dbmanager.php:412
748
  msgid "Auto Detect"
749
  msgstr ""
750
 
751
- #: wp-dbmanager.php:406
752
  msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
753
  msgstr ""
754
 
755
- #: wp-dbmanager.php:410
756
  msgid "Path To mysql:"
757
  msgstr ""
758
 
759
- #: wp-dbmanager.php:413
760
  msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
761
  msgstr ""
762
 
763
- #: wp-dbmanager.php:417
764
  msgid "Path To Backup:"
765
  msgstr ""
766
 
767
- #: wp-dbmanager.php:420
768
  msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
769
  msgstr ""
770
 
771
- #: wp-dbmanager.php:424
772
  msgid "Maximum Backup Files:"
773
  msgstr ""
774
 
775
- #: wp-dbmanager.php:427
776
  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."
777
  msgstr ""
778
 
779
- #: wp-dbmanager.php:432
780
- #: wp-dbmanager.php:450
781
  msgid "Note"
782
  msgstr ""
783
 
784
- #: wp-dbmanager.php:436
785
  msgid "Windows Server"
786
  msgstr ""
787
 
788
- #: wp-dbmanager.php:437
789
  msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
790
  msgstr ""
791
 
792
- #: wp-dbmanager.php:438
793
  msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
794
  msgstr ""
795
 
796
- #: wp-dbmanager.php:443
797
  msgid "Linux Server"
798
  msgstr ""
799
 
800
- #: wp-dbmanager.php:444
801
  msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
802
  msgstr ""
803
 
804
- #: wp-dbmanager.php:445
805
  msgid "For mysql path, normally is just '<strong>mysql</strong>'."
806
  msgstr ""
807
 
808
- #: wp-dbmanager.php:451
809
  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."
810
  msgstr ""
811
 
812
- #: wp-dbmanager.php:456
813
  msgid "Automatic Scheduling"
814
  msgstr ""
815
 
816
- #: wp-dbmanager.php:459
817
  msgid "Automatic Backing Up Of DB:"
818
  msgstr ""
819
 
820
- #: wp-dbmanager.php:462
821
  msgid "Next backup date: "
822
  msgstr ""
823
 
824
- #: wp-dbmanager.php:466
825
- #: wp-dbmanager.php:497
826
  msgid "N/A"
827
  msgstr ""
828
 
829
- #: wp-dbmanager.php:470
830
- #: wp-dbmanager.php:501
831
  msgid "Every"
832
  msgstr ""
833
 
834
- #: wp-dbmanager.php:472
835
- #: wp-dbmanager.php:503
836
  msgid "Disable"
837
  msgstr ""
838
 
839
- #: wp-dbmanager.php:473
840
- #: wp-dbmanager.php:504
841
  msgid "Minutes(s)"
842
  msgstr ""
843
 
844
- #: wp-dbmanager.php:474
845
- #: wp-dbmanager.php:505
846
  msgid "Hour(s)"
847
  msgstr ""
848
 
849
- #: wp-dbmanager.php:475
850
- #: wp-dbmanager.php:506
851
  msgid "Day(s)"
852
  msgstr ""
853
 
854
- #: wp-dbmanager.php:476
855
- #: wp-dbmanager.php:507
856
  msgid "Week(s)"
857
  msgstr ""
858
 
859
- #: wp-dbmanager.php:477
860
- #: wp-dbmanager.php:508
861
  msgid "Month(s)"
862
  msgstr ""
863
 
864
- #: wp-dbmanager.php:479
865
  msgid "Gzip"
866
  msgstr ""
867
 
868
- #: wp-dbmanager.php:485
869
  msgid "E-mail backup to:"
870
  msgstr ""
871
 
872
- #: wp-dbmanager.php:485
873
  msgid "(Leave blank to disable this feature)"
874
  msgstr ""
875
 
876
- #: wp-dbmanager.php:486
877
  msgid "WP-DBManager can automatically backup your database after a certain period."
878
  msgstr ""
879
 
880
- #: wp-dbmanager.php:490
881
  msgid "Automatic Optimizing Of DB:"
882
  msgstr ""
883
 
884
- #: wp-dbmanager.php:493
885
  msgid "Next optimize date: "
886
  msgstr ""
887
 
888
- #: wp-dbmanager.php:511
889
  msgid "WP-DBManager can automatically optimize your database after a certain period."
890
  msgstr ""
891
 
892
- #: wp-dbmanager.php:516
893
  msgid "Save Changes"
894
  msgstr ""
895
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP-DBManager 2.50\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-06-27 19:57+0800\n"
6
+ "PO-Revision-Date: 2009-06-27 19:57+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"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-Language: English\n"
13
  "X-Poedit-Country: SINGAPORE\n"
14
+ "X-Poedit-KeywordsList: __;_e;__n:1,2;__ngettext_noop:1,2\n"
15
  "X-Poedit-Basepath: .\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Poedit-SearchPath-0: .\n"
20
  #: database-backup.php:186
21
  #: database-manage.php:41
22
  #: database-manage.php:175
23
+ #: wp-dbmanager.php:76
24
+ #: wp-dbmanager.php:97
25
+ #: wp-dbmanager.php:467
26
+ #: wp-dbmanager.php:498
27
  #, php-format
28
  msgid "%s @ %s"
29
  msgstr ""
195
  #: database-optimize.php:88
196
  #: database-repair.php:88
197
  #: database-uninstall.php:126
198
+ #: wp-dbmanager.php:485
199
  msgid "Yes"
200
  msgstr ""
201
 
202
  #: database-backup.php:202
203
  #: database-optimize.php:88
204
  #: database-repair.php:88
205
+ #: wp-dbmanager.php:484
206
  msgid "No"
207
  msgstr ""
208
 
308
  msgstr ""
309
 
310
  #: database-manage.php:79
311
+ #: wp-dbmanager.php:103
312
  #, php-format
313
  msgid "%s Database Backup File For %s"
314
  msgstr ""
315
 
316
  #: database-manage.php:88
317
+ #: wp-dbmanager.php:112
318
  msgid "Website Name:"
319
  msgstr ""
320
 
321
  #: database-manage.php:89
322
+ #: wp-dbmanager.php:113
323
  msgid "Website URL:"
324
  msgstr ""
325
 
326
  #: database-manage.php:90
327
+ #: wp-dbmanager.php:114
328
  msgid "Backup File Name:"
329
  msgstr ""
330
 
331
  #: database-manage.php:91
332
+ #: wp-dbmanager.php:115
333
  msgid "Backup File Date:"
334
  msgstr ""
335
 
336
  #: database-manage.php:92
337
+ #: wp-dbmanager.php:116
338
  msgid "Backup File Size:"
339
  msgstr ""
340
 
341
  #: database-manage.php:93
342
+ #: wp-dbmanager.php:117
343
  msgid "With Regards,"
344
  msgstr ""
345
 
346
  #: database-manage.php:94
347
+ #: wp-dbmanager.php:118
348
  msgid "Administrator"
349
  msgstr ""
350
 
360
 
361
  #: database-manage.php:116
362
  #: database-manage.php:204
363
+ #: wp-dbmanager.php:328
364
  msgid "Download"
365
  msgstr ""
366
 
418
  msgid "There Are No Database Backup Files Available."
419
  msgstr ""
420
 
 
 
 
 
 
 
 
421
  #: database-manage.php:200
422
  msgid "E-mail database backup file to:"
423
  msgstr ""
496
  msgid "Total:"
497
  msgstr ""
498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  #: database-manager.php:125
500
  msgid "Could Not Show Table Status Due To Your MYSQL Version Is Lower Than 3.23."
501
  msgstr ""
502
 
503
+ #: database-optimize.php:37
504
+ #: database-optimize.php:95
505
+ msgid "Optimize"
506
+ msgstr ""
507
+
508
  #: database-optimize.php:45
509
  #: database-repair.php:45
510
  msgid "No Tables Selected"
533
  msgid "Database should be optimize once every month."
534
  msgstr ""
535
 
 
 
 
 
536
  #: database-repair.php:52
537
  #, php-format
538
  msgid "Table(s) '%s' NOT Repaired"
679
  msgid "DB Options"
680
  msgstr ""
681
 
682
+ #: wp-dbmanager.php:161
683
  msgid "WP-DBManager Backup Schedule"
684
  msgstr ""
685
 
686
+ #: wp-dbmanager.php:162
687
  msgid "WP-DBManager Optimize Schedule"
688
  msgstr ""
689
 
690
+ #: wp-dbmanager.php:172
691
+ msgid "Your backup folder MIGHT be visible to the public"
692
+ msgstr ""
693
+
694
+ #: wp-dbmanager.php:172
695
+ #, php-format
696
+ msgid "To correct this issue, move the <strong>.htaccess</strong> file from <strong>wp-content/plugins/wp-dbmanager</strong> to <strong>%s</strong>"
697
  msgstr ""
698
 
699
  #: wp-dbmanager.php:227
700
+ msgid "GiB"
701
  msgstr ""
702
 
703
  #: wp-dbmanager.php:229
704
+ msgid "MiB"
705
  msgstr ""
706
 
707
  #: wp-dbmanager.php:231
708
+ msgid "KiB"
709
+ msgstr ""
710
+
711
+ #: wp-dbmanager.php:233
712
  msgid "bytes"
713
  msgstr ""
714
 
715
+ #: wp-dbmanager.php:367
716
  msgid "Database Options Updated"
717
  msgstr ""
718
 
719
+ #: wp-dbmanager.php:370
720
  msgid "No Database Option Updated"
721
  msgstr ""
722
 
723
+ #: wp-dbmanager.php:402
724
  msgid "Database Options"
725
  msgstr ""
726
 
727
+ #: wp-dbmanager.php:403
728
  msgid "Paths"
729
  msgstr ""
730
 
731
+ #: wp-dbmanager.php:406
732
  msgid "Path To mysqldump:"
733
  msgstr ""
734
 
735
+ #: wp-dbmanager.php:408
736
+ #: wp-dbmanager.php:415
737
  msgid "Auto Detect"
738
  msgstr ""
739
 
740
+ #: wp-dbmanager.php:409
741
  msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
742
  msgstr ""
743
 
744
+ #: wp-dbmanager.php:413
745
  msgid "Path To mysql:"
746
  msgstr ""
747
 
748
+ #: wp-dbmanager.php:416
749
  msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
750
  msgstr ""
751
 
752
+ #: wp-dbmanager.php:420
753
  msgid "Path To Backup:"
754
  msgstr ""
755
 
756
+ #: wp-dbmanager.php:423
757
  msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
758
  msgstr ""
759
 
760
+ #: wp-dbmanager.php:427
761
  msgid "Maximum Backup Files:"
762
  msgstr ""
763
 
764
+ #: wp-dbmanager.php:430
765
  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."
766
  msgstr ""
767
 
768
+ #: wp-dbmanager.php:435
769
+ #: wp-dbmanager.php:453
770
  msgid "Note"
771
  msgstr ""
772
 
773
+ #: wp-dbmanager.php:439
774
  msgid "Windows Server"
775
  msgstr ""
776
 
777
+ #: wp-dbmanager.php:440
778
  msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
779
  msgstr ""
780
 
781
+ #: wp-dbmanager.php:441
782
  msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
783
  msgstr ""
784
 
785
+ #: wp-dbmanager.php:446
786
  msgid "Linux Server"
787
  msgstr ""
788
 
789
+ #: wp-dbmanager.php:447
790
  msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
791
  msgstr ""
792
 
793
+ #: wp-dbmanager.php:448
794
  msgid "For mysql path, normally is just '<strong>mysql</strong>'."
795
  msgstr ""
796
 
797
+ #: wp-dbmanager.php:454
798
  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."
799
  msgstr ""
800
 
801
+ #: wp-dbmanager.php:459
802
  msgid "Automatic Scheduling"
803
  msgstr ""
804
 
805
+ #: wp-dbmanager.php:462
806
  msgid "Automatic Backing Up Of DB:"
807
  msgstr ""
808
 
809
+ #: wp-dbmanager.php:465
810
  msgid "Next backup date: "
811
  msgstr ""
812
 
813
+ #: wp-dbmanager.php:469
814
+ #: wp-dbmanager.php:500
815
  msgid "N/A"
816
  msgstr ""
817
 
818
+ #: wp-dbmanager.php:473
819
+ #: wp-dbmanager.php:504
820
  msgid "Every"
821
  msgstr ""
822
 
823
+ #: wp-dbmanager.php:475
824
+ #: wp-dbmanager.php:506
825
  msgid "Disable"
826
  msgstr ""
827
 
828
+ #: wp-dbmanager.php:476
829
+ #: wp-dbmanager.php:507
830
  msgid "Minutes(s)"
831
  msgstr ""
832
 
833
+ #: wp-dbmanager.php:477
834
+ #: wp-dbmanager.php:508
835
  msgid "Hour(s)"
836
  msgstr ""
837
 
838
+ #: wp-dbmanager.php:478
839
+ #: wp-dbmanager.php:509
840
  msgid "Day(s)"
841
  msgstr ""
842
 
843
+ #: wp-dbmanager.php:479
844
+ #: wp-dbmanager.php:510
845
  msgid "Week(s)"
846
  msgstr ""
847
 
848
+ #: wp-dbmanager.php:480
849
+ #: wp-dbmanager.php:511
850
  msgid "Month(s)"
851
  msgstr ""
852
 
853
+ #: wp-dbmanager.php:482
854
  msgid "Gzip"
855
  msgstr ""
856
 
857
+ #: wp-dbmanager.php:488
858
  msgid "E-mail backup to:"
859
  msgstr ""
860
 
861
+ #: wp-dbmanager.php:488
862
  msgid "(Leave blank to disable this feature)"
863
  msgstr ""
864
 
865
+ #: wp-dbmanager.php:489
866
  msgid "WP-DBManager can automatically backup your database after a certain period."
867
  msgstr ""
868
 
869
+ #: wp-dbmanager.php:493
870
  msgid "Automatic Optimizing Of DB:"
871
  msgstr ""
872
 
873
+ #: wp-dbmanager.php:496
874
  msgid "Next optimize date: "
875
  msgstr ""
876
 
877
+ #: wp-dbmanager.php:514
878
  msgid "WP-DBManager can automatically optimize your database after a certain period."
879
  msgstr ""
880
 
881
+ #: wp-dbmanager.php:519
882
  msgid "Save Changes"
883
  msgstr ""
884