58 $xoops->theme()->addBaseScriptAssets(
'@jquery');
59 $xoops->theme()->addBaseScriptAssets(
'@jqueryui');
60 $xoops->theme()->addBaseStylesheetAssets(
'@jqueryuicss');
61 $xoops->theme()->addScript(
'',
'',
'$(function() { $("#tabs_' . $this->
getName() .
'").tabs(); });');
63 $ret =
'<div id="tabs_' . $this->
getName() .
'">' . NWLINE;
64 $ret .=
'<ul>' . NWLINE;
66 if ($ele instanceof
Tab) {
67 $ret .=
'<li><a href="#tab_' . $ele->getName() .
'"><span>'
68 . $ele->getCaption() .
'</span></a></li>' . NWLINE;
71 $ret .=
'</ul>' . NWLINE;
78 if (!$ele->isHidden()) {
79 if (!$ele instanceof
Raw) {
80 if ($ele instanceof
Tab) {
81 $ret .=
'<div id="tab_' . $ele->getName() .
'">' . NWLINE;
82 $ret .=
'<table class="outer" cellspacing="1">' . NWLINE;
83 $ret .= $ele->render();
84 $ret .=
'</table>' . NWLINE;
85 $ret .=
'</div>' . NWLINE;
90 $ret .= $ele->render();
93 $hidden .= $ele->render();
96 if (!empty($extras)) {
98 foreach ($extras as
$extra) {
99 $tray->addElement($extra);
101 $ret .= $tray->render();
105 $ret .= $hidden . NWLINE;
106 $ret .=
'</div>' . NWLINE;