'Comment SPAM', 'tab2' => 'Comment SPAM IP Monitoring', ); var $menu_tabs_handler = array( 'tab1' => 'render_tab1', 'tab2' => 'render_tab2', ); function __construct() { $this->render_menu_page(); } function get_current_tab() { $tab_keys = array_keys($this->menu_tabs); $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : $tab_keys[0]; return $tab; } /* * Renders our tabs of this menu as nav items */ function render_menu_tabs() { $current_tab = $this->get_current_tab(); echo '
'.__('The plugin has detected that you are using a Multi-Site WordPress installation.', 'aiowpsecurity').'
'.__('Only the "superadmin" can block IP addresses from the main site.', 'aiowpsecurity').'
'.__('Take note of the IP addresses you want blocked and ask the superadmin to add these to the blacklist using the "Blacklist Manager" on the main site.', 'aiowpsecurity').'
'; echo '