From 77cac952df13c0ac3cfebc93564ba83533bc1edd Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 16 Mar 2010 13:24:04 +0000 Subject: [PATCH] Updated hotplug selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16633 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../hotplugSelect/class_hotplugSelect.inc | 10 ++-- .../hotplugSelect/selectHotplug-filter.tpl | 35 ------------- .../hotplugSelect/selectHotplug-filter.xml | 33 ++++-------- .../hotplugSelect/selectHotplug-list.tpl | 52 +++++++++---------- 4 files changed, 42 insertions(+), 88 deletions(-) delete mode 100644 gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.tpl diff --git a/gosa-plugins/goto/personal/environment/hotplugSelect/class_hotplugSelect.inc b/gosa-plugins/goto/personal/environment/hotplugSelect/class_hotplugSelect.inc index 1d3c3b515..ed2b8f004 100644 --- a/gosa-plugins/goto/personal/environment/hotplugSelect/class_hotplugSelect.inc +++ b/gosa-plugins/goto/personal/environment/hotplugSelect/class_hotplugSelect.inc @@ -33,13 +33,13 @@ class hotplugSelect extends management $this->storagePoints = array(get_ou("deviceRDN")); - // Build filter - if (session::global_is_set(get_class($this)."_filter")){ - $filter= session::global_get(get_class($this)."_filter"); - } else { +# // Build filter + # if (session::global_is_set(get_class($this)."_filter")){ + # $filter= session::global_get(get_class($this)."_filter"); + # } else { $filter = new filter(get_template_path("selectHotplug-filter.xml", true, dirname(__FILE__))); $filter->setObjectStorage($this->storagePoints); - } + #} $this->setFilter($filter); // Build headpage diff --git a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.tpl b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.tpl deleted file mode 100644 index e842b2b83..000000000 --- a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.tpl +++ /dev/null @@ -1,35 +0,0 @@ -
-

- {image path="images/launch.png" align="right"}{t}Filter{/t} - -

-
- -
- -
- - {$SCOPE} - - - - - - -
- - - {$NAME} -
- - - - - -
- {$APPLY} -
-
diff --git a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml index 500aa91d1..b4847f536 100644 --- a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml +++ b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml @@ -3,39 +3,28 @@ devices - true + auto + default + dn + objectClass + cn + description + gotoHotplugDevice + default + LDAPBlacklist - (&(objectClass=gotoDevice)$NAME) - dn - objectClass - cn - description - gotoHotplugDevice + (&(objectClass=gotoDevice)(cn=$)) - auto - - - - textfield - NAME - 20 - 60 - - - (|(cn=*$*)(description=*$*)) - true - LDAPBlacklist - (&(objectClass=gotoDevice)(|(cn=*$NAME*)(description=*$NAME*))) cn 0.5 3 - + diff --git a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-list.tpl b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-list.tpl index 583675634..69f487de0 100644 --- a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-list.tpl +++ b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-list.tpl @@ -1,30 +1,30 @@ - - - - - -
-
-

 {$HEADLINE} {$SIZELIMIT}

-
- -
-
- - -
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE} {$SEPARATOR} {image path="images/rocket.png"} - {$ACTIONS}
-
-
- -
-
- {$LIST} -
- {$FILTER} -
+ -
+
+ +
+

{$HEADLINE} {$SIZELIMIT}

+
+ + + + + + + + + + +
{$ROOT}{$BACK}{$HOME}{$RELOAD}{t}Base{/t} {$BASE}{$ACTIONS}{$FILTER}
+
+
+ + {$LIST} +
+ +
+ +
-- 2.30.2