From: hickert Date: Tue, 27 Jul 2010 14:32:00 +0000 (+0000) Subject: Updated password proposal dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31cbada9372a788c1f1d1bb21f5e1858862fc48e;p=gosa.git Updated password proposal dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19172 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc index c8540ae22..e21a07d8e 100644 --- a/gosa-core/plugins/personal/password/class_password.inc +++ b/gosa-core/plugins/personal/password/class_password.inc @@ -60,6 +60,7 @@ class password extends plugin { plugin::execute(); $smarty = get_smarty(); + $smarty->assign("usePrototype", "true"); $ui = get_userinfo(); /* Get acls */ @@ -80,15 +81,11 @@ class password extends plugin // Refresh proposal if requested if(isset($_POST['refreshProposal'])) $this->refreshProposal(); + if(isset($_POST['proposalSelected'])) $this->proposalSelected = get_post('proposalSelected') == 1; $smarty->assign("proposal" , $this->proposal); $smarty->assign("proposalEnabled" , $this->proposalEnabled); $smarty->assign("proposalSelected" , $this->proposalSelected); - - - if(isset($_POST['proposalSelected'])) $this->proposalSelected = get_post('proposalSelected') == 1; - - /* Pwd change requested */ if (isset($_POST['password_finish'])){ diff --git a/gosa-core/plugins/personal/password/password.tpl b/gosa-core/plugins/personal/password/password.tpl index d3e1095ad..325d9f9fe 100644 --- a/gosa-core/plugins/personal/password/password.tpl +++ b/gosa-core/plugins/personal/password/password.tpl @@ -52,11 +52,11 @@ -  {t}Use proposal{/t} -
 {t}Manually specify a password{/t} @@ -106,11 +106,34 @@ - +