}
}
-do_hook('login_cookie');
+do_hook('login_cookie', $null);
$loginname_value = (sqGetGlobalVar('loginname', $loginname) ? htmlspecialchars($loginname) : '');
+//FIXME: should be part of the template, not the core!
/* Output the javascript onload function. */
$header = "<script type=\"text/javascript\">\n" .
"<!--\n".
displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
+//FIXME: need to remove *ALL* HTML from this file!
+
/* If they don't have a logo, don't bother.. */
$logo_str = '';
if (isset($org_logo) && $org_logo) {
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');
+do_hook('login_top', $null);
$oTemplate->display('login.tpl');
echo "</form>\n";
-do_hook('login_bottom');
+do_hook('login_bottom', $null);
// Turn off delayed error handling to make sure all errors are dumped.
$oErrorHandler->setDelayedErrors(false);