mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
pathces from wez to fix webinf stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2695 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -126,7 +126,7 @@ foreach (dbFetchRows("SELECT * FROM `bgpPeers` WHERE `device_id` = ? ORDER BY `b
|
||||
|
||||
$graph_type = "bgp_updates";
|
||||
$peer_daily_url = "graph.php?id=" . $peer['bgpPeer_id'] . "&type=" . $graph_type . "&from=$day&to=$now&width=500&height=150";
|
||||
$peeraddresslink = "<span class=list-large><a href='device/" . $peer['device_id'] . "/routing/bgp/updates/' onmouseover=\"return overlib('<img src=\'$peer_daily_url\'>', LEFT".$config['overlib_defaults'].");\" onmouseout=\"return nd();\">" . $peer['bgpPeerIdentifier'] . "</a></span>";
|
||||
$peeraddresslink = "<span class=list-large><a href='device/device=" . $peer['device_id'] . "/tab=routing/proto=bgp/view=updates/' onmouseover=\"return overlib('<img src=\'$peer_daily_url\'>', LEFT".$config['overlib_defaults'].");\" onmouseout=\"return nd();\">" . $peer['bgpPeerIdentifier'] . "</a></span>";
|
||||
|
||||
echo('<tr bgcolor="'.$bg_colour.'"' . ($peer['alert'] ? ' bordercolor="#cc0000"' : '') .
|
||||
($peer['disabled'] ? ' bordercolor="#cccccc"' : '') . ">
|
||||
|
@@ -13,7 +13,7 @@ $sep = "";
|
||||
foreach ($menu_options as $option => $text)
|
||||
{
|
||||
if ($_GET['optd'] == $option) { echo("<span class='pagemenu-selected'>"); }
|
||||
echo('<a href="device/' . $device['device_id'] . '/routing/ipsec_tunnels/' . $option . '/">' . $text
|
||||
echo('<a href="device/device=' . $device['device_id'] . '/tab=routing/proto=ipsec_tunnels/' . $option . '/">' . $text
|
||||
. '</a>');
|
||||
if ($_GET['optd'] == $option) { echo("</span>"); }
|
||||
echo(" | ");
|
||||
@@ -31,7 +31,7 @@ foreach ($graph_types as $type => $descr)
|
||||
{
|
||||
echo("$type_sep");
|
||||
if ($_GET['opte'] == $type) { echo("<span class='pagemenu-selected'>"); }
|
||||
echo('<a href="device/' . $device['device_id'] . '/routing/ipsec_tunnels/graphs/'.$type.'/">'.$descr.'</a>');
|
||||
echo('<a href="device/device=' . $device['device_id'] . '/tab=routing/proto=ipsec_tunnels/graphs/'.$type.'/">'.$descr.'</a>');
|
||||
if ($_GET['opte'] == $type) { echo("</span>"); }
|
||||
|
||||
$type_sep = " | ";
|
||||
|
Reference in New Issue
Block a user