Minahito
minah****@users*****
2006年 10月 11日 (水) 17:13:54 JST
Index: xoops2jp/html/modules/base/actions/BackendAction.class.php diff -u xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.7.2.1 xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.7.2.2 --- xoops2jp/html/modules/base/actions/BackendAction.class.php:1.1.2.7.2.1 Thu Oct 5 19:17:25 2006 +++ xoops2jp/html/modules/base/actions/BackendAction.class.php Wed Oct 11 17:13:54 2006 @@ -54,9 +54,10 @@ // // Set up the render buffer. // - $renderTarget =& new XCube_RenderTarget(); - $renderTarget->setType(XCUBE_RENDER_TARGET_TYPE_MAIN); + $renderSystem =& $controller->mRoot->getRenderSystem('Legacy_RenderSystem'); + $renderTarget =& $renderSystem->createRenderTarget('main'); + $renderTarget->setTemplateName("legacy_rss.html"); $renderTarget->setAttribute('channel_title', $xoopsConfig['sitename']); @@ -93,7 +94,6 @@ // // Rendering // - $renderSystem =& $controller->mRoot->getRenderSystem('Legacy_RenderSystem'); $renderSystem->renderWithTarget($renderTarget); if (function_exists('mb_http_output')) {