Added page_header.php to make i18n work in left_main.php.
authorgustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 15 Mar 2000 11:39:58 +0000 (11:39 +0000)
committergustavf <gustavf@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 15 Mar 2000 11:39:58 +0000 (11:39 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@304 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index 0778297094589addb4a35a6d10b112b3a86c274b..281b3fffb74e4a85f4fe2bfa1254b09048e34fa2 100644 (file)
@@ -11,9 +11,7 @@
       echo "You need a valid user and password to access this page!";
       exit;
    }
       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))
    if (!isset($config_php))
       include("../config/config.php");
    if (!isset($array_php))
       include("../functions/strings.php");
    if (!isset($imap_php))
       include("../functions/imap.php");
       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");
 
    function formatMailboxName($imapConnection, $mailbox, $real_box, $delimeter, $color, $move_to_trash) {
       require ("../config/config.php");