diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-11-16 02:12:21 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-11-16 02:12:21 -0500 |
commit | cf21c8ad798872b757c375301f910ab6d4c81356 (patch) | |
tree | a30e1fb2bba6d6798ba2ecf25bc2bf8a219acdaa /usr/local/www/guiconfig.inc | |
parent | 30a5a9d7716c915d6544dcb069987686fa47a8bf (diff) | |
download | pfsense-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.
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 8 |
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 |