diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-07-25 19:41:47 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-07-25 19:41:47 +0000 |
commit | bdd550108ebaa9f3bae789d63d7f0aae865089f0 (patch) | |
tree | aa4f8f0875947487f5a3e3b2b9319cafc537a02c | |
parent | d8b9305139167958edc7ce12664646bf5c4503e7 (diff) | |
download | pfsense-bdd550108ebaa9f3bae789d63d7f0aae865089f0.zip pfsense-bdd550108ebaa9f3bae789d63d7f0aae865089f0.tar.gz |
Fix a bug that prevented the page title from being displayed correctly.
-rwxr-xr-x | usr/local/www/head.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index a7a0376..5b078d4 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -8,12 +8,14 @@ if($config['theme'] <> "") else $g['theme'] = "pfsense"; +$pagetitle = gentitle( $pgtitle ); + ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>gentitle( $pgtitle )</title> + <title><?=$pagetitle;?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false && file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?> |