[xoops-cvslog 4805] CVS update: xoops2jp/html/modules/legacyRender/kernel

Back to archive index

Minahito minah****@users*****
2006年 10月 5日 (木) 19:18:13 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.2 xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.3
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php:1.1.2.2	Thu Oct  5 18:09:58 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php	Thu Oct  5 19:18:13 2006
@@ -123,7 +123,7 @@
 		    "xoops_upload_url" => XOOPS_UPLOAD_URL)
 		);
 
-		if ($controller->getConfig('theme_fromfile')) {
+		if ($controller->mRoot->mContext->getXoopsConfig('theme_fromfile')) {
 			$this->mSmarty->force_compile = true;
 		}
 	}
@@ -168,8 +168,8 @@
 		//
 		// Other attributes
 		//
-		$this->mSmarty->assign('xoops_sitename', htmlspecialchars($this->mController->getConfig('sitename'), ENT_QUOTES));
-		$this->mSmarty->assign('xoops_slogan', htmlspecialchars($this->mController->getConfig('slogan'), ENT_QUOTES));
+		$this->mSmarty->assign('xoops_sitename', htmlspecialchars($this->mController->mRoot->mContext->getXoopsConfig('sitename'), ENT_QUOTES));
+		$this->mSmarty->assign('xoops_slogan', htmlspecialchars($this->mController->mRoot->mContext->getXoopsConfig('slogan'), ENT_QUOTES));
 		
 		//
 		// Theme rendering


xoops-cvslog メーリングリストの案内
Back to archive index