Code

Updated post handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 10:15:57 +0000 (10:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 10:15:57 +0000 (10:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19214 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/userSelect/class_userSelect.inc

index b52436495486205e62a14e664a9050a91e9e569b..7e8fd2fbf3471112f04df4702ff07be26803ede2 100644 (file)
 class userSelect extends management
 {
 
-  public $plHeadline = "User selection";
-  protected $skipFooter = TRUE;
-  protected $skipHeader = TRUE;
+    public $plHeadline = "User selection";
+    protected $skipFooter = TRUE;
+    protected $skipHeader = TRUE;
 
-  function __construct($config,$ui)
-  {
-    $this->config = $config;
-    $this->ui = $ui;
-   
-    $this->storagePoints = array(get_ou("core", "userRDN"));
+    function __construct($config,$ui)
+    {
+        $this->config = $config;
+        $this->ui = $ui;
 
-    // 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("user-filter.xml", true, dirname(__FILE__)));
-      $filter->setObjectStorage($this->storagePoints);
-    }
-    $this->setFilter($filter);
+        $this->storagePoints = array(get_ou("core", "userRDN"));
+
+        // 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("user-filter.xml", true, dirname(__FILE__)));
+            $filter->setObjectStorage($this->storagePoints);
+        }
+        $this->setFilter($filter);
 
-    // Build headpage
-    $headpage = new listing(get_template_path("user-list.xml", true, dirname(__FILE__)));
-    $headpage->setFilter($filter);
-    parent::__construct($config, $ui, "users", $headpage);
-  }
+        // Build headpage
+        $headpage = new listing(get_template_path("user-list.xml", true, dirname(__FILE__)));
+        $headpage->setFilter($filter);
+        parent::__construct($config, $ui, "users", $headpage);
+    }
 } 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>