浏览代码

Added page_header.php to make i18n work in left_main.php.

gustavf 25 年之前
父节点
当前提交
4e599bf64e
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/left_main.php

+ 5 - 3
src/left_main.php

@@ -11,9 +11,7 @@
       echo "You need a valid user and password to access this page!";
       exit;
    }
-?>
-<HTML>
-<?
+
    if (!isset($config_php))
       include("../config/config.php");
    if (!isset($array_php))
@@ -22,6 +20,10 @@
       include("../functions/strings.php");
    if (!isset($imap_php))
       include("../functions/imap.php");
+   if (!isset($page_header_php))
+      include("../functions/page_header.php");
+
+   echo "<HTML>";
 
    function formatMailboxName($imapConnection, $mailbox, $real_box, $delimeter, $color, $move_to_trash) {
       require ("../config/config.php");