X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_admin.php;h=8f42cfc5ec5dbad039460e8c48184124fe6ba496;hb=bfbf712685680761babfd9ea059a224a4aa244bf;hp=6592affb8889b4599fd9e308e139c625c22adc2b;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/modules/admin/what-config_admin.php b/inc/modules/admin/what-config_admin.php index 6592affb88..8f42cfc5ec 100644 --- a/inc/modules/admin/what-config_admin.php +++ b/inc/modules/admin/what-config_admin.php @@ -37,23 +37,23 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { require($INC); } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if (isset($_POST['ok'])) { // Save configuration ADMIN_SAVE_SETTINGS($_POST); } else { // Prepare data for the template - switch ($_CONFIG['admin_menu']) + switch (getConfig('admin_menu')) { case "NEW": - define('__ADMIN_MENU_NEW', ' checked'); + define('__ADMIN_MENU_NEW', " checked=\"checked\""); define('__ADMIN_MENU_OLD' , ""); break; case "OLD": define('__ADMIN_MENU_NEW', ""); - define('__ADMIN_MENU_OLD' , ' checked'); + define('__ADMIN_MENU_OLD' , " checked=\"checked\""); break; }