function printAdminPage() { $ez = parent::printAdminPage(); if (empty($ez)) { return; } $this->handleSubmits(); // if the defaults are not loaded, send error message if (empty($this->defaults)) { return; } if (file_exists($this->plgDir . '/admin.php')) { echo $this->adminMsg; include $this->plgDir . '/admin.php'; } else { echo '<font size="+1" color="red">'; _e("Error locating the admin page!\nEnsure admin.php exists, or reinstall the plugin.", 'easy-adsenser'); echo '</font>'; } }