id !== 'dashboard' && $current->id !== 'plugins' && $current->id !== 'users')) return; //extensions $extensions = array('Core','bcmath','date','filter','json','pcre','standard'); foreach($extensions AS $e){ if(!extension_loaded($e)) $errors[] = 'The plugin requires the PHP extension ' . $e . '.'; } //must be PHP 5.2+ if(version_compare(PHP_VERSION, '5.2.0') < 0) $errors[] = 'The plugin requires PHP 5.2.0 or greater.'; //make sure the tables exist if(!meow_tables_exist()) $errors[] = 'The Apocalypse Meow database tables do not exist. Your MySQL user must have CREATE TABLES grants for this plugin to be properly installed.'; //any errors? if(!is_array($errors) || !count($errors)) return; ?>

Your server does not meet the minimum requirements for running Apocalypse Meow. Things might work out anyhow, but you or your system administrator should take a look at the following:
  •    •  ", $errors); ?>

Apocalypse Meow is not compatible with WPMU and has been disabled. Sorry!

'; } return true; } add_action('admin_init', 'meow_deactivate_multisite'); //--------------------------------------------------------------------- end compatibility //--------------------------------------------------------------------- // Menus //--------------------------------------------------------------------- //-------------------------------------------------- // Page Navigation // // @param n/a // @return header function meow_admin_header(){ $slug = isset($_GET['page']) ? $_GET['page'] : ''; $links = array( array( 'slug'=>'meow-settings', 'title'=>'Settings', 'url'=>admin_url('users.php?page=meow-settings') ), array( 'slug'=>'meow-tools', 'title'=>'Tools', 'url'=>admin_url('users.php?page=meow-tools') ), array( 'slug'=>'meow-activity', 'title'=>'Activity', 'url'=>admin_url('users.php?page=meow-activity') ) ); ?>

Apocalypse Meow

Kitten

Apocalypse Meow

{{error}}

{{success}}

Settings'; $links[] = 'Tools'; $links[] = 'Activity'; return $links; } add_filter("plugin_action_links_" . plugin_basename(dirname(__FILE__) . '/index.php'), 'meow_plugin_settings_link' ); //-------------------------------------------------- // The Main Settings Page! // // @param n/a // @return true function meow_settings_page(){ require_once(dirname(__FILE__) . '/admin-settings.php'); return true; } //------------------------------------------------- // The Tools Page! // // @param n/a // @return true function meow_tools_page(){ require_once(dirname(__FILE__) . '/admin-tools.php'); return true; } //-------------------------------------------------- // The Activity Page! // // @param n/a // @return true function meow_activity_page(){ require_once(dirname(__FILE__) . '/admin-activity.php'); return true; } //--------------------------------------------------------------------- end menus ?>