Minahito
minah****@users*****
2006年 8月 6日 (日) 01:44:55 JST
Index: xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php diff -u xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php:1.1.2.2 xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php:removed --- xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php:1.1.2.2 Sat Aug 5 22:21:06 2006 +++ xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php Sun Aug 6 01:44:55 2006 @@ -1,45 +0,0 @@ -<?php -/** - * @package Legacy - * @version $Id: MiscOnlineAction.class.php,v 1.1.2.2 2006/08/05 13:21:06 minahito Exp $ - */ - -if (!defined('XOOPS_ROOT_PATH')) exit(); - -require_once XOOPS_MODULE_PATH . "/base/class/PageNavigator.class.php"; -require_once XOOPS_MODULE_PATH . "/base/class/AbstractListAction.class.php"; -require_once XOOPS_MODULE_PATH . "/base/forms/OnlineFilterForm.class.php"; - -class Legacy_MiscOnlineAction extends Legacy_AbstractListAction -{ - function &_getHandler() - { - $handler =& xoops_getmodulehandler('online', 'base'); - return $handler; - } - - function &_getFilterForm(&$navi) - { - $filter =& new Legacy_OnlineFilterForm($navi); - return $filter; - } - - function _getBaseUrl() - { - return "./misc.php?type=Online"; - } - - function executeViewIndex(&$controller, &$xoopsUser, &$render) - { - $render->setTemplateName("legacy_misc_online.html"); - - foreach (array_keys($this->mObjects) as $key) { - $this->mObjects[$key]->loadModule(); - } - - $render->setAttribute("objects", $this->mObjects); - $render->setAttribute("pageNavi", $this->mNavi); - } -} - -?>