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

Back to archive index

Minahito minah****@users*****
2006年 10月 23日 (月) 20:22:31 JST


Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php
diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.5 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.6
--- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.5	Sat Oct 21 20:36:03 2006
+++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php	Mon Oct 23 20:22:30 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.5 2006/10/21 11:36:03 minahito Exp $
+ * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.30.2.6 2006/10/23 11:22:30 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -29,9 +29,16 @@
 	
 	var $_mContentsData = null;
 
+	/**
+	 * @type XCube_Delegate
+	 */
+	var $mSetupXoopsTpl = null;
+	
 	function Legacy_RenderSystem()
 	{
 		parent::XCube_RenderSystem();
+		$this->mSetupXoopsTpl =& new XCube_Delegate();
+		$this->mSetupXoopsTpl->register('Legacy_RenderSystem.SetupXoopsTpl');
 	}
 	
 	function prepare(&$controller)
@@ -43,6 +50,7 @@
 		// XoopsTpl default setup
 		$this->mXoopsTpl =& new XoopsTpl();
 		$this->mXoopsTpl->register_function("legacy_notifications_select", "LegacyRender_smartyfunction_notifications_select");
+		$this->mSetupXoopsTpl->call(new XCube_Ref($this->mXoopsTpl));
 
 		// compatible
 		$GLOBALS['xoopsTpl'] =& $this->mXoopsTpl;


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