Code

Updated role editing
[gosa.git] / gosa-core / plugins / admin / acl / acl_role.tpl
index 3dce4dc8a4bdd8bbead85d803f3bd4c3d862f052..8dced0fc834f07d14c4118df14510c60795b4e7b 100644 (file)
@@ -1,7 +1,7 @@
 {if $dialogState eq 'head'}
 
-<h1>{t}Assigned ACL for current entry{/t}</h1>
-<table>
+<h3>{t}Assigned ACL for current entry{/t}</h3>
+<table summary="{t}Assigned ACL for current entry{/t}">
 <tr>
        <td>
                {t}Name{/t}
 </tr>
 <tr>
        <td>
-               {t}Base{/t}
+               {t}Base{/t}{$MUST}
        </td>
        <td>
 {render acl=$baseACL}
-             <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
-              {html_options options=$bases selected=$base_select}
-             </select>
+  {$base}
 {/render}
-
-{render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
-               <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
-{/render}
-
        </td>
 </tr>
 </table>
 {$aclList}
-<input type="submit" name="new_acl" value="{t}New ACL{/t}">
+{render acl=$gosaAclTemplateACL}
+<button type='submit' name='new_acl'>{t}New ACL{/t}</button>
+
+{/render}
 
 {/if}
 
 {if $dialogState eq 'create'}
-<h1>{t}ACL type{/t} <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">{html_options options=$aclTypes selected=$aclType}<option disabled>&nbsp;</option></select>&nbsp;{if $javascript eq 'false'}<input type="submit" value="{msgPool type=applyButton}" name="refresh">{/if}</h1>
+<h3>{t}ACL type{/t} <select size="1" name="aclType" title="{t}Select an acl type{/t}" onChange="document.mainform.submit()">{html_options options=$aclTypes selected=$aclType}<option disabled>&nbsp;</option></select>&nbsp;{if $javascript eq 'false'}<button type='submit' name='refresh'>{msgPool type=applyButton}</button>{/if}
+</h3>
 
-<p class="seperator">&nbsp;</p>
+<hr>
 
 
-<h1>{t}List of available ACL categories{/t}</h1>
+<h3>{t}List of available ACL categories{/t}</h3>
 {$aclList}
 
-<p class="seperator">&nbsp;</p>
+<hr>
 <div style='text-align:right;margin-top:5px'>
-       <input type="submit" name="submit_new_acl" value="{msgPool type=applyButton}">
+{render acl=$gosaAclTemplateACL}
+       <button type='submit' name='submit_new_acl'>{msgPool type=applyButton}</button>
+
        &nbsp;
-       <input type="submit" name="cancel_new_acl" value="{msgPool type=cancelButton}">
+{/render}
+       <button type='submit' name='cancel_new_acl'>{msgPool type=cancelButton}</button>
+
 </div>
 {/if}
 
 {if $dialogState eq 'edit'}
 
-<h1>{$headline}</h1>
+<h3>{$headline}</h3>
 
+{render acl=$gosaAclTemplateACL}
 {$aclSelector}
+{/render}
 
-<p class="seperator">&nbsp;</p>
+<hr>
 <div style='text-align:right;margin-top:5px'>
-       <input type="submit" name="submit_edit_acl" value="{msgPool type=applyButton}">
+{render acl=$gosaAclTemplateACL}
+       <button type='submit' name='submit_edit_acl'>{msgPool type=applyButton}</button>
+
+{/render}
        &nbsp;
-       <input type="submit" name="cancel_edit_acl" value="{msgPool type=cancelButton}">
+       <button type='submit' name='cancel_edit_acl'>{msgPool type=cancelButton}</button>
+
 </div>
 {/if}
 <input type='hidden' name='acl_role_posted' value='1'>