Code

REmoved command overload
[gosa.git] / plugins / admin / systems / server.tpl
index c9446e096a7cc22d9b866be6c057123204c05b78..4c9067d4d19a3d496f5927e9be623e9c2944ab44 100644 (file)
          <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}">
+          <select size="1" name="base" id="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
            {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}">
+       {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>
 
 {$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}">
+   <select size="1" name="saction" title="{t}Select action to execute for this server{/t}">
     <option disabled>&nbsp;</option>
     {html_options options=$actions}
    </select>
@@ -56,7 +62,7 @@
   </td>
  </tr>
 </table>
-
+{/if}
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">