this is the new default config file. use this to add new configuration
[squirrelmail.git] / src / webmail.php
index aaaaf785a0ffe7643d2ed728c415915705e4a3b2..e4faf4662407919ced41016d93c0fd0365f281d7 100644 (file)
@@ -7,7 +7,7 @@
     **/
 
    if(!isset($username)) {
-      echo "You need a valid user and password to access this page!";
+      echo _("You need a valid user and password to access this page!");
       exit;
    }
 
    setcookie("logged_in", 1, 0, "/");
 ?>
 <HTML><HEAD>
-<TITLE>
 <?
    include ("../config/config.php");
+   include ("../functions/prefs.php");
+   echo "<TITLE>";
    echo "$org_title";
-?>
-</TITLE>
-<FRAMESET COLS="200, *" NORESIZE BORDER=0>
+   echo "</TITLE>";
+   echo "<FRAMESET COLS=\"200, *\" NORESIZE BORDER=0>";
 
 /**
     There are three ways to call webmail.php
@@ -36,7 +36,6 @@
     This was done to create a pure HTML way of refreshing the folder list since
     we would like to use as little Javascript as possible.
 **/
-<?
    if ($right_frame == "right_main.php") {
       $urlMailbox = urlencode($mailbox);
       echo "<FRAME SRC=\"left_main.php\" NAME=\"left\">";