summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-14 09:16:57 -0200
committerRenato Botelho <renato@netgate.com>2016-01-14 09:16:57 -0200
commit1be13c4c8013b1d91b9baf154fee8a1500e59285 (patch)
tree5954016aefd0ca9a01df037aac57b1951471b38d /src/usr
parent7304deba4a8f4729043faf60fee7b141d8e36759 (diff)
parent5e3a81be6b6047b9382d5e7b2fba22e7c74d0c2a (diff)
downloadpfsense-1be13c4c8013b1d91b9baf154fee8a1500e59285.zip
pfsense-1be13c4c8013b1d91b9baf154fee8a1500e59285.tar.gz
Merge pull request #2429 from phil-davis/patch-8
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/status_rrd_graph.php11
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'])) {
OpenPOWER on IntegriCloud