Code

some changes
[gosa.git] / plugins / gofon / phoneaccount / generic.tpl
index 1b4087346e507c394945418cfefb2d46042c9447..382b55f72e97efbe5f46402473c2827817ef74f3 100644 (file)
@@ -2,8 +2,11 @@
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
    <h2><img alt="" align="middle" src="images/banana.png"> {t}Phone numbers{/t}</h2>
-      <select style="width:380px; height:120px;" name="phonenumber_list[]" size=6 multiple {$telephoneNumberACL}>
+      <select style="width:380px;" name="phonenumber_list[]" size=4 multiple {$telephoneNumberACL}>
        {html_options options=$phoneNumbers}
+               <option disabled>
+                       &nbsp;
+                       </option>
       </select>
       <br>
       <input name="phonenumber" size=20 align=middle maxlength=60 {$telephoneNumberACL} value="">
 <table summary="" style="width:100%" border=0>
  <tr>
 
-  <td>
+  <td tyle="vertical-align:top;">
    <h2><img alt="" align="middle" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
 
-   <table summary="{t}Telephone{/t}" style="width:100%" border=0>
+   <table summary="{t}Telephone{/t}" border=0>
     <tr>
-     <td>{t}Telephone{/t}&nbsp;
-      {$hardware_list}
-     </td>
+     <td>{t}Telephone{/t}</td>
+     <td>{$hardware_list}</td>
     </tr>
+                       <tr>
+                               <td>
+                                       <LABEL for="goFonVoicemailPIN">{t}Voicemail PIN{/t}{$must}</LABEL>
+                               </td>
+                               <td>
+                                       <input type="password" id="goFonVoicemailPIN" name="goFonVoicemailPIN" value="{$goFonVoicemailPIN}" {$goFonVoicemailPINACL}>
+                       </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <LABEL for="goFonPIN">{t}Phone PIN{/t}{$must}</LABEL>
+                               </td>
+                               <td>
+                                       <input type="password" id="goFonPIN" name="goFonPIN" value="{$goFonPIN}" {$goFonPINACL}>
+                       </td>
+                       </tr>
    </table>
   </td>
  </tr>
 </table>
-
-   <table summary="">
-       <tr>
-    <td>
-     <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
-
-     <table summary="{t}Phone number{/t}">
-      <tr> 
-       <td>{t}Phone number{/t}</td><td>{t}Timeout (s){/t}</td><td>&nbsp;</td>
-      </tr>
-      {$forwarder_list}
-     </table>
-    </td>
-   </table>
   </td>
 
  </tr>
+ <tr>
+       <td style="vertical-align:top; border-top:1px solid #A0A0A0; width:50%" colspan="2">&nbsp;</td>
+ </tr>
+ <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
+       <td colspan=2 style="vertical-align:top;width:50%">
+               <h2><img alt="" src="images/select_macro.png" align="middle">&nbsp;{t}Phone macro{/t}</h2>
+               <table summary="{t}Phone macro{/t}">
+                       <tr>
+                               <td colspan=2>
+                                        <select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
+                                          {html_options options=$macros selected=$macro}
+                               <option disabled>&nbsp;</option>
+                                        </select>
+                                        <input type="submit" name="refresh" value="{t}Refresh{/t}" {$goFonMacroACL}>
+                                        <input type="submit" name="fillout" value="{t}Complete{/t}" {$goFonMacroACL}>
+                               </td>
+                       </tr>
+               </table>
+               <br>
+               {$macrotab}
+       </td>
+ </tr>
 </table>
-<p class="seperator">&nbsp;</p>
-<br>
-<table summary="{t}Phone macro{/t}">
-       <tr>
-               <td colspan=2><img alt="" src="images/select_macro.png" align="middle">&nbsp;{t}Phone macro{/t}
-                        <select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
-                          {html_options options=$macros selected=$macro}
-                        </select>
-                        <input type="submit" name="refresh" value="{t}refresh{/t}" {$goFonMacroACL}>
-               </td>
-       </tr>
-</table>
-<br>
-{$macrotab}
 <input type="hidden" name="phoneTab" value="phoneTab">
+
+
+