diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-11-17 14:45:23 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-11-17 14:45:23 -0500 |
commit | 7f9ad06854877e6bab1a66e390020529f65b7c81 (patch) | |
tree | 4302b83dc5d14f7a1ba9f5e61389a94320850113 /usr/local/www/head.inc | |
parent | f7eae2bfdd1d7f8d0e69a09ffc6364995a7a0f9c (diff) | |
download | pfsense-7f9ad06854877e6bab1a66e390020529f65b7c81.zip pfsense-7f9ad06854877e6bab1a66e390020529f65b7c81.tar.gz |
Fix hostname in page title. thanks to sullrich@ for pointer
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-x | usr/local/www/head.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 62aee24..e6bf240 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -28,7 +28,7 @@ $pagetitle = gentitle( $pgtitle ); "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title><?=$pagetitle;?></title> + <title><?php echo($config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel=”apple-touch-icon” href=”/themes/<?php echo $g['theme']; ?>/apple-touch-icon.png”/> <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false && @@ -82,4 +82,4 @@ $pagetitle = gentitle( $pgtitle ); if (!isset($closehead)) echo "</head>"; -?> +?>
\ No newline at end of file |