Code

Updated buttons
[gosa.git] / gosa-plugins / gofax / 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      <h3>{t}Generic{/t}</h3>
8      <table summary="">
9        <tr>
10          <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label>{$must}</td>
11          <td>
12 {if $multiple_support}
13         <input type='text' name="dummy1" value="{t}Multiple edit{/t}" disabled id="facsimileTelephoneNumber">
14 {else}
15 {render acl=$facsimileTelephoneNumberACL}
16            <input name="facsimileTelephoneNumber" id="facsimileTelephoneNumber" size=20 maxlength=65
17                 value="{$facsimileTelephoneNumber}" title="{t}Fax number for GOfax to trigger on{/t}">
18 {/render}
19 {/if}
21          </td>
22        </tr>
23        <tr>
24          <td><label for="goFaxLanguage">{t}Language{/t}</label></td>
25          <td>
27 {render acl=$goFaxLanguageACL checkbox=$multiple_support checked=$use_goFaxLanguage}
28            <select size="1" name="goFaxLanguage" id="goFaxLanguage" 
29                 title="{t}Specify the GOfax communication language for fax to mail gateway{/t}">
30                         {html_options options=$languages selected=$goFaxLanguage}
31            </select>
32 {/render}
34          </td>
35        </tr>
36        <tr>
37          <td><label for="goFaxFormat">{t}Delivery format{/t}</label></td>
38          <td>
40 {render acl=$goFaxFormatACL checkbox=$multiple_support checked=$use_goFaxFormat}
41            <select id="goFaxFormat" size="1" name="goFaxFormat" title="{t}Specify delivery format for fax to mail gateway{/t}">
42             {html_options values=$formats output=$formats selected=$goFaxFormat}
43            </select>
44 {/render}
45          </td>
46        </tr>
47      </table>
48      
49    </td>
50    <td style="border-left:1px solid #A0A0A0">
51     &nbsp;
52    </td>
53    <td style="vertical-align:top; width:100%">
54      <h3>{t}Delivery methods{/t}</h3>
56 {render acl=$goFaxIsEnabledACL checkbox=$multiple_support checked=$use_goFaxIsEnabled}
57      <input type=checkbox name="goFaxIsEnabled" value="1" {$goFaxIsEnabled} class="center">
58 {/render}
59      {t}Temporary disable fax usage{/t}<br>
61      {if $has_mailaccount eq "false"}
62 {render acl=$faxtomailACL checkbox=$multiple_support checked=$use_faxtomail}
63      <input type=checkbox name="faxtomail" value="1" {$faxtomail} class="center">
64 {/render}
65       <label for="mail">{t}Deliver fax as mail to{/t}</label>&nbsp;
66 {render acl=$faxtomailACL checkbox=$multiple_support checked=$use_mail}
67       <input type='text' name="mail" id="mail" size=25 maxlength=65 value="{$mail}" class="center">
68 {/render}
69      {else}
70 {render acl=$faxtomailACL checkbox=$multiple_support checked=$use_faxtomail}
71      <input type=checkbox name="faxtomail" value="1" {$faxtomail} class="center">
72 {/render}
73       {t}Deliver fax as mail{/t}
74      {/if}
75      <br>
77 {render acl=$faxtoprinterACL checkbox=$multiple_support checked=$use_faxtoprinter}
78      <input type=checkbox name="faxtoprinter" value="1" {$faxtoprinter} class="center">
79 {/render}
80      {t}Deliver fax to printer{/t}&nbsp;
81 {render acl=$faxtoprinterACL checkbox=$multiple_support checked=$use_goFaxPrinter}
82      <select size="1" name="goFaxPrinter">
83       {html_options options=$printers selected=$goFaxPrinter}
84                 <option disabled>&nbsp;</option>
85      </select>
86 {/render}
87    </td>
88  </tr>
89 </table>
91 <hr>
93 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
94   <tr>
95     <td style="width:50%; border-right:1px solid #A0A0A0">
97         {if !$multiple_support}
99     <h3>{t}Alternate fax numbers{/t}</h3>
100 {render acl=$facsimileAlternateTelephoneNumberACL}
101     <select style="width:100%" name="alternate_list[]" size="10" multiple>
102                         {html_options values=$facsimileAlternateTelephoneNumber output=$facsimileAlternateTelephoneNumber}
103                         <option disabled>&nbsp;</option>
104     </select>
105 {/render}
106     <br>
107 {render acl=$facsimileAlternateTelephoneNumberACL}
108     <input type='text' name="forward_address" size=20 align="middle" maxlength=65 value="">
109 {/render}
110 {render acl=$facsimileAlternateTelephoneNumberACL}
111     <button type='submit' name='add_alternate'>{msgPool type=addButton}</button>&nbsp;
113 {/render}
114 {render acl=$facsimileAlternateTelephoneNumberACL}
115     <button type='submit' name='add_local_alternate'>{t}Add local{/t}</button>&nbsp;
117 {/render}
118 {render acl=$facsimileAlternateTelephoneNumberACL}
119     <button type='submit' name='delete_alternate'>{msgPool type=delButton}</button>
121 {/render}
122         {/if}
123    </td>
124    <td style="vertical-align:top; width:50%">
125       <h3>{t}Blocklists{/t}</h3>
126       <table summary="" style="width:100%">
127         <tr>
128           <td>{t}Blocklists for incoming fax{/t}</td>
129           <td>
130 {render acl=$goFaxRBlocklistACL checkbox=$multiple_support checked=$use_edit_incoming}
131             <button type='submit' name='edit_incoming'>{t}Edit{/t}</button>
133 {/render}
134           </td>
135         </tr>
136         <tr>
137           <td>{t}Blocklists for outgoing fax{/t}</td>
138           <td>
139 {render acl=$goFaxSBlocklistACL checkbox=$multiple_support checked=$use_edit_outgoing}
140             <button type='submit' name='edit_outgoing'>{t}Edit{/t}</button>
142 {/render}
143           </td>
144         </tr>
145       </table>
146     </td>
147   </tr>
148 </table>
150 <input type="hidden" name="faxTab" value="faxTab">
152 <!-- Place cursor -->
153 <script language="JavaScript" type="text/javascript">
154   <!-- // First input field on page
155         focus_field('facsimileTelephoneNumber');
156   -->
157 </script>