diff options
Diffstat (limited to 'src/usr/local/www/status_rrd_graph.php')
-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'])) { |