Code

Added baseslect to blocklists
[gosa.git] / plugins / 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>
10        <input name="cn" id="cn" size=25 maxlength=60 {$mode} {$cnACL} value="{$cn}" title="{t}Name of blocklist{/t}">
11       </td>
12      </tr>
13      <tr>
14       <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
15       <td>
16        <select size="1" id="base" name="base" {$selectmode} title="{t}Select subtree to place blocklist in{/t}">
17         {html_options options=$bases selected=$base_select}
18                 <option disabled>&nbsp;</option>
19        </select>
20         {if $selectmode == ""}
21             <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
22         {else}
23             <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
24         {/if}
25       </td>
26      </tr>
27     </table>
28    </td>
30   <td style="border-left:1px solid #A0A0A0">
31    &nbsp;
32   </td>
34    <td style="vertical-align:top;">
35     <table summary="">
36      <tr>
37        <td><LABEL for="type">{t}Type{/t}</LABEL></td>
38        <td>
39         <select size="1" id="type" name="type" {$goFaxBlocklistACL} title="{t}Select wether to filter incoming or outgoing calls{/t}">
40         {html_options options=$types selected=$type}
41                 <option disabled>&nbsp;</option>
42         </select>
43         </td>
44       </tr>
45       <tr>
46        <td><LABEL for="description">{t}Description{/t}</LABEL></td>
47        <td>
48          <input name="description" id="description" size=25 maxlength=80 {$descriptionACL} value="{$description}" title="{t}Descriptive text for this blocklist{/t}">
49        </td>
50       </tr>
51     </table>
52    </td>
53  </tr>
54 </table>
56 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
58 <table summary="" style="width:100%">
59  <tr>
60    <td style="width:50%;">
61      <h2><img class="center" alt="" align="middle" src="images/false.png"> {t}Blocked numbers{/t}</h2>
62      <select style="width:100%; height:200px;" name="numbers[]" size=15 multiple>
63       {html_options values=$goFaxBlocklist output=$goFaxBlocklist}
64           <option disabled>&nbsp;</option>
65      </select>
66      <br>
67      <input id="number" name="number" size=25 maxlength=60 {$goFaxBlocklistACL}>&nbsp;
68      <input type=submit value="{t}Add{/t}" {$goFaxBlocklistACL} name="add_number">&nbsp;
69      <input type=submit value="{t}Delete{/t}" {$goFaxBlocklistACL} name="delete_number">
70    </td>
71   <td style="border-left:1px solid #A0A0A0">
72    &nbsp;
73   </td>
74    <td style="vertical-align:top;" >
75      <h2><img class="center" alt="" align="middle" src="images/info_small.png"> {t}Information{/t}</h2>
76      <p>
77       {t}Numbers can also contain wild cards.{/t}
78      </p>
79    </td>
80  </tr>
81 </table>
84 <p class="plugbottom">
85   <input type=submit name="edit_finish" value="{t}Save{/t}">
86   &nbsp;
87   <input type=submit name="edit_cancel" value="{t}Cancel{/t}">
88 </p>
90 <!-- Place cursor -->
91 <script language="JavaScript" type="text/javascript">
92   <!-- // First input field on page
93   document.mainform.cn.focus();
94   -->
95 </script>