1 {if $dialogState eq 'head'}
2 <h1>{t}Assigned ACLs for current entry{/t}</h1>
3 {$aclList}
4 <input type="submit" name="new_acl" value="{t}New ACL{/t}">
5 {/if}
7 {if $dialogState eq 'create'}
8 <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="{t}Apply{/t}" name="refresh">{/if}</h1>
10 <p class="seperator"> </p>
12 <table style="width:100%">
13 <tr>
14 <td style="width:48%; vertical-align:top;">
15 {t}Use members from{/t}
16 <select name="target" onChange="document.mainform.submit()">
17 {html_options options=$targets selected=$target}
18 <option disabled> </option>
19 </select>
20 {if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}<br><br>
21 </td>
22 <td>
23 </td>
24 <td>
25 </td>
26 </tr>
27 <tr>
28 <td style="width:48%">
29 {t}Available members{/t}<br>
30 <select style="width:100%;height:180px;" name="source[]" size="20" multiple title="{t}List message possible targets{/t}">
31 {html_options options=$sources}
32 <option disabled> </option>
33 </select>
34 </td>
35 <td style="vertical-align:center; text-align:center">
36 <input type="submit" value=">" name="add">
37 <br><br>
38 <input type="submit" value="<" name="del">
39 </td>
40 <td style="width:48%; vertical-align:top;">
41 {t}Members{/t}<br>
42 <select style="width:100%;height:180px;" name="recipient[]" size="20" multiple title="{t}List message recipients{/t}">
43 {html_options options=$recipients}
44 <option disabled> </option>
45 </select>
46 </td>
47 </tr>
48 </table>
50 {if $aclType ne 'reset'}
51 {if $aclType ne 'role'}
52 {if $aclType ne 'base'}
53 <p class="seperator"> </p>
55 <h1>{t}List of available ACL categories{/t}</h1>
56 {$aclList}
57 {/if}
58 {/if}
59 {/if}
61 {if $aclType eq 'base'}
62 <p class="seperator"> </p>
63 <h1>{t}ACLs for this object{/t}</h1>
64 {$aclSelector}
65 {/if}
67 {if $aclType eq 'role'}
68 <p class="seperator"> </p>
69 <h1>{t}Available roles{/t}</h1>
70 {$roleSelector}
71 {/if}
73 <p class="seperator"> </p>
74 <div style='text-align:right;margin-top:5px'>
75 <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
76
77 <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
78 </div>
79 {/if}
81 {if $dialogState eq 'edit'}
83 <h1>{$headline}</h1>
85 {$aclSelector}
87 <p class="seperator"> </p>
88 <div style='text-align:right;margin-top:5px'>
89 <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
90
91 <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
92 </div>
93 {/if}