From ee08d26664ed0d189d86629e9af81c7c81957ad8 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 10 Jul 2007 07:53:19 +0000 Subject: [PATCH] Udpated focus for password tpl git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6795 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/password.php | 9 --------- ihtml/themes/default/password.tpl | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) 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 @@ -- 2.30.2