netscaler per-vserver page with all graphs.

git-svn-id: http://www.observium.org/svn/observer/trunk@2846 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-01-21 05:51:58 +00:00
parent a9e715a3a9
commit f05c956023
4 changed files with 72 additions and 13 deletions

View File

@@ -21,25 +21,25 @@ unset($sep);
foreach ($loadbalancer_tabs as $type)
{
if (!$vars['proto']) { $vars['proto'] = $type; }
if (!$vars['type']) { $vars['type'] = $type; }
echo($sep);
if ($vars['proto'] == $type)
if ($vars['type'] == $type)
{
echo('<span class="pagemenu-selected">');
}
echo(generate_link($type_text[$type] ." (".$device_loadbalancer_count[$type].")",$link_array,array('proto'=>$type)));
if ($vars['proto'] == $type) { echo("</span>"); }
echo(generate_link($type_text[$type] ." (".$device_loadbalancer_count[$type].")",$link_array,array('type'=>$type)));
if ($vars['type'] == $type) { echo("</span>"); }
$sep = " | ";
}
print_optionbar_end();
if (is_file("pages/device/loadbalancer/".mres($vars['proto']).".inc.php"))
if (is_file("pages/device/loadbalancer/".mres($vars['type']).".inc.php"))
{
include("pages/device/loadbalancer/".mres($vars['proto']).".inc.php");
include("pages/device/loadbalancer/".mres($vars['type']).".inc.php");
} else {
foreach ($loadbalancer_tabs as $type)
{