Code

11e6b56e29f044bcaef192eb67aaf8ee251865ea
[gosa.git] / gosa-plugins / gofax / gofax / blocklists / generic.tpl
1 <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
2 <table summary="" style="width:100%; vertical-align:top; text-align:left;">
4  <tr>
5    <td style="width:50%; vertical-align:top;">
6     <table summary="">
7      <tr>
8       <td><LABEL for="cn">{t}List name{/t}</LABEL>{$must}</td>
9       <td>
11 {render acl=$cnACL}
12        <input name="cn" id="cn" size=25 maxlength=60 value="{$cn}" title="{t}Name of blocklist{/t}">
13 {/render}
14       </td>
15      </tr>
16      <tr>
17       <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
18       <td>
19 {render acl=$baseACL}
20       <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
21        {html_options options=$bases selected=$base}
22       </select>
23 {/render}
25 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
26         <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
27 {/render}
28       </td>
29      </tr>
30     </table>
31    </td>
33   <td style="border-left:1px solid #A0A0A0">
34    &nbsp;
35   </td>
37    <td style="vertical-align:top;">
38     <table summary="">
39      <tr>
40        <td><LABEL for="type">{t}Type{/t}</LABEL></td>
41        <td>
42 {render acl=$typeACL}
43         <select size="1" id="type" name="type" title="{t}Select wether to filter incoming or outgoing calls{/t}">
44                 {html_options options=$types selected=$type}
45                 <option disabled>&nbsp;</option>
46         </select>
47 {/render}
48         </td>
49       </tr>
50       <tr>
51        <td><LABEL for="description">{t}Description{/t}</LABEL></td>
52        <td>
53 {render acl=$descriptionACL}
54          <input name="description" id="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for this blocklist{/t}">
55 {/render}
56        </td>
57       </tr>
58     </table>
59    </td>
60  </tr>
61 </table>
63 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
65 <table summary="" style="width:100%">
66  <tr>
67    <td style="width:50%;">
68      <h2><img class="center" alt="" align="middle" src="images/false.png"> {t}Blocked numbers{/t}</h2>
69 {render acl=$goFaxBlocklistACL}
70      <select style="width:100%; height:200px;" name="numbers[]" size=15 multiple>
71       {html_options values=$goFaxBlocklist output=$goFaxBlocklist}
72           <option disabled>&nbsp;</option>
73      </select>
74 {/render}
75      <br>
76 {render acl=$goFaxBlocklistACL}
77      <input id="number" name="number" size=25 maxlength=60 >&nbsp;
78 {/render}
79 {render acl=$goFaxBlocklistACL}
80      <input type=submit value="{msgPool type=addButton}" name="add_number">&nbsp;
81 {/render}
82 {render acl=$goFaxBlocklistACL}
83      <input type=submit value="{msgPool type=delButton}" name="delete_number">
84 {/render}
85    </td>
86   <td style="border-left:1px solid #A0A0A0">
87    &nbsp;
88   </td>
89    <td style="vertical-align:top;" >
90      <h2><img class="center" alt="" align="middle" src="images/info_small.png"> {t}Information{/t}</h2>
91      <p>
92       {t}Numbers can also contain wild cards.{/t}
93      </p>
94    </td>
95  </tr>
96 </table>
98 <p class="plugbottom">
99   {if !$read_only}
100   <input type=submit name="edit_finish" style="width:80px" value="{msgPool type=okButton}">
101         {if $dn != "new"}
102           <input type=submit name="edit_apply" value="{msgPool type=applyButton}">
103         {/if}
104   {/if}
105   <input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
106 </p>
107 <input type='hidden' name='blocklist_posted' value="1">
108 <!-- Place cursor -->
109 <script language="JavaScript" type="text/javascript">
110   <!-- // First input field on page
111         focus_field('n');
112   -->
113 </script>