From: hickert Date: Wed, 4 Nov 2009 13:55:48 +0000 (+0000) Subject: Enabled filter for roles. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=76b511953a555065b3944cff56804b09cbcc8876;p=gosa.git Enabled filter for roles. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14745 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc index 98b71d8e6..d36eb0640 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc @@ -23,7 +23,7 @@ class roleManagement extends management { var $plHeadline = "Role"; - var $plDescription = "Role mangement"; + var $plDescription = "Role management"; var $plIcon = "plugins/rolemanagement/images/plugin.png"; // Tab definition @@ -40,13 +40,13 @@ class roleManagement extends management $this->storagePoints = array(get_ou("roleRDN")); -# // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ -# $filter= session::global_get(get_class($this)."_filter"); -# } else { + // Build filter + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path("role-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); -# } + } $this->setFilter($filter); // Build headpage