Code

Udpated JS focus,
[gosa.git] / plugins / gofax / faxaccount / generic.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
3  <!-- Headline container -->
4  <tr>
5    <td style="width:50%; vertical-align:top;">
6      <h2><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Generic{/t}</h2>
8      <table summary="">
9        <tr>
10          <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label>{$must}</td>
11          <td>
12            <input name="facsimileTelephoneNumber" id="facsimileTelephoneNumber" size=20 maxlength=65 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
13          </td>
14        </tr>
15        <tr>
16          <td><label for="goFaxLanguage">{t}Language{/t}</label></td>
17          <td>
18            <select size="1" name="goFaxLanguage" id="goFaxLanguage" {$goFaxLanguageACL} title="{t}Specify the GOfax communication language for fax to mail gateway{/t}">
19             {html_options values=$languages output=$languages selected=$goFaxLanguage}
20            </select>
21          </td>
22        </tr>
23        <tr>
24          <td><label for="goFaxFormat">{t}Delivery format{/t}</label></td>
25          <td>
26            <select id="goFaxFormat" size="1" name="goFaxFormat" {$goFaxFormatACL} title="{t}Specify delivery format for fax to mail gateway{/t}">
27             {html_options values=$formats output=$formats selected=$goFaxFormat}
28            </select>
29          </td>
30        </tr>
31      </table>
32      
33    </td>
34    <td style="border-left:1px solid #A0A0A0">
35     &nbsp;
36    </td>
37    <td style="vertical-align:top; width:100%">
38      <h2><img class="center" alt="" align="middle" src="images/printer.png" />&nbsp;{t}Delivery methods{/t}</h2>
40      <input type=checkbox name="goFaxIsEnabled" value="1" {$goFaxIsEnabled} {$goFaxIsEnabledACL}>
41      {t}Temporary disable fax usage{/t}<br>
43      {if $has_mailaccount eq "false"}
44      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
45       <label for="mail">{t}Deliver fax as mail to{/t}</label>&nbsp;
46       <input name="mail" id="mail" size=25 maxlength=65 {$goFaxDeliveryModeACL} value="{$mail}">
47      {else}
48      <input type=checkbox name="fax_to_mail" value="1" {$fax_to_mail} {$goFaxDeliveryModeACL}>
49       {t}Deliver fax as mail{/t}
50      {/if}
51      <br>
53      <input type=checkbox name="fax_to_printer" value="1" {$fax_to_printer} {$goFaxDeliveryModeACL}>
54      {t}Deliver fax to printer{/t}&nbsp;
55      <select size="1" name="goFaxPrinter" {$goFaxPrinterACL}>
56       {html_options options=$printers selected=$goFaxPrinter}
57                 <option disabled>&nbsp;</option>
58      </select>
60    </td>
61  </tr>
62 </table>
64 <p class="seperator">&nbsp;</p>
66 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
67   <tr>
68     <td style="width:50%; border-right:1px solid #A0A0A0">
69     <h2><img class="center" alt="" align="middle" src="images/fax_small.png">&nbsp;{t}Alternate fax numbers{/t}</h2>
70     <select style="width:100%" name="alternate_list[]" size="10" multiple {$facsimileAlternateTelephoneNumberACL}>
71                         {html_options values=$facsimileAlternateTelephoneNumber output=$facsimileAlternateTelephoneNumber}
72                         <option disabled>&nbsp;</option>
73     </select>
74     <br>
75     <input name="forward_address" size=20 align="middle" maxlength=65 {$facsimileAlternateTelephoneNumberACL} value="">
76     <input type=submit value="{t}Add{/t}" name="add_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
77     <input type=submit value="{t}Add local{/t}" name="add_local_alternate" {$facsimileAlternateTelephoneNumberACL}>&nbsp;
78     <input type=submit value="{t}Delete{/t}" name="delete_alternate" {$facsimileAlternateTelephoneNumberACL}>
79    </td>
80    <td style="vertical-align:top; width:50%">
81       <h2><img class="center" alt="" align="middle" src="images/false.png" />&nbsp;{t}Blocklists{/t}</h2>
82       <table summary="" style="width:100%">
83         <tr>
84           <td>{t}Blocklists for incoming fax{/t}</td>
85           <td>
86             <input type=submit name="edit_incoming" {$goFaxRBlockgroupsACL} value="{t}Edit{/t}">
87           </td>
88         </tr>
89         <tr>
90           <td>{t}Blocklists for outgoing fax{/t}</td>
91           <td>
92             <input type=submit name="edit_outgoing" {$goFaxSBlockgroupsACL} value="{t}Edit{/t}">
93           </td>
94         </tr>
95       </table>
96     </td>
97   </tr>
98 </table>
100 <input type="hidden" name="faxTab" value="faxTab">
102 <!-- Place cursor -->
103 <script language="JavaScript" type="text/javascript">
104   <!-- // First input field on page
105         focus_field('facsimileTelephoneNumber');
106   -->
107 </script>