mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
remove base_url
git-svn-id: http://www.observium.org/svn/observer/trunk@2489 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -49,7 +49,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['sixhour'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>6 Hour</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/".$graph_array['to']."/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/".$graph_array['to']."/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -57,7 +57,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['day'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>24 Hour</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -65,7 +65,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['twoday'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>48 Hour</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -73,7 +73,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['week'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>Week</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -81,7 +81,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['twoweek'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>Two Week</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -89,7 +89,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['month'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>Month</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -97,7 +97,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['twomonth'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>Two Month</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
@@ -105,7 +105,7 @@ if (!$auth)
|
||||
$graph_array['from'] = $config['time']['year'];
|
||||
echo("<div style='width: ${width}px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;' class='rounded-3px'>
|
||||
<span class=device-head>Year</span><br />
|
||||
<a href='".$config['base_url']."/graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
<a href='graphs/$id/$graph_type/".$graph_array['from']."/$to/'>");
|
||||
echo(generate_graph_tag($graph_array));
|
||||
echo(" </a>
|
||||
</div>");
|
||||
|
||||
Reference in New Issue
Block a user