Minahito
minah****@users*****
2006年 2月 3日 (金) 02:00:35 JST
Index: xoops2jp/html/modules/base/kernel/MiscEventFunctions.class.php diff -u xoops2jp/html/modules/base/kernel/MiscEventFunctions.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/MiscEventFunctions.class.php:1.1.2.3 --- xoops2jp/html/modules/base/kernel/MiscEventFunctions.class.php:1.1.2.2 Mon Dec 26 20:04:45 2005 +++ xoops2jp/html/modules/base/kernel/MiscEventFunctions.class.php Fri Feb 3 02:00:35 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: MiscEventFunctions.class.php,v 1.1.2.2 2005/12/26 11:04:45 minahito Exp $ + * @version $Id: MiscEventFunctions.class.php,v 1.1.2.3 2006/02/02 17:00:35 minahito Exp $ */ class Legacy_MiscEventFunction @@ -8,13 +8,19 @@ function AccessToMisc(&$controller,$eventArgs) { require_once XOOPS_BASE_PATH . "/class/MiscActionFrame.class.php"; - $moduleRunner =& new MiscActionFrame(); + require_once XOOPS_BASE_PATH . "/class/ActionFrame.class.php"; + + $actionName = isset($_GET['type']) ? trim($_GET['type']) : "Smilies"; + + $moduleRunner = new Legacy_ActionFrame(false); + $moduleRunner->setActionName($actionName); - $controller->setDialogMode(true); $controller->setActionStrategy($moduleRunner); - + + $controller->setDialogMode(true); + $controller->executeAction(); - + $controller->executeView(); } }