[xoops-cvslog 1946] CVS update: xoops2jp/html/modules/base/admin

Back to archive index

Minahito minah****@users*****
2006年 1月 26日 (木) 01:19:09 JST


Index: xoops2jp/html/modules/base/admin/index.php
diff -u xoops2jp/html/modules/base/admin/index.php:1.1.2.1 xoops2jp/html/modules/base/admin/index.php:1.1.2.2
--- xoops2jp/html/modules/base/admin/index.php:1.1.2.1	Wed Nov 16 19:09:13 2005
+++ xoops2jp/html/modules/base/admin/index.php	Thu Jan 26 01:19:08 2006
@@ -1,25 +1,20 @@
 <?php
 
 require_once "../../../mainfile.php";
-require_once XOOPS_ROOT_PATH."/header.php";
+require_once XOOPS_ROOT_PATH . "/header.php";
+require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php";
 
-$root=&XCube_Root::getSingleton();
-$renderSystem=&$root->mController->getRenderSystem();
+$root =& XCube_Root::getSingleton();
 
-require_once "./class/LegacyAdminActionFrame.class.php";
+$actionName = isset($_GET['action']) ? trim($_GET['action']) : "ModuleList";
 
-$moduleRunner=new LegacyAdminActionFrame();
+$moduleRunner = new Legacy_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
+?>


xoops-cvslog メーリングリストの案内
Back to archive index