Fixed login header.
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 18 Oct 2001 07:50:13 +0000 (07:50 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 18 Oct 2001 07:50:13 +0000 (07:50 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1580 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index f8acbeb..4118d5c 100644 (file)
        setcookie(session_name(),"",0,$cookie_params["domain"].$cookie_params["path"]); 
 
    do_hook('login_cookie');
-   echo "<HTML>";
-   echo "<HEAD><TITLE>";
+
+   echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">' .
+        "\n\n" .
+       "<HTML>\n" .
+       "<HEAD>\n";
+                          
+   if ($theme_css != "")
+       echo "<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"$theme_css\">\n";
+        
+   echo "<TITLE>";
    echo $org_name . " - " . _("Login");
    echo "</TITLE></HEAD>\n";
    echo "<BODY TEXT=000000 BGCOLOR=#FFFFFF LINK=0000CC VLINK=0000CC ALINK=0000CC>\n";