From: Marc G. K. <st...@us...> - 2002-05-16 08:18:56
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory usw-pr-cvs1:/tmp/cvs-serv4060 Modified Files: login.php Log Message: fixes for w3c syntax Index: login.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/login.php,v retrieving revision 1.75 retrieving revision 1.76 diff -u -w -r1.75 -r1.76 --- login.php 6 Apr 2002 22:44:48 -0000 1.75 +++ login.php 16 May 2002 08:18:53 -0000 1.76 @@ -90,7 +90,7 @@ /* Output the javascript onload function. */ -$header = "<SCRIPT LANGUAGE=\"JavaScript\">\n" . +$header = "<SCRIPT LANGUAGE=\"JavaScript\" TYPE=\"text/javascript\">\n" . "<!--\n". " function squirrelmail_loginpage_onload() {\n". " document.forms[0].js_autodetect_results.value = '" . SMPREF_JS_ON . "';\n". @@ -103,7 +103,7 @@ /* Set the title of this page. */ echo '<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000CC" VLINK="#0000CC" ALINK="#0000CC" onLoad="squirrelmail_loginpage_onload();">'. - "\n<FORM ACTION=\"redirect.php\" METHOD=\"POST\" NAME=f>\n"; + "\n<FORM ACTION=\"redirect.php\" METHOD=\"POST\">\n"; $username_form_name = 'login_username'; $password_form_name = 'secretkey'; @@ -129,7 +129,7 @@ "</CENTER>\n". "<CENTER>\n". - "<TABLE COLS=1 WIDTH=350>\n". + "<TABLE COLS=\"1\" WIDTH=\"350\">\n". " <TR><TD ALIGN=CENTER BGCOLOR=\"#DCDCDC\">\n". ' <B>' . sprintf (_("%s Login"), $org_name) . "</B>\n". " </TD></TR>". |