Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / workstation.tpl
index df95ee5b954999ba34c5fdc8e589e2bc05707e68..ba8489947ed877f0854782d536e2a750019ffdf0 100644 (file)
      </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="">
@@ -65,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}
@@ -74,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>
 {$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}