summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db38d7e)
raw | patch | inline | side by side (parent: db38d7e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Dec 2007 10:13:53 +0000 (10:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 21 Dec 2007 10:13:53 +0000 (10:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8164 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/samba/class_sambaAccount.inc | patch | blob | history | |
gosa-core/plugins/personal/samba/samba3.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/personal/samba/class_sambaAccount.inc b/gosa-core/plugins/personal/samba/class_sambaAccount.inc
index 3fb309566cd97248d047a5e980a59bdb6fb529f3..ac2bcb711cd41e0eda43d8416a1b1e482e6faa55 100644 (file)
if($this->acl_is_writeable("AllowLoginOnTerminalServer",$SkipWrite)){
$smarty->assign("inheritstate", $this->mungedObject->getInheritMode()?"disabled":"");
}
-
-
-
}else{
$smarty->assign("tsloginstate", "");
$smarty->assign("inheritstate", "");
}
}
+ if($this->multiple_support_active){
+ $smarty->assign("tsloginstate","");
+ }
+
/* Show main page */
$smarty->assign("multiple_support",$this->multiple_support_active);
if ($this->samba3){
diff --git a/gosa-core/plugins/personal/samba/samba3.tpl b/gosa-core/plugins/personal/samba/samba3.tpl
index ab0bfb0259e65a84ecf35811b0024faf7bdf7475..bb8225d7300c8b8e2be349c9181fd5c616b5e1f7 100644 (file)
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
<tr>
<td style="vertical-align:top;width:50%">
-{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_tslogin}
+
+{if $multiple_support}
+ <input class="center" type=checkbox name="use_tslogin" id="use_tslogin" value="1"
+ {if $use_tslogin} checked {/if}
+ onClick="changeState('tslogin')">
+ <input class="center" type=checkbox name="tslogin" id="tslogin" value="1" {$tslogin}
+ {if !$use_tslogin} disabled {/if}>
+{else}
+{render acl=$AllowLoginOnTerminalServerACL}
<input class="center" type=checkbox name="tslogin" id="tslogin" value="1" {$tslogin}
onclick="
changeState('CtxWFHomeDir');
changeState('reconn');
">
{/render}
+{/if}
<i>{t}Allow login on terminal server{/t}</i>
<table summary="">
<tr>