From 29fcebce66884f53407e12ec08d94bd711f36426 Mon Sep 17 00:00:00 2001 From: Vincent MAZZONI Date: Wed, 28 Apr 2010 09:45:23 +0200 Subject: [PATCH] Use of Device::dropdownTypes() instead of dropdownDeviceTypes(). See release #47 --- hook.php | 4 ++-- inc/constructdevice.class.php | 2 +- inc/snmp.classes.php | 0 inc/unknowndevice.class.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 inc/snmp.classes.php diff --git a/hook.php b/hook.php index 9dccba82eb..e20402bd33 100644 --- a/hook.php +++ b/hook.php @@ -1684,7 +1684,7 @@ function plugin_fusioninventory_MassiveActionsFieldsDisplay($type,$table,$field, $type_list[] = PRINTER_TYPE; $type_list[] = PERIPHERAL_TYPE; $type_list[] = PHONE_TYPE; - dropdownDeviceTypes('type',$linkfield,$type_list); + Device::dropdownTypes('type',$linkfield,$type_list); return true; break; @@ -1746,7 +1746,7 @@ function plugin_fusioninventory_MassiveActionsFieldsDisplay($type,$table,$field, $type_list[] = PRINTER_TYPE; $type_list[] = PERIPHERAL_TYPE; $type_list[] = PHONE_TYPE; - dropdownDeviceTypes('type',$linkfield,$type_list); + Device::dropdownTypes('type',$linkfield,$type_list); return true; break; } diff --git a/inc/constructdevice.class.php b/inc/constructdevice.class.php index dba57f0544..6a6175e47d 100644 --- a/inc/constructdevice.class.php +++ b/inc/constructdevice.class.php @@ -107,7 +107,7 @@ function showForm($target, $ID = '') { } } // END GENERIC OBJECT - dropdownDeviceTypes('type',$this->fields["type"],$type_list); + Device::dropdownTypes('type',$this->fields["type"],$type_list); echo ""; echo ""; diff --git a/inc/snmp.classes.php b/inc/snmp.classes.php old mode 100644 new mode 100755 diff --git a/inc/unknowndevice.class.php b/inc/unknowndevice.class.php index 0573da1e0c..41ff293a62 100644 --- a/inc/unknowndevice.class.php +++ b/inc/unknowndevice.class.php @@ -153,7 +153,7 @@ function showForm($target, $ID = '') { } } // END GENERIC OBJECT - dropdownDeviceTypes('type',$this->fields["type"],$type_list); + Device::dropdownTypes('type',$this->fields["type"],$type_list); echo ""; echo "" . $LANG['setup'][89] . " : ";