Code

fixed problem with klicking apply more than once
[gosa.git] / plugins / admin / systems / server.tpl
index 4d632c1ff26aabc2055a03f9e0995c0d341f164d..f33a589dae5c15815ec6fca3ff177fe8c1aa68ec 100644 (file)
@@ -7,23 +7,35 @@
          <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
         </tr>
         <tr>
-          <td colspan=2>&nbsp;</td>
+         <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+         <td><input name="description" id="description" size=25 maxlength=80 value="{$description}"></td>
         </tr>
         <tr>
-         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
+         <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
          <td>
-          <select size="1" name="base" id="base" title="{t}Choose subtree to place terminal in{/t}">
+          <br>
+          <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>
+       {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">
+  <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
        <table summary="">
-        <tr>
-         <td><LABEL for="description">{t}Description{/t}</LABEL></td>
-         <td><input name="description" id="description" size=25 maxlength=80 value="{$description}"></td>
-        </tr>
+       <tr>
+     <td>{t}Mode{/t}</td>
+     <td>
+      <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
+       {html_options options=$modes selected=$gotoMode}
+      </select>
+     </td>
+    </tr>
        </table>
   </td>
  </tr>
@@ -31,7 +43,7 @@
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 
-{include file="$netconfig"}
+{$netconfig}
 
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 
@@ -39,7 +51,7 @@
 <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>