summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b82092)
raw | patch | inline | side by side (parent: 6b82092)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Oct 2009 17:20:46 +0000 (17:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Oct 2009 17:20:46 +0000 (17:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14689 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/departments/dep-filter.tpl | patch | blob | history | |
gosa-core/plugins/admin/departments/dep-filter.xml | patch | blob | history |
diff --git a/gosa-core/plugins/admin/departments/dep-filter.tpl b/gosa-core/plugins/admin/departments/dep-filter.tpl
index e3564853e9b11b8688d7c578605ad73be67ffa52..aecf9d4beebe3f52a2f5bc0f4e87abd7534113b8 100644 (file)
<div style="border-top:1px solid #AAAAAA"></div>
- <div style="border-top:1px solid #AAAAAA"></div>
{$SCOPE}
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
<label for="NAME">
- <img src="images/lists/search.png" align=middle> Name
+ <img src="images/lists/search.png" align=middle> {$NAME}
</label>
</td>
</tr>
diff --git a/gosa-core/plugins/admin/departments/dep-filter.xml b/gosa-core/plugins/admin/departments/dep-filter.xml
index 398218dc71861258ee6b3a7633608e2839069571..3234679603b563ab33c7c3fd549be3e6233778fb 100644 (file)
<search>
<query>
<backend>LDAP</backend>
- <filter>(objectClass=gosaDepartment)</filter>
+ <filter>(&(objectClass=gosaDepartment)$NAME)</filter>
<attribute>dn</attribute>
<attribute>objectClass</attribute>
<attribute>ou</attribute>
<scope>auto</scope>
</search>
+ <element>
+ <type>textfield</type>
+ <tag>NAME</tag>
+ <size>20</size>
+ <maxlength>60</maxlength>
+ <default></default>
+ <unset></unset>
+ <set>(|(ou=*$*)(dc=*$*)(c=*$*)(l=*$*))</set>
+ <alphabet>true</alphabet>
+ <autocomplete>
+ <backend>LDAP</backend>
+ <filter>(&(objectClass=gosaDepartment)(|(ou=*$NAME*)(dc=*$NAME*)(l=*$NAME*)(c=*$NAME*)))</filter>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
+ </element>
+
</filterdef>