Fix form confirm for "one column" type.

This commit is contained in:
Laurent Destailleur 2020-01-07 20:36:36 +01:00
parent 7ef3ee56bd
commit ec81474694

View File

@ -4129,6 +4129,7 @@ class Form
} }
// Now add questions // Now add questions
$moreonecolumn = '';
$more .= '<div class="tagtable paddingtopbottomonly centpercent noborderspacing">'."\n"; $more .= '<div class="tagtable paddingtopbottomonly centpercent noborderspacing">'."\n";
foreach ($formquestion as $key => $input) foreach ($formquestion as $key => $input)
{ {
@ -4202,13 +4203,14 @@ class Form
elseif ($input['type'] == 'onecolumn') elseif ($input['type'] == 'onecolumn')
{ {
$more .= '<div class="tagtr"><div class="tagtd">'; $moreonecolumn .= '<div class="margintoponly">';
$more .= $input['value']; $moreonecolumn .= $input['value'];
$more .= '</div></div>'."\n"; $moreonecolumn .= '</div>'."\n";
} }
} }
} }
$more .= '</div>'."\n"; $more .= '</div>'."\n";
$more .= $moreonecolumn;
} }
// JQUI method dialog is broken with jmobile, we use standard HTML. // JQUI method dialog is broken with jmobile, we use standard HTML.