Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / workstation.tpl
index 317d7e219868e3c17dfc410941cf2a3b1020f364..ba8489947ed877f0854782d536e2a750019ffdf0 100644 (file)
     </tr>
     <tr>
      <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
-     <td> base               . base               .  
-      base               . base               . base               . base               .
+     <td>
+{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>
+{if $member_of_ogroup}
+   <br>
+   <br>
+   <br>
+   <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
+{/if}
   </td>
   <td  style="vertical-align:top;border-left:1px solid #A0A0A0;">
    <table summary="">
@@ -58,6 +71,7 @@
    <table width="100%">
     <tr>
      <td colspan="2">
+{if $member_of_ogroup}
 {render acl=$gotoNtpServerACL}
         <input type="checkbox" value="1" name="inheritTimeServer"
             {if $inheritTimeServer } checked {/if}
@@ -67,6 +81,9 @@
                     changeState('addNtpServer');
                     changeState('delNtpServer');">{t}Inherit time server attributes{/t}
 {/render}
+{else}
+       <input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
+{/if}
      </td>
     </tr>
     <tr>
   </td>
  </tr>
 </table>
+{if $cn neq 'wdefault'}
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
 
 {$netconfig}
-
+{/if}
 <p class="plugbottom" style="margin-bottom:0px; padding:0px;">&nbsp;</p>
+
+{if $fai_activated}
 <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
 <table summary="">
  <tr>
   </td>
  </tr>
 </table>
+{/if}
 <input type="hidden" name="workgeneric_posted" value="1">
  {if $cn eq 'wdefault'}
 <!-- Place cursor -->
                <script language="JavaScript" type="text/javascript">
                  <!-- // First input field on page
-                 document.mainform.l.focus();
+                       focus_field('l');
                  -->
                </script>
      {else}
                <script language="JavaScript" type="text/javascript">
                  <!-- // First input field on page
-                 document.mainform.cn.focus();
+                       focus_field('cn');
                  -->
                </script>
      {/if}