Code

Added <LABEL> tags to password proposal selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:07:10 +0000 (16:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:07:10 +0000 (16:07 +0000)
-Makes it a lot easier to use.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20049 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/password.tpl
gosa-core/plugins/personal/myaccount/password.tpl
gosa-core/plugins/personal/password/password.tpl

index ecceb548576e08946567e8b242de7e627513803c..2674ee0f916cd099b92cba3e564a2286360f2713 100644 (file)
@@ -39,8 +39,8 @@
   <table summary="{t}Password input dialog{/t}" cellpadding=4 border=0>
     <tr>
       <td>
-        <input type='radio' value='1' name='proposalSelected' id='proposalSelected' onClick='updateFields();'
-            {if $proposalSelected} checked {/if}>&nbsp;<b>{t}Use proposal{/t}</b>
+        <input type='radio' value='1' name='proposalSelected' id='proposalSelected_true' onClick='updateFields();'
+            {if $proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_true">{t}Use proposal{/t}</LABEL></b>
       </td>
       <td>
         <div id='proposalText' style='
@@ -57,8 +57,8 @@
     </tr>
     <tr>
       <td>
-        <input type='radio' value='0' name='proposalSelected' onClick='updateFields();'
-            {if !$proposalSelected} checked {/if}>&nbsp;<b>{t}Manually specify a password{/t}</b>
+        <input type='radio' value='0' name='proposalSelected' id='proposalSelected_false' onClick='updateFields();'
+            {if !$proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_false">{t}Manually specify a password{/t}</LABEL></b>
       </td>
     </tr>
     <tr>
index ad8b5fdcf5de93f27e48a8836956e537c012f4ad..3c613ada4572cb24d49a28423da212876d85ab20 100644 (file)
@@ -45,8 +45,8 @@
     </tr>
     <tr>
       <td>
-        <input type='radio' value='1' name='proposalSelected'
-            {if $proposalSelected} checked {/if}>&nbsp;<b>{t}Use proposal{/t}</b>
+        <input type='radio' value='1' name='proposalSelected' id='proposalSelected_true'
+            {if $proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_true">{t}Use proposal{/t}</LABEL></b>
       </td>
       <td>
         <div style='
@@ -63,8 +63,8 @@
     </tr>
     <tr>
       <td>
-        <input type='radio' value='0' name='proposalSelected'
-            {if !$proposalSelected} checked {/if}>&nbsp;<b>{t}Manually specify a password{/t}</b>
+        <input type='radio' value='0' name='proposalSelected' id='proposalSelected_false'
+            {if !$proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_false">{t}Manually specify a password{/t}</LABEL></b>
       </td>
     </tr>
     <tr>
index 7c04acfa25cef008d14add8ec163710f88ce5c57..fc4b849a3918f02ba22967aca943f18417b2cbf3 100644 (file)
@@ -51,8 +51,8 @@
     </tr>
     <tr>
       <td>
-        <input type='radio' value='1' id='proposalSelected' name='proposalSelected' onClick='updateFields();'
-            {if $proposalSelected} checked {/if}>&nbsp;<b>{t}Use proposal{/t}</b>
+        <input type='radio' value='1' id='proposalSelected_true' name='proposalSelected' onClick='updateFields();'
+            {if $proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_true">{t}Use proposal{/t}</LABEL></b>
       </td>
       <td>
         <div id='proposalText' 
@@ -70,8 +70,8 @@
     </tr>
     <tr>
       <td>
-        <input type='radio' value='0' name='proposalSelected' onClick='updateFields();'
-            {if !$proposalSelected} checked {/if}>&nbsp;<b>{t}Manually specify a password{/t}</b>
+        <input type='radio' value='0' name='proposalSelected' id='proposalSelected_false' onClick='updateFields();'
+            {if !$proposalSelected} checked {/if}>&nbsp;<b><LABEL for="proposalSelected_false">{t}Manually specify a password{/t}</LABEL></b>
       </td>
     </tr>
     <tr>