Code

phone numbers will be replaced correctly,
[gosa.git] / plugins / gofon / phoneaccount / generic.tpl
index 1b4087346e507c394945418cfefb2d46042c9447..0f7329943bc3c19697c501e392e4089774dacc7b 100644 (file)
@@ -4,6 +4,9 @@
    <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}>
        {html_options options=$phoneNumbers}
+               <option disabled>
+                       &nbsp;
+                       </option>
       </select>
       <br>
       <input name="phonenumber" size=20 align=middle maxlength=60 {$telephoneNumberACL} value="">
   </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  style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
+               <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}
+                               <option disabled>&nbsp;</option>
+                                        </select>
+                                        <input type="submit" name="refresh" value="{t}refresh{/t}" {$goFonMacroACL}>
+                               </td>
+                       </tr>
+               </table>
+               <br>
+               {$macrotab}
+       </td>
+       <td valign="top" style="vertical-align:top; width:50%">
+               <table summary="">
+                       <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>
-<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">
+
+
+