Code

Integrated acl/reference dialog by default.
[gosa.git] / plugins / admin / acl / contents.tpl
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()">&nbsp;</option>{html_options options=$aclTypes selected=$aclType}<option disabled></select>&nbsp;{if $javascript eq 'false'}<input type="submit" value="{t}Apply{/t}" name="refresh">{/if}</h1>
10 <p class="seperator">&nbsp;</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>&nbsp;</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>&nbsp;</option>
33    </select>
34   </td>
35   <td style="vertical-align:center; text-align:center">
36    <input type="submit" value="&gt;" name="add">
37    <br><br>
38    <input type="submit" value="&lt;" 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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
63 <h1>{t}ACLs for this object{/t}</h1>
64 {$aclSelector}
65 {/if}
67 <p class="seperator">&nbsp;</p>
68 <div style='text-align:right;margin-top:5px'>
69         <input type="submit" name="submit_new_acl" value="{t}Apply{/t}">
70         &nbsp;
71         <input type="submit" name="cancel_new_acl" value="{t}Cancel{/t}">
72 </div>
73 {/if}
75 {if $dialogState eq 'edit'}
77 <h1>{$headline}</h1>
79 {$aclSelector}
81 <p class="seperator">&nbsp;</p>
82 <div style='text-align:right;margin-top:5px'>
83         <input type="submit" name="submit_edit_acl" value="{t}Apply{/t}">
84         &nbsp;
85         <input type="submit" name="cancel_edit_acl" value="{t}Cancel{/t}">
86 </div>
87 {/if}