summaryrefslogtreecommitdiffstats
path: root/usr/local/www/head.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-15 17:09:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-15 17:09:20 +0000
commit9f53d3a8aa4c0f455cdc90cabf4e67b5a3f2d963 (patch)
tree4c8582642460af5df9a035d67c7afb36edec3d86 /usr/local/www/head.inc
parentc3f9d65d042aa52062df4e8f61cc06dca3ffb5a2 (diff)
downloadpfsense-9f53d3a8aa4c0f455cdc90cabf4e67b5a3f2d963.zip
pfsense-9f53d3a8aa4c0f455cdc90cabf4e67b5a3f2d963.tar.gz
* Merge in Erik Kristensen's redid XHTML compliant header footer
* Add pfsense default template (css) file
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-xusr/local/www/head.inc16
1 files changed, 15 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc
index 20d672a..a0fe623 100755
--- a/usr/local/www/head.inc
+++ b/usr/local/www/head.inc
@@ -1,8 +1,22 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<?php
+/*
+ * if user has selected a custom template, use it.
+ * otherwise default to pfsense tempalte
+ */
+if($config['template'] <> "")
+ $g['tempalte'] = $config['template'];
+else
+ $g['tempalte'] = "pfsense";
+?>
+
<html>
<head>
<title><?=gentitle($pgtitle);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <link rel="stylesheet" href="/templates/{$g['template']}/pfsense-screen.css" media="all" />
<link rel="stylesheet" type="text/css" href="/niftycssCode.css">
<link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print">
<link href="gui.css" rel="stylesheet" type="text/css">
OpenPOWER on IntegriCloud