Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-DBManager |
Version | 2.40 |
Comparing to | |
See all releases |
Code changes from version 2.31 to 2.40
- database-admin-css.css +21 -0
- database-backup.php +21 -18
- database-empty.php +2 -1
- database-manage.php +10 -8
- database-manager.php +9 -7
- database-optimize.php +2 -1
- database-repair.php +2 -1
- database-run.php +7 -6
- database-uninstall.php +7 -5
- images/database.png +0 -0
- images/database_admin_icon.png +0 -0
- readme.html +28 -9
- readme.txt +2 -2
- wp-dbmanager.mo +0 -0
- wp-dbmanager.php +38 -39
- wp-dbmanager.pot +273 -239
database-admin-css.css
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
9 |
+
| - http://lesterchan.net |
|
10 |
+
| |
|
11 |
+
| File Information: |
|
12 |
+
| - Database Admin CSS Styles |
|
13 |
+
| - wp-content/plugins/wp-dbmanager/database-admin-css.css |
|
14 |
+
| |
|
15 |
+
+----------------------------------------------------------------+
|
16 |
+
*/
|
17 |
+
|
18 |
+
|
19 |
+
#icon-wp-dbmanager {
|
20 |
+
background: transparent url(images/database_admin_icon.png) no-repeat;
|
21 |
+
}
|
database-backup.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -40,15 +40,16 @@ if($_POST['do']) {
|
|
40 |
// Decide What To Do
|
41 |
switch($_POST['do']) {
|
42 |
case __('Backup', 'wp-dbmanager'):
|
|
|
43 |
$gzip = intval($_POST['gzip']);
|
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 |
$error = execute_backup($backup['command']);
|
54 |
if(!is_writable($backup['path'])) {
|
@@ -79,9 +80,11 @@ $stats_function_disabled = 0;
|
|
79 |
<?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
|
80 |
<!-- Checking Backup Status -->
|
81 |
<div class="wrap">
|
82 |
-
<
|
|
|
|
|
83 |
<p>
|
84 |
-
<?php _e('Checking Backup Folder', 'wp-dbmanager'); ?> (<strong><?php echo stripslashes($backup['path']); ?></strong>) ...<br />
|
85 |
<?php
|
86 |
if(@is_dir(stripslashes($backup['path']))) {
|
87 |
echo '<font color="green">'.__('Backup folder exists', 'wp-dbmanager').'</font><br />';
|
@@ -100,7 +103,7 @@ $stats_function_disabled = 0;
|
|
100 |
<p>
|
101 |
<?php
|
102 |
if(@file_exists(stripslashes($backup['mysqldumppath']))) {
|
103 |
-
echo __('Checking MYSQL Dump Path', 'wp-dbmanager').' (<strong>'.stripslashes($backup['mysqldumppath']).'</strong>) ...<br />';
|
104 |
echo '<font color="green">'.__('MYSQL dump path exists.', 'wp-dbmanager').'</font>';
|
105 |
$status_count++;
|
106 |
} else {
|
@@ -112,7 +115,7 @@ $stats_function_disabled = 0;
|
|
112 |
<p>
|
113 |
<?php
|
114 |
if(@file_exists(stripslashes($backup['mysqlpath']))) {
|
115 |
-
echo __('Checking MYSQL Path', 'wp-dbmanager').' (<strong>'.stripslashes($backup['mysqlpath']).'</strong>) ...<br />';
|
116 |
echo '<font color="green">'.__('MYSQL path exists.', 'wp-dbmanager').'</font>';
|
117 |
$status_count++;
|
118 |
} else {
|
@@ -122,25 +125,25 @@ $stats_function_disabled = 0;
|
|
122 |
?>
|
123 |
</p>
|
124 |
<p>
|
125 |
-
<?php _e('Checking PHP Functions', 'wp-dbmanager'); ?> (<strong>passthru()</strong>, <strong>system()</strong> <?php _e('and', 'wp-dbmanager'); ?> <strong>exec()</strong>) ...<br />
|
126 |
<?php
|
127 |
if(function_exists('passthru')) {
|
128 |
-
echo '<font color="green">passthru() '.__('enabled', 'wp-dbmanager').'.</font><br />';
|
129 |
$status_count++;
|
130 |
} else {
|
131 |
-
echo '<font color="red">passthru() '.__('disabled', 'wp-dbmanager').'.</font><br />';
|
132 |
$stats_function_disabled++;
|
133 |
}
|
134 |
if(function_exists('system')) {
|
135 |
-
echo '<font color="green">system() '.__('enabled', 'wp-dbmanager').'.</font><br />';
|
136 |
} else {
|
137 |
-
echo '<font color="red">system() '.__('disabled', 'wp-dbmanager').'.</font><br />';
|
138 |
$stats_function_disabled++;
|
139 |
}
|
140 |
if(function_exists('exec')) {
|
141 |
-
echo '<font color="green">exec() '.__('enabled', 'wp-dbmanager').'.</font>';
|
142 |
} else {
|
143 |
-
echo '<font color="red">exec() '.__('disabled', 'wp-dbmanager').'.</font>';
|
144 |
$stats_function_disabled++;
|
145 |
}
|
146 |
?>
|
@@ -161,7 +164,7 @@ $stats_function_disabled = 0;
|
|
161 |
<!-- Backup Database -->
|
162 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
163 |
<div class="wrap">
|
164 |
-
<
|
165 |
<br style="clear" />
|
166 |
<table class="widefat">
|
167 |
<thead>
|
@@ -176,7 +179,7 @@ $stats_function_disabled = 0;
|
|
176 |
</tr>
|
177 |
<tr style="background-color: #eee;">
|
178 |
<th><?php _e('Database Backup To:', 'wp-dbmanager'); ?></th>
|
179 |
-
<td><?php echo stripslashes($backup['path']); ?></td>
|
180 |
</tr>
|
181 |
<tr>
|
182 |
<th><?php _e('Database Backup Date:', 'wp-dbmanager'); ?></th>
|
@@ -184,7 +187,7 @@ $stats_function_disabled = 0;
|
|
184 |
</tr>
|
185 |
<tr style="background-color: #eee;">
|
186 |
<th><?php _e('Database Backup File Name:', 'wp-dbmanager'); ?></th>
|
187 |
-
<td><?php echo $backup['filename']; ?></td>
|
188 |
</tr>
|
189 |
<tr>
|
190 |
<th><?php _e('Database Backup Type:', 'wp-dbmanager'); ?></th>
|
@@ -192,7 +195,7 @@ $stats_function_disabled = 0;
|
|
192 |
</tr>
|
193 |
<tr style="background-color: #eee;">
|
194 |
<th><?php _e('MYSQL Dump Location:', 'wp-dbmanager'); ?></th>
|
195 |
-
<td><?php echo stripslashes($backup['mysqldumppath']); ?></td>
|
196 |
</tr>
|
197 |
<tr>
|
198 |
<th><?php _e('GZIP Database Backup File?', 'wp-dbmanager'); ?></th>
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
40 |
// Decide What To Do
|
41 |
switch($_POST['do']) {
|
42 |
case __('Backup', 'wp-dbmanager'):
|
43 |
+
$brace = (substr(PHP_OS, 0, 3) == 'WIN') ? '"' : '';
|
44 |
$gzip = intval($_POST['gzip']);
|
45 |
if($gzip == 1) {
|
46 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql.gz';
|
47 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
48 |
+
$backup['command'] = $brace.$backup['mysqldumppath'].$brace.' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' | gzip > '.$brace.$backup['filepath'].$brace;
|
49 |
} else {
|
50 |
$backup['filename'] = $backup['date'].'_-_'.DB_NAME.'.sql';
|
51 |
$backup['filepath'] = $backup['path'].'/'.$backup['filename'];
|
52 |
+
$backup['command'] = $brace.$backup['mysqldumppath'].$brace.' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" --add-drop-table --skip-lock-tables '.DB_NAME.' > '.$brace.$backup['filepath'].$brace;
|
53 |
}
|
54 |
$error = execute_backup($backup['command']);
|
55 |
if(!is_writable($backup['path'])) {
|
80 |
<?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
|
81 |
<!-- Checking Backup Status -->
|
82 |
<div class="wrap">
|
83 |
+
<div id="icon-wp-dbmanager" class="icon32"><br /></div>
|
84 |
+
<h2><?php _e('Backup Database', 'wp-dbmanager'); ?></h2>
|
85 |
+
<h3><?php _e('Checking Backup Status', 'wp-dbmanager'); ?></h3>
|
86 |
<p>
|
87 |
+
<?php _e('Checking Backup Folder', 'wp-dbmanager'); ?> <span dir="ltr">(<strong><?php echo stripslashes($backup['path']); ?></strong>)</span> ...<br />
|
88 |
<?php
|
89 |
if(@is_dir(stripslashes($backup['path']))) {
|
90 |
echo '<font color="green">'.__('Backup folder exists', 'wp-dbmanager').'</font><br />';
|
103 |
<p>
|
104 |
<?php
|
105 |
if(@file_exists(stripslashes($backup['mysqldumppath']))) {
|
106 |
+
echo __('Checking MYSQL Dump Path', 'wp-dbmanager').' <span dir="ltr">(<strong>'.stripslashes($backup['mysqldumppath']).'</strong>)</span> ...<br />';
|
107 |
echo '<font color="green">'.__('MYSQL dump path exists.', 'wp-dbmanager').'</font>';
|
108 |
$status_count++;
|
109 |
} else {
|
115 |
<p>
|
116 |
<?php
|
117 |
if(@file_exists(stripslashes($backup['mysqlpath']))) {
|
118 |
+
echo __('Checking MYSQL Path', 'wp-dbmanager').' <span dir="ltr">(<strong>'.stripslashes($backup['mysqlpath']).'</strong>)</span> ...<br />';
|
119 |
echo '<font color="green">'.__('MYSQL path exists.', 'wp-dbmanager').'</font>';
|
120 |
$status_count++;
|
121 |
} else {
|
125 |
?>
|
126 |
</p>
|
127 |
<p>
|
128 |
+
<?php _e('Checking PHP Functions', 'wp-dbmanager'); ?> <span dir="ltr">(<strong>passthru()</strong>, <strong>system()</strong> <?php _e('and', 'wp-dbmanager'); ?> <strong>exec()</strong>)</span> ...<br />
|
129 |
<?php
|
130 |
if(function_exists('passthru')) {
|
131 |
+
echo '<font color="green"><span dir="ltr">passthru()</span> '.__('enabled', 'wp-dbmanager').'.</font><br />';
|
132 |
$status_count++;
|
133 |
} else {
|
134 |
+
echo '<font color="red"><span dir="ltr">passthru()</span> '.__('disabled', 'wp-dbmanager').'.</font><br />';
|
135 |
$stats_function_disabled++;
|
136 |
}
|
137 |
if(function_exists('system')) {
|
138 |
+
echo '<font color="green"><span dir="ltr">system()</span> '.__('enabled', 'wp-dbmanager').'.</font><br />';
|
139 |
} else {
|
140 |
+
echo '<font color="red"><span dir="ltr">system()</span> '.__('disabled', 'wp-dbmanager').'.</font><br />';
|
141 |
$stats_function_disabled++;
|
142 |
}
|
143 |
if(function_exists('exec')) {
|
144 |
+
echo '<font color="green"><span dir="ltr">exec()</span> '.__('enabled', 'wp-dbmanager').'.</font>';
|
145 |
} else {
|
146 |
+
echo '<font color="red"><span dir="ltr">exec()</span> '.__('disabled', 'wp-dbmanager').'.</font>';
|
147 |
$stats_function_disabled++;
|
148 |
}
|
149 |
?>
|
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" />
|
169 |
<table class="widefat">
|
170 |
<thead>
|
179 |
</tr>
|
180 |
<tr style="background-color: #eee;">
|
181 |
<th><?php _e('Database Backup To:', 'wp-dbmanager'); ?></th>
|
182 |
+
<td><span dir="ltr"><?php echo stripslashes($backup['path']); ?></span></td>
|
183 |
</tr>
|
184 |
<tr>
|
185 |
<th><?php _e('Database Backup Date:', 'wp-dbmanager'); ?></th>
|
187 |
</tr>
|
188 |
<tr style="background-color: #eee;">
|
189 |
<th><?php _e('Database Backup File Name:', 'wp-dbmanager'); ?></th>
|
190 |
+
<td><span dir="ltr"><?php echo $backup['filename']; ?></span></td>
|
191 |
</tr>
|
192 |
<tr>
|
193 |
<th><?php _e('Database Backup Type:', 'wp-dbmanager'); ?></th>
|
195 |
</tr>
|
196 |
<tr style="background-color: #eee;">
|
197 |
<th><?php _e('MYSQL Dump Location:', 'wp-dbmanager'); ?></th>
|
198 |
+
<td><span dir="ltr"><?php echo stripslashes($backup['mysqldumppath']); ?></span></td>
|
199 |
</tr>
|
200 |
<tr>
|
201 |
<th><?php _e('GZIP Database Backup File?', 'wp-dbmanager'); ?></th>
|
database-empty.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -77,6 +77,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
|
|
77 |
<!-- Empty/Drop Tables -->
|
78 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
79 |
<div class="wrap">
|
|
|
80 |
<h2><?php _e('Empty/Drop Tables', 'wp-dbmanager'); ?></h2>
|
81 |
<br style="clear" />
|
82 |
<table class="widefat">
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
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>
|
82 |
<br style="clear" />
|
83 |
<table class="widefat">
|
database-manage.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -44,10 +44,11 @@ if($_POST['do']) {
|
|
44 |
switch($_POST['do']) {
|
45 |
case __('Restore', 'wp-dbmanager'):
|
46 |
if(!empty($database_file)) {
|
|
|
47 |
if(stristr($database_file, '.gz')) {
|
48 |
-
$backup['command'] = 'gunzip < '.$backup['path'].'/'.$database_file.' | '.$backup['mysqlpath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" '.DB_NAME;
|
49 |
} else {
|
50 |
-
$backup['command'] = $backup['mysqlpath'].' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" '.DB_NAME.' < '.$backup['path'].'/'.$database_file;
|
51 |
}
|
52 |
passthru($backup['command'], $error);
|
53 |
if($error) {
|
@@ -64,7 +65,7 @@ if($_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 =
|
68 |
$file = fopen($file_path,'rb');
|
69 |
$file_data = fread($file,filesize($file_path));
|
70 |
fclose($file);
|
@@ -119,7 +120,6 @@ if($_POST['do']) {
|
|
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 />';
|
@@ -140,6 +140,7 @@ if($_POST['do']) {
|
|
140 |
<!-- Manage Backup Database -->
|
141 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
142 |
<div class="wrap">
|
|
|
143 |
<h2><?php _e('Manage Backup Database', 'wp-dbmanager'); ?></h2>
|
144 |
<p><?php _e('Choose A Backup Date To E-Mail, Restore, Download Or Delete', 'wp-dbmanager'); ?></p>
|
145 |
<table class="widefat">
|
@@ -173,7 +174,8 @@ if($_POST['do']) {
|
|
173 |
$database_text = substr($database_files[$i], 13);
|
174 |
$date_text = mysql2date(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', substr($database_files[$i], 0, 10)));
|
175 |
$size_text = filesize($backup['path'].'/'.$database_files[$i]);
|
176 |
-
echo "<tr$style>\n
|
|
|
177 |
echo "<td>$database_text</td>";
|
178 |
echo "<td>$date_text</td>";
|
179 |
echo '<td>'.format_size($size_text).'</td>';
|
@@ -188,14 +190,14 @@ if($_POST['do']) {
|
|
188 |
}
|
189 |
?>
|
190 |
<tr class="thead">
|
191 |
-
<th colspan="3"><?php
|
192 |
<th><?php echo format_size($totalsize); ?></th>
|
193 |
<th> </th>
|
194 |
</tr>
|
195 |
</table>
|
196 |
<table class="form-table">
|
197 |
<tr>
|
198 |
-
<td colspan="5" align="center"><label for="email_to"><?php _e('E-mail database backup file to:', 'wp-dbmanager'); ?></label> <input type="text" id="email_to" name="email_to" size="30" maxlength="50" value="<?php echo get_option('admin_email'); ?>" /> <input type="submit" name="do" value="<?php _e('E-Mail', 'wp-dbmanager'); ?>" class="button" /></td>
|
199 |
</tr>
|
200 |
<tr>
|
201 |
<td colspan="5" align="center">
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
44 |
switch($_POST['do']) {
|
45 |
case __('Restore', 'wp-dbmanager'):
|
46 |
if(!empty($database_file)) {
|
47 |
+
$brace = (substr(PHP_OS, 0, 3) == 'WIN') ? '"' : '';
|
48 |
if(stristr($database_file, '.gz')) {
|
49 |
+
$backup['command'] = 'gunzip < '.$brace.$backup['path'].'/'.$database_file.$brace.' | '.$brace.$backup['mysqlpath'].$brace.' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" '.DB_NAME;
|
50 |
} else {
|
51 |
+
$backup['command'] = $brace.$backup['mysqlpath'].$brace.' --host="'.DB_HOST.'" --user="'.DB_USER.'" --password="'.DB_PASSWORD.'" '.DB_NAME.' < '.$brace.$backup['path'].'/'.$database_file.$brace;
|
52 |
}
|
53 |
passthru($backup['command'], $error);
|
54 |
if($error) {
|
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 = $nice_file_date;
|
69 |
$file = fopen($file_path,'rb');
|
70 |
$file_data = fread($file,filesize($file_path));
|
71 |
fclose($file);
|
120 |
break;
|
121 |
case __('Delete', 'wp-dbmanager'):
|
122 |
if(!empty($database_file)) {
|
|
|
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 />';
|
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>
|
145 |
<p><?php _e('Choose A Backup Date To E-Mail, Restore, Download Or Delete', 'wp-dbmanager'); ?></p>
|
146 |
<table class="widefat">
|
174 |
$database_text = substr($database_files[$i], 13);
|
175 |
$date_text = mysql2date(sprintf(__('%s @ %s', 'wp-dbmanager'), get_option('date_format'), get_option('time_format')), gmdate('Y-m-d H:i:s', substr($database_files[$i], 0, 10)));
|
176 |
$size_text = filesize($backup['path'].'/'.$database_files[$i]);
|
177 |
+
echo "<tr$style>\n";
|
178 |
+
echo '<td>'.number_format_i18n($no).'</td>';
|
179 |
echo "<td>$database_text</td>";
|
180 |
echo "<td>$date_text</td>";
|
181 |
echo '<td>'.format_size($size_text).'</td>';
|
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> </th>
|
196 |
</tr>
|
197 |
</table>
|
198 |
<table class="form-table">
|
199 |
<tr>
|
200 |
+
<td colspan="5" align="center"><label for="email_to"><?php _e('E-mail database backup file to:', 'wp-dbmanager'); ?></label> <input type="text" id="email_to" name="email_to" size="30" maxlength="50" value="<?php echo get_option('admin_email'); ?>" dir="ltr" /> <input type="submit" name="do" value="<?php _e('E-Mail', 'wp-dbmanager'); ?>" class="button" /></td>
|
201 |
</tr>
|
202 |
<tr>
|
203 |
<td colspan="5" align="center">
|
database-manager.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -40,7 +40,9 @@ $sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
|
40 |
<?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
|
41 |
<!-- Database Information -->
|
42 |
<div class="wrap">
|
43 |
-
<
|
|
|
|
|
44 |
<br style="clear" />
|
45 |
<table class="widefat">
|
46 |
<thead>
|
@@ -74,7 +76,7 @@ $sqlversion = $wpdb->get_var("SELECT VERSION() AS version");
|
|
74 |
<p> </p>
|
75 |
|
76 |
<div class="wrap">
|
77 |
-
<
|
78 |
<br style="clear" />
|
79 |
<table class="widefat">
|
80 |
<thead>
|
@@ -99,9 +101,9 @@ if($sqlversion >= '3.23') {
|
|
99 |
}
|
100 |
$no++;
|
101 |
echo "<tr$style>\n";
|
102 |
-
echo
|
103 |
echo "<td>$tablestatus->Name</td>\n";
|
104 |
-
echo '<td>'.
|
105 |
echo '<td>'.format_size($tablestatus->Data_length).'</td>'."\n";
|
106 |
echo '<td>'.format_size($tablestatus->Index_length).'</td>'."\n";;
|
107 |
echo '<td>'.format_size($tablestatus->Data_free).'</td>'."\n";
|
@@ -113,8 +115,8 @@ if($sqlversion >= '3.23') {
|
|
113 |
}
|
114 |
echo '<tr class="thead">'."\n";
|
115 |
echo '<th>'.__('Total:', 'wp-dbmanager').'</th>'."\n";
|
116 |
-
echo '<th>'
|
117 |
-
echo '<th>'.
|
118 |
echo '<th>'.format_size($data_usage).'</th>'."\n";
|
119 |
echo '<th>'.format_size($index_usage).'</th>'."\n";
|
120 |
echo '<th>'.format_size($overhead_usage).'</th>'."\n";
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
40 |
<?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
|
41 |
<!-- Database Information -->
|
42 |
<div class="wrap">
|
43 |
+
<div id="icon-wp-dbmanager" class="icon32"><br /></div>
|
44 |
+
<h2><?php _e('Database', 'wp-dbmanager'); ?></h2>
|
45 |
+
<h3><?php _e('Database Information', 'wp-dbmanager'); ?></h3>
|
46 |
<br style="clear" />
|
47 |
<table class="widefat">
|
48 |
<thead>
|
76 |
<p> </p>
|
77 |
|
78 |
<div class="wrap">
|
79 |
+
<h3><?php _e('Tables Information', 'wp-dbmanager'); ?></h3>
|
80 |
<br style="clear" />
|
81 |
<table class="widefat">
|
82 |
<thead>
|
101 |
}
|
102 |
$no++;
|
103 |
echo "<tr$style>\n";
|
104 |
+
echo '<td>'.number_format_i18n($no).'</td>'."\n";
|
105 |
echo "<td>$tablestatus->Name</td>\n";
|
106 |
+
echo '<td>'.number_format_i18n($tablestatus->Rows).'</td>'."\n";
|
107 |
echo '<td>'.format_size($tablestatus->Data_length).'</td>'."\n";
|
108 |
echo '<td>'.format_size($tablestatus->Index_length).'</td>'."\n";;
|
109 |
echo '<td>'.format_size($tablestatus->Data_free).'</td>'."\n";
|
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";
|
database-optimize.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -66,6 +66,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
|
|
66 |
<!-- Optimize Database -->
|
67 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
68 |
<div class="wrap">
|
|
|
69 |
<h2><?php _e('Optimize Database', 'wp-dbmanager'); ?></h2>
|
70 |
<br style="clear" />
|
71 |
<table class="widefat">
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
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>
|
71 |
<br style="clear" />
|
72 |
<table class="widefat">
|
database-repair.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -66,6 +66,7 @@ $tables = $wpdb->get_col("SHOW TABLES");
|
|
66 |
<!-- Repair Database -->
|
67 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
68 |
<div class="wrap">
|
|
|
69 |
<h2><?php _e('Repair Database', 'wp-dbmanager'); ?></h2>
|
70 |
<br style="clear" />
|
71 |
<table class="widefat">
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
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>
|
71 |
<br style="clear" />
|
72 |
<table class="widefat">
|
database-run.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -57,18 +57,18 @@ if($_POST['do']) {
|
|
57 |
if (preg_match("/^\\s*(insert|update|replace|delete|create|alter) /i",$sql_query)) {
|
58 |
$run_query = $wpdb->query($sql_query);
|
59 |
if(!$run_query) {
|
60 |
-
$text .= "<font color=\"red\">$sql_query</font><br />";
|
61 |
} else {
|
62 |
$successquery++;
|
63 |
-
$text .= "<font color=\"green\">$sql_query</font><br />";
|
64 |
}
|
65 |
$totalquerycount++;
|
66 |
} elseif (preg_match("/^\\s*(select|drop|show|grant) /i",$sql_query)) {
|
67 |
-
$text .= "<font color=\"red\">$sql_query</font><br />";
|
68 |
$totalquerycount++;
|
69 |
}
|
70 |
}
|
71 |
-
$text .=
|
72 |
} else {
|
73 |
$text = '<font color="red">'.__('Empty Query', 'wp-dbmanager').'</font>';
|
74 |
}
|
@@ -83,6 +83,7 @@ if($_POST['do']) {
|
|
83 |
<!-- Run SQL Query -->
|
84 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
85 |
<div class="wrap">
|
|
|
86 |
<h2><?php _e('Run SQL Query', 'wp-dbmanager'); ?></h2>
|
87 |
<br style="clear" />
|
88 |
<div>
|
@@ -91,7 +92,7 @@ if($_POST['do']) {
|
|
91 |
</div>
|
92 |
<table class="form-table">
|
93 |
<tr>
|
94 |
-
<td align="center"><textarea cols="120" rows="30" name="sql_query" style="width: 99%;"></textarea></td>
|
95 |
</tr>
|
96 |
<tr>
|
97 |
<td align="center"><input type="submit" name="do" value="<?php _e('Run', 'wp-dbmanager'); ?>" class="button" /> <input type="button" name="cancel" value="<?php _e('Cancel', 'wp-dbmanager'); ?>" class="button" onclick="javascript:history.go(-1)" /></td>
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
57 |
if (preg_match("/^\\s*(insert|update|replace|delete|create|alter) /i",$sql_query)) {
|
58 |
$run_query = $wpdb->query($sql_query);
|
59 |
if(!$run_query) {
|
60 |
+
$text .= "<span dir=\"ltr\"><font color=\"red\">$sql_query</font></span><br />";
|
61 |
} else {
|
62 |
$successquery++;
|
63 |
+
$text .= "<span dir=\"ltr\"><font color=\"green\">$sql_query</font></span><br />";
|
64 |
}
|
65 |
$totalquerycount++;
|
66 |
} elseif (preg_match("/^\\s*(select|drop|show|grant) /i",$sql_query)) {
|
67 |
+
$text .= "<span dir=\"ltr\"><font color=\"red\">$sql_query</font></span><br />";
|
68 |
$totalquerycount++;
|
69 |
}
|
70 |
}
|
71 |
+
$text .= '<font color="blue">'.number_format_i18n($successquery).'/'.number_format_i18n($totalquerycount).' '.__('Query(s) Executed Successfully', 'wp-dbmanager').'</font>';
|
72 |
} else {
|
73 |
$text = '<font color="red">'.__('Empty Query', 'wp-dbmanager').'</font>';
|
74 |
}
|
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>
|
88 |
<br style="clear" />
|
89 |
<div>
|
92 |
</div>
|
93 |
<table class="form-table">
|
94 |
<tr>
|
95 |
+
<td align="center"><textarea cols="120" rows="30" name="sql_query" style="width: 99%;" dir="ltr" ></textarea></td>
|
96 |
</tr>
|
97 |
<tr>
|
98 |
<td align="center"><input type="submit" name="do" value="<?php _e('Run', 'wp-dbmanager'); ?>" class="button" /> <input type="button" name="cancel" value="<?php _e('Cancel', 'wp-dbmanager'); ?>" class="button" onclick="javascript:history.go(-1)" /></td>
|
database-uninstall.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
@@ -75,6 +75,7 @@ switch($mode) {
|
|
75 |
$deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_wp-dbmanager/wp-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>';
|
@@ -85,20 +86,21 @@ switch($mode) {
|
|
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
|
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="
|
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="
|
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="
|
102 |
<strong><?php _e('The following WordPress Options will be DELETED:', 'wp-dbmanager'); ?></strong><br />
|
103 |
</p>
|
104 |
<table class="widefat">
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.7 Plugin: WP-DBManager 2.40 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
75 |
$deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_wp-dbmanager/wp-dbmanager.php');
|
76 |
}
|
77 |
echo '<div class="wrap">';
|
78 |
+
echo '<div id="icon-wp-dbmanager" class="icon32"><br /></div>';
|
79 |
echo '<h2>'.__('Uninstall WP-DBManager', 'wp-dbmanager').'</h2>';
|
80 |
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>';
|
81 |
echo '</div>';
|
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>
|
91 |
+
<p>
|
92 |
<?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'); ?>
|
93 |
</p>
|
94 |
+
<p style="color: red">
|
95 |
<strong><?php _e('WARNING:', 'wp-dbmanager'); ?></strong><br />
|
96 |
<?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'); ?>
|
97 |
</p>
|
98 |
+
<p style="color: red">
|
99 |
<strong><?php _e('NOTE:', 'wp-dbmanager'); ?></strong><br />
|
100 |
<?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 />
|
101 |
<?php printf(__('The path to the backup folder is <strong>\'%s\'</strong>.', 'wp-dbmanager'), $backup_options_path); ?>
|
102 |
</p>
|
103 |
+
<p style="color: red">
|
104 |
<strong><?php _e('The following WordPress Options will be DELETED:', 'wp-dbmanager'); ?></strong><br />
|
105 |
</p>
|
106 |
<table class="widefat">
|
images/database.png
ADDED
Binary file
|
images/database_admin_icon.png
ADDED
Binary file
|
readme.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
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">
|
@@ -234,7 +234,8 @@
|
|
234 |
</p>
|
235 |
<p>
|
236 |
<strong>Download:</strong><br />
|
237 |
-
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.
|
|
|
238 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.2.05.zip">WP-DBManager 2.05 For WordPress 2.0.x</a><br />
|
239 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip">WP-DBManager 1.00 For WordPress 1.5.2</a>
|
240 |
</p>
|
@@ -258,6 +259,11 @@
|
|
258 |
<strong>Support Forums:</strong><br />
|
259 |
<strong>»</strong> <a href="http://forums.lesterchan.net/index.php?board=11.0" title="http://forums.lesterchan.net/index.php?board=11.0">http://forums.lesterchan.net/index.php?board=11.0</a>
|
260 |
</p>
|
|
|
|
|
|
|
|
|
|
|
261 |
<p>
|
262 |
<strong>Note:</strong><br />
|
263 |
<strong>»</strong> The <strong>Changelog</strong>, <strong>Installation</strong>, <strong>Upgrade</strong>, <strong>Usage</strong> Tab at the top of the page.
|
@@ -277,6 +283,22 @@
|
|
277 |
<div id="Changelog" style="display: none;">
|
278 |
<div class="SubTitle">» Changelog</div>
|
279 |
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
<li>
|
281 |
<strong>Version 2.31 (16-07-2008)</strong>
|
282 |
<ul>
|
@@ -405,7 +427,7 @@
|
|
405 |
<!-- Upgrade Instructions -->
|
406 |
<div id="Upgrade" style="display: none;">
|
407 |
<div class="SubTitle">» Upgrade Instructions</div>
|
408 |
-
<div class="SubSubTitle">From v2.0x To v2.
|
409 |
<ol>
|
410 |
<li>
|
411 |
<strong>Deactivate</strong> WP-DBManager Plugin
|
@@ -437,9 +459,6 @@
|
|
437 |
<div class="SubTitle">» Usage Instructions</div>
|
438 |
<div class="SubSubTitle">General Usage</div>
|
439 |
<ol>
|
440 |
-
<li>
|
441 |
-
You can find DBManager under the <strong>Database Tab</strong> in the WordPress Administration Panel.
|
442 |
-
</li>
|
443 |
<li>
|
444 |
Go to <strong>'WP-Admin -> Database -> DB Options'</strong> to configure the database options.
|
445 |
</li>
|
@@ -447,6 +466,6 @@
|
|
447 |
</div>
|
448 |
</div>
|
449 |
</div>
|
450 |
-
<p id="Copyright">WP-DBManager 2.
|
451 |
</body>
|
452 |
</html>
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
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 |
<body>
|
204 |
<div id="Container">
|
205 |
<!-- Title -->
|
206 |
+
<div id="Title">WP-DBManager 2.40 <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>»</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>»</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>»</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 />
|
240 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-dbmanager.1.00.zip">WP-DBManager 1.00 For WordPress 1.5.2</a>
|
241 |
</p>
|
259 |
<strong>Support Forums:</strong><br />
|
260 |
<strong>»</strong> <a href="http://forums.lesterchan.net/index.php?board=11.0" title="http://forums.lesterchan.net/index.php?board=11.0">http://forums.lesterchan.net/index.php?board=11.0</a>
|
261 |
</p>
|
262 |
+
<p>
|
263 |
+
<strong>Credits:</strong><br />
|
264 |
+
<strong>»</strong> __ngetext() by <a href="http://hweia.ru/" title="http://hweia.ru/">Anna Ozeritskaya</a>.<br />
|
265 |
+
<strong>»</strong> Right To Left Language Support by <a href="http://persian-programming.com/" title="http://persian-programming.com/">Kambiz R. Khojasteh</a>.
|
266 |
+
</p>
|
267 |
<p>
|
268 |
<strong>Note:</strong><br />
|
269 |
<strong>»</strong> The <strong>Changelog</strong>, <strong>Installation</strong>, <strong>Upgrade</strong>, <strong>Usage</strong> Tab at the top of the page.
|
283 |
<div id="Changelog" style="display: none;">
|
284 |
<div class="SubTitle">» Changelog</div>
|
285 |
<ul>
|
286 |
+
<li>
|
287 |
+
<strong>Version 2.40 (12-12-2008)</strong>
|
288 |
+
<ul>
|
289 |
+
<li>NEW: Works For WordPress 2.7 Only</li>
|
290 |
+
<li>NEW: Load Admin JS And CSS Only In WP-DBManager Admin Pages</li>
|
291 |
+
<li>NEW: Added database-admin-css.css For WP-DBManager Admin CSS Styles</li>
|
292 |
+
<li>NEW: Uses admin_url(), plugins_url() And site_url()</li>
|
293 |
+
<li>NEW: Better Translation Using __ngetext() by <a href="http://hweia.ru/" title="http://hweia.ru/">Anna Ozeritskaya</a></li>
|
294 |
+
<li>NEW: Right To Left Language Support by <a href="http://persian-programming.com/" title="http://persian-programming.com/">Kambiz R. Khojasteh</a></li>
|
295 |
+
<li>FIXED: SSL Support</li>
|
296 |
+
<li>FIXED: Bug In Downloading Backups In Other Languages by <a href="http://persian-programming.com/" title="http://persian-programming.com/">Kambiz R. Khojasteh</a></li>
|
297 |
+
<li>FIXED: Bug In Backup/Restore On Windows Server When Path To mysqldump/mysql Or Backup File Contains Space <a href="http://persian-programming.com/" title="http://persian-programming.com/">Kambiz R. Khojasteh</a></li>
|
298 |
+
<li>FIXED: In database-manage.php, $nice_file_date Was Calculated More Than Once by <a href="http://persian-programming.com/" title="http://persian-programming.com/">Kambiz R. Khojasteh</a></li>
|
299 |
+
<li>FIXED: Returning Only DBManager Cron Schedules</li>
|
300 |
+
</ul>
|
301 |
+
</li>
|
302 |
<li>
|
303 |
<strong>Version 2.31 (16-07-2008)</strong>
|
304 |
<ul>
|
427 |
<!-- Upgrade Instructions -->
|
428 |
<div id="Upgrade" style="display: none;">
|
429 |
<div class="SubTitle">» 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
|
459 |
<div class="SubTitle">» Usage Instructions</div>
|
460 |
<div class="SubSubTitle">General Usage</div>
|
461 |
<ol>
|
|
|
|
|
|
|
462 |
<li>
|
463 |
Go to <strong>'WP-Admin -> Database -> DB Options'</strong> to configure the database options.
|
464 |
</li>
|
466 |
</div>
|
467 |
</div>
|
468 |
</div>
|
469 |
+
<p id="Copyright">WP-DBManager 2.40<br />Copyright © 2008 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
|
470 |
</body>
|
471 |
</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.
|
6 |
-
Stable tag: 2.
|
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.7
|
6 |
+
Stable tag: 2.40
|
7 |
|
8 |
Manages your WordPress database.
|
9 |
|
wp-dbmanager.mo
CHANGED
Binary file
|
wp-dbmanager.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP-DBManager
|
4 |
Plugin URI: http://lesterchan.net/portfolio/programming/php/
|
5 |
Description: Manages your Wordpress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database.
|
6 |
-
Version: 2.
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: http://lesterchan.net
|
9 |
*/
|
@@ -28,29 +28,10 @@ Author URI: http://lesterchan.net
|
|
28 |
*/
|
29 |
|
30 |
|
31 |
-
### Use WordPress 2.6 Constants
|
32 |
-
if (!defined('WP_CONTENT_DIR')) {
|
33 |
-
define( 'WP_CONTENT_DIR', ABSPATH.'wp-content');
|
34 |
-
}
|
35 |
-
if (!defined('WP_CONTENT_URL')) {
|
36 |
-
define('WP_CONTENT_URL', get_option('siteurl').'/wp-content');
|
37 |
-
}
|
38 |
-
if (!defined('WP_PLUGIN_DIR')) {
|
39 |
-
define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins');
|
40 |
-
}
|
41 |
-
if (!defined('WP_PLUGIN_URL')) {
|
42 |
-
define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');
|
43 |
-
}
|
44 |
-
|
45 |
-
|
46 |
### Create Text Domain For Translations
|
47 |
add_action('init', 'dbmanager_textdomain');
|
48 |
function dbmanager_textdomain() {
|
49 |
-
|
50 |
-
load_plugin_textdomain('wp-dbmanager', 'wp-content/plugins/wp-dbmanager');
|
51 |
-
} else {
|
52 |
-
load_plugin_textdomain('wp-dbmanager', false, 'wp-dbmanager');
|
53 |
-
}
|
54 |
}
|
55 |
|
56 |
|
@@ -58,7 +39,7 @@ function dbmanager_textdomain() {
|
|
58 |
add_action('admin_menu', 'dbmanager_menu');
|
59 |
function dbmanager_menu() {
|
60 |
if (function_exists('add_menu_page')) {
|
61 |
-
add_menu_page(__('Database', 'wp-dbmanager'), __('Database', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-manager.php');
|
62 |
}
|
63 |
if (function_exists('add_submenu_page')) {
|
64 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Backup DB', 'wp-dbmanager'), __('Backup DB', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-backup.php');
|
@@ -67,12 +48,30 @@ function dbmanager_menu() {
|
|
67 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Repair DB', 'wp-dbmanager'), __('Repair DB', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-repair.php');
|
68 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Empty/Drop Tables', 'wp-dbmanager'), __('Empty/Drop Tables', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-empty.php');
|
69 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Run SQL Query', 'wp-dbmanager'), __('Run SQL Query', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-run.php');
|
70 |
-
add_submenu_page('wp-dbmanager/database-manager.php',
|
71 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Uninstall WP-DBManager', 'wp-dbmanager'), __('Uninstall WP-DBManager', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-uninstall.php');
|
72 |
}
|
73 |
}
|
74 |
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
### Funcion: Database Manager Cron
|
77 |
add_filter('cron_schedules', 'cron_dbmanager_reccurences');
|
78 |
add_action('dbmanager_cron_backup', 'cron_dbmanager_backup');
|
@@ -157,7 +156,7 @@ function cron_dbmanager_optimize() {
|
|
157 |
}
|
158 |
return;
|
159 |
}
|
160 |
-
function cron_dbmanager_reccurences() {
|
161 |
$backup_options = get_option('dbmanager_options');
|
162 |
$backup = intval($backup_options['backup'])*intval($backup_options['backup_period']);
|
163 |
$optimize = intval($backup_options['optimize'])*intval($backup_options['optimize_period']);
|
@@ -167,10 +166,9 @@ function cron_dbmanager_reccurences() {
|
|
167 |
if($optimize == 0) {
|
168 |
$optimize = 31536000;
|
169 |
}
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
);
|
174 |
}
|
175 |
|
176 |
|
@@ -224,13 +222,13 @@ function execute_backup($command) {
|
|
224 |
if(!function_exists('format_size')) {
|
225 |
function format_size($rawSize) {
|
226 |
if($rawSize / 1073741824 > 1)
|
227 |
-
return
|
228 |
else if ($rawSize / 1048576 > 1)
|
229 |
-
return
|
230 |
else if ($rawSize / 1024 > 1)
|
231 |
-
return
|
232 |
else
|
233 |
-
return
|
234 |
}
|
235 |
}
|
236 |
|
@@ -324,8 +322,8 @@ function dbmanager_init() {
|
|
324 |
### Function: Download Database
|
325 |
add_action('init', 'download_database');
|
326 |
function download_database() {
|
327 |
-
if($_POST['do'] == 'Download' && !empty($_POST['database_file'])) {
|
328 |
-
if(strpos($_SERVER['HTTP_REFERER'],
|
329 |
$backup_options = get_option('dbmanager_options');
|
330 |
$file_path = $backup_options['path'].'/'.$_POST['database_file'];
|
331 |
header("Pragma: public");
|
@@ -397,27 +395,28 @@ function dbmanager_options() {
|
|
397 |
<!-- Database Options -->
|
398 |
<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
|
399 |
<div class="wrap">
|
|
|
400 |
<h2><?php _e('Database Options', 'wp-dbmanager'); ?></h2>
|
401 |
<h3><?php _e('Paths', 'wp-dbmanager'); ?></h3>
|
402 |
<table class="form-table">
|
403 |
<tr>
|
404 |
<td width="20%" valign="top"><strong><?php _e('Path To mysqldump:', 'wp-dbmanager'); ?></strong></td>
|
405 |
<td width="80%">
|
406 |
-
<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();" />
|
407 |
<p><?php _e('The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
408 |
</td>
|
409 |
</tr>
|
410 |
<tr>
|
411 |
<td valign="top"><strong><?php _e('Path To mysql:', 'wp-dbmanager'); ?></strong></td>
|
412 |
<td>
|
413 |
-
<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();" />
|
414 |
<p><?php _e('The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
415 |
</td>
|
416 |
</tr>
|
417 |
<tr>
|
418 |
<td valign="top"><strong><?php _e('Path To Backup:', 'wp-dbmanager'); ?></strong></td>
|
419 |
<td>
|
420 |
-
<input type="text" name="db_path" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['path']); ?>" />
|
421 |
<p><?php _e('The absolute path to your database backup folder without trailing slash. Make sure the folder is writable.', 'wp-dbmanager'); ?></p>
|
422 |
</td>
|
423 |
</tr>
|
@@ -477,13 +476,13 @@ function dbmanager_options() {
|
|
477 |
<option value="604800"<?php selected('604800', $backup_options['backup_period']); ?>><?php _e('Week(s)', 'wp-dbmanager'); ?></option>
|
478 |
<option value="18144000"<?php selected('18144000', $backup_options['backup_period']); ?>><?php _e('Month(s)', 'wp-dbmanager'); ?></option>
|
479 |
</select>
|
480 |
-
<?php _e('Gzip', 'wp-
|
481 |
<select name="db_backup_gzip" size="1">
|
482 |
<option value="0"<?php selected('0', $backup_options['backup_gzip']); ?>><?php _e('No', 'wp-dbmanager'); ?></option>
|
483 |
<option value="1"<?php selected('1', $backup_options['backup_gzip']); ?>><?php _e('Yes', 'wp-dbmanager'); ?></option>
|
484 |
</select>
|
485 |
</p>
|
486 |
-
<p><?php _e('E-mail backup to:', 'wp-dbmanager'); ?> <input type="text" name="db_backup_email" size="30" maxlength="50" value="<?php echo stripslashes($backup_options['backup_email']) ?>" /> <?php _e('(Leave
|
487 |
<p><?php _e('WP-DBManager can automatically backup your database after a certain period.', 'wp-dbmanager'); ?></p>
|
488 |
</td>
|
489 |
</tr>
|
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 |
*/
|
28 |
*/
|
29 |
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
### Create Text Domain For Translations
|
32 |
add_action('init', 'dbmanager_textdomain');
|
33 |
function dbmanager_textdomain() {
|
34 |
+
load_plugin_textdomain('wp-dbmanager', false, 'wp-dbmanager');
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
|
37 |
|
39 |
add_action('admin_menu', 'dbmanager_menu');
|
40 |
function dbmanager_menu() {
|
41 |
if (function_exists('add_menu_page')) {
|
42 |
+
add_menu_page(__('Database', 'wp-dbmanager'), __('Database', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-manager.php', '', plugins_url('wp-dbmanager/images/database.png'));
|
43 |
}
|
44 |
if (function_exists('add_submenu_page')) {
|
45 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Backup DB', 'wp-dbmanager'), __('Backup DB', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-backup.php');
|
48 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Repair DB', 'wp-dbmanager'), __('Repair DB', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-repair.php');
|
49 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Empty/Drop Tables', 'wp-dbmanager'), __('Empty/Drop Tables', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-empty.php');
|
50 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Run SQL Query', 'wp-dbmanager'), __('Run SQL Query', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-run.php');
|
51 |
+
add_submenu_page('wp-dbmanager/database-manager.php', __('DB Options', 'wp-dbmanager'), __('DB Options', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/wp-dbmanager.php', 'dbmanager_options');
|
52 |
add_submenu_page('wp-dbmanager/database-manager.php', __('Uninstall WP-DBManager', 'wp-dbmanager'), __('Uninstall WP-DBManager', 'wp-dbmanager'), 'manage_database', 'wp-dbmanager/database-uninstall.php');
|
53 |
}
|
54 |
}
|
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 |
+
|
75 |
### Funcion: Database Manager Cron
|
76 |
add_filter('cron_schedules', 'cron_dbmanager_reccurences');
|
77 |
add_action('dbmanager_cron_backup', 'cron_dbmanager_backup');
|
156 |
}
|
157 |
return;
|
158 |
}
|
159 |
+
function cron_dbmanager_reccurences($schedules) {
|
160 |
$backup_options = get_option('dbmanager_options');
|
161 |
$backup = intval($backup_options['backup'])*intval($backup_options['backup_period']);
|
162 |
$optimize = intval($backup_options['optimize'])*intval($backup_options['optimize_period']);
|
166 |
if($optimize == 0) {
|
167 |
$optimize = 31536000;
|
168 |
}
|
169 |
+
$schedules['dbmanager_backup'] = array('interval' => $backup, 'display' => __('WP-DBManager Backup Schedule', 'wp-dbmanager'));
|
170 |
+
$schedules['dbmanager_optimize'] = array('interval' => $optimize, 'display' => __('WP-DBManager Optimize Schedule', 'wp-dbmanager'));
|
171 |
+
return $schedules;
|
|
|
172 |
}
|
173 |
|
174 |
|
222 |
if(!function_exists('format_size')) {
|
223 |
function format_size($rawSize) {
|
224 |
if($rawSize / 1073741824 > 1)
|
225 |
+
return number_format_i18n($rawSize/1048576, 1) . ' '.__('GiB', 'wp-dbmanager');
|
226 |
else if ($rawSize / 1048576 > 1)
|
227 |
+
return number_format_i18n($rawSize/1048576, 1) . ' '.__('MiB', 'wp-dbmanager');
|
228 |
else if ($rawSize / 1024 > 1)
|
229 |
+
return number_format_i18n($rawSize/1024, 1) . ' '.__('KiB', 'wp-dbmanager');
|
230 |
else
|
231 |
+
return number_format_i18n($rawSize, 0) . ' '.__('bytes', 'wp-dbmanager');
|
232 |
}
|
233 |
}
|
234 |
|
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'];
|
329 |
header("Pragma: public");
|
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>
|
400 |
<h3><?php _e('Paths', 'wp-dbmanager'); ?></h3>
|
401 |
<table class="form-table">
|
402 |
<tr>
|
403 |
<td width="20%" valign="top"><strong><?php _e('Path To mysqldump:', 'wp-dbmanager'); ?></strong></td>
|
404 |
<td width="80%">
|
405 |
+
<input type="text" id="db_mysqldumppath" name="db_mysqldumppath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqldumppath']); ?>" dir="ltr" /> <input type="button" value="<?php _e('Auto Detect', 'wp-dbmanager'); ?>" onclick="mysqldumppath();" />
|
406 |
<p><?php _e('The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
407 |
</td>
|
408 |
</tr>
|
409 |
<tr>
|
410 |
<td valign="top"><strong><?php _e('Path To mysql:', 'wp-dbmanager'); ?></strong></td>
|
411 |
<td>
|
412 |
+
<input type="text" id="db_mysqlpath" name="db_mysqlpath" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['mysqlpath']); ?>" dir="ltr" /> <input type="button" value="<?php _e('Auto Detect', 'wp-dbmanager'); ?>" onclick="mysqlpath();" />
|
413 |
<p><?php _e('The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this.', 'wp-dbmanager'); ?></p>
|
414 |
</td>
|
415 |
</tr>
|
416 |
<tr>
|
417 |
<td valign="top"><strong><?php _e('Path To Backup:', 'wp-dbmanager'); ?></strong></td>
|
418 |
<td>
|
419 |
+
<input type="text" name="db_path" size="60" maxlength="100" value="<?php echo stripslashes($backup_options['path']); ?>" dir="ltr" />
|
420 |
<p><?php _e('The absolute path to your database backup folder without trailing slash. Make sure the folder is writable.', 'wp-dbmanager'); ?></p>
|
421 |
</td>
|
422 |
</tr>
|
476 |
<option value="604800"<?php selected('604800', $backup_options['backup_period']); ?>><?php _e('Week(s)', 'wp-dbmanager'); ?></option>
|
477 |
<option value="18144000"<?php selected('18144000', $backup_options['backup_period']); ?>><?php _e('Month(s)', 'wp-dbmanager'); ?></option>
|
478 |
</select>
|
479 |
+
<?php _e('Gzip', 'wp-dbmanager'); ?>
|
480 |
<select name="db_backup_gzip" size="1">
|
481 |
<option value="0"<?php selected('0', $backup_options['backup_gzip']); ?>><?php _e('No', 'wp-dbmanager'); ?></option>
|
482 |
<option value="1"<?php selected('1', $backup_options['backup_gzip']); ?>><?php _e('Yes', 'wp-dbmanager'); ?></option>
|
483 |
</select>
|
484 |
</p>
|
485 |
+
<p><?php _e('E-mail backup to:', 'wp-dbmanager'); ?> <input type="text" name="db_backup_email" size="30" maxlength="50" value="<?php echo stripslashes($backup_options['backup_email']) ?>" dir="ltr" /> <?php _e('(Leave blank to disable this feature)', 'wp-dbmanager'); ?></p>
|
486 |
<p><?php _e('WP-DBManager can automatically backup your database after a certain period.', 'wp-dbmanager'); ?></p>
|
487 |
</td>
|
488 |
</tr>
|
wp-dbmanager.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP-DBManager 2.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
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,212 +11,212 @@ msgstr ""
|
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-Language: English\n"
|
13 |
"X-Poedit-Country: SINGAPORE\n"
|
14 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
|
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
#: database-backup.php:29
|
19 |
-
#: database-backup.php:
|
20 |
#: database-manage.php:41
|
21 |
-
#: database-manage.php:
|
22 |
-
#:
|
23 |
-
#:
|
24 |
-
#: wp-dbmanager.php:
|
25 |
-
#: wp-dbmanager.php:
|
26 |
-
#: wp-dbmanager.php:465
|
27 |
-
#: wp-dbmanager.php:496
|
28 |
#, php-format
|
29 |
msgid "%s @ %s"
|
30 |
msgstr ""
|
31 |
|
32 |
#: database-backup.php:42
|
33 |
-
#: database-backup.php:
|
34 |
msgid "Backup"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: database-backup.php:
|
38 |
#, php-format
|
39 |
msgid "Database Failed To Backup On '%s'. Backup Folder Not Writable."
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: database-backup.php:
|
43 |
#, php-format
|
44 |
msgid "Database Failed To Backup On '%s'. Backup File Size Is 0KB."
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: database-backup.php:
|
48 |
#, php-format
|
49 |
msgid "Database Failed To Backup On '%s'. Invalid Backup File Path."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: database-backup.php:
|
53 |
#, php-format
|
54 |
msgid "Database Failed To Backup On '%s'."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: database-backup.php:
|
58 |
#, php-format
|
59 |
msgid "Database Backed Up Successfully On '%s'."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: database-backup.php:
|
|
|
|
|
|
|
|
|
|
|
63 |
msgid "Checking Backup Status"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: database-backup.php:
|
67 |
msgid "Checking Backup Folder"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: database-backup.php:
|
71 |
msgid "Backup folder exists"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: database-backup.php:
|
75 |
#, php-format
|
76 |
msgid "Backup folder does NOT exist. Please create 'backup-db' folder in '%s' folder and CHMOD it to '777' or change the location of the backup folder under DB Option."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: database-backup.php:
|
80 |
msgid "Backup folder is writable"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: database-backup.php:
|
84 |
msgid "Backup folder is NOT writable. Please CHMOD it to '777'."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: database-backup.php:
|
88 |
-
#: database-backup.php:
|
89 |
msgid "Checking MYSQL Dump Path"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: database-backup.php:
|
93 |
msgid "MYSQL dump path exists."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: database-backup.php:
|
97 |
msgid "MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator."
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: database-backup.php:
|
101 |
-
#: database-backup.php:
|
102 |
msgid "Checking MYSQL Path"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: database-backup.php:
|
106 |
msgid "MYSQL path exists."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: database-backup.php:
|
110 |
msgid "MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: database-backup.php:
|
114 |
msgid "Checking PHP Functions"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: database-backup.php:
|
118 |
msgid "and"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: database-backup.php:
|
122 |
-
#: database-backup.php:
|
123 |
-
#: database-backup.php:
|
124 |
msgid "enabled"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: database-backup.php:
|
128 |
-
#: database-backup.php:
|
129 |
-
#: database-backup.php:
|
130 |
msgid "disabled"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: database-backup.php:
|
134 |
msgid "Excellent. You Are Good To Go."
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: database-backup.php:
|
138 |
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."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: database-backup.php:
|
142 |
msgid "Please Rectify The Error Highlighted In Red Before Proceeding On."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: database-backup.php:
|
146 |
msgid "Note: The checking of backup status is still undergoing testing, it may not be accurate."
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: database-backup.php:
|
150 |
-
msgid "Backup Database"
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: database-backup.php:169
|
154 |
msgid "Option"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: database-backup.php:
|
158 |
-
#: database-manager.php:
|
159 |
msgid "Value"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: database-backup.php:
|
163 |
msgid "Database Name:"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: database-backup.php:
|
167 |
msgid "Database Backup To:"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: database-backup.php:
|
171 |
msgid "Database Backup Date:"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: database-backup.php:
|
175 |
msgid "Database Backup File Name:"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: database-backup.php:
|
179 |
msgid "Database Backup Type:"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: database-backup.php:
|
183 |
msgid "Full (Structure and Data)"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: database-backup.php:
|
187 |
msgid "MYSQL Dump Location:"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: database-backup.php:
|
191 |
msgid "GZIP Database Backup File?"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: database-backup.php:
|
195 |
-
#: database-optimize.php:
|
196 |
-
#: database-repair.php:
|
197 |
-
#: database-uninstall.php:
|
198 |
-
#: wp-dbmanager.php:
|
199 |
msgid "Yes"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: database-backup.php:
|
203 |
-
#: database-optimize.php:
|
204 |
-
#: database-repair.php:
|
205 |
-
#: wp-dbmanager.php:
|
206 |
msgid "No"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: database-backup.php:
|
210 |
-
#: database-empty.php:
|
211 |
-
#: database-manage.php:
|
212 |
-
#: database-optimize.php:
|
213 |
-
#: database-repair.php:
|
214 |
-
#: database-run.php:
|
215 |
msgid "Cancel"
|
216 |
msgstr ""
|
217 |
|
218 |
#: database-empty.php:44
|
219 |
-
#: database-empty.php:
|
220 |
msgid "Empty/Drop"
|
221 |
msgstr ""
|
222 |
|
@@ -234,46 +234,45 @@ msgstr ""
|
|
234 |
msgid "Table(s) '%s' Dropped"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: database-empty.php:
|
238 |
-
#: wp-dbmanager.php:
|
239 |
msgid "Empty/Drop Tables"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: database-empty.php:
|
243 |
-
#: database-manager.php:
|
244 |
-
#: database-
|
245 |
-
#: database-
|
246 |
-
#: database-repair.php:74
|
247 |
msgid "Tables"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: database-empty.php:
|
251 |
-
#: database-empty.php:
|
252 |
msgid "Empty"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: database-empty.php:
|
256 |
msgid "1"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: database-empty.php:
|
260 |
-
#: database-empty.php:
|
261 |
msgid "Drop"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: database-empty.php:
|
265 |
msgid "2"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: database-empty.php:
|
269 |
msgid "1. EMPTYING a table means all the rows in the table will be deleted. This action is not REVERSIBLE."
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: database-empty.php:
|
273 |
msgid "2. DROPPING a table means deleting the table. This action is not REVERSIBLE."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: database-empty.php:
|
277 |
msgid ""
|
278 |
"You Are About To Empty Or Drop The Selected Databases.\\n"
|
279 |
"This Action Is Not Reversible.\\n"
|
@@ -282,90 +281,91 @@ msgid ""
|
|
282 |
msgstr ""
|
283 |
|
284 |
#: database-manage.php:45
|
285 |
-
#: database-manage.php:
|
286 |
msgid "Restore"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: database-manage.php:
|
290 |
#, php-format
|
291 |
msgid "Database On '%s' Failed To Restore"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: database-manage.php:
|
295 |
#, php-format
|
296 |
msgid "Database On '%s' Restored Successfully"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: database-manage.php:
|
300 |
-
#: database-manage.php:
|
301 |
-
#: database-manage.php:
|
302 |
#: database-manage.php:133
|
303 |
msgid "No Backup Database File Selected"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: database-manage.php:
|
307 |
-
#: database-manage.php:
|
308 |
msgid "E-Mail"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: database-manage.php:
|
312 |
-
#: wp-dbmanager.php:
|
313 |
#, php-format
|
314 |
msgid "%s Database Backup File For %s"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: database-manage.php:
|
318 |
-
#: wp-dbmanager.php:
|
319 |
msgid "Website Name:"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: database-manage.php:
|
323 |
-
#: wp-dbmanager.php:
|
324 |
msgid "Website URL:"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: database-manage.php:
|
328 |
-
#: wp-dbmanager.php:
|
329 |
msgid "Backup File Name:"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: database-manage.php:
|
333 |
-
#: wp-dbmanager.php:
|
334 |
msgid "Backup File Date:"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: database-manage.php:
|
338 |
-
#: wp-dbmanager.php:
|
339 |
msgid "Backup File Size:"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: database-manage.php:
|
343 |
-
#: wp-dbmanager.php:
|
344 |
msgid "With Regards,"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: database-manage.php:
|
348 |
-
#: wp-dbmanager.php:
|
349 |
msgid "Administrator"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: database-manage.php:
|
353 |
#, php-format
|
354 |
msgid "Database Backup File For '%s' Successfully E-Mailed To '%s'"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: database-manage.php:
|
358 |
#, php-format
|
359 |
msgid "Unable To E-Mail Database Backup File For '%s' To '%s'"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: database-manage.php:
|
363 |
-
#: database-manage.php:
|
|
|
364 |
msgid "Download"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: database-manage.php:
|
368 |
-
#: database-manage.php:
|
369 |
msgid "Delete"
|
370 |
msgstr ""
|
371 |
|
@@ -384,49 +384,52 @@ msgstr ""
|
|
384 |
msgid "Invalid Database Backup File On '%s'"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: database-manage.php:
|
388 |
msgid "Manage Backup Database"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: database-manage.php:
|
392 |
msgid "Choose A Backup Date To E-Mail, Restore, Download Or Delete"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: database-manage.php:
|
396 |
-
#: database-manager.php:
|
397 |
msgid "No."
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: database-manage.php:
|
401 |
msgid "Database File"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: database-manage.php:
|
405 |
msgid "Date/Time"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: database-manage.php:
|
409 |
msgid "Size"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: database-manage.php:
|
413 |
msgid "Select"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: database-manage.php:
|
417 |
-
#: database-manage.php:
|
418 |
msgid "There Are No Database Backup Files Available."
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: database-manage.php:
|
422 |
-
|
423 |
-
|
|
|
|
|
|
|
424 |
|
425 |
-
#: database-manage.php:
|
426 |
msgid "E-mail database backup file to:"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: database-manage.php:
|
430 |
msgid ""
|
431 |
"You Are About To Restore A Database.\\n"
|
432 |
"This Action Is Not Reversible.\\n"
|
@@ -435,7 +438,7 @@ msgid ""
|
|
435 |
" Choose [Cancel] to stop, [Ok] to restore."
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: database-manage.php:
|
439 |
msgid ""
|
440 |
"You Are About To Delete The Selected Database Backup Files.\\n"
|
441 |
"This Action Is Not Reversible.\\n"
|
@@ -443,59 +446,78 @@ msgid ""
|
|
443 |
" Choose [Cancel] to stop, [Ok] to delete."
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: database-manager.php:
|
|
|
|
|
|
|
|
|
|
|
447 |
msgid "Database Information"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: database-manager.php:
|
451 |
msgid "Setting"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: database-manager.php:
|
455 |
msgid "Database Host"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: database-manager.php:
|
459 |
msgid "Database Name"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: database-manager.php:
|
463 |
msgid "Database User"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: database-manager.php:
|
467 |
msgid "Database Type"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: database-manager.php:
|
471 |
msgid "Database Version"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: database-manager.php:
|
475 |
msgid "Tables Information"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: database-manager.php:
|
479 |
msgid "Records"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: database-manager.php:
|
483 |
msgid "Data Usage"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: database-manager.php:
|
487 |
msgid "Index Usage"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: database-manager.php:
|
491 |
msgid "Overhead"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: database-manager.php:
|
495 |
msgid "Total:"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: database-manager.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
msgid "Could Not Show Table Status Due To Your MYSQL Version Is Lower Than 3.23."
|
500 |
msgstr ""
|
501 |
|
@@ -514,20 +536,20 @@ msgstr ""
|
|
514 |
msgid "Table(s) '%s' Optimized"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: database-optimize.php:
|
518 |
msgid "Optimize Database"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: database-optimize.php:
|
522 |
-
#: database-repair.php:
|
523 |
msgid "Options"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: database-optimize.php:
|
527 |
msgid "Database should be optimize once every month."
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: database-optimize.php:
|
531 |
msgid "Optimize"
|
532 |
msgstr ""
|
533 |
|
@@ -541,16 +563,16 @@ msgstr ""
|
|
541 |
msgid "Table(s) '%s' Repaired"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: database-repair.php:
|
545 |
msgid "Repair Database"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: database-repair.php:
|
549 |
msgid "Repair"
|
550 |
msgstr ""
|
551 |
|
552 |
#: database-run.php:41
|
553 |
-
#: database-run.php:
|
554 |
msgid "Run"
|
555 |
msgstr ""
|
556 |
|
@@ -563,33 +585,33 @@ msgstr ""
|
|
563 |
msgid "Empty Query"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: database-run.php:
|
567 |
-
#: wp-dbmanager.php:
|
568 |
msgid "Run SQL Query"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: database-run.php:
|
572 |
msgid "Seperate Multiple Queries With A New Line"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: database-run.php:
|
576 |
msgid "Use Only INSERT, UPDATE, REPLACE, DELETE, CREATE and ALTER statements."
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: database-run.php:
|
580 |
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."
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: database-run.php:
|
584 |
msgid "2. UPDATE statement may return an error sometimes due to the newly updated value being the same as the previous value."
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: database-run.php:
|
588 |
msgid "3. ALTER statement will return an error because there is no value returned."
|
589 |
msgstr ""
|
590 |
|
591 |
#: database-uninstall.php:39
|
592 |
-
#: database-uninstall.php:
|
593 |
msgid "UNINSTALL WP-DBManager"
|
594 |
msgstr ""
|
595 |
|
@@ -604,52 +626,52 @@ msgid "Error deleting Setting Key '%s'."
|
|
604 |
msgstr ""
|
605 |
|
606 |
#: database-uninstall.php:57
|
607 |
-
#: database-uninstall.php:
|
608 |
msgid "The database backup files generated by WP-DBManager <strong>WILL NOT</strong> be deleted. You will have to delete it manually."
|
609 |
msgstr ""
|
610 |
|
611 |
#: database-uninstall.php:59
|
612 |
-
#: database-uninstall.php:
|
613 |
#, php-format
|
614 |
msgid "The path to the backup folder is <strong>'%s'</strong>."
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: database-uninstall.php:
|
618 |
-
#: database-uninstall.php:
|
619 |
-
#: wp-dbmanager.php:
|
620 |
msgid "Uninstall WP-DBManager"
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: database-uninstall.php:
|
624 |
#, php-format
|
625 |
msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-DBManager Will Be Deactivated Automatically."
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: database-uninstall.php:
|
629 |
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."
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: database-uninstall.php:
|
633 |
msgid "WARNING:"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: database-uninstall.php:
|
637 |
msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first."
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: database-uninstall.php:
|
641 |
msgid "NOTE:"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: database-uninstall.php:
|
645 |
msgid "The following WordPress Options will be DELETED:"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: database-uninstall.php:
|
649 |
msgid "WordPress Options"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: database-uninstall.php:
|
653 |
msgid ""
|
654 |
"You Are About To Uninstall WP-DBManager From WordPress.\\n"
|
655 |
"This Action Is Not Reversible.\\n"
|
@@ -657,205 +679,217 @@ msgid ""
|
|
657 |
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: wp-dbmanager.php:
|
661 |
-
msgid "Database"
|
662 |
-
msgstr ""
|
663 |
-
|
664 |
-
#: wp-dbmanager.php:64
|
665 |
msgid "Backup DB"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: wp-dbmanager.php:
|
669 |
msgid "Manage Backup DB"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: wp-dbmanager.php:
|
673 |
msgid "Optimize DB"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: wp-dbmanager.php:
|
677 |
msgid "Repair DB"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: wp-dbmanager.php:
|
681 |
msgid "DB Options"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: wp-dbmanager.php:
|
685 |
msgid "WP-DBManager Backup Schedule"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: wp-dbmanager.php:
|
689 |
msgid "WP-DBManager Optimize Schedule"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: wp-dbmanager.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
693 |
msgid "Database Options Updated"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: wp-dbmanager.php:
|
697 |
msgid "No Database Option Updated"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: wp-dbmanager.php:
|
701 |
msgid "Database Options"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: wp-dbmanager.php:
|
705 |
msgid "Paths"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: wp-dbmanager.php:
|
709 |
msgid "Path To mysqldump:"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: wp-dbmanager.php:
|
713 |
-
#: wp-dbmanager.php:
|
714 |
msgid "Auto Detect"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: wp-dbmanager.php:
|
718 |
msgid "The absolute path to mysqldump without trailing slash. If unsure, please email your server administrator about this."
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: wp-dbmanager.php:
|
722 |
msgid "Path To mysql:"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: wp-dbmanager.php:
|
726 |
msgid "The absolute path to mysql without trailing slash. If unsure, please email your server administrator about this."
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: wp-dbmanager.php:
|
730 |
msgid "Path To Backup:"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: wp-dbmanager.php:
|
734 |
msgid "The absolute path to your database backup folder without trailing slash. Make sure the folder is writable."
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: wp-dbmanager.php:
|
738 |
msgid "Maximum Backup Files:"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: wp-dbmanager.php:
|
742 |
msgid "The maximum number of database backup files that is allowed in the backup folder as stated above. The oldest database backup file is always deleted in order to maintain this value. This is to prevent the backup folder from getting too large."
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: wp-dbmanager.php:
|
746 |
-
#: wp-dbmanager.php:
|
747 |
msgid "Note"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: wp-dbmanager.php:
|
751 |
msgid "Windows Server"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: wp-dbmanager.php:
|
755 |
msgid "For mysqldump path, you can try '<strong>mysqldump.exe</strong>'."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: wp-dbmanager.php:
|
759 |
msgid "For mysql path, you can try '<strong>mysql.exe</strong>'."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: wp-dbmanager.php:
|
763 |
msgid "Linux Server"
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: wp-dbmanager.php:
|
767 |
msgid "For mysqldump path, normally is just '<strong>mysqldump</strong>'."
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: wp-dbmanager.php:
|
771 |
msgid "For mysql path, normally is just '<strong>mysql</strong>'."
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: wp-dbmanager.php:
|
775 |
msgid "The 'Auto Detect' function does not work for some servers. If it does not work for you, please contact your server administrator for the MYSQL and MYSQL DUMP paths."
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: wp-dbmanager.php:
|
779 |
msgid "Automatic Scheduling"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: wp-dbmanager.php:
|
783 |
msgid "Automatic Backing Up Of DB:"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: wp-dbmanager.php:
|
787 |
msgid "Next backup date: "
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: wp-dbmanager.php:
|
791 |
-
#: wp-dbmanager.php:
|
792 |
msgid "N/A"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: wp-dbmanager.php:
|
796 |
-
#: wp-dbmanager.php:
|
797 |
msgid "Every"
|
798 |
msgstr ""
|
799 |
|
|
|
|
|
|
|
|
|
|
|
800 |
#: wp-dbmanager.php:473
|
801 |
#: wp-dbmanager.php:504
|
802 |
-
msgid "
|
803 |
msgstr ""
|
804 |
|
805 |
#: wp-dbmanager.php:474
|
806 |
#: wp-dbmanager.php:505
|
807 |
-
msgid "
|
808 |
msgstr ""
|
809 |
|
810 |
#: wp-dbmanager.php:475
|
811 |
#: wp-dbmanager.php:506
|
812 |
-
msgid "
|
813 |
msgstr ""
|
814 |
|
815 |
#: wp-dbmanager.php:476
|
816 |
#: wp-dbmanager.php:507
|
817 |
-
msgid "
|
818 |
msgstr ""
|
819 |
|
820 |
#: wp-dbmanager.php:477
|
821 |
#: wp-dbmanager.php:508
|
822 |
-
msgid "Week(s)"
|
823 |
-
msgstr ""
|
824 |
-
|
825 |
-
#: wp-dbmanager.php:478
|
826 |
-
#: wp-dbmanager.php:509
|
827 |
msgid "Month(s)"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: wp-dbmanager.php:
|
831 |
msgid "Gzip"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: wp-dbmanager.php:
|
835 |
msgid "E-mail backup to:"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: wp-dbmanager.php:
|
839 |
-
msgid "(Leave
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: wp-dbmanager.php:
|
843 |
msgid "WP-DBManager can automatically backup your database after a certain period."
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: wp-dbmanager.php:
|
847 |
msgid "Automatic Optimizing Of DB:"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: wp-dbmanager.php:
|
851 |
msgid "Next optimize date: "
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: wp-dbmanager.php:
|
855 |
msgid "WP-DBManager can automatically optimize your database after a certain period."
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: wp-dbmanager.php:
|
859 |
msgid "Save Changes"
|
860 |
msgstr ""
|
861 |
|
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 |
"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"
|
18 |
|
19 |
#: database-backup.php:29
|
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 ""
|
30 |
|
31 |
#: database-backup.php:42
|
32 |
+
#: database-backup.php:205
|
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:84
|
62 |
+
#: database-backup.php:167
|
63 |
+
msgid "Backup Database"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: database-backup.php:85
|
67 |
msgid "Checking Backup Status"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: database-backup.php:87
|
71 |
msgid "Checking Backup Folder"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: database-backup.php:90
|
75 |
msgid "Backup folder exists"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: database-backup.php:93
|
79 |
#, php-format
|
80 |
msgid "Backup folder does NOT exist. Please create 'backup-db' folder in '%s' folder and CHMOD it to '777' or change the location of the backup folder under DB Option."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: database-backup.php:96
|
84 |
msgid "Backup folder is writable"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: database-backup.php:99
|
88 |
msgid "Backup folder is NOT writable. Please CHMOD it to '777'."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: database-backup.php:106
|
92 |
+
#: database-backup.php:110
|
93 |
msgid "Checking MYSQL Dump Path"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: database-backup.php:107
|
97 |
msgid "MYSQL dump path exists."
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: database-backup.php:111
|
101 |
msgid "MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator."
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: database-backup.php:118
|
105 |
+
#: database-backup.php:122
|
106 |
msgid "Checking MYSQL Path"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: database-backup.php:119
|
110 |
msgid "MYSQL path exists."
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: database-backup.php:123
|
114 |
msgid "MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator."
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: database-backup.php:128
|
118 |
msgid "Checking PHP Functions"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: database-backup.php:128
|
122 |
msgid "and"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: database-backup.php:131
|
126 |
+
#: database-backup.php:138
|
127 |
+
#: database-backup.php:144
|
128 |
msgid "enabled"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: database-backup.php:134
|
132 |
+
#: database-backup.php:140
|
133 |
+
#: database-backup.php:146
|
134 |
msgid "disabled"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: database-backup.php:154
|
138 |
msgid "Excellent. You Are Good To Go."
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: database-backup.php:156
|
142 |
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."
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: database-backup.php:158
|
146 |
msgid "Please Rectify The Error Highlighted In Red Before Proceeding On."
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: database-backup.php:162
|
150 |
msgid "Note: The checking of backup status is still undergoing testing, it may not be accurate."
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: database-backup.php:172
|
|
|
|
|
|
|
|
|
154 |
msgid "Option"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: database-backup.php:173
|
158 |
+
#: database-manager.php:51
|
159 |
msgid "Value"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: database-backup.php:177
|
163 |
msgid "Database Name:"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: database-backup.php:181
|
167 |
msgid "Database Backup To:"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: database-backup.php:185
|
171 |
msgid "Database Backup Date:"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: database-backup.php:189
|
175 |
msgid "Database Backup File Name:"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: database-backup.php:193
|
179 |
msgid "Database Backup Type:"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: database-backup.php:194
|
183 |
msgid "Full (Structure and Data)"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: database-backup.php:197
|
187 |
msgid "MYSQL Dump Location:"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: database-backup.php:201
|
191 |
msgid "GZIP Database Backup File?"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: database-backup.php:202
|
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 |
|
209 |
+
#: database-backup.php:205
|
210 |
+
#: database-empty.php:112
|
211 |
+
#: database-manage.php:207
|
212 |
+
#: database-optimize.php:95
|
213 |
+
#: database-repair.php:92
|
214 |
+
#: database-run.php:98
|
215 |
msgid "Cancel"
|
216 |
msgstr ""
|
217 |
|
218 |
#: database-empty.php:44
|
219 |
+
#: database-empty.php:112
|
220 |
msgid "Empty/Drop"
|
221 |
msgstr ""
|
222 |
|
234 |
msgid "Table(s) '%s' Dropped"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: database-empty.php:81
|
238 |
+
#: wp-dbmanager.php:49
|
239 |
msgid "Empty/Drop Tables"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: database-empty.php:86
|
243 |
+
#: database-manager.php:85
|
244 |
+
#: database-optimize.php:75
|
245 |
+
#: database-repair.php:75
|
|
|
246 |
msgid "Tables"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: database-empty.php:87
|
250 |
+
#: database-empty.php:100
|
251 |
msgid "Empty"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: database-empty.php:87
|
255 |
msgid "1"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: database-empty.php:88
|
259 |
+
#: database-empty.php:101
|
260 |
msgid "Drop"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: database-empty.php:88
|
264 |
msgid "2"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: database-empty.php:106
|
268 |
msgid "1. EMPTYING a table means all the rows in the table will be deleted. This action is not REVERSIBLE."
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: database-empty.php:108
|
272 |
msgid "2. DROPPING a table means deleting the table. This action is not REVERSIBLE."
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: database-empty.php:112
|
276 |
msgid ""
|
277 |
"You Are About To Empty Or Drop The Selected Databases.\\n"
|
278 |
"This Action Is Not Reversible.\\n"
|
281 |
msgstr ""
|
282 |
|
283 |
#: database-manage.php:45
|
284 |
+
#: database-manage.php:205
|
285 |
msgid "Restore"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: database-manage.php:55
|
289 |
#, php-format
|
290 |
msgid "Database On '%s' Failed To Restore"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: database-manage.php:57
|
294 |
#, php-format
|
295 |
msgid "Database On '%s' Restored Successfully"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: database-manage.php:60
|
299 |
+
#: database-manage.php:113
|
300 |
+
#: database-manage.php:118
|
301 |
#: database-manage.php:133
|
302 |
msgid "No Backup Database File Selected"
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: database-manage.php:63
|
306 |
+
#: database-manage.php:200
|
307 |
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 |
|
351 |
+
#: database-manage.php:108
|
352 |
#, php-format
|
353 |
msgid "Database Backup File For '%s' Successfully E-Mailed To '%s'"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: database-manage.php:110
|
357 |
#, php-format
|
358 |
msgid "Unable To E-Mail Database Backup File For '%s' To '%s'"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: database-manage.php:116
|
362 |
+
#: database-manage.php:204
|
363 |
+
#: wp-dbmanager.php:325
|
364 |
msgid "Download"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: database-manage.php:121
|
368 |
+
#: database-manage.php:206
|
369 |
msgid "Delete"
|
370 |
msgstr ""
|
371 |
|
384 |
msgid "Invalid Database Backup File On '%s'"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: database-manage.php:144
|
388 |
msgid "Manage Backup Database"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: database-manage.php:145
|
392 |
msgid "Choose A Backup Date To E-Mail, Restore, Download Or Delete"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: database-manage.php:149
|
396 |
+
#: database-manager.php:84
|
397 |
msgid "No."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: database-manage.php:150
|
401 |
msgid "Database File"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: database-manage.php:151
|
405 |
msgid "Date/Time"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: database-manage.php:152
|
409 |
msgid "Size"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: database-manage.php:153
|
413 |
msgid "Select"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: database-manage.php:186
|
417 |
+
#: database-manage.php:189
|
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 ""
|
431 |
|
432 |
+
#: database-manage.php:205
|
433 |
msgid ""
|
434 |
"You Are About To Restore A Database.\\n"
|
435 |
"This Action Is Not Reversible.\\n"
|
438 |
" Choose [Cancel] to stop, [Ok] to restore."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: database-manage.php:206
|
442 |
msgid ""
|
443 |
"You Are About To Delete The Selected Database Backup Files.\\n"
|
444 |
"This Action Is Not Reversible.\\n"
|
446 |
" Choose [Cancel] to stop, [Ok] to delete."
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: database-manager.php:44
|
450 |
+
#: wp-dbmanager.php:42
|
451 |
+
msgid "Database"
|
452 |
+
msgstr ""
|
453 |
+
|
454 |
+
#: database-manager.php:45
|
455 |
msgid "Database Information"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: database-manager.php:50
|
459 |
msgid "Setting"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: database-manager.php:55
|
463 |
msgid "Database Host"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: database-manager.php:59
|
467 |
msgid "Database Name"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: database-manager.php:63
|
471 |
msgid "Database User"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: database-manager.php:67
|
475 |
msgid "Database Type"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: database-manager.php:71
|
479 |
msgid "Database Version"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: database-manager.php:79
|
483 |
msgid "Tables Information"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: database-manager.php:86
|
487 |
msgid "Records"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: database-manager.php:87
|
491 |
msgid "Data Usage"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: database-manager.php:88
|
495 |
msgid "Index Usage"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: database-manager.php:89
|
499 |
msgid "Overhead"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: database-manager.php:117
|
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 |
|
536 |
msgid "Table(s) '%s' Optimized"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: database-optimize.php:70
|
540 |
msgid "Optimize Database"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: database-optimize.php:76
|
544 |
+
#: database-repair.php:76
|
545 |
msgid "Options"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: database-optimize.php:92
|
549 |
msgid "Database should be optimize once every month."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: database-optimize.php:95
|
553 |
msgid "Optimize"
|
554 |
msgstr ""
|
555 |
|
563 |
msgid "Table(s) '%s' Repaired"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: database-repair.php:70
|
567 |
msgid "Repair Database"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: database-repair.php:92
|
571 |
msgid "Repair"
|
572 |
msgstr ""
|
573 |
|
574 |
#: database-run.php:41
|
575 |
+
#: database-run.php:98
|
576 |
msgid "Run"
|
577 |
msgstr ""
|
578 |
|
585 |
msgid "Empty Query"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: database-run.php:87
|
589 |
+
#: wp-dbmanager.php:50
|
590 |
msgid "Run SQL Query"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: database-run.php:90
|
594 |
msgid "Seperate Multiple Queries With A New Line"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: database-run.php:91
|
598 |
msgid "Use Only INSERT, UPDATE, REPLACE, DELETE, CREATE and ALTER statements."
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: database-run.php:102
|
602 |
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."
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: database-run.php:103
|
606 |
msgid "2. UPDATE statement may return an error sometimes due to the newly updated value being the same as the previous value."
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: database-run.php:104
|
610 |
msgid "3. ALTER statement will return an error because there is no value returned."
|
611 |
msgstr ""
|
612 |
|
613 |
#: database-uninstall.php:39
|
614 |
+
#: database-uninstall.php:127
|
615 |
msgid "UNINSTALL WP-DBManager"
|
616 |
msgstr ""
|
617 |
|
626 |
msgstr ""
|
627 |
|
628 |
#: database-uninstall.php:57
|
629 |
+
#: database-uninstall.php:100
|
630 |
msgid "The database backup files generated by WP-DBManager <strong>WILL NOT</strong> be deleted. You will have to delete it manually."
|
631 |
msgstr ""
|
632 |
|
633 |
#: database-uninstall.php:59
|
634 |
+
#: database-uninstall.php:101
|
635 |
#, php-format
|
636 |
msgid "The path to the backup folder is <strong>'%s'</strong>."
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: database-uninstall.php:79
|
640 |
+
#: database-uninstall.php:90
|
641 |
+
#: wp-dbmanager.php:52
|
642 |
msgid "Uninstall WP-DBManager"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: database-uninstall.php:80
|
646 |
#, php-format
|
647 |
msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-DBManager Will Be Deactivated Automatically."
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: database-uninstall.php:92
|
651 |
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."
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: database-uninstall.php:95
|
655 |
msgid "WARNING:"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: database-uninstall.php:96
|
659 |
msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first."
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: database-uninstall.php:99
|
663 |
msgid "NOTE:"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: database-uninstall.php:104
|
667 |
msgid "The following WordPress Options will be DELETED:"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: database-uninstall.php:109
|
671 |
msgid "WordPress Options"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: database-uninstall.php:127
|
675 |
msgid ""
|
676 |
"You Are About To Uninstall WP-DBManager From WordPress.\\n"
|
677 |
"This Action Is Not Reversible.\\n"
|
679 |
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: wp-dbmanager.php:45
|
|
|
|
|
|
|
|
|
683 |
msgid "Backup DB"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: wp-dbmanager.php:46
|
687 |
msgid "Manage Backup DB"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: wp-dbmanager.php:47
|
691 |
msgid "Optimize DB"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: wp-dbmanager.php:48
|
695 |
msgid "Repair DB"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: wp-dbmanager.php:51
|
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 |
|