Code

list base image migration for gosa-plugins
[gosa.git] / gosa-plugins / gofon / gofon / phoneaccount / generic.tpl
1 <table summary="{t}Phone numbers{/t}" style="width:100%">
2  <tr>
3   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
4    <h2>
5     <img class="center" alt="" align="middle" src="images/banana.png" />
6     &nbsp;{t}Phone numbers{/t}
7    </h2>
9 {if $multiple_support}
11    <select style="width:100%;" name="dummy1" size=7 >
12     {html_options options=$phoneNumbers}
13     <option disabled>&nbsp;</option>
14    </select>
16 {else}
18 {render acl=$telephoneNumberACL}
19    <select style="width:100%;" name="phonenumber_list[]" size=7 multiple>
20     {html_options options=$phoneNumbers}
21     <option disabled>&nbsp;</option>
22    </select>
23 {/render}
24    <br>
25 {render acl=$telephoneNumberACL}
26    <input name="phonenumber" size=20 align=middle maxlength=60 value="">
27 {/render}
28 {render acl=$telephoneNumberACL}
29    <input type="submit" value="{msgPool type=addButton}" name="add_phonenumber">&nbsp;
30 {/render}
31 {render acl=$telephoneNumberACL}
32       <input type="submit" value="{msgPool type=delButton}" name="delete_phonenumber">
33 {/render}
35 {/if}
36   </td>
37   <td style="vertical-align:top; width:50%;">
38    <table summary="" style="width:100%" border=0>
39  <tr>
41   <td style="vertical-align:top;">
42    <h2><img class="center" alt="" align="middle" src="images/hardware.png" />&nbsp;{t}Telephone hardware{/t}</h2>
44       <table summary="{t}Telephone{/t}" border=0>
45            {if !$multiple_support}
46        <tr>
47         <td>
48                         {t}Telephone{/t}
49                 </td>
50         <td>
51                         {$hardware_list}
52                 </td>
53        </tr>
54            {/if}
55        <tr>
56         <td>{t}Home server{/t}{$must}
57         </td>
58         <td>
59 {render acl=$goFonHomeServerACL checkbox=$multiple_support checked=$use_goFonHomeServer}
60          <select name='goFonHomeServer' title='{t}Select the accounts home server{/t}'>
61           {html_options options=$goFonHomeServers selected=$goFonHomeServer}
62          </select>
63 {/render}
64         </td>
65       </tr>
66       <tr>
67        <td>
68         <label for="goFonVoicemailPIN">{t}Voicemail PIN{/t}{$must}</label>
69        </td>
70        <td>
71 {render acl=$goFonVoicemailPINACL checkbox=$multiple_support checked=$use_goFonVoicemailPIN}
72         <input type="password" id="goFonVoicemailPIN" name="goFonVoicemailPIN" value="{$goFonVoicemailPIN}">
73 {/render}
74       </td>
75       </tr>
76       <tr>
77        <td>
78         <label for="goFonPIN">{t}Phone PIN{/t}{$must}</label>
79        </td>
80        <td>
81 {render acl=$goFonPINACL checkbox=$multiple_support checked=$use_goFonPIN}
82         <input type="password" id="goFonPIN" name="goFonPIN" value="{$goFonPIN}">
83 {/render}
84       </td>
85       </tr>
86       </table>
87      </td>
88     </tr>
89    </table>
90   </td>
92  </tr>
93  <tr>
94  <td style="vertical-align:top; border-top:1px solid #A0A0A0; width:50%" colspan="2">&nbsp;</td>
95  </tr>
96  <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
97  <td colspan=2 style="vertical-align:top;width:50%">
98   <h2>
99    <img class="center" alt="" src="images/select_macro.png" align="middle" />
100    &nbsp;{t}Phone macro{/t}
101   </h2>
102   <table summary="{t}Phone macro{/t}">
103    <tr>
104     <td colspan=2>
105 {render acl=$goFonMacroACL  checkbox=$multiple_support checked=$use_macro}
106      <select id="macro" name="macro" onchange="document.mainform.submit()">
107       {html_options options=$macros selected=$macro}
108       <option disabled>&nbsp;</option>
109      </select>
110 {/render}
111      {if $javascript eq 'false'}
112 {render acl=$goFonMacroACL}
113       <input type="submit" name="refresh" value="{t}Refresh{/t}">
114 {/render}
115      {/if}
116     </td>
117    </tr>
118   </table>
119   <br>
120   {$macrotab}
121  </td>
122  </tr>
123 </table>
124 <input type="hidden" name="phoneTab" value="phoneTab">
127 <script language="JavaScript" type="text/javascript">
128   <!-- // First input field on page
129         focus_field('phonenumber');
130   -->
131 </script>