diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-12 23:05:49 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-13 16:38:00 -0500 |
commit | f47414213f35ec80fc23925e34d4b1a653107dad (patch) | |
tree | fbeee7e1e7d807dbd1cd4f824d4c40a9e53ff021 /src/usr/local/www/status_rrd_graph.php | |
parent | d85a1b530ae9658856bca1524c3ee9a2535f2987 (diff) | |
download | pfsense-f47414213f35ec80fc23925e34d4b1a653107dad.zip pfsense-f47414213f35ec80fc23925e34d4b1a653107dad.tar.gz |
Synchronize page titles with tab titles. Rename some titles in order to be more consistent. Convert page title to title case.
Diffstat (limited to 'src/usr/local/www/status_rrd_graph.php')
-rw-r--r-- | src/usr/local/www/status_rrd_graph.php | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/usr/local/www/status_rrd_graph.php b/src/usr/local/www/status_rrd_graph.php index 8a051b6..e6f98b3 100644 --- a/src/usr/local/www/status_rrd_graph.php +++ b/src/usr/local/www/status_rrd_graph.php @@ -289,12 +289,24 @@ switch ($curcat) { case "vpnusers": $curcattext = gettext("VPN Users"); break; + case "captiveportal": + $curcattext = gettext("Captive Portal"); + break; + case "ntpd": + $curcattext = gettext("NTP"); + break; + case "dhcpd": + $curcattext = gettext("DHCP Server"); + break; + case "queuedrops": + $curcattext = gettext("QueueDrops"); + break; default: $curcattext = ucfirst($curcat); break; } -$pgtitle = array(gettext("Status"), gettext("RRD Graphs"), gettext($curcattext . " Graphs")); +$pgtitle = array(gettext("Status"), gettext("RRD Graphs"), gettext($curcattext)); /* Load all CP zones */ if ($captiveportal && is_array($config['captiveportal'])) { @@ -441,7 +453,7 @@ function make_tabs() { } if ($vpnusers) { - $tab_array[] = array(gettext("VPN"), ($curcat == "vpnusers"), "status_rrd_graph.php?cat=vpnusers"); + $tab_array[] = array(gettext("VPN Users"), ($curcat == "vpnusers"), "status_rrd_graph.php?cat=vpnusers"); } if ($captiveportal) { @@ -449,7 +461,7 @@ function make_tabs() { } if ($ntpd) { - $tab_array[] = array("NTPD", ($curcat == "ntpd"), "status_rrd_graph.php?cat=ntpd"); + $tab_array[] = array("NTP", ($curcat == "ntpd"), "status_rrd_graph.php?cat=ntpd"); } if ($dhcpd) { |