From 1954f95595efb0791d232b9adee9c35a130a275d Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 12 Jan 2006 09:45:52 +0000 Subject: [PATCH] Updated grayout settings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 4 ++++ plugins/personal/environment/environment.tpl | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index cf3ddcbd0..39457399a 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -344,10 +344,12 @@ class environment extends plugin if($this->acl != "#none#"){ $smarty->assign("useProfileACL",""); $smarty->assign("gotoProfileFlag_CACL"," "); + $smarty->assign("gotoProfileQuotaACL"," "); }else{ $smarty->assign("gotoProfileFlag_CACL"," disabled "); $smarty->assign("useProfileACL","disabled"); $smarty->assign("gotoProfileServer"," disabled "); + $smarty->assign("gotoProfileQuotaACL"," disabled "); } /* HANDLE Profile Settings here @@ -637,11 +639,13 @@ class environment extends plugin }else{ $smarty->assign("gotoProfileFlag_CACL"," disabled "); $smarty->assign("gotoProfileServerACL"," disabled "); + $smarty->assign("gotoProfileQuotaACL"," disabled "); } if(!$this->useProfile){ $smarty->assign("gotoProfileFlag_CACL"," disabled "); $smarty->assign("gotoProfileServerACL"," disabled "); + $smarty->assign("gotoProfileQuotaACL"," disabled "); } /* Als smarty vars are set. Get smarty template and generate output */ diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl index 824e8ec9a..5e9777ffb 100644 --- a/plugins/personal/environment/environment.tpl +++ b/plugins/personal/environment/environment.tpl @@ -12,7 +12,7 @@ + onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');changeState('gotoProfileQuota');"> @@ -42,8 +42,7 @@
- {t}MB{/t} + {t}MB{/t}

-- 2.30.2