lower priority for device icon
This commit is contained in:
parent
f87e73e816
commit
e1ad25ef02
|
@ -1564,9 +1564,6 @@ function get_icon($server_id,$dn,$object_classes=array()) {
|
||||||
elseif (in_array('room',$object_classes))
|
elseif (in_array('room',$object_classes))
|
||||||
return 'door.png';
|
return 'door.png';
|
||||||
|
|
||||||
elseif (in_array('device',$object_classes))
|
|
||||||
return 'device.png';
|
|
||||||
|
|
||||||
elseif (in_array('document',$object_classes))
|
elseif (in_array('document',$object_classes))
|
||||||
return 'document.png';
|
return 'document.png';
|
||||||
|
|
||||||
|
@ -1604,6 +1601,9 @@ function get_icon($server_id,$dn,$object_classes=array()) {
|
||||||
elseif (in_array('iphost',$object_classes))
|
elseif (in_array('iphost',$object_classes))
|
||||||
return 'host.png';
|
return 'host.png';
|
||||||
|
|
||||||
|
elseif (in_array('device',$object_classes))
|
||||||
|
return 'device.png';
|
||||||
|
|
||||||
elseif (in_array('nlsproductcontainer',$object_classes))
|
elseif (in_array('nlsproductcontainer',$object_classes))
|
||||||
return 'n.png';
|
return 'n.png';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue