Minahito
minah****@users*****
2006年 1月 19日 (木) 21:11:26 JST
Index: xoops2jp/html/modules/user/admin/index.php diff -u xoops2jp/html/modules/user/admin/index.php:1.1.2.3 xoops2jp/html/modules/user/admin/index.php:1.1.2.4 --- xoops2jp/html/modules/user/admin/index.php:1.1.2.3 Wed Nov 23 12:15:48 2005 +++ xoops2jp/html/modules/user/admin/index.php Thu Jan 19 21:11:26 2006 @@ -1,54 +1,20 @@ <?php -// $Id: index.php,v 1.1.2.3 2005/11/23 03:15:48 minahito Exp $ -// ------------------------------------------------------------------------ // -// XOOPS - PHP Content Management System // -// Copyright (c) 2005 XOOPSCube.org // -// <http://www.xoopscube.org/> // -// ------------------------------------------------------------------------ // -// This program is free software; you can redistribute it and/or modify // -// it under the terms of the GNU General Public License as published by // -// the Free Software Foundation; either version 2 of the License, or // -// (at your option) any later version. // -// // -// You may not change or alter any portion of this comment or credits // -// of supporting developers from this source code or any supporting // -// source code which is considered copyrighted (c) material of the // -// original comment or credit authors. // -// // -// This program is distributed in the hope that it will be useful, // -// but WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // -// GNU General Public License for more details. // -// // -// You should have received a copy of the GNU General Public License // -// along with this program; if not, write to the Free Software // -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// ------------------------------------------------------------------------ // require_once "../../../mainfile.php"; -require_once XOOPS_ROOT_PATH."/header.php"; +require_once XOOPS_ROOT_PATH . "/header.php"; +require_once XOOPS_MODULE_PATH . "/user/class/ActionFrame.class.php"; -$root=&XCube_Root::getSingleton(); -$renderSystem=&$root->mController->getRenderSystem(); +$root =& XCube_Root::getSingleton(); -require_once "../class/UserActionFrame.class.php"; +$actionName = isset($_GET['action']) ? trim($_GET['action']) : "UserList"; -$actionName=isset($_GET['action']) ? trim($_GET['action']) : "default"; - -$moduleRunner=new UserActionFrame(true); +$moduleRunner = new User_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 +?>