From feecd9d68a5399af66f9fe69df0e5b19fad1ca91 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 10 Oct 2006 11:31:38 +0000 Subject: [PATCH] Made password error messages visible git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4873 594d385d-05f5-0310-b6e9-bd551577e9d8 --- Changelog | 1 + plugins/personal/password/main.inc | 10 ++++++---- plugins/personal/password/password.tpl | 4 ---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Changelog b/Changelog index 3f5c0a4b6..03acaaffd 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,7 @@ GOsa2 changelog - Fixed saving of terminal attribute gotoLpdEnable - Avoid reset of several attributes from workstations when not inherited from object groups. + - Show error messages from password dialog * gosa 2.5.4 - Included patch to choose the addressbook base diff --git a/plugins/personal/password/main.inc b/plugins/personal/password/main.inc index df07d1162..22624f6d7 100644 --- a/plugins/personal/password/main.inc +++ b/plugins/personal/password/main.inc @@ -18,11 +18,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -if (!$remove_lock){ +$display= ""; - /* Assign headline image */ - $smarty->assign ('headimage', get_template_path('images/password.png')); - $display= ""; +if (!$remove_lock){ /* Check for interaction */ if ($_SERVER["REQUEST_METHOD"] == "POST"){ @@ -115,5 +113,9 @@ if (!$remove_lock){ } } +/* Assign headline image */ +$display= print_header(get_template_path('images/password.png'), + _("Change password"), "").$display; + // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> diff --git a/plugins/personal/password/password.tpl b/plugins/personal/password/password.tpl index ebd11d350..a62a01352 100644 --- a/plugins/personal/password/password.tpl +++ b/plugins/personal/password/password.tpl @@ -1,7 +1,3 @@ -
- {t}Change password{/t} -
-

{t}To change your personal password use the fields below. The changes take effect immediately. Please memorize the new password, because you wouldn't be able to login without it.{/t}

-- 2.30.2