Code

Made xml files readable again for posix/groupSelection dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Mar 2010 11:17:22 +0000 (11:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Mar 2010 11:17:22 +0000 (11:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16351 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/groupSelect/group-filter.xml
gosa-core/plugins/personal/posix/groupSelect/group-list.xml

index 42d6cc1163f2819726f8235921f96ebea22ca240..f44ca24580e1b251fd7dee53854dbf74247789ac 100644 (file)
@@ -1,64 +1,63 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <filterdef>
-<definition>
-<category>groups</category>
-<template>../plugins/personal/posix/groupSelect/group-filter.tpl</template>
-<initial>true</initial>
-</definition>
+  <definition>
+    <category>groups</category>
+    <template>../plugins/personal/posix/groupSelect/group-filter.tpl</template>
+    <initial>true</initial>
+  </definition>
 
-<search>
-<query>
-<backend>LDAPBlacklist</backend>
-<filter>(&amp;(objectClass=posixGroup)$NAME(|$PRIMARY$MAIL$SAMBA))</filter>
-<attribute>dn</attribute>
-<attribute>objectClass</attribute>
-<attribute>cn</attribute>
-<attribute>description</attribute>
-</query>
-<scope>auto</scope>
-</search>
+  <search>
+    <query>
+      <backend>LDAPBlacklist</backend>
+      <filter>(&amp;(objectClass=posixGroup)$NAME(|$PRIMARY$MAIL$SAMBA))</filter>
+      <attribute>dn</attribute>
+      <attribute>objectClass</attribute>
+      <attribute>cn</attribute>
+      <attribute>description</attribute>
+    </query>
+    <scope>auto</scope>
+  </search>
 
-<element>
-<type>checkbox</type>
-<tag>PRIMARY</tag>
-<default>true</default>
-<unset></unset>
-<set>(!(objectClass=gosaObject))</set>
-</element>
+  <element>
+    <type>checkbox</type>
+    <tag>PRIMARY</tag>
+    <default>true</default>
+    <unset/>
+    <set>(!(objectClass=gosaObject))</set>
+  </element>
 
-<element>
-<type>checkbox</type>
-<tag>MAIL</tag>
-<default>true</default>
-<unset></unset>
-<set>(objectClass=gosaMailAccount)</set>
-</element>
+  <element>
+    <type>checkbox</type>
+    <tag>MAIL</tag>
+    <default>true</default>
+    <unset/>
+    <set>(objectClass=gosaMailAccount)</set>
+  </element>
 
-<element>
-<type>checkbox</type>
-<tag>SAMBA</tag>
-<default>true</default>
-<unset></unset>
-<set>(objectClass=sambaGroupMapping)</set>
-</element>
+  <element>
+    <type>checkbox</type>
+    <tag>SAMBA</tag>
+    <default>true</default>
+    <unset/>
+    <set>(objectClass=sambaGroupMapping)</set>
+  </element>
 
-<element>
-<type>textfield</type>
-<tag>NAME</tag>
-<size>20</size>
-<maxlength>60</maxlength>
-<default></default>
-<unset></unset>
-<set>(|(cn=*$*)(description=*$*))</set>
-<alphabet>true</alphabet>
-<autocomplete>
-<backend>LDAPBlacklist</backend>
-<filter>(&amp;(objectClass=posixGroup)(|(cn=*$NAME*)(description=*$NAME*)))</filter>
-<attribute>cn</attribute>
-<frequency>0.5</frequency>
-<characters>3</characters>
-</autocomplete>
-</element>
+  <element>
+    <type>textfield</type>
+    <tag>NAME</tag>
+    <size>20</size>
+    <maxlength>60</maxlength>
+    <default/>
+    <unset/>
+    <set>(|(cn=*$*)(description=*$*))</set>
+    <alphabet>true</alphabet>
+    <autocomplete>
+      <backend>LDAPBlacklist</backend>
+      <filter>(&amp;(objectClass=posixGroup)(|(cn=*$NAME*)(description=*$NAME*)))</filter>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </element>
 
 </filterdef>
index 91363ff8516e7a8c94929082cc63707cc6d1aa65..fbf1be254bb9c880b8d263b94061caa072697b6e 100644 (file)
@@ -1,64 +1,54 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <list>
-<definition>
-<departmentbrowser>true</departmentbrowser>
-<departmentrootvisible>false</departmentrootvisible>
-<basemode>true</basemode>
-<multiselect>true</multiselect>
-<template>../plugins/personal/posix/groupSelect/group-list.tpl</template>
-<module>groups</module>
-<label>Please select the desired entries</label>
-<defaultsortcolumn>1</defaultsortcolumn>
-
-<objecttype>
-<label>Group</label>
-<objectclass>posixGroup</objectclass>
-<category>groups</category>
-<class>group</class>
-<image>plugins/groups/images/groups.png</image>
-</objecttype>
-
-</definition>
-
-<table>
- <layout>|20px;c|||</layout>
- <department>
- <value>%{filter:objectType(dn,objectClass)}</value>
- </department>
- <department>
- <value>%{filter:departmentLink(row,dn,description)}</value>
- <span>1</span>
- </department>
- <column>
- <value>%{filter:objectType(dn,objectClass)}</value>
- </column>
- <column>
- <label>Name</label>
- <sortattribute>cn</sortattribute>
- <sorttype>string</sorttype>
- <value>%{cn}</value>
- <export>true</export>
- </column>
- <column>
- <label>Description</label>
- <sortattribute>description</sortattribute>
- <sorttype>string</sorttype>
- <value>%{description}</value>
- <export>true</export>
- </column>
-</table>
+  <definition>
+    <departmentbrowser>true</departmentbrowser>
+    <departmentrootvisible>false</departmentrootvisible>
+    <basemode>true</basemode>
+    <multiselect>true</multiselect>
+    <template>../plugins/personal/posix/groupSelect/group-list.tpl</template>
+    <module>groups</module>
+    <label>Please select the desired entries</label>
+    <defaultsortcolumn>1</defaultsortcolumn>
+    <objecttype>
+      <label>Group</label>
+      <objectclass>posixGroup</objectclass>
+      <category>groups</category>
+      <class>group</class>
+      <image>plugins/groups/images/groups.png</image>
+    </objecttype>
+  </definition>
 
-<actionmenu>
-</actionmenu>
+  <table>
+    <layout>|20px;c|||</layout>
+    <department>
+      <value>%{filter:objectType(dn,objectClass)}</value>
+    </department>
+    <department>
+      <value>%{filter:departmentLink(row,dn,description)}</value>
+      <span>1</span>
+    </department>
+    <column>
+      <value>%{filter:objectType(dn,objectClass)}</value>
+    </column>
+    <column>
+      <label>Name</label>
+      <sortattribute>cn</sortattribute>
+      <sorttype>string</sorttype>
+      <value>%{cn}</value>
+      <export>true</export>
+    </column>
+    <column>
+      <label>Description</label>
+      <sortattribute>description</sortattribute>
+      <sorttype>string</sorttype>
+      <value>%{description}</value>
+      <export>true</export>
+    </column>
+  </table>
 
-<actiontriggers snapshot="false" copypaste="false">
-</actiontriggers>
+ <actionmenu>
+  </actionmenu>
 
+  <actiontriggers snapshot="false" copypaste="false">
+  </actiontriggers>
 </list>