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; }
" /> <?php if ($edit) { ?> <input type="hidden" name="id" id="mw-id" value="<?php echo $post->id(); ?> " /> <?php } ?> </form> <table class="outer" cellspacing="0"> <?php include 'widgets/widget_tags.php'; $w = mw_widget_addtags(); ?> <tr><th><?php 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">