From: hickert Date: Fri, 21 Dec 2007 10:13:53 +0000 (+0000) Subject: Updated samba grey out handling when editing multiple entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0025574aac50456e0d3762b1bfc4067339cf22e2;p=gosa.git Updated samba grey out handling when editing multiple entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8164 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/samba/class_sambaAccount.inc b/gosa-core/plugins/personal/samba/class_sambaAccount.inc index 3fb309566..ac2bcb711 100644 --- a/gosa-core/plugins/personal/samba/class_sambaAccount.inc +++ b/gosa-core/plugins/personal/samba/class_sambaAccount.inc @@ -560,9 +560,6 @@ class sambaAccount extends plugin if($this->acl_is_writeable("AllowLoginOnTerminalServer",$SkipWrite)){ $smarty->assign("inheritstate", $this->mungedObject->getInheritMode()?"disabled":""); } - - - }else{ $smarty->assign("tsloginstate", ""); $smarty->assign("inheritstate", ""); @@ -685,6 +682,10 @@ class sambaAccount extends plugin } } + 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 ab0bfb025..bb8225d73 100644 --- a/gosa-core/plugins/personal/samba/samba3.tpl +++ b/gosa-core/plugins/personal/samba/samba3.tpl @@ -68,7 +68,15 @@
-{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_tslogin} + +{if $multiple_support} + + +{else} +{render acl=$AllowLoginOnTerminalServerACL} {/render} +{/if} {t}Allow login on terminal server{/t}