Minahito
minah****@users*****
2006年 1月 14日 (土) 17:04:12 JST
Index: xoops2jp/html/modules/legacyRender/admin/class/LegacyRenderActionFrame.class.php diff -u xoops2jp/html/modules/legacyRender/admin/class/LegacyRenderActionFrame.class.php:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/class/LegacyRenderActionFrame.class.php:1.1.2.4 --- xoops2jp/html/modules/legacyRender/admin/class/LegacyRenderActionFrame.class.php:1.1.2.3 Sat Jan 14 02:30:43 2006 +++ xoops2jp/html/modules/legacyRender/admin/class/LegacyRenderActionFrame.class.php Sat Jan 14 17:04:12 2006 @@ -1,5 +1,5 @@ <?php -// $Id: LegacyRenderActionFrame.class.php,v 1.1.2.3 2006/01/13 17:30:43 minahito Exp $ +// $Id: LegacyRenderActionFrame.class.php,v 1.1.2.4 2006/01/14 08:04:12 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2005 XOOPS Cube.org // @@ -58,7 +58,7 @@ function execute(&$controller) { if($this->mActionName==null) - $this->mActionName=isset($_REQUEST['action']) ? trim($_REQUEST['action']) : "default"; + $this->mActionName=isset($_REQUEST['action']) ? trim($_REQUEST['action']) : "ThemeList"; if(!preg_match("/^\w+$/",$this->mActionName)) die(); @@ -79,6 +79,8 @@ if(!is_object($this->mAction)) die(); // TODO + $this->mAction->prepare($controller,$controller->getXoopsUser()); + // // Simple execute action switch. // @@ -122,6 +124,11 @@ $this->mConfig=$controller->mModuleController->getConfig(); } + function prepare(&$controller,&$xoopsUser) + { + return LEGACYRENDER_FRAME_VIEW_NONE; + } + /** * @param $controller Base_Controller * @param $xoopsUser XoopsUserObject