diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-21 04:35:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-21 04:35:34 +0000 |
commit | a980eec16858cc59adb8a3d1fa02c019193dcb4c (patch) | |
tree | 1c47bfa2dcff021a2ed357db5cfe680d44ba8372 /usr/local/www/head.inc | |
parent | 42902688cf6030afdf9f379ded271f7bd8a3513b (diff) | |
download | pfsense-a980eec16858cc59adb8a3d1fa02c019193dcb4c.zip pfsense-a980eec16858cc59adb8a3d1fa02c019193dcb4c.tar.gz |
Restore previous behavior.
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-x | usr/local/www/head.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 06391b8..adf8d2a 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -1,3 +1,13 @@ +<?php +/* + * if user has selected a custom template, use it. + * otherwise default to pfsense tempalte + */ +if($config['theme'] <> "") + $g['theme'] = $config['theme']; +else + $g['theme'] = "pfsense"; +?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> |