';
+ if (!isset($input['extra'])) {
+ $output .= '
';
+ }
+
+ if (isset($input['extra'])) {
+ $output .= '
';
+ }
+ }
+
+ if ($input['arguments']['inline'] == 'true' && isset($input['extra'])) {
+ $output .= '
';
+ }
+
$output .= '
';
$output .= $input['label'];
$output .= '
';
- if ($input['arguments']['type'] == 'text') {
+
+ if ($input['arguments']['inline'] == 'true' && isset($input['extra'])) {
+ $output .= '
';
+ }
+
+ if ($input['arguments']['inline'] == 'true' && !isset($input['extra'])) {
+ $output .= '
';
+ }
+
+ if ($input['arguments']['type'] == 'text' || $input['arguments']['type'] == 'text_extended') {
$output .= '
';
$output .= $this->printInput($input['arguments']);
$output .= '
';
+ } else if ($input['arguments']['inline'] == 'true') {
+ $output .= '
';
+
+ if (isset($input['extra'])) {
+ $output .= '
';
+ } else {
+ $output .= '
';
+ }
+
+ $output .= $this->printInput($input['arguments']);
+ $output .= '
';
+ $output .= '
';
+
+ if (isset($input['extra'])) {
+ $output .= '
';
+ }
} else {
$output .= $this->printInput($input['arguments']);
}
@@ -725,9 +766,21 @@ class Wizard
$output_submit = '';
$output = '';
- $output .= '
';
+ $first_block_printed = false;
foreach ($rows as $row) {
+ if ($row['new_form_block'] == true) {
+ if ($first_block_printed === true) {
+ // If first form block has been placed, then close it before starting a new one.
+ $output .= '
';
+ $output .= '
';
+ } else {
+ $output .= '
';
+ }
+
+ $first_block_printed = true;
+ }
+
$output .= '
';
foreach ($row['columns'] as $column) {
diff --git a/pandora_console/include/styles/discovery.css b/pandora_console/include/styles/discovery.css
index 28d4456a55..6df04ae736 100644
--- a/pandora_console/include/styles/discovery.css
+++ b/pandora_console/include/styles/discovery.css
@@ -230,8 +230,8 @@ li > input[type="password"],
height: 100px;
max-height: 100px;
max-width: 100%;
- -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
- -moz-box-sizing: border-box; /* Firefox, other Gecko */
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
box-sizing: border-box;
resize: none;
}