From: hickert Date: Tue, 10 Jul 2007 07:53:19 +0000 (+0000) Subject: Udpated focus for password tpl X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee08d26664ed0d189d86629e9af81c7c81957ad8;p=gosa.git Udpated focus for password tpl git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6795 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/password.php b/html/password.php index 3226bbca3..2f35eaed9 100644 --- a/html/password.php +++ b/html/password.php @@ -287,15 +287,6 @@ if ($error_collector != ""){ $smarty->assign("php_errors", ""); } -/* Set focus to the error button if we've an error message */ -$focus= ""; -if (isset($_SESSION['errors']) && $_SESSION['errors'] != ""){ - $focus= ''; -} -$smarty->assign("focus", $focus); - displayPWchanger(); ?> diff --git a/ihtml/themes/default/password.tpl b/ihtml/themes/default/password.tpl index 63f8fb4c8..9a15da4da 100644 --- a/ihtml/themes/default/password.tpl +++ b/ihtml/themes/default/password.tpl @@ -43,7 +43,6 @@

{$ssl}

- {$focus}

{$message}

@@ -114,7 +113,7 @@