From: hickert Date: Thu, 12 Jan 2006 09:45:52 +0000 (+0000) Subject: Updated grayout settings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1954f95595efb0791d232b9adee9c35a130a275d;p=gosa.git Updated grayout settings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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}