Minahito
minah****@users*****
2006年 7月 10日 (月) 14:55:58 JST
Index: xoops2jp/html/modules/legacyRender/admin/index.php diff -u xoops2jp/html/modules/legacyRender/admin/index.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/index.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/index.php:1.1.2.1 Fri Nov 25 19:28:16 2005 +++ xoops2jp/html/modules/legacyRender/admin/index.php Mon Jul 10 14:55:58 2006 @@ -1,25 +1,24 @@ <?php +/** + * @package legacyRender + * @version $Id: index.php,v 1.1.2.2 2006/07/10 05:55:58 minahito Exp $ + */ require_once "../../../mainfile.php"; -require_once XOOPS_ROOT_PATH."/header.php"; +require_once XOOPS_ROOT_PATH . "/header.php"; +require_once XOOPS_MODULE_PATH . "/legacyRender/class/ActionFrame.class.php"; -$root=&XCube_Root::getSingleton(); -$renderSystem=&$root->mController->getRenderSystem(); +$root =& XCube_Root::getSingleton(); -require_once "./class/LegacyRenderActionFrame.class.php"; +$actionName = isset($_GET['action']) ? trim($_GET['action']) : "ThemeList"; -$moduleRunner=new LegacyRenderActionFrame(); +$moduleRunner =& new LegacyRender_ActionFrame(true); +$moduleRunner->setActionName($actionName); -// -// Regist the module level easy framework to virtual controller. -// $root->mController->setActionStrategy($moduleRunner); -// -// Execute framework. -// $root->mController->executeAction(); -require_once XOOPS_ROOT_PATH."/footer.php"; +require_once XOOPS_ROOT_PATH . "/footer.php"; -?> \ No newline at end of file +?>