Code

Added $ to preg_replace, only delete from line end
[gosa.git] / plugins / admin / systems / phone.tpl
index 50597b121f60f9f4dda61a89822aeb8fcfd524ff..76a0c8703143cb1dcf0fa87043719f53a14e1152 100644 (file)
@@ -1,28 +1,28 @@
-<table width=100%>
+<table summary="" width="100%">
  <tr>
   <td style="vertical-align:top; width:50%;">
-       <table>
+       <table summary="">
         <tr>
-         <td>{t}Phone name{/t}{$must}</td>
-         <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
+         <td><LABEL for="cn">{t}Phone name{/t}</LABEL>{$must}</td>
+         <td><input id="cn" name="cn" size=20 maxlength=60 value="{$cn}"></td>
         </tr>
         <tr>
           <td colspan=2>&nbsp;</td>
         </tr>
         <tr>
-         <td>{t}Base{/t}{$must}</td>
+         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
          <td>
-          <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+          <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
            {html_options options=$bases selected=$base_select}
           </select>
          </tr>
        </table>
   </td>
   <td style="vertical-align:top">
-       <table>
+       <table summary="">
         <tr>
-         <td>{t}Description{/t}</td>
-         <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
+         <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+         <td><input name="description" id="description" size=25 maxlength=80 value="{$description}"></td>
         </tr>
        </table>
   </td>
@@ -30,7 +30,9 @@
 </table>
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+{include file="$phonesettings"}
 
+<p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 {include file="$netconfig"}
 
 <!-- Place cursor -->