summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-07-25 19:41:47 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-07-25 19:41:47 +0000
commitbdd550108ebaa9f3bae789d63d7f0aae865089f0 (patch)
treeaa4f8f0875947487f5a3e3b2b9319cafc537a02c /usr/local/www/head.inc
parentd8b9305139167958edc7ce12664646bf5c4503e7 (diff)
downloadpfsense-bdd550108ebaa9f3bae789d63d7f0aae865089f0.zip
pfsense-bdd550108ebaa9f3bae789d63d7f0aae865089f0.tar.gz
Fix a bug that prevented the page title from being displayed correctly.
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-xusr/local/www/head.inc4
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")): ?>
OpenPOWER on IntegriCloud