1 {if $dialogState eq 'head'}
3 <h1>{t}Assigned ACL for current entry{/t}</h1>
4 <table>
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}
28 </td>
29 <td>
30 {render acl=$baseACL}
31 <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
32 {html_options options=$bases selected=$base_select}
33 </select>
34 {/render}
36 {render acl=$baseACL disable_picture='images/folder_gray.png'}
37 <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
38 {/render}
40 </td>
41 </tr>
42 </table>
43 {$aclList}
44 <input type="submit" name="new_acl" value="{t}New ACL{/t}">
46 {/if}
48 {if $dialogState eq 'create'}
49 <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> </option></select> {if $javascript eq 'false'}<input type="submit" value="{msgPool type=applyButton}" name="refresh">{/if}</h1>
51 <p class="seperator"> </p>
54 <h1>{t}List of available ACL categories{/t}</h1>
55 {$aclList}
57 <p class="seperator"> </p>
58 <div style='text-align:right;margin-top:5px'>
59 <input type="submit" name="submit_new_acl" value="{msgPool type=applyButton}">
60
61 <input type="submit" name="cancel_new_acl" value="{msgPool type=cancelButton}">
62 </div>
63 {/if}
65 {if $dialogState eq 'edit'}
67 <h1>{$headline}</h1>
69 {$aclSelector}
71 <p class="seperator"> </p>
72 <div style='text-align:right;margin-top:5px'>
73 <input type="submit" name="submit_edit_acl" value="{msgPool type=applyButton}">
74
75 <input type="submit" name="cancel_edit_acl" value="{msgPool type=cancelButton}">
76 </div>
77 {/if}
78 <input type='hidden' name='acl_role_posted' value='1'>