Code

Added list xml in a separate file
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Aug 2009 09:39:49 +0000 (09:39 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Aug 2009 09:39:49 +0000 (09:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14032 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/user-filter.xml
gosa-core/plugins/admin/users/user-list.xml [new file with mode: 0644]

index d39e8be23044a51e93b4855e481d353551db010e..c456cf25bfdb2f583e10c5c2ad62333d76984b69 100644 (file)
@@ -2,7 +2,7 @@
 
 <filter>
   <definition>
-    <target>users</target>
+    <category>users</category>
     <template>user-filter.tpl</template>
     <initial>true</initial>
   </definition>
@@ -28,7 +28,7 @@
       <attribute>uid</attribute>
       <attribute>modifyTimestamp</attribute>
     </query>
-    <base>false</base>
+    <base>true</base>
     <scope>auto</scope>
   </search>
 
    </element>
 
 </filter>
-
-<list>
-  <definition>
-    <departmentBrowser>true</departmentBrowser>
-    <baseSelector>true</baseSelector>
-    <departmentRootVisible>false</departmentRootVisible>
-    <multiSelect>true</multiSelect>
-  </definition>
-
-  <table>
-    <!--<oddColor></oddColor>
-    <evenColor></evenColor>-->
-    <layout>|20px|20px|95%|5%;r|</layout>
-
-    <column>
-      <value>%{filter:objectType(objectClass)}</value>
-    </column>
-
-    <column>
-      <header>Name / Department</header>
-      <header xml:lang="de">Name / Organisationseinheit</header>
-      <sortable>true</sortable>
-      <value>%sn, %givenName [%uid]</value>
-    </column>
-
-    <column>
-      <header>Properties</header>
-      <header xml:lang="de">Eigenschaften</header>
-      <sortable>false</sortable>
-      <value>%{filter:accountProperties(objectClass)}</value>
-    </column>
-
-    <column>
-      <header>Actions</header>
-      <header xml:lang="de">Aktionen</header>
-      <sortable>false</sortable>
-      <value>%{filter:actions}</value>
-    </column>
-
-  </table>
-
-</list>
diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
new file mode 100644 (file)
index 0000000..d7d58e9
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<list>
+  <definition>
+    <departmentBrowser>true</departmentBrowser>
+    <baseSelector>true</baseSelector>
+    <departmentRootVisible>false</departmentRootVisible>
+    <multiSelect>true</multiSelect>
+    <template>user-list.tpl</template>
+  </definition>
+
+  <table>
+    <!--<oddColor></oddColor>
+    <evenColor></evenColor>-->
+    <layout>|20px|20px|95%|5%;r|</layout>
+
+    <column>
+      <value>%{filter:objectType(objectClass)}</value>
+    </column>
+
+    <column>
+      <header>Name / Department</header>
+      <header xml:lang="de">Name / Organisationseinheit</header>
+      <sortable>true</sortable>
+      <value>%sn, %givenName [%uid]</value>
+    </column>
+
+    <column>
+      <header>Properties</header>
+      <header xml:lang="de">Eigenschaften</header>
+      <sortable>false</sortable>
+      <value>%{filter:accountProperties(objectClass)}</value>
+    </column>
+
+    <column>
+      <header>Actions</header>
+      <header xml:lang="de">Aktionen</header>
+      <sortable>false</sortable>
+      <value>%{filter:actions}</value>
+    </column>
+
+  </table>
+
+</list>