X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_admin.php;h=9c7eb830f1e1e68137a1e36b6f0fcf3535437535;hb=1355d2c0b29510dbd407f9cde9f41a5ac02d01fa;hp=513ee759c75b948b7884c1101838e1a7fdae42d3;hpb=414570c5081d337bb6c28dcf521bd8bca02f69e7;p=mailer.git diff --git a/inc/modules/admin/what-config_admin.php b/inc/modules/admin/what-config_admin.php index 513ee759c7..9c7eb830f1 100644 --- a/inc/modules/admin/what-config_admin.php +++ b/inc/modules/admin/what-config_admin.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Administratormenue einstellen * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * @@ -38,28 +38,28 @@ // 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 -ADD_DESCR("admin", __FILE__); +ADD_DESCR('admin', __FILE__); -if (IS_FORM_SENT()) { +if (isFormSent()) { // Save configuration ADMIN_SAVE_SETTINGS_POST(); } else { // Prepare data for the template switch (getConfig('admin_menu')) { - case "NEW": - define('__ADMIN_MENU_NEW', " checked=\"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' , " checked=\"checked\""); - break; + case "OLD": + define('__ADMIN_MENU_NEW', ''); + define('__ADMIN_MENU_OLD' , ' checked="checked"'); + break; } // Display form