Code

Fixed some errors
[gosa.git] / plugins / admin / systems / workstation.tpl
index cc1ad5810942ffa9e798dbb89e7f5de6012ddbf9..ddb7cabb81f830d9e59c4cdbc5b387f7b5fafb12 100644 (file)
@@ -1,23 +1,32 @@
-<h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-<table style="width:100%;">
+<h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+<table summary="" style="width:100%;">
  <tr>
   <td style="width:50%; vertical-align:top;">
 
-   <table>
+   <table summary="">
     <tr>
      {if $cn eq 'wdefault'}
      <td colspan=2>{t}Workstation template{/t}</td>
      {else}
-     <td>{t}Workstation name{/t}{$must}</td>
+     <td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
      <td>
-      <input name="cn" size=18 maxlength=60 value="{$cn}">
+      <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
      </td>
      {/if}
     </tr>
     <tr>
-     <td>{t}Base{/t}{$must}</td>
+     <td><LABEL for="cn">{t}Location{/t}</LABEL></td>
      <td>
-      <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+      <input name="l" id="l" size=18 maxlength=60 value="{$l}">
+     </td>
+    </tr>
+    <tr>
+     <td colspan=2>&nbsp;</td>
+    </tr>
+    <tr>
+     <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
+     <td>
+      <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>
@@ -31,7 +40,7 @@
 
   <td style="vertical-align:top;">
 
-   <table>
+   <table summary="">
     <tr>
      <td>{t}Mode{/t}</td>
      <td>
       </select>
      </td>
     </tr>
-   </table>
-
-  </td>
- </tr>
- <tr>
-  <td style="width:50%;">
-   <table>
     <tr><td colspan=2><div style="height:15px;"></div></td></tr>
     <tr>
-     <td>{t}Root server{/t}</td>
+     <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
      <td>
-      <select name="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
-       {html_options values=$nfsservers output=$nfsservers selected=$gotoTerminalPath_select}
-      </select>
-     </td>
-    </tr>
-    <tr>
-     <td>{t}Swap server{/t}</td>
-     <td>
-      <select name="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
-       {html_options values=$nfsservers output=$nfsservers selected=$gotoSwapServer_select}
-      </select>
-     </td>
-    </tr>
-   </table>
-  </td>
-  <td style="vertical-align:top;">
-
-   <table>
-    <tr><td colspan=2><div style="height:15px;"></div></td></tr>
-    <tr>
-     <td>{t}Syslog server{/t}</td>
-     <td>
-      <select name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
+      <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
        {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
       </select>
      </td>
     </tr>
     <tr>
-     <td>{t}NTP server{/t}</td>
+     <td><LABEL for="gotoNtpServer">{t}NTP server{/t}</LABEL></td>
      <td>
-      <select name="gotoNtpServer" title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL}>
+      <select id="gotoNtpServer" name="gotoNtpServer" title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL}>
        {html_options values=$ntpservers output=$ntpservers selected=$gotoNtpServer_select}
       </select>
      </td>
     </tr>
    </table>
-
   </td>
  </tr>
 </table>
 {include file="$netconfig"}
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
-<h2><img alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
-<table>
+<h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
+<table summary="">
  <tr>
   <td>
    <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
-    <option></option>
+    <option>&nbsp;</option>
     {html_options options=$actions}
    </select>
   </td>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.gotoTerminalName.focus();
+  document.mainform.cn.focus();
   -->
 </script>