X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_admin.php;h=4d78ddb8c6fbd7d8feb6e48e5337ae6ba2f5e45b;hb=9d3e47c8ab6ff3ab7efca2a968d66a5ccf76728d;hp=6db300e1794fbb34e94284a18d6718dd801d1661;hpb=a090e351c49fe021fb3064325694da03402332e0;p=mailer.git diff --git a/inc/modules/admin/what-config_admin.php b/inc/modules/admin/what-config_admin.php index 6db300e179..4d78ddb8c6 100644 --- a/inc/modules/admin/what-config_admin.php +++ b/inc/modules/admin/what-config_admin.php @@ -38,7 +38,7 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!IS_ADMIN())) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } // Add description as navigation point @@ -51,15 +51,15 @@ if (IS_FORM_SENT()) { // Prepare data for the template switch (getConfig('admin_menu')) { - case "NEW": - define('__ADMIN_MENU_NEW', ' chkecked="checked"'); - define('__ADMIN_MENU_OLD' , ''); - break; + case "NEW": + define('__ADMIN_MENU_NEW', ' checked="checked"'); + define('__ADMIN_MENU_OLD' , ''); + break; - case "OLD": - define('__ADMIN_MENU_NEW', ''); - define('__ADMIN_MENU_OLD' , ' chkecked="checked"'); - break; + case "OLD": + define('__ADMIN_MENU_NEW', ''); + define('__ADMIN_MENU_OLD' , ' checked="checked"'); + break; } // Display form