Code

Updated printGeneric.
[gosa.git] / plugins / admin / systems / phone.tpl
index 50597b121f60f9f4dda61a89822aeb8fcfd524ff..98188e5fee32f51bc10e08e96c17869003e861e6 100644 (file)
@@ -1,28 +1,34 @@
-<table width=100%>
+<table summary="" width="100%">
  <tr>
-  <td style="vertical-align:top; width:50%;">
-       <table>
+  <td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
+       <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}" {$baseACL}>
            {html_options options=$bases selected=$base_select}
           </select>
+               {if $baseACL == ""}
+            <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+        {else}
+            <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+        {/if}
+               </td>
          </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>
 </table>
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+{include file="$phonesettings"}
 
-{include file="$netconfig"}
+<p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+{$netconfig}
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.cn.focus();
+       focus_field('cn');
   -->
 </script>