summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 21:20:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 21:20:03 +0000
commit4e3391a3467145e867269cdfcc9d292939f79705 (patch)
treed045ba19baaf7a48fcaad7b8c961023e144a4f18 /usr
parent8c01d3bbfeec08e449642543a4b007c77f1d7072 (diff)
downloadpfsense-4e3391a3467145e867269cdfcc9d292939f79705.zip
pfsense-4e3391a3467145e867269cdfcc9d292939f79705.tar.gz
Include wizard.css or all.css, wizard.css being the first
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/wizard.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index aefa609..0a92446 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -158,10 +158,12 @@ include("head.inc");
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onLoad="enablechange();">
-<link rel="stylesheet" href="/themes/<?=$g['theme']?>/all.css" media="all" />
+
<?php
if(file_exists("/usr/local/www/{$g['theme']}/wizard.css"))
echo "<link rel=\"stylesheet\" href=\"/themes/{$g['theme']}/wizard.css\" media=\"all\" />\n";
+ else
+ echo "<link rel=\"stylesheet\" href=\"/themes/{$g['theme']}/all.css\" media=\"all\" />";
?>
<?php if($pkg['step'][$stepid]['fields']['field'] <> "") { ?>
OpenPOWER on IntegriCloud