From: hickert Date: Fri, 26 Aug 2005 08:52:02 +0000 (+0000) Subject: Fixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35cb0aa534eeeb9bf7c9a5237753aed2e8e8fd80;p=gosa.git Fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1224 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 74ae70170..725fbdf93 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -485,9 +485,18 @@ class environment extends plugin if($this->acl != "#none#"){ $smarty->assign("useProfileACL",""); }else{ - $smarty->assign("gotoProfileFlagsACL"," disabled "); + $smarty->assign("gotoProfileFlag_CACL"," disabled "); + $smarty->assign("gotoProfileServerACL"," disabled "); + } + + if(!$this->useProfile){ + $smarty->assign("gotoProfileFlag_CACL"," disabled "); $smarty->assign("gotoProfileServerACL"," disabled "); } + + + + /* Als smarty vars are set. Get smarty template and generate output */ $display.= $smarty->fetch(get_template_path('environment.tpl', TRUE,dirname(__FILE__))); @@ -711,8 +720,6 @@ class environment extends plugin } } - plugin::save(); - if(isset($this->attrs['gotoPrinter'])){ unset($this->attrs['gotoPrinter']); } @@ -773,7 +780,6 @@ class environment extends plugin } } - $ldap->cat ($this->dn); if ($ldap->fetch()){ $mode= "modify"; diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index ce678dc12..467120c77 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -38,7 +38,7 @@ {t}Use local caching{/t} - +