public function eventRmcommonLoadRightWidgets($widgets) { global $xoopsModule; if (!isset($xoopsModule) || $xoopsModule->getVar('dirname') != 'system' && $xoopsModule->getVar('dirname') != 'mywords') { return $widgets; } if (defined("RMCSUBLOCATION") && RMCSUBLOCATION == 'new_post') { include_once '../widgets/widget_publish.php'; $widgets[] = mw_widget_publish(); include_once '../widgets/widget_image.php'; $widgets[] = mw_widget_image(); include_once '../widgets/widget_categories.php'; $widgets[] = mw_widget_categories(); include_once '../widgets/widget_tags.php'; $widgets[] = mw_widget_addtags(); } return $widgets; }
echo $w['title']; ?> </th></tr> <tr class="even"><td><?php echo $w['content']; ?> </td></tr> </table> <br /> <table cellpadding="2" cellspacing="4" width="100%"> <tr valign="top"> <td style="padding: 0 4px 0 0;"> <table class="outer" cellspacing="0"> <?php include 'widgets/widget_publish.php'; $w = mw_widget_publish(); ?> <tr><th><?php echo $w['title']; ?> </th></tr> <tr><td><?php echo $w['content']; ?> </td></tr> </table> </td> <td style="padding: 0 0 0 4px;"> <table class="outer" cellspacing="0"> <?php include 'widgets/widget_categories.php';