Code

Updated group/user selection dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 09:35:02 +0000 (09:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 09:35:02 +0000 (09:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15353 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/userGroupSelect/class_userGroupSelect.inc
gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml
gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.xml

index b5761b3b66133fba4b6362cb2940734523c2111c..7fe7a1bdb4900b2ad4da4951b9d5e512be76ce6e 100644 (file)
@@ -36,13 +36,13 @@ class userGroupSelect extends management
     if (session::global_is_set(get_class($this)."_filter")){
       $filter= session::global_get(get_class($this)."_filter");
     } else {
-      $filter = new filter(get_template_path("selectUserGroup-filter.xml", true));
+      $filter = new filter(get_template_path("selectUserGroup-filter.xml", true, dirname(__FILE__)));
       $filter->setObjectStorage($this->storagePoints);
     }
     $this->setFilter($filter);
 
     // Build headpage
-    $headpage = new listing(get_template_path("selectUserGroup-list.xml", true));
+    $headpage = new listing(get_template_path("selectUserGroup-list.xml", true, dirname(__FILE__)));
     $headpage->setFilter($filter);
     parent::__construct($config, $ui, "object", $headpage);
   }
index 83ce3e5833c3a2ec580f6ac3c59ddb2b3e016488..659bead166ebd1c6bdcf11ac4c284ec3ec73abb7 100644 (file)
@@ -3,7 +3,7 @@
 <filterdef>
   <definition>
     <category>users</category>
-    <template>selectUserGroup-filter.tpl</template>
+    <template>../plugins/admin/groups/userSelect/selectUserGroup-filter.tpl</template>
     <initial>true</initial>
   </definition>
 
index 9d93f813a4e5e0b620609d1ca37143fb758f524a..24cc211feba5f1e6782b8a95c7238e17ced69025 100644 (file)
@@ -6,7 +6,7 @@
     <departmentRootVisible>false</departmentRootVisible>
     <baseMode>true</baseMode>
     <multiSelect>true</multiSelect>
-    <template>selectUserGroup-list.tpl</template>
+    <template>../plugins/admin/groups/userSelect/selectUserGroup-list.tpl</template>
     <module>users</module>
     <label>List of users and groups</label>
     <defaultSortColumn>1</defaultSortColumn>