[xoops-cvslog 3461] CVS update: xoops2jp/html/modules/legacyRender/class

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 7月 10日 (月) 14:55:23 JST


Index: xoops2jp/html/modules/legacyRender/class/tplfile.php
diff -u xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.11 xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.12
--- xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.11	Thu May 25 14:20:55 2006
+++ xoops2jp/html/modules/legacyRender/class/tplfile.php	Mon Jul 10 14:55:23 2006
@@ -27,7 +27,7 @@
 	function loadSource()
 	{
 		if (!is_object($this->Source)) {
-			$handler =& xoops_getmodulehandler('tplsource');
+			$handler =& xoops_getmodulehandler('tplsource', 'legacyRender');
 			$this->Source =& $handler->get($this->get('tpl_id'));
 			if (!is_object($this->Source)) {
 				$this->Source =& $handler->create();
@@ -58,7 +58,7 @@
 		$obj->set('tpl_lastimported', $this->get('tpl_lastimported'));
 		$obj->set('tpl_type', $this->get('tpl_type'));
 		
-		$handler =& xoops_getmodulehandler('tplsource');
+		$handler =& xoops_getmodulehandler('tplsource', 'legacyRender');
 		$obj->Source =& $handler->create();
 		
 		$obj->Source->set('tpl_source', $this->Source->get('tpl_source'));
@@ -107,7 +107,7 @@
 			return true;
 		}
 		else {
-			$handler =& xoops_getmodulehandler('tplsource');
+			$handler =& xoops_getmodulehandler('tplsource', 'legacyRender');
 
 			if ($obj->Source->isNew()) {
 				$obj->Source->set('tpl_id', $obj->get('tpl_id'));
@@ -154,7 +154,7 @@
 		$obj->loadSource();
 		
 		if (is_object($obj->Source)) {
-			$handler =& xoops_getmodulehandler('tplsource');
+			$handler =& xoops_getmodulehandler('tplsource', 'legacyRender');
 			if (!$handler->delete($obj->Source, $force)) {
 				return false;
 			}


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index