From: hickert Date: Mon, 19 Apr 2010 06:54:19 +0000 (+0000) Subject: Updated single user selection dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=499c1b1d1297b1906eeddb03abc0f3d132cf742c;p=gosa.git Updated single user selection dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17682 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc b/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc index 9cb596a73..5cd22d8e0 100644 --- a/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc +++ b/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc @@ -49,6 +49,14 @@ class singleUserSelect extends management $headpage->setFilter($filter); parent::__construct($config, $ui, "users", $headpage); } + + // Inject user actions + function detectPostActions() + { + $action = management::detectPostActions(); + if(isset($_POST['add_users_save'])) $action['action'] = "edit"; + return($action);; + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl index fdd7c6882..0bbb0ca68 100644 --- a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl +++ b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.tpl @@ -23,6 +23,7 @@
+
diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.xml b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.xml index e3bd1ff4e..89e99f01c 100644 --- a/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.xml +++ b/gosa-core/plugins/admin/groups/singleUserSelect/singleUser-list.xml @@ -5,7 +5,7 @@ true false true - false + true 1 @@ -21,7 +21,7 @@ - |20px;c||||80px;r| + |20px;c|||| %{filter:objectType(dn,objectClass)} @@ -60,24 +60,12 @@ true - - - %{filter:actions(dn,row,objectClass)} - - -
- - selectUser - entry - images/lists/edit.png - -