浏览代码

modified comp_in_new

stekkel 23 年之前
父节点
当前提交
318010bd70
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      functions/page_header.php

+ 5 - 2
functions/page_header.php

@@ -12,9 +12,9 @@
  */
  */
 
 
 require_once('../functions/strings.php');
 require_once('../functions/strings.php');
-require_once('../functions/imap_utf7_decode_local.php');
+//require_once('../functions/imap_utf7_decode_local.php');
 require_once('../functions/html.php');
 require_once('../functions/html.php');
-
+require_once('../functions/imap_mailbox.php');
 /* Always set up the language before calling these functions */
 /* Always set up the language before calling these functions */
 function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) {
 function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE ) {
 
 
@@ -176,7 +176,10 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
                      "}\n\n";
                      "}\n\n";
 
 
             }
             }
+	$js .= $xtra;    
         $js .= "// -->\n". "</script>\n";
         $js .= "// -->\n". "</script>\n";
+	
+
         $onload = "onLoad=\"checkForm();\"";
         $onload = "onLoad=\"checkForm();\"";
         displayHtmlHeader ('Squirrelmail', $js);
         displayHtmlHeader ('Squirrelmail', $js);
         break;   
         break;