|
|
|
@ -657,9 +657,11 @@ function rcmail_contact_form($form, $record, $attrib = null)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// wrap rows in fieldgroup container
|
|
|
|
|
$content .= html::tag('fieldset', array('class' => 'contactfieldgroup ' . ($colprop['subtypes'] ? 'contactfieldgroupmulti ' : '') . 'contactcontroller' . $col, 'style' => ($rows ? null : 'display:none')),
|
|
|
|
|
($colprop['subtypes'] ? html::tag('legend', null, Q($colprop['label'])) : ' ') .
|
|
|
|
|
$rows);
|
|
|
|
|
if ($rows) {
|
|
|
|
|
$content .= html::tag('fieldset', array('class' => 'contactfieldgroup ' . ($colprop['subtypes'] ? 'contactfieldgroupmulti ' : '') . 'contactcontroller' . $col, 'style' => ($rows ? null : 'display:none')),
|
|
|
|
|
($colprop['subtypes'] ? html::tag('legend', null, Q($colprop['label'])) : ' ') .
|
|
|
|
|
$rows);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!$content)
|
|
|
|
|