Minahito
minah****@users*****
2006年 1月 25日 (水) 16:11:39 JST
Index: xoops2jp/html/include/functions.php diff -u xoops2jp/html/include/functions.php:1.2.8.8 xoops2jp/html/include/functions.php:1.2.8.9 --- xoops2jp/html/include/functions.php:1.2.8.8 Tue Jan 24 23:03:56 2006 +++ xoops2jp/html/include/functions.php Wed Jan 25 16:11:39 2006 @@ -1,5 +1,5 @@ <?php -// $Id: functions.php,v 1.2.8.8 2006/01/24 14:03:56 minahito Exp $ +// $Id: functions.php,v 1.2.8.9 2006/01/25 07:11:39 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -65,11 +65,12 @@ $root =& XCube_Root::getSingleton(); $renderTarget =& new Legacy_RenderTargetMain(); + $renderTarget->setModuleName("base"); $renderTarget->setTemplateName("legacy_xoops_error.html"); $renderTarget->setAttribute("title", $title); $renderTarget->setAttribute("message", $message); - $renderer =& $root->getRenderSystem('Legacy_RenderSystem'); + $renderer =& $root->getRenderSystem(LEGACY_DEPENDENCE_RENDERER); $renderer->renderWithTarget($renderTarget); print $renderTarget->getResult(); @@ -80,11 +81,12 @@ $root =& XCube_Root::getSingleton(); $renderTarget =& new Legacy_RenderTargetMain(); + $renderTarget->setModuleName("base"); $renderTarget->setTemplateName("legacy_xoops_result.html"); $renderTarget->setAttribute("title", $title); $renderTarget->setAttribute("message", $message); - $renderer =& $root->getRenderSystem('Legacy_RenderSystem'); + $renderer =& $root->getRenderSystem(LEGACY_DEPENDENCE_RENDERER); $renderer->renderWithTarget($renderTarget); print $renderTarget->getResult(); @@ -106,6 +108,7 @@ $root =& XCube_Root::getSingleton(); $renderTarget =& new Legacy_RenderTargetMain(); + $renderTarget->setModuleName("base"); $renderTarget->setTemplateName("legacy_xoops_confirm.html"); $renderTarget->setAttribute("action", $action); @@ -115,7 +118,7 @@ $renderTarget->setAttribute("tokenName", $token->getTokenName()); $renderTarget->setAttribute("tokenValue", $token->getTokenValue()); - $renderer =& $root->getRenderSystem('Legacy_RenderSystem'); + $renderer =& $root->getRenderSystem(LEGACY_DEPENDENCE_RENDERER); $renderer->renderWithTarget($renderTarget); print $renderTarget->getResult();