From e369b35866e6a2def7d20bf3fa281a9c59004f1f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 10 Jul 2007 07:43:24 +0000 Subject: [PATCH] Updated login error focus git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6794 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/images/branch_grey.png | Bin 0 -> 387 bytes html/index.php | 8 -------- ihtml/themes/default/login.tpl | 3 +-- 3 files changed, 1 insertion(+), 10 deletions(-) create mode 100644 html/images/branch_grey.png diff --git a/html/images/branch_grey.png b/html/images/branch_grey.png new file mode 100644 index 0000000000000000000000000000000000000000..797e797e75187728c6e1e872dfc2e6a12b38d30c GIT binary patch literal 387 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H0wnYHF4+L2n3BBRT^Rni_n+Ah4nJ za0`PlBg3pY5H=O_Ur7NyaG%ME`M!iU|3g+Yr9s35PXLNJ%y4xc{`* zZTIHM$;75LdT3k|JbHO===n0|1HvCFqHJ{SD{fu1VXN4;LZ3s~-(5vXqe(%d>k{|c zl?Bst1gCT;xTwf>oU{@-%pp@Ky^hi1f)1BaP6~fb!1{9K_HXs&Tz}^M$!n3~y7J3C zUVX*cnfxcsjTOyK&X_S<^qJ>R&a|TXMx+Pz#mJj fp7UNyPx#3y+R4hxsGPL}7-S5du6{1-oD!Massign("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); displayLogin(); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/ihtml/themes/default/login.tpl b/ihtml/themes/default/login.tpl index aab9b08b6..566cc787d 100644 --- a/ihtml/themes/default/login.tpl +++ b/ihtml/themes/default/login.tpl @@ -58,7 +58,6 @@ - {$focus} @@ -87,7 +86,7 @@ -- 2.30.2