Code

Fixed samba3 template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Dec 2007 14:32:49 +0000 (14:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Dec 2007 14:32:49 +0000 (14:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8166 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/samba/samba3.tpl

index bb8225d7300c8b8e2be349c9181fd5c616b5e1f7..45718c092d5bf2965fa5f7ecc744cfaee6f91fec 100644 (file)
    <table summary="">
     <tr>
      <td>
+{if $multiple_support}
 <input type="checkbox" name="use_CtxMaxConnectionTimeF" {if $use_CtxMaxConnectionTimeF} checked {/if}
        onClick="changeState('CtxMaxConnectionTimeF');" class="center"
        >
+{/if}
 {render acl=$AllowLoginOnTerminalServerACL}
       <input           id="CtxMaxConnectionTimeF"      type="checkbox" class="center" name="CtxMaxConnectionTimeF" 
-                       {if !$use_CtxMaxConnectionTimeF} disabled {/if}
+                       {if !$use_CtxMaxConnectionTimeF && $multiple_support} disabled {/if}
                        value="1"                       {$CtxMaxConnectionTimeF}        
                        onclick="changeState('CtxMaxConnectionTime')" {$tsloginstate}>
 {/render}
     <tr>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL  checkbox=$multiple_support checked=$use_defaultprinter}
-      <input id="defaultprinter" type=checkbox name="defaultprinter" value="1" {$defaultprinter} class="center">
+      <input id="defaultprinter" type=checkbox name="defaultprinter" value="1" {$defaultprinter} {$tsloginstate} class="center">
 {/render}
       <label for="defaultprinter">{t}Default to main client printer{/t}</label>
      </td>