function init() { $args = array('slug' => 'database_information', 'title' => 'Database Information', 'description' => 'View information about your database and its tables.', 'page' => 'home', 'bootstrap_wordpress' => false, 'mini_mode' => true, 'subtle' => true, 'priority' => 1); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'wipe_repairbuddy', 'title' => 'Wipe RepairBuddy from Server', 'description' => 'Automatically clean and erase all RepairBuddy files.', 'page' => 'home', 'bootstrap_wordpress' => false, 'mini_mode' => true, 'is_subtle' => ''); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'database_string_replace', 'title' => 'Database String Replace', 'description' => 'Find & replace text within the database.', 'page' => 'home', 'bootstrap_wordpress' => true, 'mini_mode' => false, 'is_subtle' => ''); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'malware_scan', 'title' => 'Malware Scan', 'description' => 'Scan your site for malware or suspicious files.', 'page' => 'view_malware', 'bootstrap_wordpress' => true, 'mini_mode' => false, 'is_subtle' => '', 'priority' => 20); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'options_editor', 'title' => 'WordPress Options Editor', 'description' => 'View and edit data from the WordPress Options table. Serialized data is viewable.', 'page' => 'home', 'bootstrap_wordpress' => true, 'mini_mode' => true, 'subtle' => true, 'priority' => 2); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'backupbuddy_dat', 'title' => 'BackupBuddy DAT Reader', 'description' => 'Inspect the contents of a BackupBuddy data file for troubleshooting.', 'page' => 'home', 'bootstrap_wordpress' => false, 'mini_mode' => true, 'subtle' => true); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }
function init() { $args = array('slug' => 'server_info', 'title' => 'Server Info.', 'description' => 'Server details and configuration.', 'page' => 'home', 'bootstrap_wordpress' => false, 'mini_mode' => false, 'is_subtle' => '', 'priority' => 25); $this->_module_name = $args['slug']; pb_register_module($args); //Actions $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); pb_add_action(sprintf('pb_loadpage_%s_%s', $args['slug'], 'phpinfo'), array(&$this, 'display_phpinfo')); }
function init() { $args = array('slug' => 'admin_creator', 'title' => 'Create Admin Account', 'description' => 'Create a new administrator user account in WordPress.', 'page' => 'home', 'bootstrap_wordpress' => true, 'mini_mode' => '', 'is_subtle' => ''); $this->_module_name = $args['slug']; pb_register_module($args); //Actions pb_add_action('print_scripts', array(&$this, 'print_scripts')); pb_add_action('print_styles', array(&$this, 'print_styles')); pb_add_action('pb_ajax_search_user', array(&$this, 'ajax_search_user')); pb_add_action('pb_ajax_create_user', array(&$this, 'ajax_create_user')); $action = sprintf('pb_loadpage_%s_%s', $args['slug'], $args['page']); pb_add_action($action, array(&$this, 'display_page')); }