optional printers type in devices menu

git-svn-id: http://www.observium.org/svn/observer/trunk@738 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-01-28 17:46:41 +00:00
parent a805d51c3a
commit ffcae1f80a
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -23,6 +23,7 @@ if($device['type'] == 'server') { $server_select = "selected"; }
if($device['type'] == 'network') { $network_select = "selected"; }
if($device['type'] == 'firewall') { $firewall_select = "selected"; }
if($device['type'] == 'workstation') { $workstation_select = "selected"; }
if($device['type'] == 'printer') { $printer_select = "selected"; }
if($device['type'] == 'other' || $device['type'] == 'unknown') { $other_select = "selected"; }
echo("<table cellpadding=0 cellspacing=0><tr><td>
@@ -62,6 +63,7 @@ echo("<table cellpadding=0 cellspacing=0><tr><td>
<option value='network' $network_select>Network</option>
<option value='firewall' $firewall_select>Firewall</option>
<option value='workstation' $workstation_select>Workstation</option>
<option value='printer' $printer_select>Printer</option>
<option value='other' $other_select>Other</option>
</select>
</td>