summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-11-25 22:16:06 +0545
committerPhil Davis <phil.davis@inf.org>2014-11-25 22:16:06 +0545
commit8ce58e05f0c5552b7dbb5925b118b6e29c1994cd (patch)
tree177fe17d9746894904c929380ed41dafd0ae707d /usr/local/www/head.inc
parent0274d41abefe47fa3724571a950a7c2d4fac42e9 (diff)
downloadpfsense-8ce58e05f0c5552b7dbb5925b118b6e29c1994cd.zip
pfsense-8ce58e05f0c5552b7dbb5925b118b6e29c1994cd.tar.gz
Option for browser tab text order
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-xusr/local/www/head.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index afdee93..2cd7add 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -7,12 +7,16 @@ $g['theme'] = get_current_theme();
$pagetitle = gentitle( $pgtitle );
+if (isset($config['system']['webgui']['pagenamefirst']))
+ $tabtitle = $pagetitle . " - " . $config['system']['hostname'] . "." . $config['system']['domain'];
+else
+ $tabtitle = $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?=system_get_language_code();?>" xml:lang="<?=system_get_language_code();?>">
<head>
- <title><?php echo($config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle); ?></title>
+ <title><?php echo($tabtitle); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=system_get_language_codeset();?>" />
<link rel="apple-touch-icon" href="/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png"/>
<link rel="shortcut icon" href="/themes/<?php echo $g['theme']; ?>/images/icons/favicon.ico"/>
OpenPOWER on IntegriCloud