39 $class = ($class !=
'' ?
" class=\"" . $class .
"\"" :
" class=\"break\"");
42 $value =
'<div' . $class .
'>' .
$extra .
'</div>';
43 $ele =
new Raw($value);
46 $value =
'<div' . $class .
'> </div>';
47 $ele =
new Raw($value);
60 $xoops->theme()->addStylesheet(
'media/xoops/css/form.css');
65 $xoops->tpl()->assign(
'type',
'horizontal');
69 $xoops->tpl()->assign(
'type',
'vertical');
73 $xoops->tpl()->assign(
'type',
'inline');
77 $xoops->tpl()->assign(
'type',
'personalized');
88 if (!$ele->isHidden()) {
89 $input[
'name'] = $ele->getName();
90 $input[
'caption'] = $ele->getCaption();
91 $input[
'description'] = $ele->getDescription();
92 $input[
'ele'] = $ele->render();
93 $input[
'required'] = $ele->isRequired();
94 $input[
'pattern_description'] = $ele->getPatternDescription();
95 $input[
'datalist'] = $ele->getDatalist();
96 $xoops->tpl()->appendByRef(
'xo_input', $input);
99 $hidden .= $ele->render(). NWLINE;
103 $xoops->tpl()->assign(
'hidden', $hidden);
105 $ret =
$xoops->tpl()->fetch(
'module:system/system_form.tpl');
106 $xoops->tpl()->clearAssign(
'xo_input');