diff options
-rwxr-xr-x | usr/local/www/wizard.php | 4 |
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'] <> "") { ?> |