Code

Enabled filter for roles.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Nov 2009 13:55:48 +0000 (13:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Nov 2009 13:55:48 +0000 (13:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14745 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc

index 98b71d8e656711272dce60b7ebe2af5525cce273..d36eb064009748a77d370b40bf65f1d4c707445a 100644 (file)
@@ -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