More double- to single-quotes rewritten
[mailer.git] / inc / header.php
index 642ef5508aea30b82cb61ba4f824536fa7e64630..f729ec3ed0926cad6ff7ac782986fcbaf74b859f 100644 (file)
@@ -71,10 +71,10 @@ if (($GLOBALS['header_sent'] != "1") && ($GLOBALS['header_sent'] != "2")) {
                                if ((getConfig('enable_mod_title') == 'Y') || ((empty($GLOBALS['what'])) && (empty($GLOBALS['action']))) || ($GLOBALS['module'] == 'admin')) $TITLE .= " ".trim(getConfig('title_middle'))." ".ADD_MODULE_TITLE($GLOBALS['module']);
 
                                // Add title from what file
-                               $MODE = '';
-                               if ($GLOBALS['module'] == "login") $MODE = 'member';
-                                elseif ($GLOBALS['module'] == 'index') $MODE = 'guest';
-                               if ((!empty($MODE)) && (getConfig('enable_what_title') == 'Y')) $TITLE .= " ".trim(getConfig('title_middle'))." ".GET_MOD_DESCR($MODE, $GLOBALS['what']);
+                               $mode = '';
+                               if ($GLOBALS['module'] == "login") $mode = 'member';
+                                elseif ($GLOBALS['module'] == 'index') $mode = 'guest';
+                               if ((!empty($mode)) && (getConfig('enable_what_title') == 'Y')) $TITLE .= " ".trim(getConfig('title_middle'))." ".GET_MOD_DESCR($mode, $GLOBALS['what']);
 
                                // Add title decorations? (right)
                                if ((getConfig('enable_title_deco') == 'Y') && (getConfig('title_right') != "")) $TITLE .= " ".trim(getConfig('title_right'));