diff options
author | Ermal <eri@pfsense.org> | 2010-03-15 19:54:38 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-15 19:54:38 +0000 |
commit | 8984dc5e4fd37038f30558bf8d1cf50d1a17cca8 (patch) | |
tree | cabf0a0b602dcec1ffd7f051ad796e2f15615ee6 /usr | |
parent | a69c00368108b6e7d9da794de7cc4ff9557a495e (diff) | |
download | pfsense-8984dc5e4fd37038f30558bf8d1cf50d1a17cca8.zip pfsense-8984dc5e4fd37038f30558bf8d1cf50d1a17cca8.tar.gz |
Ticket #414. Fix wizard framework to properly display this. Not sure how it actually worked before!
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/wizard.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index 1676bda..d84f692 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -349,8 +349,8 @@ function showchange() { case "input": if ($field['displayname']) { echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n"; - echo $field['displayname']; - echo ":</td>\n"; + echo $field['displayname']; + echo ":</td>\n"; } else if(!$field['dontdisplayname']) { echo "<td width=\"22%\" align=\"right\" class=\"vncellreq\">\n"; echo fixup_string($field['name']); @@ -703,18 +703,19 @@ function showchange() { break; } - echo "</td>"; if($field['typehint'] <> "") { echo $field['typehint']; } - - if(!$field['combinefieldsbegin']) - echo "</tr>\n"; - if($field['warning'] <> "") { echo "<br ><b><font color=\"red\">" . $field['warning'] . "</font></b>"; } + if(!$field['combinefieldsbegin']) { + if (!$field['dontcombinecells']) + echo "</td>"; + + echo "</tr>\n"; + } } } ?> |