summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-11-16 02:12:21 -0500
committerChris Buechler <cmb@pfsense.org>2009-11-16 02:12:21 -0500
commitcf21c8ad798872b757c375301f910ab6d4c81356 (patch)
treea30e1fb2bba6d6798ba2ecf25bc2bf8a219acdaa
parent30a5a9d7716c915d6544dcb069987686fa47a8bf (diff)
downloadpfsense-cf21c8ad798872b757c375301f910ab6d4c81356.zip
pfsense-cf21c8ad798872b757c375301f910ab6d4c81356.tar.gz
Put the FQDN back into the page title. Many people have numerous firewalls up across tabs, and it's impossible to differentiate without this, which we've had for many years.
-rwxr-xr-xusr/local/www/guiconfig.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index aff45e6..8c3b53f 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -394,11 +394,11 @@ function aliases_sort() {
}
function gentitle($title) {
- global $navlevelsep;
+ global $config, $navlevelsep;
if(!is_array($title))
- return $title;
+ return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $title;
else
- return join($navlevelsep, $title);
+ return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . join($navlevelsep, $title);
}
function genhtmltitle($title) {
@@ -975,4 +975,4 @@ function rule_popup($src,$srcport,$dst,$dstport){
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud