From: hickert Date: Tue, 27 Jul 2010 14:08:01 +0000 (+0000) Subject: Updated proposal handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0241966b558c41f72ab722575ebbf2597dee0951;p=gosa.git Updated proposal handling -Gray out disabled fields by using prototype git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19171 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/users/password.tpl b/gosa-core/plugins/admin/users/password.tpl index 9f5cf7df7..ecceb5485 100644 --- a/gosa-core/plugins/admin/users/password.tpl +++ b/gosa-core/plugins/admin/users/password.tpl @@ -35,19 +35,15 @@ {else} - + @@ -120,8 +106,36 @@ + +
-  {t}Use proposal{/t} -
 {t}Manually specify a password{/t}
- {if $proposalSelected} - {factory type='password' name='new_password' id='new_password' disabled - onkeyup="testPasswordCss(\$('new_password').value)" onfocus="nextfield= 'repeated_password';"} - {else} - {factory type='password' name='new_password' id='new_password' - onkeyup="testPasswordCss(\$('new_password').value)" onfocus="nextfield= 'repeated_password';"} - {/if} + {factory type='password' id='new_password' name='new_password' + onfocus="nextfield='repeated_password';" onkeyup="testPasswordCss(\$('new_password').value);"}
- {if $proposalSelected} - {factory type='password' name='repeated_password' id='repeated_password' disabled - onfocus="nextfield= 'password_finish';"} - {else} - {factory type='password' name='repeated_password' id='repeated_password' - onfocus="nextfield= 'password_finish';"} - {/if} + {factory type='password' id='repeated_password' name='repeated_password' + onfocus="nextfield='password_finish';"}