mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed generic image and text
This commit is contained in:
BIN
html/images/icons/generic.png
Executable file
BIN
html/images/icons/generic.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 530 B |
@@ -84,7 +84,7 @@ if ($_SESSION['userlevel'] >= '10') {
|
|||||||
|
|
||||||
foreach (dbFetchRows('SELECT `type`,COUNT(`type`) AS total_type FROM `devices` AS D WHERE 1 GROUP BY `type` ORDER BY `type`') as $devtype) {
|
foreach (dbFetchRows('SELECT `type`,COUNT(`type`) AS total_type FROM `devices` AS D WHERE 1 GROUP BY `type` ORDER BY `type`') as $devtype) {
|
||||||
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'] . '.png" 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>');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user