mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -71,17 +71,17 @@ echo("<table cellpadding=0 cellspacing=0><tr><td>
|
||||
$unknown = 1;
|
||||
foreach ($device_types as $type)
|
||||
{
|
||||
echo ' <option value="'.$type.'"';
|
||||
echo(' <option value="'.$type.'"');
|
||||
if ($device['type'] == $type)
|
||||
{
|
||||
echo 'selected="1"';
|
||||
echo('selected="1"');
|
||||
$unknown = 0;
|
||||
}
|
||||
echo ' >' . ucfirst($type) . '</option>';
|
||||
echo(' >' . ucfirst($type) . '</option>');
|
||||
}
|
||||
if ($unknown)
|
||||
{
|
||||
echo ' <option value="other">Other</option>';
|
||||
echo(' <option value="other">Other</option>');
|
||||
}
|
||||
echo("
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user