summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 413262c)
raw | patch | inline | side by side (parent: 413262c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Jan 2010 13:21:29 +0000 (13:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Jan 2010 13:21:29 +0000 (13:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15373 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/personal/environment/class_environment.inc | patch | blob | history | |
gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml | patch | blob | history |
diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index 49a15dbc5b74541f5cdaeac4ea1bd660df668889..5dbd0adf5d56e1712a72c9f8d329c1d5501a415d 100644 (file)
$res = $this->dialog->save();
foreach($res as $hotplug){
$name = $hotplug['cn'][0];
+ $entry['dn'] = $hotplug['dn'];
+
+ /* Set class values */
+ $tmp = preg_split("/\|/",$hotplug['gotoHotplugDevice'][0]);
+ $entry['name'] = $hotplug['cn'][0];
+ $entry['description'] = $tmp[0];
+ $entry['id'] = $tmp[1];
+ $entry['produkt'] = $tmp[2];
+ $entry['vendor'] = $tmp[3];
if($this->multiple_support_active){
- $hotplug['UsedByAllUsers'] = TRUE;
+ $entry['UsedByAllUsers'] = TRUE;
}
- $this->gotoHotplugDevices[$name]= $hotplug;
+ $this->gotoHotplugDevices[$name]= $entry;
}
$this->dialog= FALSE;
$this->is_dialog = false;
diff --git a/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml b/gosa-plugins/goto/personal/environment/hotplugSelect/selectHotplug-filter.xml
index ad071ab68c8731e3cdc4c485faf316947f1b7ba1..500aa91d16a72931c8512bec4344b0cc7233c56f 100644 (file)
<attribute>objectClass</attribute>
<attribute>cn</attribute>
<attribute>description</attribute>
+ <attribute>gotoHotplugDevice</attribute>
</query>
<scope>auto</scope>
</search>