Merge pull request #574 from tisoft/patch-1

Fix display of icons in Devices menu bar
This commit is contained in:
Neil Lathwood
2015-03-09 21:37:25 +00:00
+1 -1
View File
@@ -86,7 +86,7 @@ foreach (dbFetchRows('SELECT `type`,COUNT(`type`) AS total_type FROM `devices` A
if (empty($devtype['type'])) {
$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>
</li>');