summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed80423)
raw | patch | inline | side by side (parent: ed80423)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Jan 2010 11:59:04 +0000 (11:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Jan 2010 11:59:04 +0000 (11:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15158 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc
index 22010af058aafb5ce91df6f870f7e7e9a0f6c152..c5d1612086d31adb2bac9bdf5ff15f67e0aa2238 100644 (file)
$ui = get_userinfo();
global $config;
+ syslog(1,$filter);
+
// Check whether the arp handling active or not
$arp_handling_active = ($config->search("ArpNewDevice","CLASS",array('tabs')) != "");
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 1ba0f53aad4f017fc33d04b3542e5c4b603ad988..4419f078e18abd233962ce178b1b658a725318fe 100644 (file)
$this->storagePoints = array_unique($sP);
// Build filter
- if (session::global_is_set(get_class($this)."_filter")){
- $filter= session::global_get(get_class($this)."_filter");
- } else {
+# if (session::global_is_set(get_class($this)."_filter")){
+# $filter= session::global_get(get_class($this)."_filter");
+# } else {
$filter = new filter(get_template_path("system-filter.xml", true));
$filter->setObjectStorage($this->storagePoints);
- }
+# }
$this->setFilter($filter);
// Build headpage
diff --git a/gosa-plugins/systems/admin/systems/system-filter.xml b/gosa-plugins/systems/admin/systems/system-filter.xml
index cb511afdbd0f1a47a6b91924323299a050586517..c3161047b9ea0171420d5a7a67b5d7e69b1a9565 100644 (file)
<scope>auto</scope>
</search>
+ <element>
+ <type>textfield</type>
+ <tag>NAME</tag>
+ <size>20</size>
+ <maxlength>60</maxlength>
+ <default></default>
+ <unset></unset>
+ <set>(cn=*$*)</set>
+ <alphabet>false</alphabet>
+ <autocomplete>
+ <backend>SYSTEMS</backend>
+ <filter>(cn=*$NAME*)</filter>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
+ </element>
+
+ <element>
+ <type>textfield</type>
+ <tag>USER</tag>
+ <size>20</size>
+ <maxlength>60</maxlength>
+ <default></default>
+ <unset></unset>
+ <set>(cn=*$*)</set>
+ <alphabet>false</alphabet>
+ <autocomplete>
+ <backend>SYSTEMS</backend>
+ <filter>(&(objectClass=organizationalRole)(cn=*$NAME*))</filter>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
+ </element>
+
<element>
<type>checkbox</type>
<tag>SERVER</tag>
<set>(&(objectClass=FAIclass)(FAIstate=__NETBOOT__))</set>
</element>
- <element>
- <type>textfield</type>
- <tag>NAME</tag>
- <size>20</size>
- <maxlength>60</maxlength>
- <default></default>
- <unset></unset>
- <set>(cn=*$*)</set>
- <alphabet>false</alphabet>
- <autocomplete>
- <backend>SYSTEMS</backend>
- <filter>(&(objectClass=organizationalRole)(cn=*$NAME*))</filter>
- <attribute>cn</attribute>
- <frequency>0.5</frequency>
- <characters>3</characters>
- </autocomplete>
- </element>
-
</filterdef>