ucfirst -> ucwords. multiply bytes by 8.

git-svn-id: http://www.observium.org/svn/observer/trunk@2821 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-01-17 13:48:07 +00:00
parent 8f3f47204e
commit 21f1665ffe
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ $rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netscaler-sta
$ds_in = "TotRxBytes";
$ds_out = "TotTxBytes";
$multiplier = 8;
include("includes/graphs/generic_bits.inc.php");

View File

@@ -35,7 +35,7 @@ foreach ($config['graph_sections'] as $section)
echo('<span class="pagemenu-selected">');
}
echo(generate_link(ucfirst($type),$link_array,array('group'=>$type)));
echo(generate_link(ucwords($type),$link_array,array('group'=>$type)));
if ($vars['group'] == $type)
{