diff options
author | Ermal <eri@pfsense.org> | 2010-08-18 19:28:57 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-18 19:28:57 +0000 |
commit | 9401767007a1bf03f02129fbe2c0d9d4d3621524 (patch) | |
tree | 35119f51959896c5b4d5680bdfb7516e29b15e93 /usr/local/www/wizard.php | |
parent | b01406759249bee22fd81b0258338473df18601a (diff) | |
download | pfsense-9401767007a1bf03f02129fbe2c0d9d4d3621524.zip pfsense-9401767007a1bf03f02129fbe2c0d9d4d3621524.tar.gz |
Resolves #732. Make the wizard behave better and _actually_ work by correcting typos in code. Make it faster by not using HTTP redirection for showing errors. Try to make it more user friendly, though some more work is needed.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-x | usr/local/www/wizard.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index ff6ded1..d4a2b02 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -173,8 +173,8 @@ include("head.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC" > - <?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 @@ -321,10 +321,6 @@ function showchange() { <img border="0" src="./themes/<?= $g['theme']; ?>/images/logo.gif"></a> <p> <div style="width:800px;background-color:#ffffff" id="roundme"> -<table bgcolor="#ffffff" width="95%" border="0" cellspacing="0" cellpadding="2"> - <!-- wizard goes here --> - <tr><td> </td></tr> - <tr><td colspan='2'> <?php if ($savemsg) print_info_box($savemsg); @@ -332,7 +328,10 @@ function showchange() { print_info_box(htmlspecialchars($_GET['message'])); if ($_POST['message'] != "") print_info_box(htmlspecialchars($_POST['message'])); -?></td></tr> +?> +<table bgcolor="#ffffff" width="95%" border="0" cellspacing="0" cellpadding="2"> + <!-- wizard goes here --> + <tr><td> </td></tr> <tr> <td class="tabcont"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> |