1
Hi,
I have troubles using XoopsThemeForm->insertBreak and the solution i have encountred is:
function insertBreak($extra = '', $class= '')
{
$class = ($class != '') ? " class='$class'" : '';
if ( empty($extra) ) {
$extra = "$class> |
";
$this->addElement($extra);
} else {
$extra = "$class>$extra |
";
$this->addElement($extra);
}
}
replacing
if ( $extra != '' ) {
to
if ( empty($extra) ) {
Celso Goya
moinho.net