Code

9357886e2b9cc8aa08ee649f46c0ac8b662c7444
[gosa.git] / gosa-plugins / gofax / gofax / blocklists / generic.tpl
1 <h3>{t}Generic{/t}</h3>
2 <table summary="" style="width:100%;">
4  <tr>
5    <td style="width:50%;">
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 type='text' 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         {$base}
21 {/render}
22       </td>
23      </tr>
24     </table>
25    </td>
27   <td class='left-border'>
28    &nbsp;
29   </td>
31    <td>
32     <table summary="">
33      <tr>
34        <td><LABEL for="type">{t}Type{/t}</LABEL></td>
35        <td>
36 {render acl=$typeACL}
37         <select size="1" id="type" name="type" title="{t}Select wether to filter incoming or outgoing calls{/t}">
38                 {html_options options=$types selected=$type}
39                 <option disabled>&nbsp;</option>
40         </select>
41 {/render}
42         </td>
43       </tr>
44       <tr>
45        <td><LABEL for="description">{t}Description{/t}</LABEL></td>
46        <td>
47 {render acl=$descriptionACL}
48          <input type='text' name="description" id="description" size=25 maxlength=80 value="{$description}" title="{t}Descriptive text for this blocklist{/t}">
49 {/render}
50        </td>
51       </tr>
52     </table>
53    </td>
54  </tr>
55 </table>
57 <hr>
59 <table summary="" style="width:100%">
60  <tr>
61    <td style="width:50%;">
62      <h3>{t}Blocked numbers{/t}</h3>
63 {render acl=$goFaxBlocklistACL}
64      <select style="width:100%; height:200px;" name="numbers[]" size=15 multiple>
65       {html_options values=$goFaxBlocklist output=$goFaxBlocklist}
66           <option disabled>&nbsp;</option>
67      </select>
68 {/render}
69      <br>
70 {render acl=$goFaxBlocklistACL}
71      <input type='text' id="number" name="number" size=25 maxlength=60 >&nbsp;
72 {/render}
73 {render acl=$goFaxBlocklistACL}
74      <button type='submit' name='add_number'>{msgPool type=addButton}</button>&nbsp;
76 {/render}
77 {render acl=$goFaxBlocklistACL}
78      <button type='submit' name='delete_number'>{msgPool type=delButton}</button>
80 {/render}
81    </td>
82   <td class='left-border'>
83    &nbsp;
84   </td>
85    <td>
86      <h3>{t}Information{/t}</h3>
87      <p>
88       {t}Numbers can also contain wild cards.{/t}
89      </p>
90    </td>
91  </tr>
92 </table>
94 <input type='hidden' name='blocklist_posted' value="1">
95 <!-- Place cursor -->
96 <script language="JavaScript" type="text/javascript">
97   <!-- // First input field on page
98         focus_field('n');
99   -->
100 </script>