Code

Updated samba tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Apr 2010 06:37:34 +0000 (06:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Apr 2010 06:37:34 +0000 (06:37 +0000)
-Some W3C problems were still there

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17981 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 0c833b057999d332ca45f07c0ddfe09f2fd11ce5..9fd484f5b2439bae052dada3c01dd2fbd9aaf264 100644 (file)
      </td>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
-      <input name="CtxMaxConnectionTime" type="text" id="CtxMaxConnectionTime" size=5 maxlength=5 value="{$CtxMaxConnectionTime}" {$tsloginstate}
-                       {if !$CtxMaxConnectionTimeF} disabled  {/if}>
+      <input name="CtxMaxConnectionTime" type="text" id="CtxMaxConnectionTime" size=5 maxlength=5 value="{$CtxMaxConnectionTime}" 
+                       {if !$CtxMaxConnectionTimeF ||  $tsloginstate == "disabled"} disabled  {/if}>
 {/render}
      </td>
     </tr>
      </td>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
-      <input name="CtxMaxDisconnectionTime" id="CtxMaxDisconnectionTime" type="text" size=5 maxlength=5 value="{$CtxMaxDisconnectionTime}" {$tsloginstate}
-                       {if !$CtxMaxDisconnectionTimeF} disabled  {/if}>
+      <input name="CtxMaxDisconnectionTime" id="CtxMaxDisconnectionTime" type="text" size=5 maxlength=5 value="{$CtxMaxDisconnectionTime}" 
+                       {if $tsloginstate == "disabled" || !$CtxMaxDisconnectionTimeF} disabled  {/if}>
 {/render}
      </td>
     </tr>
      </td>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
-      <input name="CtxMaxIdleTime" id="CtxMaxIdleTime" size=5 maxlength=5 type="text" value="{$CtxMaxIdleTime}" {$tsloginstate}
-                       {if !$CtxMaxIdleTimeF} disabled  {/if}>
+      <input name="CtxMaxIdleTime" id="CtxMaxIdleTime" size=5 maxlength=5 type="text" value="{$CtxMaxIdleTime}" 
+                       {if !$CtxMaxIdleTimeF || $tsloginstate == "disabled"} disabled  {/if}>
 {/render}
      </td>
     </tr>