summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 21:30:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 21:30:33 +0000
commit0e14530ed425da16c632311ae67bebbcd4d00533 (patch)
tree56f0c76258733b1e5b7d421f36740a2fd5462cce /usr/local/www
parenta2336a7d628ef9d54b0d09c6eaa3562927d90136 (diff)
downloadpfsense-0e14530ed425da16c632311ae67bebbcd4d00533.zip
pfsense-0e14530ed425da16c632311ae67bebbcd4d00533.tar.gz
Inculde wizard.css if it exists
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/wizard.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 358178d..df908ae 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -150,7 +150,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/themes/{$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'] <> "") { ?>
<script language="JavaScript">
<!--
OpenPOWER on IntegriCloud