XHTML is case sensitive. onLoad != onload
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 1 Jun 2007 03:41:01 +0000 (03:41 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 1 Jun 2007 03:41:01 +0000 (03:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12432 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index 4d58deabaad393bda43157c96aa8d6b9a5a7f205..4b175105d46c9164df3154c745dfc99c5de00208 100644 (file)
@@ -172,8 +172,8 @@ $oTemplate->assign('login_field_value', $loginname_value);
 $oTemplate->assign('login_extra', $login_extra);
 
 //FIXME: need to remove *ALL* HTML from this file!
-echo '<body onLoad="squirrelmail_loginpage_onload()">'."\n";
-echo '<form action="redirect.php" method="post" onSubmit="document.forms[0].js_autodetect_results.value='. SMPREF_JS_ON .'">'."\n";
+echo '<body onload="squirrelmail_loginpage_onload()">'."\n";
+echo '<form action="redirect.php" method="post" onsubmit="document.forms[0].js_autodetect_results.value='. SMPREF_JS_ON .'">'."\n";
 do_hook('login_top', $null);
 
 $oTemplate->display('login.tpl');