diff --git a/html/index.php b/html/index.php
index f57227ddd4336cc1fa29599348cd102d67a0ba98..5a4f2128ace55ec478da35ddf9bf0fb293c0283c 100644 (file)
--- a/html/index.php
+++ b/html/index.php
exit();
}
-/* Reset errors */
-$_SESSION['errors']= "";
-
/* Check for java script */
if(isset($_POST['javascript']) && $_POST['javascript'] == "true") {
$_SESSION['js']= TRUE;
$smarty->assign("php_errors", "");
}
-/* Set focus to the error button if we've an error message */
-$focus= "";
-if (isset($_SESSION['errors']) && $_SESSION['errors'] != ""){
- $focus= '<script language="JavaScript" type="text/javascript">';
- $focus.= 'document.forms[0].error_accept.focus();';
- $focus.= '</script>';
-}
-$smarty->assign("focus", $focus);
displayLogin();
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: