浏览代码

Added i18n support to left_main

Luke Ehresman 25 年之前
父节点
当前提交
ed649076be
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      ChangeLog
  2. 4 0
      src/left_main.php

+ 1 - 0
ChangeLog

@@ -1,5 +1,6 @@
 Version 0.4pre1 -- Development
 Version 0.4pre1 -- Development
 ------------------------------
 ------------------------------
+- Added option to configure default folder directory.  ex: ~/mail
 - Configuration script added: config/conf.pl
 - Configuration script added: config/conf.pl
 - Addressbook with LDAP support
 - Addressbook with LDAP support
 - Big speed improvements with folder listing
 - Big speed improvements with folder listing

+ 4 - 0
src/left_main.php

@@ -22,6 +22,9 @@
       include("../functions/imap.php");
       include("../functions/imap.php");
    if (!isset($page_header_php))
    if (!isset($page_header_php))
       include("../functions/page_header.php");
       include("../functions/page_header.php");
+   if (!isset($i18n_php))
+      include("../functions/i18n.php");
+
 
 
    echo "<HTML>";
    echo "<HTML>";
 
 
@@ -75,6 +78,7 @@
 
 
    /** If it was a successful login, lets load their preferences **/
    /** If it was a successful login, lets load their preferences **/
    include("../src/load_prefs.php");
    include("../src/load_prefs.php");
+
    if (isset($left_refresh) && ($left_refresh != "None") && ($left_refresh != "")) {
    if (isset($left_refresh) && ($left_refresh != "None") && ($left_refresh != "")) {
       echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">";
       echo "<META HTTP-EQUIV=\"Expires\" CONTENT=\"Thu, 01 Dec 1994 16:00:00 GMT\">";
       echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">"; 
       echo "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">";