Code

Large translation update
[gosa.git] / plugins / admin / systems / phonesettings.tpl
index 0c22e09ac3701c90a07026e5db84ae0f4da18236..6535df5520650047205ee0cedc68f72448f6b965 100644 (file)
-<h2><img alt="" align="middle" src="images/select_phone.png"> {t}Specific Phone settings{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="images/select_phone.png"> {t}Advanced phone settings{/t}</h2>
 
-<table width="100%" cellpadding=10>
+<table summary="" style="width:100%" border=0>
        <tr>
-               <td colspan>
-                       <table width="100%">
-                       <tr>
-                               <td width="25%">
-                                       {t}Phone category{/t}{$staticAddress}
-                               </td>
-                               <td >
-                                       <select size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" style="width:200px;" onchange="mainform.submit();">
-                                               {html_options options=$categories selected=$selected_categorie}
-                                       </select>
-                                       <input type="submit" value="{t}refresh{/t}" name="refresh">
-                               </td>
-                        </tr>
-                       </table>
-               </td>
+               <td colspan="2">
+               <LABEL for="selected_categorie">{t}Phone type{/t}</LABEL>{$staticAddress}
+               <select id="selected_categorie" size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" onchange="mainform.submit();">
+                       {html_options options=$categories selected=$selected_categorie}
+               </select>
+               <input type="submit" value="{t}refresh{/t}" name="refresh">
+               <br>
+               <br>
+       </td>
        </tr>
+{if $selected_categorie eq '0'}
        <tr>
-               <td>
-                       <table width="100%">
+               <td style="width:50%; border-right:1px solid #A0A0A0">
+                       <table summary="" border=0>
                         <tr>
-                               <td width="25%">
-                                       {t}Phone type{/t}{$staticAddress}
+                               <td>
+                                       <LABEL for="goFonType">{t}Mode{/t}</LABEL>{$staticAddress}
+                                       
                                </td>
-                               <td >
-                                       <select size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
+                               <td>
+                                       <select id="goFonType" size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
                                                {html_options options=$goFonTypes selected=$goFonType}
                                        </select>
                                </td>
                         </tr>
                         <tr>
                                <td >
-                                       {t}Dtmfmode What ever ...{/t}
+                                       <LABEL for="goFonDmtfMode">{t}DTMF mode{/t}</LABEL>
                                </td>
                                <td>
-                                       <select size="1" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
+                                       <select size="1" id="goFonDmtfMode" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
                                                {html_options options=$goFonDmtfModes selected=$goFonDmtfMode}
                                        </select>
                                </td>
                        </tr>
+               </table>
+          </td>
+          <td>
+               <table summary="" border=0>
                        <tr>
                                <td >
-                                       {t}Default IP{/t}
-                               </td>
-                               <td>
-                                       <input width="200" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
+                                       <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
                                </td>
+                <td>
+                    <select id="goFonDefaultIP" size="1" name="goFonDefaultIP" title="{t}Choose a phone type{/t}" style="width:200px;" >
+                        {html_options options=$goFonDefaultIPs selected=$goFonDefaultIP}
+                    </select>
+                   </td>
                        </tr>
                        <tr>
                                <td >
-                                       {t}Quality{/t}
+                                       <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
                                </td>
                                <td>
-                                       <input width="200" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
+                                       <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
                                </td>
                        </tr>
                        </table>
                </td>
-               <td valign="top">
-                       <table width="100%">
-                               <tr>
-                                       <td width="25%">
-                                               {t}Authtype{/t}
-                                       </td>
-                                       <td>
-                                               <select size="1" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
-                                                       {html_options options=$goFonAuths selected=$goFonAuth}
-                                               </select>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>    
-                                                {t}GoFonSecret{/t}     
-                                       </td>
-                                       <td>
-                                               <input width="200" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                                {t}GoFonInkeys{/t}
-                                       </td>
-                                       <td>
-                                               <input width="200" name="goFonInkeys" value="{$goFonInkeys}" {$goFonInkeysUSED}>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                                {t}GoFonOutKeys{/t}
-                                       </td>
-                                       <td>
-                                               <input width="200" name="goFonOutkey" value="{$goFonOutkey}" {$goFonOutkeyUSED}>
-                                       </td>
-                               </tr>
-                       </table>
-               </td>
-       </tr>
+        </tr>
+</table>
+{/if}
+
+{if $selected_categorie eq '1'}
+               
        <tr>
-       <td>
-               <table width="100%">
+               <td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
+                       <table summary="" width="100%">
+                        <tr>
+                               <td>
+                                       <LABEL for="goFonType">{t}Modus{/t}{$staticAddress}</LABEL>
+                               </td>
+                               <td >
+                                       <select size="1" id="goFonType" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
+                                               {html_options options=$goFonTypes selected=$goFonType}
+                                       </select>
+                               </td>
+                        </tr>
                        <tr>
-                               <td width="25%">
-                                       {t}permit / deny {/t}
+                               <td >
+                                       <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
                                </td>
                                <td>
-                                       <input name="notsetyet">
+                                       <input id="goFonDefaultIP" style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
                                </td>
                        </tr>
                        <tr>
+                               <td >
+                                       <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
+                               </td>
                                <td>
-                                       {t}AccountCode {/t}
-        </td>
-        <td>
-                                       <input width="200" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
+                                       <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
                                </td>
                        </tr>
-               </table>
-       </td>
-               <td>
-                       <table width="100%">
+                       <tr>
+                               <td colspan=2>
+                                       &nbsp;                                  
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <LABEL for="goFonAuth">{t}Authtype{/t}</LABEL>
+                               </td>
+                               <td>
+                                       <select size="1" id="goFonAuth" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
+                                               {html_options options=$goFonAuths selected=$goFonAuth}
+                                       </select>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>    
+                                        <LABEL for="goFonSecret">{t}Secret{/t}</LABEL>
+                               </td>
+                               <td>
+                                       <input id="goFonSecret" style="width:200px" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
+                               </td>
+                       </tr>
+<!--                   <tr>
+                               <td>
+                                        {t}GoFonInkeys{/t}
+                               </td>
+                               <td>
+                                       <input style="width:200px" name="goFonInkeys" value="{$goFonInkeys}" {$goFonInkeysUSED}>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                        {t}GoFonOutKeys{/t}
+                               </td>
+                               <td>
+                                       <input style="width:200px" name="goFonOutkey" value="{$goFonOutkey}" {$goFonOutkeyUSED}>
+                               </td>
+                       </tr> -->
+                       <tr>
+                <td colspan=2>
+                                       &nbsp;
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <LABEL for="goFonAccountCode">{t}Account code{/t}</LABEL>
+                </td>
+                <td>
+                    <input id="goFonAccountCode" style="width:200px" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <LABEL for="goFonTrunk">{t}Trunk lines{/t}</LABEL>
+                </td>
+                <td>
+                     <select size="1" id="goFonTrunk" name="goFonTrunk" title="{t}Choose a phone type{/t}" {$goFonTrunkUSED}>
+                        {html_options options=$goFonTrunks selected=$goFonTrunk}
+                     </select>
+                 </td>
+            </tr>
+
+                       </table>
+               </td>
+               <td valign="top" style="vertical-align:top">
+                        <table summary="" width="100%">
+               <tr>
+                    <td style="vertical-align:top;">
+                        <LABEL for="goFonPermitS">{t}Hosts that are allowed to connect{/t}</LABEL><br>
+                        <select id="goFonPermitS" style="width:100%; height:80px;" name="goFonPermitS" size=15
+                            multiple title="{t}List of alternative mail addresses{/t}">
+                            {html_options values=$goFonPermit output=$goFonPermit}
+                            <option disabled>&nbsp;</option>
+                        </select>
+                        <br>
+                            <input name="goFonPermitNew" size=30 align="middle" maxlength="65" value="">
+                        <input type=submit value="{t}Add{/t}" name="goFonPermitAdd">
+                        <input type=submit value="{t}Delete{/t}" name="goFonPermitDel">
+                                               <br><br>
+                    </td>
+                </tr>
                                <tr>
-                                       <td width="25%">
-                                               {t}Trunk several calls{/t}
-                                       </td>
-                                       <td>
-                                               <select size="1" name="goFonTrunk" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTrunkUSED}>
-                                                       {html_options options=$goFonTrunks selected=$goFonTrunk}
-                                               </select>
-                                       </td>
-                               </tr>
+                    <td style="vertical-align:top;">
+                       <LABEL for="goFonDenyS">{t}Hosts that are not allowed to connect{/t}</LABEL><br>
+                        <select id="goFonDenyS" style="width:100%; height:80px;" name="goFonDenyS" size=15
+                            multiple title="{t}List of alternative mail addresses{/t}">
+                            {html_options values=$goFonDeny output=$goFonDeny}
+                            <option disabled>&nbsp;</option>
+                        </select>
+                        <br>
+                            <input name="goFonDenyNew" size=30 align="middle" maxlength="65" value="">
+                        <input type=submit value="{t}Add{/t}" name="goFonDenyAdd">
+                        <input type=submit value="{t}Delete{/t}" name="goFonDenyDel">
+                    </td>
+                </table>
+    </tr>
+</table>
+{/if}
+
+{if $selected_categorie eq '2'}
+       <tr>
+               <td style="width:50%">
+                       <table summary="" width="100%">
                                <tr>
                                        <td>
-                                               {t}MSN{/t}
-                                       </td>
-                                       <td>
-                                               <input width="200" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
+                                               <LABEL for="goFonMSN">{t}MSN{/t}</LABEL>&nbsp;
+                                               <input id="goFonMSN" style="width:200px" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
                                        </td>
                                </tr>
                        </table>
                </td>
+               <td>
+                       &nbsp;
+               </td>
        </tr>
 </table>
+{/if}