From: hickert Date: Mon, 22 May 2006 08:01:27 +0000 (+0000) Subject: Added base select ACL X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0550597dff0a710a253f24f11cefa6341ddfefa;p=gosa.git Added base select ACL git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3485 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 2b99b312f..df8c51e78 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -137,6 +137,7 @@ class department extends plugin $smarty->assign("$val", $this->$val); $smarty->assign("$val"."ACL", chkacl($this->acl, "$val")); } + $smarty->assign("baseACL", chkacl($this->acl,"base")); $smarty->assign("base_select", $this->base); /* Set admin unit flag */ diff --git a/plugins/admin/departments/generic.tpl b/plugins/admin/departments/generic.tpl index 4bb2a07ac..44677a567 100644 --- a/plugins/admin/departments/generic.tpl +++ b/plugins/admin/departments/generic.tpl @@ -30,7 +30,11 @@ - + {if $baseACL == ""} + + {else} + + {/if}