From b0550597dff0a710a253f24f11cefa6341ddfefa Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 22 May 2006 08:01:27 +0000 Subject: [PATCH] Added base select ACL git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3485 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentGeneric.inc | 1 + plugins/admin/departments/generic.tpl | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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} -- 2.30.2