diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-18 19:40:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-18 19:40:21 +0000 |
commit | 719b7f0936a475a5b1d6f9f57ee7e84c7e071fbf (patch) | |
tree | ed75b03b0e5d8e53fbb57b671cbfb888442301e4 /usr/local/www/head.inc | |
parent | 022955ddf266faecba1662ffa691e7a6e156be02 (diff) | |
download | pfsense-719b7f0936a475a5b1d6f9f57ee7e84c7e071fbf.zip pfsense-719b7f0936a475a5b1d6f9f57ee7e84c7e071fbf.tar.gz |
Fix nerve center theme.
Patch submitted by DSH
Diffstat (limited to 'usr/local/www/head.inc')
-rwxr-xr-x | usr/local/www/head.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 5470ebc..df81b3f 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -14,7 +14,12 @@ else <head> <title><?=gentitle($pgtitle);?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" /> + <?php if (strpos($_SERVER["SCRIPT_FILENAME"], "wizard.php") !== false && + file_exists("{$g['www_path']}/themes/{$g['theme']}/wizard.css")): ?> + <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/wizard.css" media="all" /> + <?php else: ?> + <link rel="stylesheet" href="/themes/<?php echo $g['theme']; ?>/all.css" media="all" /> + <?php endif; ?> <link rel="stylesheet" type="text/css" href="/niftycssprintCode.css" media="print" /> <script type="text/javascript">var theme = "<?php echo $g['theme']; ?>"</script> <script type="text/javascript" src="/themes/<?php echo $g['theme']; ?>/loader.js"></script> |