diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-14 11:33:40 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-14 11:33:40 +0545 |
commit | 5e3a81be6b6047b9382d5e7b2fba22e7c74d0c2a (patch) | |
tree | 7d8161fb1c38b7af31d4e17edfac687c530d4b3d /src/usr/local | |
parent | cd656b85255feee8313e6081325f05db7a6c2642 (diff) | |
download | pfsense-5e3a81be6b6047b9382d5e7b2fba22e7c74d0c2a.zip pfsense-5e3a81be6b6047b9382d5e7b2fba22e7c74d0c2a.tar.gz |
Make RRD Graph VPN Users page title more friendly
Rather than ucfirst("vpnusers") becomes "Vpnusers".
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/status_rrd_graph.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/local/www/status_rrd_graph.php b/src/usr/local/www/status_rrd_graph.php index 0ae10c0..2bea2c7 100644 --- a/src/usr/local/www/status_rrd_graph.php +++ b/src/usr/local/www/status_rrd_graph.php @@ -297,7 +297,16 @@ $graph_length = array( "year" => 31622400, "fouryear" => 126230400); -$pgtitle = array(gettext("Status"), gettext("RRD Graphs"), gettext(ucfirst($curcat)." Graphs")); +switch ($curcat) { + case "vpnusers": + $curcattext = "VPN Users"; + break; + default: + $curcattext = ucfirst($curcat); + break; +} + +$pgtitle = array(gettext("Status"), gettext("RRD Graphs"), gettext($curcattext . " Graphs")); /* Load all CP zones */ if ($captiveportal && is_array($config['captiveportal'])) { |