1 {if $dialogState eq 'head'}
3 <h3>{t}Assigned ACL for current entry{/t}</h3>
4 <table summary="{t}Assigned ACL for current entry{/t}">
5 <tr>
6 <td>
7 {t}Name{/t}
8 </td>
9 <td>
10 {render acl=$cnACL}
11 <input type="text" name='cn' value="{$cn}" style='width:200px;'>
12 {/render}
13 </td>
14 </tr>
15 <tr>
16 <td>
17 {t}Description{/t}
18 </td>
19 <td>
20 {render acl=$descriptionACL}
21 <input type="text" name='description' value="{$description}" style='width:200px;'>
22 {/render}
23 </td>
24 </tr>
25 <tr>
26 <td>
27 {t}Base{/t}{$MUST}
28 </td>
29 <td>
30 {render acl=$baseACL}
31 {$base}
32 {/render}
33 </td>
34 </tr>
35 </table>
36 {$aclList}
37 {render acl=$gosaAclEntryACL}
38 <button type='submit' name='new_acl'>{t}New ACL{/t}</button>
40 {/render}
42 {/if}
44 {if $dialogState eq 'create'}
45 <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> </option></select> {if $javascript eq 'false'}<button type='submit' name='refresh'>{msgPool type=applyButton}</button>{/if}
46 </h3>
48 <hr>
51 <h3>{t}List of available ACL categories{/t}</h3>
52 {$aclList}
54 <hr>
55 <div style='text-align:right;margin-top:5px'>
56 {render acl=$gosaAclEntryACL}
57 <button type='submit' name='submit_new_acl'>{msgPool type=applyButton}</button>
59
60 {/render}
61 <button type='submit' name='cancel_new_acl'>{msgPool type=cancelButton}</button>
63 </div>
64 {/if}
66 {if $dialogState eq 'edit'}
68 <h3>{$headline}</h3>
70 {render acl=$gosaAclEntryACL}
71 {$aclSelector}
72 {/render}
74 <hr>
75 <div style='text-align:right;margin-top:5px'>
76 {render acl=$gosaAclEntryACL}
77 <button type='submit' name='submit_edit_acl'>{msgPool type=applyButton}</button>
79 {/render}
80
81 <button type='submit' name='cancel_edit_acl'>{msgPool type=cancelButton}</button>
83 </div>
84 {/if}
85 <input type='hidden' name='acl_role_posted' value='1'>