From 21f1665ffed88b8decd168acc15933ca20feb455 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 17 Jan 2012 13:48:07 +0000 Subject: [PATCH] ucfirst -> ucwords. multiply bytes by 8. git-svn-id: http://www.observium.org/svn/observer/trunk@2821 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/device/netscaler_tcp_bits.inc.php | 2 ++ html/pages/device/graphs.inc.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/html/includes/graphs/device/netscaler_tcp_bits.inc.php b/html/includes/graphs/device/netscaler_tcp_bits.inc.php index 36e8d4864d..34b449d36f 100644 --- a/html/includes/graphs/device/netscaler_tcp_bits.inc.php +++ b/html/includes/graphs/device/netscaler_tcp_bits.inc.php @@ -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"); diff --git a/html/pages/device/graphs.inc.php b/html/pages/device/graphs.inc.php index 70b6846168..35b9a68298 100644 --- a/html/pages/device/graphs.inc.php +++ b/html/pages/device/graphs.inc.php @@ -35,7 +35,7 @@ foreach ($config['graph_sections'] as $section) echo(''); } - echo(generate_link(ucfirst($type),$link_array,array('group'=>$type))); + echo(generate_link(ucwords($type),$link_array,array('group'=>$type))); if ($vars['group'] == $type) {