From eb31111086b58f0f9314666d0a988327c392a5a1 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Mar 2010 12:38:28 +0000 Subject: [PATCH] Added release selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17351 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/users/class_userManagement.inc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 6261c7060..c4ca4e77b 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -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() { -- 2.30.2