Minahito
minah****@users*****
2006年 10月 15日 (日) 01:46:22 JST
Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.4 xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.5 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.4 Wed Oct 11 17:10:19 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php Sun Oct 15 01:46:21 2006 @@ -12,8 +12,8 @@ define('LEGACY_ADMIN_RENDER_TEMPLATE_DIRNAME', "templates"); -define('LEGACY_ADMIN_RENDER_FALLBACK_PATH', XOOPS_MODULE_PATH . "/base/admin/theme"); -define('LEGACY_ADMIN_RENDER_FALLBACK_URL', XOOPS_MODULE_URL . "/base/admin/theme"); +define('LEGACY_ADMIN_RENDER_FALLBACK_PATH', XOOPS_MODULE_PATH . "/legacy/admin/theme"); +define('LEGACY_ADMIN_RENDER_FALLBACK_URL', XOOPS_MODULE_URL . "/legacy/admin/theme"); require_once XOOPS_ROOT_PATH."/class/smarty/Smarty.class.php"; @@ -130,7 +130,7 @@ function renderBlock(&$target) { - $this->mSmarty->template_dir = XOOPS_ROOT_PATH . "/modules/base/admin/templates"; + $this->mSmarty->template_dir = XOOPS_ROOT_PATH . "/modules/legacy/admin/templates"; foreach ($target->getAttributes() as $key => $value) { $this->mSmarty->assign($key, $value); @@ -281,7 +281,7 @@ $request[] = "${key}=${value}"; } } - $url = XOOPS_MODULE_URL . "/base/admin/css.php?" . implode("&", $request); + $url = XOOPS_MODULE_URL . "/legacy/admin/css.php?" . implode("&", $request); print '<link rel="stylesheet" type="text/css" media="'. $media .'" href="' . $url . '" />'; } } @@ -291,7 +291,7 @@ $root =& XCube_Root::getSingleton(); $moduleObject =& $root->mContext->mXoopsModule; - if ($isSpDirname && is_object($moduleObject) && $moduleObject->get('dirname') == 'base' && isset($_REQUEST['dirname'])) { + if ($isSpDirname && is_object($moduleObject) && $moduleObject->get('dirname') == 'legacy' && isset($_REQUEST['dirname'])) { if (preg_match("/^[a-z0-9_]+$/i", xoops_getrequest('dirname'))) { $handler =& xoops_gethandler('module'); $moduleObject =& $handler->getByDirname(xoops_getrequest('dirname'));