]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_admin.php
Now debug_report_bug() will be called if ext_name or ext_ver is empty which should...
[mailer.git] / inc / modules / admin / what-config_admin.php
index a57a8ae4c3b9bb5956f164806a1ce9f7533a621a..4d78ddb8c6fbd7d8feb6e48e5337ae6ba2f5e45b 100644 (file)
@@ -10,7 +10,7 @@
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Administratormenue einstellen                    *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
+ * $Revision::                                                        $ *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
 
 // 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()) {
        // Save configuration
@@ -51,15 +51,15 @@ if (IS_FORM_SENT()) {
        // 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