Code

Added release selector
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 12:38:28 +0000 (12:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Mar 2010 12:38:28 +0000 (12:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17351 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/class_userManagement.inc

index 6261c7060ab6b0ce5217c1d13ee2e4590d8da465..c4ca4e77bf5001b6a47bf22452925c4d623f4b39 100644 (file)
@@ -42,6 +42,8 @@ class userManagement extends management
   protected $aclPlugin   = "user";
   protected $objectName   = "user";
 
+  protected $releaseSelector = NULL;
+
   function __construct($config,$ui)
   {
     $this->config = $config;
@@ -102,9 +104,25 @@ class userManagement extends management
     $this->registerAction("edit_environment","editEntry");
     $this->registerAction("edit_gofaxAccount","editEntry");
     $this->registerAction("edit_phoneAccount","editEntry");
+      
+    $rel = array("a" => "/");
+    $rel['b,a'] = "test";
+    $rel['c,a'] = "test/f";
+    $this->releaseSelector = new releaseSelector($rel, "a");
+  }
+
+
+  function renderList()
+  {
+    $smarty = get_smarty();
+    $smarty->assign("RELEASE", $this->releaseSelector->render());
+    return(management::renderList());
   }
 
 
+
   // Inject user actions 
   function detectPostActions()
   {