Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-DBManager |
Version | 2.20 |
Comparing to | |
See all releases |
Code changes from version 2.11 to 2.20
- dbmanager/database-backup.php +7 -6
- dbmanager/database-empty.php +2 -3
- dbmanager/database-manage.php +6 -7
- dbmanager/database-manager.php +2 -3
- dbmanager/database-optimize.php +2 -2
- dbmanager/database-repair.php +2 -2
- dbmanager/database-run.php +2 -3
- dbmanager/database-uninstall.php +129 -0
- dbmanager/dbmanager.php +52 -17
- dbmanager/wp-dbmanager.mo +0 -0
- dbmanager/wp-dbmanager.pot +299 -194
- readme.html +22 -10
- readme.txt +7 -7
dbmanager/database-backup.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Backup |
|
@@ -26,7 +26,7 @@ if(!current_user_can('manage_database')) {
|
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
-
$current_date = gmdate('
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
@@ -44,12 +44,13 @@ if($_POST['do']) {
|
|
44 |
if($gzip == 1) {
|
45 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql.gz';
|
46 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
47 |
-
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table '.DB_NAME.' | gzip > '.$backup['filepath'];
|
48 |
} else {
|
49 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql';
|
50 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
51 |
-
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table '.DB_NAME.' > '.$backup['filepath'];
|
52 |
}
|
|
|
53 |
passthru($backup['command'], $error);
|
54 |
if(!is_writable($backup['path'])) {
|
55 |
$text = '<font color="red">'.sprintf(__('Database Failed To Backup On \'%s\'. Backup Folder Not Writable.', 'wp-dbmanager'), $current_date).'</font>';
|
@@ -173,7 +174,7 @@ $stats_function_disabled = 0;
|
|
173 |
</tr>
|
174 |
<tr>
|
175 |
<th align="left" scope="row"><?php _e('Database Backup Date:', 'wp-dbmanager'); ?></th>
|
176 |
-
<td><?php echo gmdate('
|
177 |
</tr>
|
178 |
<tr style="background-color: #eee;">
|
179 |
<th align="left" scope="row"><?php _e('Database Backup File Name:', 'wp-dbmanager'); ?></th>
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Backup |
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
+
$current_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), (time() + (get_option('gmt_offset') * 3600)));
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
44 |
if($gzip == 1) {
|
45 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql.gz';
|
46 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
47 |
+
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' | gzip > '.$backup['filepath'];
|
48 |
} else {
|
49 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql';
|
50 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
51 |
+
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' > '.$backup['filepath'];
|
52 |
}
|
53 |
+
check_backup_files();
|
54 |
passthru($backup['command'], $error);
|
55 |
if(!is_writable($backup['path'])) {
|
56 |
$text = '<font color="red">'.sprintf(__('Database Failed To Backup On \'%s\'. Backup Folder Not Writable.', 'wp-dbmanager'), $current_date).'</font>';
|
174 |
</tr>
|
175 |
<tr>
|
176 |
<th align="left" scope="row"><?php _e('Database Backup Date:', 'wp-dbmanager'); ?></th>
|
177 |
+
<td><?php echo gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), $backup['date']); ?></td>
|
178 |
</tr>
|
179 |
<tr style="background-color: #eee;">
|
180 |
<th align="left" scope="row"><?php _e('Database Backup File Name:', 'wp-dbmanager'); ?></th>
|
dbmanager/database-empty.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Empty |
|
@@ -26,7 +26,6 @@ if(!current_user_can('manage_database')) {
|
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
-
$current_date = gmdate('l, jS F Y @ H:i', (time() + (get_option('gmt_offset') * 3600)));
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Empty |
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
|
|
29 |
$backup = array();
|
30 |
$backup_options = get_option('dbmanager_options');
|
31 |
$backup['date'] = current_time('timestamp');
|
dbmanager/database-manage.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Restore |
|
@@ -26,7 +26,6 @@ if(!current_user_can('manage_database')) {
|
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
-
$current_date = gmdate('l, jS F Y @ H:i', (time() + (get_option('gmt_offset') * 3600)));
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
@@ -39,7 +38,7 @@ $backup['path'] = $backup_options['path'];
|
|
39 |
if($_POST['do']) {
|
40 |
// Lets Prepare The Variables
|
41 |
$database_file = trim($_POST['database_file']);
|
42 |
-
$nice_file_date = gmdate('
|
43 |
|
44 |
// Decide What To Do
|
45 |
switch($_POST['do']) {
|
@@ -65,7 +64,7 @@ if($_POST['do']) {
|
|
65 |
// Get And Read The Database Backup File
|
66 |
$file_path = $backup['path'].'/'.$database_file;
|
67 |
$file_size = format_size(filesize($file_path));
|
68 |
-
$file_date = gmdate('
|
69 |
$file = fopen($file_path,'rb');
|
70 |
$file_data = fread($file,filesize($file_path));
|
71 |
fclose($file);
|
@@ -120,7 +119,7 @@ if($_POST['do']) {
|
|
120 |
break;
|
121 |
case __('Delete', 'wp-dbmanager'):
|
122 |
if(!empty($database_file)) {
|
123 |
-
$nice_file_date = gmdate('
|
124 |
if(is_file($backup['path'].'/'.$database_file)) {
|
125 |
if(!unlink($backup['path'].'/'.$database_file)) {
|
126 |
$text .= '<font color="red">'.sprintf(__('Unable To Delete Database Backup File On \'%s\'', 'wp-dbmanager'), $nice_file_date).'</font><br />';
|
@@ -170,7 +169,7 @@ if($_POST['do']) {
|
|
170 |
}
|
171 |
$no++;
|
172 |
$database_text = substr($database_files[$i], 13);
|
173 |
-
$date_text = gmdate('
|
174 |
$size_text = filesize($backup['path'].'/'.$database_files[$i]);
|
175 |
echo "<tr $style>\n<td>$no</td>";
|
176 |
echo "<td>$database_text</td>";
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Restore |
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
|
|
29 |
$backup = array();
|
30 |
$backup_options = get_option('dbmanager_options');
|
31 |
$backup['date'] = current_time('timestamp');
|
38 |
if($_POST['do']) {
|
39 |
// Lets Prepare The Variables
|
40 |
$database_file = trim($_POST['database_file']);
|
41 |
+
$nice_file_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), substr($database_file, 0, 10));
|
42 |
|
43 |
// Decide What To Do
|
44 |
switch($_POST['do']) {
|
64 |
// Get And Read The Database Backup File
|
65 |
$file_path = $backup['path'].'/'.$database_file;
|
66 |
$file_size = format_size(filesize($file_path));
|
67 |
+
$file_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), substr($database_file, 0, 10));
|
68 |
$file = fopen($file_path,'rb');
|
69 |
$file_data = fread($file,filesize($file_path));
|
70 |
fclose($file);
|
119 |
break;
|
120 |
case __('Delete', 'wp-dbmanager'):
|
121 |
if(!empty($database_file)) {
|
122 |
+
$nice_file_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), substr($database_file, 0, 10));
|
123 |
if(is_file($backup['path'].'/'.$database_file)) {
|
124 |
if(!unlink($backup['path'].'/'.$database_file)) {
|
125 |
$text .= '<font color="red">'.sprintf(__('Unable To Delete Database Backup File On \'%s\'', 'wp-dbmanager'), $nice_file_date).'</font><br />';
|
169 |
}
|
170 |
$no++;
|
171 |
$database_text = substr($database_files[$i], 13);
|
172 |
+
$date_text = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), substr($database_files[$i], 0, 10));
|
173 |
$size_text = filesize($backup['path'].'/'.$database_files[$i]);
|
174 |
echo "<tr $style>\n<td>$no</td>";
|
175 |
echo "<td>$database_text</td>";
|
dbmanager/database-manager.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Manager |
|
@@ -26,7 +26,6 @@ if(!current_user_can('manage_database')) {
|
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
-
$current_date = gmdate('l, jS F Y @ H:i', (time() + (get_option('gmt_offset') * 3600)));
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Manager |
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
|
|
29 |
$backup = array();
|
30 |
$backup_options = get_option('dbmanager_options');
|
31 |
$backup['date'] = current_time('timestamp');
|
dbmanager/database-optimize.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Optimize |
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Optimize |
|
dbmanager/database-repair.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Repair |
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Repair |
|
dbmanager/database-run.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.1 Plugin: WP-DBManager 2.
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
-
| - http://
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Run Query |
|
@@ -26,7 +26,6 @@ if(!current_user_can('manage_database')) {
|
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
29 |
-
$current_date = gmdate('l, jS F Y @ H:i', (time() + (get_option('gmt_offset') * 3600)));
|
30 |
$backup = array();
|
31 |
$backup_options = get_option('dbmanager_options');
|
32 |
$backup['date'] = current_time('timestamp');
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
9 |
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
| |
|
12 |
| File Information: |
|
13 |
| - Database Run Query |
|
26 |
### Variables Variables Variables
|
27 |
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
$base_page = 'admin.php?page='.$base_name;
|
|
|
29 |
$backup = array();
|
30 |
$backup_options = get_option('dbmanager_options');
|
31 |
$backup['date'] = current_time('timestamp');
|
dbmanager/database-uninstall.php
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
+----------------------------------------------------------------+
|
4 |
+
| |
|
5 |
+
| WordPress 2.1 Plugin: WP-DBManager 2.20 |
|
6 |
+
| Copyright (c) 2007 Lester "GaMerZ" Chan |
|
7 |
+
| |
|
8 |
+
| File Written By: |
|
9 |
+
| - Lester "GaMerZ" Chan |
|
10 |
+
| - http://lesterchan.net |
|
11 |
+
| |
|
12 |
+
| File Information: |
|
13 |
+
| - Uninstall WP-DBManager |
|
14 |
+
| - wp-content/plugins/dbmanager/dbmanager-uninstall.php |
|
15 |
+
| |
|
16 |
+
+----------------------------------------------------------------+
|
17 |
+
*/
|
18 |
+
|
19 |
+
|
20 |
+
### Check Whether User Can Manage Database
|
21 |
+
if(!current_user_can('manage_database')) {
|
22 |
+
die('Access Denied');
|
23 |
+
}
|
24 |
+
|
25 |
+
|
26 |
+
### Variables Variables Variables
|
27 |
+
$base_name = plugin_basename('dbmanager/database-manager.php');
|
28 |
+
$base_page = 'admin.php?page='.$base_name;
|
29 |
+
$mode = trim($_GET['mode']);
|
30 |
+
$db_settings = array('dbmanager_options');
|
31 |
+
$backup_options = get_option('dbmanager_options');
|
32 |
+
$backup_options_path = $backup_options['path'];
|
33 |
+
|
34 |
+
### Form Processing
|
35 |
+
if(!empty($_POST['do'])) {
|
36 |
+
// Decide What To Do
|
37 |
+
switch($_POST['do']) {
|
38 |
+
// Uninstall WP-DBManager
|
39 |
+
case __('UNINSTALL WP-DBManager', 'wp-dbmanager') :
|
40 |
+
if(trim($_POST['uninstall_db_yes']) == 'yes') {
|
41 |
+
echo '<div id="message" class="updated fade">';
|
42 |
+
echo '<p>';
|
43 |
+
foreach($db_settings as $setting) {
|
44 |
+
$delete_setting = delete_option($setting);
|
45 |
+
if($delete_setting) {
|
46 |
+
echo '<font color="green">';
|
47 |
+
printf(__('Setting Key \'%s\' has been deleted.', 'wp-dbmanager'), "<strong><em>{$setting}</em></strong>");
|
48 |
+
echo '</font><br />';
|
49 |
+
} else {
|
50 |
+
echo '<font color="red">';
|
51 |
+
printf(__('Error deleting Setting Key \'%s\'.', 'wp-dbmanager'), "<strong><em>{$setting}</em></strong>");
|
52 |
+
echo '</font><br />';
|
53 |
+
}
|
54 |
+
}
|
55 |
+
echo '</p>';
|
56 |
+
echo '<p style="color: blue;">';
|
57 |
+
_e('The database backup files generated by WP-DBManager <strong>WILL NOT</strong> be deleted. You will have to delete it manually.', 'wp-dbmanager');
|
58 |
+
echo '<br />';
|
59 |
+
printf(__('The path to the backup folder is <strong>\'%s\'</strong>.', 'wp-dbmanager'), $backup_options_path);
|
60 |
+
echo '</p>';
|
61 |
+
echo '</div>';
|
62 |
+
$mode = 'end-UNINSTALL';
|
63 |
+
}
|
64 |
+
break;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
|
69 |
+
### Determines Which Mode It Is
|
70 |
+
switch($mode) {
|
71 |
+
// Deactivating WP-DBManager
|
72 |
+
case 'end-UNINSTALL':
|
73 |
+
$deactivate_url = 'plugins.php?action=deactivate&plugin=dbmanager/dbmanager.php';
|
74 |
+
if(function_exists('wp_nonce_url')) {
|
75 |
+
$deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_dbmanager/dbmanager.php');
|
76 |
+
}
|
77 |
+
echo '<div class="wrap">';
|
78 |
+
echo '<h2>'.__('Uninstall WP-DBManager', 'wp-dbmanager').'</h2>';
|
79 |
+
echo '<p><strong>'.sprintf(__('<a href="%s">Click Here</a> To Finish The Uninstallation And WP-DBManager Will Be Deactivated Automatically.', 'wp-dbmanager'), $deactivate_url).'</strong></p>';
|
80 |
+
echo '</div>';
|
81 |
+
break;
|
82 |
+
// Main Page
|
83 |
+
default:
|
84 |
+
?>
|
85 |
+
<!-- Uninstall WP-DBManager -->
|
86 |
+
<form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>" method="post">
|
87 |
+
<div class="wrap">
|
88 |
+
<h2><?php _e('Uninstall WP-DBManager', 'wp-dbmanager'); ?></h2>
|
89 |
+
<p style="text-align: left;">
|
90 |
+
<?php _e('Deactivating WP-DBManager plugin does not remove any data that may have been created, such as the database options. To completely remove this plugin, you can uninstall it here.', 'wp-dbmanager'); ?>
|
91 |
+
</p>
|
92 |
+
<p style="text-align: left; color: red">
|
93 |
+
<strong><?php _e('WARNING:', 'wp-dbmanager'); ?></strong><br />
|
94 |
+
<?php _e('Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wp-dbmanager'); ?>
|
95 |
+
</p>
|
96 |
+
<p style="text-align: left; color: red">
|
97 |
+
<strong><?php _e('NOTE:', 'wp-dbmanager'); ?></strong><br />
|
98 |
+
<?php _e('The database backup files generated by WP-DBManager <strong>WILL NOT</strong> be deleted. You will have to delete it manually.', 'wp-dbmanager'); ?><br />
|
99 |
+
<?php printf(__('The path to the backup folder is <strong>\'%s\'</strong>.', 'wp-dbmanager'), $backup_options_path); ?>
|
100 |
+
</p>
|
101 |
+
<p style="text-align: left; color: red">
|
102 |
+
<strong><?php _e('The following WordPress Options will be DELETED:', 'wp-dbmanager'); ?></strong><br />
|
103 |
+
</p>
|
104 |
+
<table width="50%" border="0" cellspacing="3" cellpadding="3">
|
105 |
+
<tr class="thead">
|
106 |
+
<td align="center"><strong><?php _e('WordPress Options', 'wp-dbmanager'); ?></strong></td>
|
107 |
+
</tr>
|
108 |
+
<tr>
|
109 |
+
<td valign="top" style="background-color: #eee;">
|
110 |
+
<ol>
|
111 |
+
<?php
|
112 |
+
foreach($db_settings as $settings) {
|
113 |
+
echo '<li>'.$settings.'</li>'."\n";
|
114 |
+
}
|
115 |
+
?>
|
116 |
+
</ol>
|
117 |
+
</td>
|
118 |
+
</tr>
|
119 |
+
</table>
|
120 |
+
<p> </p>
|
121 |
+
<p style="text-align: center;">
|
122 |
+
<input type="checkbox" name="uninstall_db_yes" value="yes" /> <?php _e('Yes', 'wp-dbmanager'); ?><br /><br />
|
123 |
+
<input type="submit" name="do" value="<?php _e('UNINSTALL WP-DBManager', 'wp-dbmanager'); ?>" class="button" onclick="return confirm('<?php _e('You Are About To Uninstall WP-DBManager From WordPress.\nThis Action Is Not Reversible.\n\n Choose [Cancel] To Stop, [OK] To Uninstall.', 'wp-dbmanager'); ?>')" />
|
124 |
+
</p>
|
125 |
+
</div>
|
126 |
+
</form>
|
127 |
+
<?php
|
128 |
+
} // End switch($mode)
|
129 |
+
?>
|
dbmanager/dbmanager.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP-DBManager
|
4 |
-
Plugin URI: http://
|
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.
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
-
Author URI: http://
|
9 |
*/
|
10 |
|
11 |
|
@@ -29,7 +29,10 @@ Author URI: http://www.lesterchan.net
|
|
29 |
|
30 |
|
31 |
### Create Text Domain For Translations
|
32 |
-
|
|
|
|
|
|
|
33 |
|
34 |
|
35 |
### Function: Database Manager Menu
|
@@ -46,6 +49,7 @@ function dbmanager_menu() {
|
|
46 |
add_submenu_page('dbmanager/database-manager.php', __('Empty/Drop Tables', 'wp-dbmanager'), __('Empty/Drop Tables', 'wp-dbmanager'), 'manage_database', 'dbmanager/database-empty.php');
|
47 |
add_submenu_page('dbmanager/database-manager.php', __('Run SQL Query', 'wp-dbmanager'), __('Run SQL Query', 'wp-dbmanager'), 'manage_database', 'dbmanager/database-run.php');
|
48 |
add_submenu_page('dbmanager/database-manager.php', __('DB Options', 'wp-dbmanager'), __('DB Options', 'wp-dbmanager'), 'manage_database', 'dbmanager/dbmanager.php', 'dbmanager_options');
|
|
|
49 |
}
|
50 |
}
|
51 |
|
@@ -59,7 +63,7 @@ function cron_dbmanager_backup() {
|
|
59 |
$backup_options = get_option('dbmanager_options');
|
60 |
$backup_email = stripslashes($backup_options['backup_email']);
|
61 |
if(intval($backup_options['backup_period']) > 0) {
|
62 |
-
$current_date = gmdate('
|
63 |
$backup = array();
|
64 |
$backup['date'] = current_time('timestamp');
|
65 |
$backup['mysqldumppath'] = $backup_options['mysqldumppath'];
|
@@ -69,18 +73,19 @@ function cron_dbmanager_backup() {
|
|
69 |
if(intval($backup_options['backup_gzip']) == 1) {
|
70 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql.gz';
|
71 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
72 |
-
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table '.DB_NAME.' | gzip > '.$backup['filepath'];
|
73 |
} else {
|
74 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql';
|
75 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
76 |
-
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table '.DB_NAME.' > '.$backup['filepath'];
|
77 |
}
|
|
|
78 |
passthru($backup['command']);
|
79 |
if(!empty($backup_email)) {
|
80 |
// Get And Read The Database Backup File
|
81 |
$file_path = $backup['filepath'];
|
82 |
$file_size = format_size(filesize($file_path));
|
83 |
-
$file_date = gmdate('
|
84 |
$file = fopen($file_path,'rb');
|
85 |
$file_data = fread($file,filesize($file_path));
|
86 |
fclose($file);
|
@@ -145,8 +150,8 @@ function cron_dbmanager_reccurences() {
|
|
145 |
$optimize = 31536000;
|
146 |
}
|
147 |
return array(
|
148 |
-
'dbmanager_backup' => array('interval' => $backup, 'display' => 'WP-DBManager Backup Schedule'),
|
149 |
-
'dbmanager_optimize' => array('interval' => $optimize, 'display' => 'WP-DBManager Optimize Schedule')
|
150 |
);
|
151 |
}
|
152 |
|
@@ -224,6 +229,27 @@ if(!function_exists('is_emtpy_folder')) {
|
|
224 |
}
|
225 |
|
226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
### Function: Database Manager Role
|
228 |
add_action('activate_dbmanager/dbmanager.php', 'dbmanager_init');
|
229 |
function dbmanager_init() {
|
@@ -234,6 +260,7 @@ function dbmanager_init() {
|
|
234 |
$backup_options['mysqldumppath'] = $auto['mysqldump'];
|
235 |
$backup_options['mysqlpath'] = $auto['mysql'];
|
236 |
$backup_options['path'] = str_replace('\\', '/', ABSPATH).'wp-content/backup-db';
|
|
|
237 |
$backup_options['backup'] = 1;
|
238 |
$backup_options['backup_gzip'] = 0;
|
239 |
$backup_options['backup_period'] = 604800;
|
@@ -288,6 +315,7 @@ function dbmanager_options() {
|
|
288 |
$backup_options['mysqldumppath'] = trim($_POST['db_mysqldumppath']);
|
289 |
$backup_options['mysqlpath'] = trim($_POST['db_mysqlpath']);
|
290 |
$backup_options['path'] = trim($_POST['db_path']);
|
|
|
291 |
$backup_options['backup'] = intval($_POST['db_backup']);
|
292 |
$backup_options['backup_gzip'] = intval($_POST['db_backup_gzip']);
|
293 |
$backup_options['backup_period'] = intval($_POST['db_backup_period']);
|
@@ -335,16 +363,16 @@ function dbmanager_options() {
|
|
335 |
<legend><?php _e('Paths', 'wp-dbmanager'); ?></legend>
|
336 |
<table class="optiontable">
|
337 |
<tr>
|
338 |
-
<td valign="top"><strong><?php _e('Path To mysqldump:', 'wp-dbmanager'); ?></strong></td>
|
339 |
-
<td>
|
340 |
-
<input type="text" id="db_mysqldumppath" name="db_mysqldumppath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqldumppath']); ?>" /> <input type="button" value="Auto Detect" onclick="mysqldumppath();" />
|
341 |
<p><?php _e('The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
342 |
</td>
|
343 |
</tr>
|
344 |
<tr>
|
345 |
<td valign="top"><strong><?php _e('Path To mysql:', 'wp-dbmanager'); ?></strong></td>
|
346 |
<td>
|
347 |
-
<input type="text" id="db_mysqlpath" name="db_mysqlpath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqlpath']); ?>" /> <input type="button" value="Auto Detect" onclick="mysqlpath();" />
|
348 |
<p><?php _e('The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
349 |
</td>
|
350 |
</tr>
|
@@ -355,6 +383,13 @@ function dbmanager_options() {
|
|
355 |
<p><?php _e('The absolute path to your database backup folder without trailing slash. Make sure the folder is writable.', 'wp-dbmanager'); ?></p>
|
356 |
</td>
|
357 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
</table>
|
359 |
<p>
|
360 |
<strong><?php _e('Windows Server', 'wp-dbmanager'); ?></strong><br />
|
@@ -368,7 +403,7 @@ function dbmanager_options() {
|
|
368 |
</p>
|
369 |
<p>
|
370 |
<strong><?php _e('Note', 'wp-dbmanager'); ?></strong><br />
|
371 |
-
<?php _e('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.'); ?>
|
372 |
</p>
|
373 |
<p> </p>
|
374 |
</fieldset>
|
@@ -381,7 +416,7 @@ function dbmanager_options() {
|
|
381 |
<?php
|
382 |
_e('Next backup date: ', 'wp-dbmanager');
|
383 |
if(wp_next_scheduled('dbmanager_cron_backup')) {
|
384 |
-
echo '<strong>'.gmdate('
|
385 |
} else {
|
386 |
_e('N/A', 'wp-dbmanager');
|
387 |
}
|
@@ -411,7 +446,7 @@ function dbmanager_options() {
|
|
411 |
<?php
|
412 |
_e('Next optimize date: ', 'wp-dbmanager');
|
413 |
if(wp_next_scheduled('dbmanager_cron_optimize')) {
|
414 |
-
echo '<strong>'.gmdate('
|
415 |
} else {
|
416 |
_e('N/A', 'wp-dbmanager');
|
417 |
}
|
1 |
<?php
|
2 |
/*
|
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.20
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
+
Author URI: http://lesterchan.net
|
9 |
*/
|
10 |
|
11 |
|
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/dbmanager');
|
35 |
+
}
|
36 |
|
37 |
|
38 |
### Function: Database Manager Menu
|
49 |
add_submenu_page('dbmanager/database-manager.php', __('Empty/Drop Tables', 'wp-dbmanager'), __('Empty/Drop Tables', 'wp-dbmanager'), 'manage_database', 'dbmanager/database-empty.php');
|
50 |
add_submenu_page('dbmanager/database-manager.php', __('Run SQL Query', 'wp-dbmanager'), __('Run SQL Query', 'wp-dbmanager'), 'manage_database', 'dbmanager/database-run.php');
|
51 |
add_submenu_page('dbmanager/database-manager.php', __('DB Options', 'wp-dbmanager'), __('DB Options', 'wp-dbmanager'), 'manage_database', 'dbmanager/dbmanager.php', 'dbmanager_options');
|
52 |
+
add_submenu_page('dbmanager/database-manager.php', __('Uninstall WP-DBManager', 'wp-dbmanager'), __('Uninstall WP-DBManager', 'wp-dbmanager'), 'manage_database', 'dbmanager/database-uninstall.php');
|
53 |
}
|
54 |
}
|
55 |
|
63 |
$backup_options = get_option('dbmanager_options');
|
64 |
$backup_email = stripslashes($backup_options['backup_email']);
|
65 |
if(intval($backup_options['backup_period']) > 0) {
|
66 |
+
$current_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), (time() + (get_option('gmt_offset') * 3600)));
|
67 |
$backup = array();
|
68 |
$backup['date'] = current_time('timestamp');
|
69 |
$backup['mysqldumppath'] = $backup_options['mysqldumppath'];
|
73 |
if(intval($backup_options['backup_gzip']) == 1) {
|
74 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql.gz';
|
75 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
76 |
+
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' | gzip > '.$backup['filepath'];
|
77 |
} else {
|
78 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql';
|
79 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
80 |
+
$backup['command'] = $backup['mysqldumppath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' > '.$backup['filepath'];
|
81 |
}
|
82 |
+
check_backup_files();
|
83 |
passthru($backup['command']);
|
84 |
if(!empty($backup_email)) {
|
85 |
// Get And Read The Database Backup File
|
86 |
$file_path = $backup['filepath'];
|
87 |
$file_size = format_size(filesize($file_path));
|
88 |
+
$file_date = gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), substr($backup['filename'], 0, 10));
|
89 |
$file = fopen($file_path,'rb');
|
90 |
$file_data = fread($file,filesize($file_path));
|
91 |
fclose($file);
|
150 |
$optimize = 31536000;
|
151 |
}
|
152 |
return array(
|
153 |
+
'dbmanager_backup' => array('interval' => $backup, 'display' => __('WP-DBManager Backup Schedule', 'wp-dbmanager')),
|
154 |
+
'dbmanager_optimize' => array('interval' => $optimize, 'display' => __('WP-DBManager Optimize Schedule', 'wp-dbmanager'))
|
155 |
);
|
156 |
}
|
157 |
|
229 |
}
|
230 |
|
231 |
|
232 |
+
### Function: Make Sure Maximum Number Of Database Backup Files Does Not Exceed
|
233 |
+
function check_backup_files() {
|
234 |
+
$backup_options = get_option('dbmanager_options');
|
235 |
+
$database_files = array();
|
236 |
+
if(!is_emtpy_folder($backup_options['path'])) {
|
237 |
+
if ($handle = opendir($backup_options['path'])) {
|
238 |
+
while (false !== ($file = readdir($handle))) {
|
239 |
+
if ($file != '.' && $file != '..' && (file_ext($file) == 'sql' || file_ext($file) == 'gz')) {
|
240 |
+
$database_files[] = $file;
|
241 |
+
}
|
242 |
+
}
|
243 |
+
closedir($handle);
|
244 |
+
sort($database_files);
|
245 |
+
}
|
246 |
+
}
|
247 |
+
if(sizeof($database_files) >= $backup_options['max_backup']) {
|
248 |
+
@unlink($backup_options['path'].'/'.$database_files[0]);
|
249 |
+
}
|
250 |
+
}
|
251 |
+
|
252 |
+
|
253 |
### Function: Database Manager Role
|
254 |
add_action('activate_dbmanager/dbmanager.php', 'dbmanager_init');
|
255 |
function dbmanager_init() {
|
260 |
$backup_options['mysqldumppath'] = $auto['mysqldump'];
|
261 |
$backup_options['mysqlpath'] = $auto['mysql'];
|
262 |
$backup_options['path'] = str_replace('\\', '/', ABSPATH).'wp-content/backup-db';
|
263 |
+
$backup_options['max_backup'] = 10;
|
264 |
$backup_options['backup'] = 1;
|
265 |
$backup_options['backup_gzip'] = 0;
|
266 |
$backup_options['backup_period'] = 604800;
|
315 |
$backup_options['mysqldumppath'] = trim($_POST['db_mysqldumppath']);
|
316 |
$backup_options['mysqlpath'] = trim($_POST['db_mysqlpath']);
|
317 |
$backup_options['path'] = trim($_POST['db_path']);
|
318 |
+
$backup_options['max_backup'] = intval($_POST['db_max_backup']);
|
319 |
$backup_options['backup'] = intval($_POST['db_backup']);
|
320 |
$backup_options['backup_gzip'] = intval($_POST['db_backup_gzip']);
|
321 |
$backup_options['backup_period'] = intval($_POST['db_backup_period']);
|
363 |
<legend><?php _e('Paths', 'wp-dbmanager'); ?></legend>
|
364 |
<table class="optiontable">
|
365 |
<tr>
|
366 |
+
<td width="20%" valign="top"><strong><?php _e('Path To mysqldump:', 'wp-dbmanager'); ?></strong></td>
|
367 |
+
<td width="80%">
|
368 |
+
<input type="text" id="db_mysqldumppath" name="db_mysqldumppath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqldumppath']); ?>" /> <input type="button" value="<?php _e('Auto Detect', 'wp-dbmanager'); ?>" onclick="mysqldumppath();" />
|
369 |
<p><?php _e('The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
370 |
</td>
|
371 |
</tr>
|
372 |
<tr>
|
373 |
<td valign="top"><strong><?php _e('Path To mysql:', 'wp-dbmanager'); ?></strong></td>
|
374 |
<td>
|
375 |
+
<input type="text" id="db_mysqlpath" name="db_mysqlpath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqlpath']); ?>" /> <input type="button" value="<?php _e('Auto Detect', 'wp-dbmanager'); ?>" onclick="mysqlpath();" />
|
376 |
<p><?php _e('The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
377 |
</td>
|
378 |
</tr>
|
383 |
<p><?php _e('The absolute path to your database backup folder without trailing slash. Make sure the folder is writable.', 'wp-dbmanager'); ?></p>
|
384 |
</td>
|
385 |
</tr>
|
386 |
+
<tr>
|
387 |
+
<td valign="top"><strong><?php _e('Maximum Backup Files:', 'wp-dbmanager'); ?></strong></td>
|
388 |
+
<td>
|
389 |
+
<input type="text" name="db_max_backup" size="5" maxlength="5" value="<?php echo stripslashes($backup_options['max_backup']); ?>" />
|
390 |
+
<p><?php _e('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.', 'wp-dbmanager'); ?></p>
|
391 |
+
</td>
|
392 |
+
</tr>
|
393 |
</table>
|
394 |
<p>
|
395 |
<strong><?php _e('Windows Server', 'wp-dbmanager'); ?></strong><br />
|
403 |
</p>
|
404 |
<p>
|
405 |
<strong><?php _e('Note', 'wp-dbmanager'); ?></strong><br />
|
406 |
+
<?php _e('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.', 'wp-dbmanager'); ?>
|
407 |
</p>
|
408 |
<p> </p>
|
409 |
</fieldset>
|
416 |
<?php
|
417 |
_e('Next backup date: ', 'wp-dbmanager');
|
418 |
if(wp_next_scheduled('dbmanager_cron_backup')) {
|
419 |
+
echo '<strong>'.gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), (wp_next_scheduled('dbmanager_cron_backup') + (get_option('gmt_offset') * 3600))).'</strong>';
|
420 |
} else {
|
421 |
_e('N/A', 'wp-dbmanager');
|
422 |
}
|
446 |
<?php
|
447 |
_e('Next optimize date: ', 'wp-dbmanager');
|
448 |
if(wp_next_scheduled('dbmanager_cron_optimize')) {
|
449 |
+
echo '<strong>'.gmdate(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), (wp_next_scheduled('dbmanager_cron_optimize') + (get_option('gmt_offset') * 3600))).'</strong>';
|
450 |
} else {
|
451 |
_e('N/A', 'wp-dbmanager');
|
452 |
}
|
dbmanager/wp-dbmanager.mo
CHANGED
Binary file
|
dbmanager/wp-dbmanager.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP-DBManager\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
-
"PO-Revision-Date: 2007-
|
6 |
"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n"
|
7 |
"Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -14,233 +14,248 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
#: database-backup.php:42
|
18 |
-
#: database-backup.php:
|
19 |
msgid "Backup"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: database-backup.php:
|
23 |
#, php-format
|
24 |
msgid "Database Failed To Backup On '%s'. Backup Folder Not Writable."
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: database-backup.php:
|
28 |
#, php-format
|
29 |
msgid "Database Failed To Backup On '%s'. Backup File Size Is 0KB."
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: database-backup.php:
|
33 |
#, php-format
|
34 |
msgid "Database Failed To Backup On '%s'. Invalid Backup File Path."
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: database-backup.php:
|
38 |
#, php-format
|
39 |
msgid "Database Failed To Backup On '%s'."
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: database-backup.php:
|
43 |
#, php-format
|
44 |
msgid "Database Backed Up Successfully On '%s'."
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: database-backup.php:
|
48 |
msgid "Checking Backup Status"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: database-backup.php:
|
52 |
msgid "Checking Backup Folder"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: database-backup.php:
|
56 |
msgid "Backup folder exists"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: database-backup.php:
|
60 |
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."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: database-backup.php:
|
64 |
msgid "Backup folder is writable"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: database-backup.php:
|
68 |
msgid "Backup folder is NOT writable. Please CHMOD it to '777'."
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: database-backup.php:
|
72 |
-
#: database-backup.php:
|
73 |
msgid "Checking MYSQL Dump Path"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: database-backup.php:
|
77 |
msgid "MYSQL dump path exists."
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: database-backup.php:
|
81 |
msgid "MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: database-backup.php:
|
85 |
-
#: database-backup.php:
|
86 |
msgid "Checking MYSQL Path"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: database-backup.php:
|
90 |
msgid "MYSQL path exists."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: database-backup.php:
|
94 |
msgid "MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator."
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: database-backup.php:
|
98 |
msgid "Checking PHP Functions"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: database-backup.php:
|
102 |
msgid "and"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: database-backup.php:
|
106 |
-
#: database-backup.php:
|
107 |
-
#: database-backup.php:
|
108 |
msgid "enabled"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: database-backup.php:
|
112 |
-
#: database-backup.php:
|
113 |
-
#: database-backup.php:
|
114 |
msgid "disabled"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: database-backup.php:
|
118 |
msgid "Excellent. You Are Good To Go."
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: database-backup.php:
|
122 |
msgid "I'm sorry, your server administrator has disabled passthru(), system() and exec(), thus you cannot use this backup script. You may consider using the default WordPress database backup script instead."
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: database-backup.php:
|
126 |
msgid "Please Rectify The Error Highlighted In Red Before Proceeding On."
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: database-backup.php:
|
130 |
msgid "Note: The checking of backup status is still undergoing testing, it may not be accurate."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: database-backup.php:
|
134 |
msgid "Backup Database"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: database-backup.php:
|
138 |
msgid "Database Name:"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: database-backup.php:
|
142 |
msgid "Database Backup To:"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: database-backup.php:
|
146 |
msgid "Database Backup Date:"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: database-backup.php:
|
150 |
msgid "Database Backup File Name:"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: database-backup.php:
|
154 |
msgid "Database Backup Type:"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: database-backup.php:
|
158 |
msgid "Full (Structure and Data)"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: database-backup.php:
|
162 |
msgid "MYSQL Dump Location:"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: database-backup.php:
|
166 |
msgid "GZIP Database Backup File?"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: database-backup.php:
|
170 |
#: database-optimize.php:83
|
171 |
#: database-repair.php:79
|
172 |
-
#:
|
|
|
173 |
msgid "Yes"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: database-backup.php:
|
177 |
#: database-optimize.php:83
|
178 |
#: database-repair.php:79
|
179 |
-
#: dbmanager.php:
|
180 |
msgid "No"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: database-backup.php:
|
184 |
-
#: database-empty.php:
|
185 |
-
#: database-manage.php:
|
186 |
#: database-optimize.php:90
|
187 |
#: database-repair.php:83
|
188 |
-
#: database-run.php:
|
189 |
-
#: dbmanager.php:
|
190 |
msgid "Cancel"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: database-empty.php:
|
194 |
-
#: database-empty.php:
|
195 |
msgid "Empty/Drop"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: database-empty.php:
|
199 |
msgid "No Tables Selected."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: database-empty.php:
|
203 |
#, php-format
|
204 |
msgid "Table '%s' Emptied"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: database-empty.php:
|
208 |
#, php-format
|
209 |
msgid "Table(s) '%s' Dropped"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: database-empty.php:
|
213 |
-
#: dbmanager.php:
|
214 |
msgid "Empty/Drop Tables"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: database-empty.php:
|
218 |
-
#: database-manager.php:
|
219 |
-
#: database-manager.php:
|
220 |
#: database-optimize.php:71
|
221 |
#: database-repair.php:67
|
222 |
msgid "Tables"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: database-empty.php:
|
226 |
-
#: database-empty.php:
|
227 |
msgid "Empty"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: database-empty.php:
|
231 |
-
#: database-empty.php:
|
232 |
msgid "Drop"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: database-empty.php:
|
236 |
msgid "1. DROPPING a table means deleting the table. This action is not REVERSIBLE."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: database-empty.php:
|
240 |
msgid "2. EMPTYING a table means all the rows in the table will be deleted. This action is not REVERSIBLE."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: database-empty.php:
|
244 |
msgid ""
|
245 |
"You Are About To Empty Or Drop The Selected Databases.\\n"
|
246 |
"This Action Is Not Reversible.\\n"
|
@@ -248,152 +263,152 @@ msgid ""
|
|
248 |
" Choose [Cancel] to stop, [Ok] to delete."
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: database-manage.php:
|
252 |
-
#: database-manage.php:
|
253 |
msgid "Restore"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: database-manage.php:
|
257 |
#, php-format
|
258 |
msgid "Database On '%s' Failed To Restore"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: database-manage.php:
|
262 |
#, php-format
|
263 |
msgid "Database On '%s' Restored Successfully"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: database-manage.php:
|
267 |
-
#: database-manage.php:
|
268 |
-
#: database-manage.php:
|
269 |
-
#: database-manage.php:
|
270 |
msgid "No Backup Database File Selected"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: database-manage.php:
|
274 |
-
#: database-manage.php:
|
275 |
msgid "E-Mail"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: database-manage.php:
|
279 |
-
#: dbmanager.php:
|
280 |
#, php-format
|
281 |
msgid "%s Database Backup File For %s"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: database-manage.php:
|
285 |
-
#: dbmanager.php:
|
286 |
msgid "Website Name:"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: database-manage.php:
|
290 |
-
#: dbmanager.php:
|
291 |
msgid "Website URL:"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: database-manage.php:
|
295 |
-
#: dbmanager.php:
|
296 |
msgid "Backup File Name:"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: database-manage.php:
|
300 |
-
#: dbmanager.php:
|
301 |
msgid "Backup File Date:"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: database-manage.php:
|
305 |
-
#: dbmanager.php:
|
306 |
msgid "Backup File Size:"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: database-manage.php:
|
310 |
-
#: dbmanager.php:
|
311 |
msgid "With Regards,"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: database-manage.php:
|
315 |
-
#: dbmanager.php:
|
316 |
msgid "Administrator"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: database-manage.php:
|
320 |
#, php-format
|
321 |
msgid "Database Backup File For '%s' Successfully E-Mailed To '%s'"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: database-manage.php:
|
325 |
#, php-format
|
326 |
msgid "Unable To E-Mail Database Backup File For '%s' To '%s'"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: database-manage.php:
|
330 |
-
#: database-manage.php:
|
331 |
msgid "Download"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: database-manage.php:
|
335 |
-
#: database-manage.php:
|
336 |
msgid "Delete"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: database-manage.php:
|
340 |
#, php-format
|
341 |
msgid "Unable To Delete Database Backup File On '%s'"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: database-manage.php:
|
345 |
#, php-format
|
346 |
msgid "Database Backup File On '%s' Deleted Successfully"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: database-manage.php:
|
350 |
#, php-format
|
351 |
msgid "Invalid Database Backup File On '%s'"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: database-manage.php:
|
355 |
msgid "Manage Backup Database"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: database-manage.php:
|
359 |
msgid "Choose A Backup Date To E-Mail, Restore, Download Or Delete"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: database-manage.php:
|
363 |
-
#: database-manager.php:
|
364 |
msgid "No."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: database-manage.php:
|
368 |
msgid "Database File"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: database-manage.php:
|
372 |
msgid "Date/Time"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: database-manage.php:
|
376 |
msgid "Size"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: database-manage.php:
|
380 |
msgid "Select"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: database-manage.php:
|
384 |
-
#: database-manage.php:
|
385 |
msgid "There Are No Database Backup Files Available."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: database-manage.php:
|
389 |
msgid "Backup File(s)"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: database-manage.php:
|
393 |
msgid "E-mail database backup file to:"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: database-manage.php:
|
397 |
msgid ""
|
398 |
"You Are About To Restore A Database.\\n"
|
399 |
"This Action Is Not Reversible.\\n"
|
@@ -402,7 +417,7 @@ msgid ""
|
|
402 |
" Choose [Cancel] to stop, [Ok] to restore."
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: database-manage.php:
|
406 |
msgid ""
|
407 |
"You Are About To Delete The Selected Database Backup Files.\\n"
|
408 |
"This Action Is Not Reversible.\\n"
|
@@ -410,63 +425,63 @@ msgid ""
|
|
410 |
" Choose [Cancel] to stop, [Ok] to delete."
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: database-manager.php:
|
414 |
msgid "Database Information"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: database-manager.php:
|
418 |
msgid "Setting"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: database-manager.php:
|
422 |
msgid "Value"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: database-manager.php:
|
426 |
msgid "Database Host"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: database-manager.php:
|
430 |
msgid "Database Name"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: database-manager.php:
|
434 |
msgid "Database User"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: database-manager.php:
|
438 |
msgid "Database Type"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: database-manager.php:
|
442 |
msgid "Database Version"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: database-manager.php:
|
446 |
msgid "Tables Information"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: database-manager.php:
|
450 |
msgid "Records"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: database-manager.php:
|
454 |
msgid "Data Usage"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: database-manager.php:
|
458 |
msgid "Index Usage"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: database-manager.php:
|
462 |
msgid "Overhead"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: database-manager.php:
|
466 |
msgid "Total:"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: database-manager.php:
|
470 |
msgid "Could Not Show Table Status Due To Your MYSQL Version Is Lower Than 3.23."
|
471 |
msgstr ""
|
472 |
|
@@ -515,217 +530,307 @@ msgstr ""
|
|
515 |
msgid "Repair"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: database-run.php:
|
519 |
-
#: database-run.php:
|
520 |
msgid "Run"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: database-run.php:
|
524 |
msgid "Query(s) Executed Successfully"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: database-run.php:
|
528 |
-
#: database-run.php:
|
529 |
msgid "Empty Query"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: database-run.php:
|
533 |
-
#: dbmanager.php:
|
534 |
msgid "Run SQL Query"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: database-run.php:
|
538 |
msgid "Seperate Multiple Queries With A New Line"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: database-run.php:
|
542 |
msgid "Use Only INSERT, UPDATE, REPLACE, DELETE, CREATE and ALTER statements."
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: database-run.php:
|
546 |
msgid "1. CREATE statement will return an error, which is perfectly normal due to the database class. To confirm that your table has been created check the Manage Database page."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: database-run.php:
|
550 |
msgid "2. UPDATE statement may return an error sometimes due to the newly updated value being the same as the previous value."
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: database-run.php:
|
554 |
msgid "3. ALTER statement will return an error because there is no value returned."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#:
|
558 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
msgstr ""
|
560 |
|
561 |
#: dbmanager.php:42
|
|
|
|
|
|
|
|
|
562 |
msgid "Backup DB"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: dbmanager.php:
|
566 |
msgid "Manage Backup DB"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: dbmanager.php:
|
570 |
msgid "Optimize DB"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: dbmanager.php:
|
574 |
msgid "Repair DB"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: dbmanager.php:
|
578 |
msgid "DB Options"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: dbmanager.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
msgid "Database Options Updated"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: dbmanager.php:
|
586 |
msgid "No Database Option Updated"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: dbmanager.php:
|
590 |
msgid "Database Options"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: dbmanager.php:
|
594 |
msgid "Paths"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: dbmanager.php:
|
598 |
msgid "Path To mysqldump:"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: dbmanager.php:
|
|
|
|
|
|
|
|
|
|
|
602 |
msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: dbmanager.php:
|
606 |
msgid "Path To mysql:"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: dbmanager.php:
|
610 |
msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: dbmanager.php:
|
614 |
msgid "Path To Backup:"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: dbmanager.php:
|
618 |
msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: dbmanager.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
msgid "Windows Server"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: dbmanager.php:
|
626 |
msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: dbmanager.php:
|
630 |
msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: dbmanager.php:
|
634 |
msgid "Linux Server"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: dbmanager.php:
|
638 |
msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: dbmanager.php:
|
642 |
msgid "For mysql path, normally is just '<strong>mysql</strong>'."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: dbmanager.php:
|
646 |
msgid "Note"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: dbmanager.php:
|
650 |
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."
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: dbmanager.php:
|
654 |
msgid "Automatic Scheduling"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: dbmanager.php:
|
658 |
msgid "Automatic Backing Up Of DB:"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: dbmanager.php:
|
662 |
msgid "Next backup date: "
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: dbmanager.php:
|
666 |
-
#: dbmanager.php:
|
667 |
msgid "N/A"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: dbmanager.php:
|
671 |
-
#: dbmanager.php:
|
672 |
msgid "Every"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: dbmanager.php:
|
676 |
-
#: dbmanager.php:
|
677 |
msgid "Disable"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: dbmanager.php:
|
681 |
-
#: dbmanager.php:
|
682 |
msgid "Hour(s)"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: dbmanager.php:
|
686 |
-
#: dbmanager.php:
|
687 |
msgid "Day(s)"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: dbmanager.php:
|
691 |
-
#: dbmanager.php:
|
692 |
msgid "Week(s)"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: dbmanager.php:
|
696 |
-
#: dbmanager.php:
|
697 |
msgid "Month(s)"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: dbmanager.php:
|
701 |
msgid "Gzip"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: dbmanager.php:
|
705 |
msgid "E-mail backup to:"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: dbmanager.php:
|
709 |
msgid "(Leave black to disable this feature)"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: dbmanager.php:
|
713 |
msgid "WP-DBManager can automatically backup your database after a certain period."
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: dbmanager.php:
|
717 |
msgid "Automatic Optimizing Of DB:"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: dbmanager.php:
|
721 |
msgid "Next optimize date: "
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: dbmanager.php:
|
725 |
msgid "WP-DBManager can automatically optimize your database after a certain period."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: dbmanager.php:
|
729 |
msgid "Update Options"
|
730 |
msgstr ""
|
731 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP-DBManager 2.20\n"
|
4 |
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: 2007-09-30 16:04+0800\n"
|
6 |
"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n"
|
7 |
"Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: database-backup.php:29
|
18 |
+
#: database-backup.php:177
|
19 |
+
#: database-manage.php:41
|
20 |
+
#: database-manage.php:67
|
21 |
+
#: database-manage.php:122
|
22 |
+
#: database-manage.php:172
|
23 |
+
#: dbmanager.php:66
|
24 |
+
#: dbmanager.php:88
|
25 |
+
#: dbmanager.php:419
|
26 |
+
#: dbmanager.php:449
|
27 |
+
#, php-format
|
28 |
+
msgid "%s @ %s"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
#: database-backup.php:42
|
32 |
+
#: database-backup.php:196
|
33 |
msgid "Backup"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: database-backup.php:56
|
37 |
#, php-format
|
38 |
msgid "Database Failed To Backup On '%s'. Backup Folder Not Writable."
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: database-backup.php:59
|
42 |
#, php-format
|
43 |
msgid "Database Failed To Backup On '%s'. Backup File Size Is 0KB."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: database-backup.php:61
|
47 |
#, php-format
|
48 |
msgid "Database Failed To Backup On '%s'. Invalid Backup File Path."
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: database-backup.php:63
|
52 |
#, php-format
|
53 |
msgid "Database Failed To Backup On '%s'."
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: database-backup.php:65
|
57 |
#, php-format
|
58 |
msgid "Database Backed Up Successfully On '%s'."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: database-backup.php:83
|
62 |
msgid "Checking Backup Status"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: database-backup.php:85
|
66 |
msgid "Checking Backup Folder"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: database-backup.php:88
|
70 |
msgid "Backup folder exists"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: database-backup.php:91
|
74 |
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."
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: database-backup.php:94
|
78 |
msgid "Backup folder is writable"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: database-backup.php:97
|
82 |
msgid "Backup folder is NOT writable. Please CHMOD it to '777'."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: database-backup.php:104
|
86 |
+
#: database-backup.php:108
|
87 |
msgid "Checking MYSQL Dump Path"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: database-backup.php:105
|
91 |
msgid "MYSQL dump path exists."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: database-backup.php:109
|
95 |
msgid "MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator."
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: database-backup.php:116
|
99 |
+
#: database-backup.php:120
|
100 |
msgid "Checking MYSQL Path"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: database-backup.php:117
|
104 |
msgid "MYSQL path exists."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: database-backup.php:121
|
108 |
msgid "MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: database-backup.php:126
|
112 |
msgid "Checking PHP Functions"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: database-backup.php:126
|
116 |
msgid "and"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: database-backup.php:129
|
120 |
+
#: database-backup.php:136
|
121 |
+
#: database-backup.php:142
|
122 |
msgid "enabled"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: database-backup.php:132
|
126 |
+
#: database-backup.php:138
|
127 |
+
#: database-backup.php:144
|
128 |
msgid "disabled"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: database-backup.php:152
|
132 |
msgid "Excellent. You Are Good To Go."
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: database-backup.php:154
|
136 |
msgid "I'm sorry, your server administrator has disabled passthru(), system() and exec(), thus you cannot use this backup script. You may consider using the default WordPress database backup script instead."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: database-backup.php:156
|
140 |
msgid "Please Rectify The Error Highlighted In Red Before Proceeding On."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: database-backup.php:160
|
144 |
msgid "Note: The checking of backup status is still undergoing testing, it may not be accurate."
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: database-backup.php:164
|
148 |
msgid "Backup Database"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: database-backup.php:168
|
152 |
msgid "Database Name:"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: database-backup.php:172
|
156 |
msgid "Database Backup To:"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: database-backup.php:176
|
160 |
msgid "Database Backup Date:"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: database-backup.php:180
|
164 |
msgid "Database Backup File Name:"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: database-backup.php:184
|
168 |
msgid "Database Backup Type:"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: database-backup.php:185
|
172 |
msgid "Full (Structure and Data)"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: database-backup.php:188
|
176 |
msgid "MYSQL Dump Location:"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: database-backup.php:192
|
180 |
msgid "GZIP Database Backup File?"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: database-backup.php:193
|
184 |
#: database-optimize.php:83
|
185 |
#: database-repair.php:79
|
186 |
+
#: database-uninstall.php:122
|
187 |
+
#: dbmanager.php:436
|
188 |
msgid "Yes"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: database-backup.php:193
|
192 |
#: database-optimize.php:83
|
193 |
#: database-repair.php:79
|
194 |
+
#: dbmanager.php:435
|
195 |
msgid "No"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: database-backup.php:196
|
199 |
+
#: database-empty.php:106
|
200 |
+
#: database-manage.php:201
|
201 |
#: database-optimize.php:90
|
202 |
#: database-repair.php:83
|
203 |
+
#: database-run.php:92
|
204 |
+
#: dbmanager.php:468
|
205 |
msgid "Cancel"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: database-empty.php:44
|
209 |
+
#: database-empty.php:106
|
210 |
msgid "Empty/Drop"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: database-empty.php:55
|
214 |
msgid "No Tables Selected."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: database-empty.php:61
|
218 |
#, php-format
|
219 |
msgid "Table '%s' Emptied"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: database-empty.php:66
|
223 |
#, php-format
|
224 |
msgid "Table(s) '%s' Dropped"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: database-empty.php:79
|
228 |
+
#: dbmanager.php:49
|
229 |
msgid "Empty/Drop Tables"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: database-empty.php:83
|
233 |
+
#: database-manager.php:76
|
234 |
+
#: database-manager.php:108
|
235 |
#: database-optimize.php:71
|
236 |
#: database-repair.php:67
|
237 |
msgid "Tables"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: database-empty.php:84
|
241 |
+
#: database-empty.php:96
|
242 |
msgid "Empty"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: database-empty.php:85
|
246 |
+
#: database-empty.php:97
|
247 |
msgid "Drop"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: database-empty.php:102
|
251 |
msgid "1. DROPPING a table means deleting the table. This action is not REVERSIBLE."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: database-empty.php:103
|
255 |
msgid "2. EMPTYING a table means all the rows in the table will be deleted. This action is not REVERSIBLE."
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: database-empty.php:106
|
259 |
msgid ""
|
260 |
"You Are About To Empty Or Drop The Selected Databases.\\n"
|
261 |
"This Action Is Not Reversible.\\n"
|
263 |
" Choose [Cancel] to stop, [Ok] to delete."
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: database-manage.php:45
|
267 |
+
#: database-manage.php:199
|
268 |
msgid "Restore"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: database-manage.php:54
|
272 |
#, php-format
|
273 |
msgid "Database On '%s' Failed To Restore"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: database-manage.php:56
|
277 |
#, php-format
|
278 |
msgid "Database On '%s' Restored Successfully"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: database-manage.php:59
|
282 |
+
#: database-manage.php:112
|
283 |
+
#: database-manage.php:117
|
284 |
+
#: database-manage.php:133
|
285 |
msgid "No Backup Database File Selected"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: database-manage.php:62
|
289 |
+
#: database-manage.php:194
|
290 |
msgid "E-Mail"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: database-manage.php:78
|
294 |
+
#: dbmanager.php:94
|
295 |
#, php-format
|
296 |
msgid "%s Database Backup File For %s"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: database-manage.php:87
|
300 |
+
#: dbmanager.php:103
|
301 |
msgid "Website Name:"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: database-manage.php:88
|
305 |
+
#: dbmanager.php:104
|
306 |
msgid "Website URL:"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: database-manage.php:89
|
310 |
+
#: dbmanager.php:105
|
311 |
msgid "Backup File Name:"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: database-manage.php:90
|
315 |
+
#: dbmanager.php:106
|
316 |
msgid "Backup File Date:"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: database-manage.php:91
|
320 |
+
#: dbmanager.php:107
|
321 |
msgid "Backup File Size:"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: database-manage.php:92
|
325 |
+
#: dbmanager.php:108
|
326 |
msgid "With Regards,"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: database-manage.php:93
|
330 |
+
#: dbmanager.php:109
|
331 |
msgid "Administrator"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: database-manage.php:107
|
335 |
#, php-format
|
336 |
msgid "Database Backup File For '%s' Successfully E-Mailed To '%s'"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: database-manage.php:109
|
340 |
#, php-format
|
341 |
msgid "Unable To E-Mail Database Backup File For '%s' To '%s'"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: database-manage.php:115
|
345 |
+
#: database-manage.php:198
|
346 |
msgid "Download"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: database-manage.php:120
|
350 |
+
#: database-manage.php:200
|
351 |
msgid "Delete"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: database-manage.php:125
|
355 |
#, php-format
|
356 |
msgid "Unable To Delete Database Backup File On '%s'"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: database-manage.php:127
|
360 |
#, php-format
|
361 |
msgid "Database Backup File On '%s' Deleted Successfully"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: database-manage.php:130
|
365 |
#, php-format
|
366 |
msgid "Invalid Database Backup File On '%s'"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: database-manage.php:142
|
370 |
msgid "Manage Backup Database"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: database-manage.php:143
|
374 |
msgid "Choose A Backup Date To E-Mail, Restore, Download Or Delete"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: database-manage.php:147
|
378 |
+
#: database-manager.php:75
|
379 |
msgid "No."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: database-manage.php:148
|
383 |
msgid "Database File"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: database-manage.php:149
|
387 |
msgid "Date/Time"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: database-manage.php:150
|
391 |
msgid "Size"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: database-manage.php:151
|
395 |
msgid "Select"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: database-manage.php:182
|
399 |
+
#: database-manage.php:185
|
400 |
msgid "There Are No Database Backup Files Available."
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: database-manage.php:189
|
404 |
msgid "Backup File(s)"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: database-manage.php:194
|
408 |
msgid "E-mail database backup file to:"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: database-manage.php:199
|
412 |
msgid ""
|
413 |
"You Are About To Restore A Database.\\n"
|
414 |
"This Action Is Not Reversible.\\n"
|
417 |
" Choose [Cancel] to stop, [Ok] to restore."
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: database-manage.php:200
|
421 |
msgid ""
|
422 |
"You Are About To Delete The Selected Database Backup Files.\\n"
|
423 |
"This Action Is Not Reversible.\\n"
|
425 |
" Choose [Cancel] to stop, [Ok] to delete."
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: database-manager.php:43
|
429 |
msgid "Database Information"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: database-manager.php:46
|
433 |
msgid "Setting"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: database-manager.php:47
|
437 |
msgid "Value"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: database-manager.php:50
|
441 |
msgid "Database Host"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: database-manager.php:54
|
445 |
msgid "Database Name"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: database-manager.php:58
|
449 |
msgid "Database User"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: database-manager.php:62
|
453 |
msgid "Database Type"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: database-manager.php:66
|
457 |
msgid "Database Version"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: database-manager.php:72
|
461 |
msgid "Tables Information"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: database-manager.php:77
|
465 |
msgid "Records"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: database-manager.php:78
|
469 |
msgid "Data Usage"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: database-manager.php:79
|
473 |
msgid "Index Usage"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: database-manager.php:80
|
477 |
msgid "Overhead"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: database-manager.php:107
|
481 |
msgid "Total:"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: database-manager.php:115
|
485 |
msgid "Could Not Show Table Status Due To Your MYSQL Version Is Lower Than 3.23."
|
486 |
msgstr ""
|
487 |
|
530 |
msgid "Repair"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: database-run.php:41
|
534 |
+
#: database-run.php:92
|
535 |
msgid "Run"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: database-run.php:71
|
539 |
msgid "Query(s) Executed Successfully"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: database-run.php:73
|
543 |
+
#: database-run.php:76
|
544 |
msgid "Empty Query"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: database-run.php:85
|
548 |
+
#: dbmanager.php:50
|
549 |
msgid "Run SQL Query"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: database-run.php:88
|
553 |
msgid "Seperate Multiple Queries With A New Line"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: database-run.php:89
|
557 |
msgid "Use Only INSERT, UPDATE, REPLACE, DELETE, CREATE and ALTER statements."
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: database-run.php:94
|
561 |
msgid "1. CREATE statement will return an error, which is perfectly normal due to the database class. To confirm that your table has been created check the Manage Database page."
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: database-run.php:95
|
565 |
msgid "2. UPDATE statement may return an error sometimes due to the newly updated value being the same as the previous value."
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: database-run.php:96
|
569 |
msgid "3. ALTER statement will return an error because there is no value returned."
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: database-uninstall.php:39
|
573 |
+
#: database-uninstall.php:123
|
574 |
+
msgid "UNINSTALL WP-DBManager"
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: database-uninstall.php:47
|
578 |
+
#, php-format
|
579 |
+
msgid "Setting Key '%s' has been deleted."
|
580 |
+
msgstr ""
|
581 |
+
|
582 |
+
#: database-uninstall.php:51
|
583 |
+
#, php-format
|
584 |
+
msgid "Error deleting Setting Key '%s'."
|
585 |
+
msgstr ""
|
586 |
+
|
587 |
+
#: database-uninstall.php:57
|
588 |
+
#: database-uninstall.php:98
|
589 |
+
msgid "The database backup files generated by WP-DBManager <strong>WILL NOT</strong> be deleted. You will have to delete it manually."
|
590 |
+
msgstr ""
|
591 |
+
|
592 |
+
#: database-uninstall.php:59
|
593 |
+
#: database-uninstall.php:99
|
594 |
+
#, php-format
|
595 |
+
msgid "The path to the backup folder is <strong>'%s'</strong>."
|
596 |
+
msgstr ""
|
597 |
+
|
598 |
+
#: database-uninstall.php:78
|
599 |
+
#: database-uninstall.php:88
|
600 |
+
#: dbmanager.php:52
|
601 |
+
msgid "Uninstall WP-DBManager"
|
602 |
+
msgstr ""
|
603 |
+
|
604 |
+
#: database-uninstall.php:79
|
605 |
+
#, php-format
|
606 |
+
msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-DBManager Will Be Deactivated Automatically."
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: database-uninstall.php:90
|
610 |
+
msgid "Deactivating WP-DBManager plugin does not remove any data that may have been created, such as the database options. To completely remove this plugin, you can uninstall it here."
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: database-uninstall.php:93
|
614 |
+
msgid "WARNING:"
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: database-uninstall.php:94
|
618 |
+
msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first."
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: database-uninstall.php:97
|
622 |
+
msgid "NOTE:"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: database-uninstall.php:102
|
626 |
+
msgid "The following WordPress Options will be DELETED:"
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: database-uninstall.php:106
|
630 |
+
msgid "WordPress Options"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: database-uninstall.php:123
|
634 |
+
msgid ""
|
635 |
+
"You Are About To Uninstall WP-DBManager From WordPress.\\n"
|
636 |
+
"This Action Is Not Reversible.\\n"
|
637 |
+
"\\n"
|
638 |
+
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
639 |
msgstr ""
|
640 |
|
641 |
#: dbmanager.php:42
|
642 |
+
msgid "Database"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: dbmanager.php:45
|
646 |
msgid "Backup DB"
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: dbmanager.php:46
|
650 |
msgid "Manage Backup DB"
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: dbmanager.php:47
|
654 |
msgid "Optimize DB"
|
655 |
msgstr ""
|
656 |
|
657 |
+
#: dbmanager.php:48
|
658 |
msgid "Repair DB"
|
659 |
msgstr ""
|
660 |
|
661 |
+
#: dbmanager.php:51
|
662 |
msgid "DB Options"
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: dbmanager.php:153
|
666 |
+
msgid "WP-DBManager Backup Schedule"
|
667 |
+
msgstr ""
|
668 |
+
|
669 |
+
#: dbmanager.php:154
|
670 |
+
msgid "WP-DBManager Optimize Schedule"
|
671 |
+
msgstr ""
|
672 |
+
|
673 |
+
#: dbmanager.php:327
|
674 |
msgid "Database Options Updated"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: dbmanager.php:330
|
678 |
msgid "No Database Option Updated"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: dbmanager.php:360
|
682 |
msgid "Database Options"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: dbmanager.php:363
|
686 |
msgid "Paths"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: dbmanager.php:366
|
690 |
msgid "Path To mysqldump:"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: dbmanager.php:368
|
694 |
+
#: dbmanager.php:375
|
695 |
+
msgid "Auto Detect"
|
696 |
+
msgstr ""
|
697 |
+
|
698 |
+
#: dbmanager.php:369
|
699 |
msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: dbmanager.php:373
|
703 |
msgid "Path To mysql:"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: dbmanager.php:376
|
707 |
msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: dbmanager.php:380
|
711 |
msgid "Path To Backup:"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: dbmanager.php:383
|
715 |
msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: dbmanager.php:387
|
719 |
+
msgid "Maximum Backup Files:"
|
720 |
+
msgstr ""
|
721 |
+
|
722 |
+
#: dbmanager.php:390
|
723 |
+
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."
|
724 |
+
msgstr ""
|
725 |
+
|
726 |
+
#: dbmanager.php:395
|
727 |
msgid "Windows Server"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: dbmanager.php:396
|
731 |
msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: dbmanager.php:397
|
735 |
msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: dbmanager.php:400
|
739 |
msgid "Linux Server"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: dbmanager.php:401
|
743 |
msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: dbmanager.php:402
|
747 |
msgid "For mysql path, normally is just '<strong>mysql</strong>'."
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: dbmanager.php:405
|
751 |
msgid "Note"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: dbmanager.php:406
|
755 |
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."
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: dbmanager.php:411
|
759 |
msgid "Automatic Scheduling"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: dbmanager.php:414
|
763 |
msgid "Automatic Backing Up Of DB:"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: dbmanager.php:417
|
767 |
msgid "Next backup date: "
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: dbmanager.php:421
|
771 |
+
#: dbmanager.php:451
|
772 |
msgid "N/A"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: dbmanager.php:425
|
776 |
+
#: dbmanager.php:455
|
777 |
msgid "Every"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: dbmanager.php:427
|
781 |
+
#: dbmanager.php:457
|
782 |
msgid "Disable"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: dbmanager.php:428
|
786 |
+
#: dbmanager.php:458
|
787 |
msgid "Hour(s)"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: dbmanager.php:429
|
791 |
+
#: dbmanager.php:459
|
792 |
msgid "Day(s)"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: dbmanager.php:430
|
796 |
+
#: dbmanager.php:460
|
797 |
msgid "Week(s)"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: dbmanager.php:431
|
801 |
+
#: dbmanager.php:461
|
802 |
msgid "Month(s)"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: dbmanager.php:433
|
806 |
msgid "Gzip"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: dbmanager.php:439
|
810 |
msgid "E-mail backup to:"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: dbmanager.php:439
|
814 |
msgid "(Leave black to disable this feature)"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: dbmanager.php:440
|
818 |
msgid "WP-DBManager can automatically backup your database after a certain period."
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: dbmanager.php:444
|
822 |
msgid "Automatic Optimizing Of DB:"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: dbmanager.php:447
|
826 |
msgid "Next optimize date: "
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: dbmanager.php:464
|
830 |
msgid "WP-DBManager can automatically optimize your database after a certain period."
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: dbmanager.php:468
|
834 |
msgid "Update Options"
|
835 |
msgstr ""
|
836 |
|
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.
|
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.
|
207 |
|
208 |
<!-- Tabs -->
|
209 |
<ul id="Tabs">
|
@@ -229,13 +229,13 @@
|
|
229 |
<strong>»</strong>
|
230 |
<script type="text/javascript">
|
231 |
/* <![CDATA[*/
|
232 |
-
document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-DBManager%202.
|
233 |
/* ]]> */
|
234 |
</script>
|
235 |
</p>
|
236 |
<p>
|
237 |
<strong>Website:</strong><br />
|
238 |
-
<strong>»</strong> <a href="http://
|
239 |
</p>
|
240 |
<p>
|
241 |
<strong>Features:</strong><br />
|
@@ -243,9 +243,13 @@
|
|
243 |
</p>
|
244 |
<p>
|
245 |
<strong>Download:</strong><br />
|
246 |
-
<strong>»</strong> <a href="http://
|
247 |
-
<strong>»</strong> <a href="http://
|
248 |
-
<strong>»</strong> <a href="http://
|
|
|
|
|
|
|
|
|
249 |
</p>
|
250 |
<p>
|
251 |
<strong>Demo:</strong><br />
|
@@ -265,7 +269,7 @@
|
|
265 |
</p>
|
266 |
<p>
|
267 |
<strong>Updated:</strong><br />
|
268 |
-
<strong>»</strong> 1st
|
269 |
</p>
|
270 |
<p>
|
271 |
<strong>Note:</strong><br />
|
@@ -286,6 +290,14 @@
|
|
286 |
<div id="Changelog" style="display: none;">
|
287 |
<div class="SubTitle">» Changelog</div>
|
288 |
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
<li>
|
290 |
<strong>Version 2.11 (01-06-2007)</strong>
|
291 |
<ul>
|
@@ -390,7 +402,7 @@
|
|
390 |
<!-- Upgrade Instructions -->
|
391 |
<div id="Upgrade" style="display: none;">
|
392 |
<div class="SubTitle">» Upgrade Instructions</div>
|
393 |
-
<div class="SubSubTitle">From v2.0x To v2.
|
394 |
<ol>
|
395 |
<li>
|
396 |
<strong>Deactivate</strong> WP-DBManager Plugin
|
@@ -430,6 +442,6 @@
|
|
430 |
</div>
|
431 |
</div>
|
432 |
</div>
|
433 |
-
<p id="Copyright">WP-DBManager 2.
|
434 |
</body>
|
435 |
</html>
|
2 |
<html>
|
3 |
<head>
|
4 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
5 |
+
<title>WP-DBManager 2.20 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.20 <span style="color: #aaaaaa;">Readme</span></div>
|
207 |
|
208 |
<!-- Tabs -->
|
209 |
<ul id="Tabs">
|
229 |
<strong>»</strong>
|
230 |
<script type="text/javascript">
|
231 |
/* <![CDATA[*/
|
232 |
+
document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-DBManager%202.20%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');
|
233 |
/* ]]> */
|
234 |
</script>
|
235 |
</p>
|
236 |
<p>
|
237 |
<strong>Website:</strong><br />
|
238 |
+
<strong>»</strong> <a href="http://lesterchan.net/" title="http://lesterchan.net/">http://lesterchan.net/</a>
|
239 |
</p>
|
240 |
<p>
|
241 |
<strong>Features:</strong><br />
|
243 |
</p>
|
244 |
<p>
|
245 |
<strong>Download:</strong><br />
|
246 |
+
<strong>»</strong> <a href="http://lesterchan.net/others/downloads.php?id=15" title="http://lesterchan.net/others/downloads.php?id=15">WP-DBManager 2.20 For WordPress 2.1.x And Above</a><br />
|
247 |
+
<strong>»</strong> <a href="http://lesterchan.net/others/downloads/wp-dbmanager205.zip" title="http://lesterchan.net/others/downloads/wp-dbmanager205.zip">WP-DBManager 2.05 For WordPress 2.0.x</a><br />
|
248 |
+
<strong>»</strong> <a href="http://lesterchan.net/others/downloads/wp-dbmanager.zip" title="http://lesterchan.net/others/downloads/wp-dbmanager.zip">WP-DBManager 1.00 For WordPress 1.5.2</a>
|
249 |
+
</p>
|
250 |
+
<p>
|
251 |
+
<strong>Screenshots:</strong><br />
|
252 |
+
<strong>»</strong> <a href="http://lesterchan.net/wordpress/screenshots/browse/wp-dbmanager/" title="http://lesterchan.net/wordpress/screenshots/browse/wp-dbmanager/">http://lesterchan.net/wordpress/screenshots/browse/wp-dbmanager/</a>
|
253 |
</p>
|
254 |
<p>
|
255 |
<strong>Demo:</strong><br />
|
269 |
</p>
|
270 |
<p>
|
271 |
<strong>Updated:</strong><br />
|
272 |
+
<strong>»</strong> 1st October 2007
|
273 |
</p>
|
274 |
<p>
|
275 |
<strong>Note:</strong><br />
|
290 |
<div id="Changelog" style="display: none;">
|
291 |
<div class="SubTitle">» Changelog</div>
|
292 |
<ul>
|
293 |
+
<li>
|
294 |
+
<strong>Version 2.20 (01-10-2007)</strong>
|
295 |
+
<ul>
|
296 |
+
<li>NEW: Added --skip-lock-tables Argument When Backing Up Database</li>
|
297 |
+
<li>NEW: Limit The Maximum Number Of Backup Files In The Backup Folder</li>
|
298 |
+
<li>NEW: Ability To Uninstall WP-DBManager</li>
|
299 |
+
</ul>
|
300 |
+
</li>
|
301 |
<li>
|
302 |
<strong>Version 2.11 (01-06-2007)</strong>
|
303 |
<ul>
|
402 |
<!-- Upgrade Instructions -->
|
403 |
<div id="Upgrade" style="display: none;">
|
404 |
<div class="SubTitle">» Upgrade Instructions</div>
|
405 |
+
<div class="SubSubTitle">From v2.0x To v2.20</div>
|
406 |
<ol>
|
407 |
<li>
|
408 |
<strong>Deactivate</strong> WP-DBManager Plugin
|
442 |
</div>
|
443 |
</div>
|
444 |
</div>
|
445 |
+
<p id="Copyright">WP-DBManager 2.20<br />Copyright © 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
|
446 |
</body>
|
447 |
</html>
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WP-DBManager ===
|
2 |
Contributors: GamerZ
|
3 |
-
Donate link: http://
|
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.1.0
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
Manages your Wordpress database.
|
9 |
|
@@ -11,21 +11,21 @@ Manages your Wordpress database.
|
|
11 |
|
12 |
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.
|
13 |
|
14 |
-
All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: [WP-DBManager Readme](http://
|
15 |
It is the exact same readme.html is included in the zip package.
|
16 |
|
17 |
== Development Blog ==
|
18 |
|
19 |
-
[GaMerZ WordPress Plugins Development Blog](http://
|
20 |
|
21 |
== Installation ==
|
22 |
|
23 |
-
[WP-DBManager Readme](http://
|
24 |
|
25 |
== Screenshots ==
|
26 |
|
27 |
-
[
|
28 |
|
29 |
== Frequently Asked Questions ==
|
30 |
|
31 |
-
|
1 |
=== WP-DBManager ===
|
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.1.0
|
6 |
+
Stable tag: 2.20
|
7 |
|
8 |
Manages your Wordpress database.
|
9 |
|
11 |
|
12 |
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.
|
13 |
|
14 |
+
All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: [WP-DBManager Readme](http://lesterchan.net/wordpress/readme/wp-dbmanager.html "WP-DBManager Readme").
|
15 |
It is the exact same readme.html is included in the zip package.
|
16 |
|
17 |
== Development Blog ==
|
18 |
|
19 |
+
[GaMerZ WordPress Plugins Development Blog](http://lesterchan.net/wordpress/ "GaMerZ WordPress Plugins Development Blog")
|
20 |
|
21 |
== Installation ==
|
22 |
|
23 |
+
[WP-DBManager Readme](http://lesterchan.net/wordpress/readme/wp-dbmanager.html "WP-DBManager Readme") (Installation Tab)
|
24 |
|
25 |
== Screenshots ==
|
26 |
|
27 |
+
[WP-DBManager Screenshots](http://lesterchan.net/wordpress/screenshots/browse/wp-dbmanager/ "WP-DBManager Screenshots")
|
28 |
|
29 |
== Frequently Asked Questions ==
|
30 |
|
31 |
+
[WP-DBManager Support Forums](http://forums.lesterchan.net/index.php?board=11.0 "WP-DBManager Support Forums")
|