| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: WP-DBManager |
| 4 |
Plugin URI: http://www.lesterchan.net/portfolio/programming.php |
| 5 |
Description: Manages your Wordpress database. Allows you to optimizee, backup, restore, delete backup database and run selected queries. |
| 6 |
Version: 2.00 |
| 7 |
Author: GaMerZ |
| 8 |
Author URI: http://www.lesterchan.net |
| 9 |
*/ |
| 10 |
|
| 11 |
|
| 12 |
/* Copyright 2005 Lester Chan (email : gamerz84@hotmail.com) |
| 13 |
|
| 14 |
This program is free software; you can redistribute it and/or modify |
| 15 |
it under the terms of the GNU General Public License as published by |
| 16 |
the Free Software Foundation; either version 2 of the License, or |
| 17 |
(at your option) any later version. |
| 18 |
|
| 19 |
This program is distributed in the hope that it will be useful, |
| 20 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 |
GNU General Public License for more details. |
| 23 |
|
| 24 |
You should have received a copy of the GNU General Public License |
| 25 |
along with this program; if not, write to the Free Software |
| 26 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 27 |
*/ |
| 28 |
|
| 29 |
### Function: Poll Menu |
| 30 |
add_action('admin_menu', 'dbmanager_menu'); |
| 31 |
function dbmanager_menu() { |
| 32 |
if (function_exists('add_menu_page')) { |
| 33 |
add_menu_page('Database', 'Database', 1, 'database-manager.php'); |
| 34 |
} |
| 35 |
} |
| 36 |
?> |