20 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
46 $ret = $this->getTitle() . NWLINE
47 .
'<form name="' . $this->getName() .
'" id="' . $this->getName() .
'" action="' . $this->getAction() .
'" method="' . $this->getMethod() .
'"' . $this->getExtra() .
'>'
48 . NWLINE .
'<table border="0" width="100%">' . NWLINE;
50 foreach ($this->getElements() as $ele) {
51 if (!$ele->isHidden()) {
52 if (!$ele->getNocolspan()) {
53 $ret .=
'<tr valign="top" align="left"><td>' . $ele->getCaption();
54 if ($ele_desc = $ele->getDescription()) {
55 $ret .=
'<br /><br /><span style="font-weight: normal;">' . $ele_desc .
'</span>';
57 $ret .=
'</td><td>' . $ele->render() .
'</td></tr>';
59 $ret .=
'<tr valign="top" align="left"><td colspan="2">' . $ele->getCaption();
60 $ret .=
'</td></tr><tr valign="top" align="left"><td>' . $ele->render() .
'</td></tr>';
63 $hidden .= $ele->render() . NWLINE;
66 $ret .=
'</table>' . NWLINE .
' ' . $hidden .
'</form>' . NWLINE;