|
@@ 630-635 (lines=6) @@
|
| 627 |
|
} elseif (!$ele->isHidden()) { |
| 628 |
|
if (!$ele->getNocolspan()) { |
| 629 |
|
$ret .= '<tr valign="top" align="left"><td class="head">'; |
| 630 |
|
if (($caption = $ele->getCaption()) != '') { |
| 631 |
|
$ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">'; |
| 632 |
|
$ret .= '<span class="caption-text">' . $caption . '</span>'; |
| 633 |
|
$ret .= '<span class="caption-marker">*</span>'; |
| 634 |
|
$ret .= '</div>'; |
| 635 |
|
} |
| 636 |
|
if (($desc = $ele->getDescription()) != '') { |
| 637 |
|
$ret .= '<div class="xoops-form-element-help">' . $desc . '</div>'; |
| 638 |
|
} |
|
@@ 642-647 (lines=6) @@
|
| 639 |
|
$ret .= '</td><td class="' . $class . '">' . $ele->render() . '</td></tr>' . NWLINE; |
| 640 |
|
} else { |
| 641 |
|
$ret .= '<tr valign="top" align="left"><td class="head" colspan="2">'; |
| 642 |
|
if (($caption = $ele->getCaption()) != '') { |
| 643 |
|
$ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">'; |
| 644 |
|
$ret .= '<span class="caption-text">' . $caption . '</span>'; |
| 645 |
|
$ret .= '<span class="caption-marker">*</span>'; |
| 646 |
|
$ret .= '</div>'; |
| 647 |
|
} |
| 648 |
|
$ret .= '</td></tr><tr valign="top" align="left"><td class="' . $class . '" colspan="2">' . $ele->render() . '</td></tr>'; |
| 649 |
|
} |
| 650 |
|
} else { |