Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / server.tpl
index 5370ddc111e806b2903284c0648c2c1fe840b74a..4e2d9b6a4c0147b6e7e86d460fd9df79fd647ad2 100644 (file)
@@ -4,31 +4,47 @@
        <table summary="">
         <tr>
          <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
-         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
+         <td>
+{render acl=$cnACL}
+          <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+{/render}
+         </td>
         </tr>
         <tr>
          <td><LABEL for="description">{t}Description{/t}</LABEL></td>
-         <td><input name="description" id="description" size=25 maxlength=80 value="{$description}"></td>
+         <td>
+{render acl=$descriptionACL}
+           <input name="description" id="description" size=25 maxlength=80 value="{$description}">
+{/render}
+          </td>
         </tr>
         <tr>
          <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
          <td>
           <br>
-          <select size="1" name="base" id="base" title="{t}Choose subtree to place terminal in{/t}">
-           {html_options options=$bases selected=$base_select}
-          </select>
-               <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+{render acl=$baseACL}
+      <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
+       {html_options options=$bases selected=$base_select}
+      </select>
+{/render}
+
+{render acl=$baseACL disable_picture='images/folder_gray.png'}
+        <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+{/render}
+          </td>
          </tr>
        </table>
   </td>
-  <td style="vertical-align:top">
+  <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
        <table summary="">
        <tr>
      <td>{t}Mode{/t}</td>
      <td>
-      <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
+{render acl=$gotoModeACL}
+      <select name="gotoMode" title="{t}Select terminal mode{/t}">
        {html_options options=$modes selected=$gotoMode}
       </select>
+{/render}
      </td>
     </tr>
        </table>
 
 {$netconfig}
 
+{if $fai_activated}
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 
 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
 <table summary="">
  <tr>
   <td>
-   <select size="1" name="action" title="{t}Select action to execute for this server{/t}">
+{render acl=$FAIstateACL}
+   <select size="1" name="saction" title="{t}Select action to execute for this server{/t}">
     <option disabled>&nbsp;</option>
     {html_options options=$actions}
    </select>
+{/render}
   </td>
   <td>
    <input type=submit name="action" value="{t}Execute{/t}">
   </td>
  </tr>
 </table>
-
+{/if}
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.cn.focus();
+       focus_field('cn');
   -->
 </script>