[xoops-cvslog 1242] CVS update: xoops2jp/html/modules/base/class

アーカイブの一覧に戻る

Minahito minah****@users*****
2005年 11月 30日 (水) 01:01:24 JST


Index: xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php
diff -u xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.5 xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.6
--- xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.5	Mon Nov 28 22:44:14 2005
+++ xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php	Wed Nov 30 01:01:24 2005
@@ -80,6 +80,13 @@
 
 	function renderMain(&$target)
 	{
+		//
+		// Assign from attributes of the render-target.
+		//
+		foreach($target->getAttributes() as $key=>$value) {
+			$this->mSmarty->assign($key,$value);
+		}
+
 		$result=null;
 		if($target->getTemplateName()) {
 			$this->mSmarty->template_dir=$this->mController->mModuleController->getModuleDir() . "/". LEGACY_ADMIN_RENDER_TEMPLATE_DIRNAME;


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る