mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Fix display of icons in Devices menu bar
This commit is contained in:
@@ -86,7 +86,7 @@ foreach (dbFetchRows('SELECT `type`,COUNT(`type`) AS total_type FROM `devices` A
|
|||||||
if (empty($devtype['type'])) {
|
if (empty($devtype['type'])) {
|
||||||
$devtype['type'] = 'Generic';
|
$devtype['type'] = 'Generic';
|
||||||
}
|
}
|
||||||
echo(' <li><a href="devices/type=' . $devtype['type'] . '/"><img src="images/icons/' . $devtype['type'] . '" border="0" align="absmiddle" /> ' . ucfirst($devtype['type']) . '</a></li>');
|
echo(' <li><a href="devices/type=' . $devtype['type'] . '/"><img src="images/icons/' . $devtype['type'] . '.png" border="0" align="absmiddle" /> ' . ucfirst($devtype['type']) . '</a></li>');
|
||||||
}
|
}
|
||||||
echo ('</ul>
|
echo ('</ul>
|
||||||
</li>');
|
</li>');
|
||||||
|
|||||||
Reference in New Issue
Block a user