cosmetic changes to search. add starter to optionbar for health/search/services and fix routing link on menubar

git-svn-id: http://www.observium.org/svn/observer/trunk@2207 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-29 23:09:35 +00:00
parent 8e8a43f811
commit a6a09b31b9
7 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -38,7 +38,7 @@ while ($data = mysql_fetch_assoc($query))
print_optionbar_end();
echo('<table width="100%" cellspacing="0" cellpadding="2">');
echo('<table width="100%" cellspacing="0" cellpadding="5">');
$where = "AND `ifPhysAddress` LIKE '%".$_POST['address']."%'";
if (is_numeric($_POST['device_id'])) { $where .= " AND I.device_id = '".$_POST['device_id']."'"; }
@@ -67,6 +67,8 @@ while ($entry = mysql_fetch_assoc($query))
if (port_permitted($entry['interface_id']))
{
$interface = ifLabel ($interface, $interface);
echo('<tr bgcolor="' . $row_colour . '">
<td class="list-bold">' . generate_device_link($entry) . '</td>
<td class="list-bold">' . generate_port_link($entry, makeshortif(fixifname($entry['ifDescr']))) . ' ' . $error_img . '</td>