Minahito
minah****@users*****
2006年 7月 10日 (月) 14:55:36 JST
Index: xoops2jp/html/modules/legacyRender/class/tplset.php diff -u xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.8 xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.9 --- xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.8 Tue Mar 28 22:30:48 2006 +++ xoops2jp/html/modules/legacyRender/class/tplset.php Mon Jul 10 14:55:36 2006 @@ -34,7 +34,7 @@ $moduleHandler =& xoops_gethandler('module'); $modules =& $moduleHandler->getObjects(); - $tplfileHandler =& xoops_getmodulehandler('tplfile'); + $tplfileHandler =& xoops_getmodulehandler('tplfile', 'legacyRender'); foreach ($modules as $module) { $modtpl =& new LegacyRenderModuletplObject(); @@ -71,7 +71,7 @@ // // fetch all tplfile object and do cloning. // - $handler =& xoops_getmodulehandler('tplfile'); + $handler =& xoops_getmodulehandler('tplfile', 'legacyRender'); $files =& $handler->getObjects(new Criteria('tpl_tplset', $original->get('tplset_name'))); foreach ($files as $file) { @@ -84,7 +84,7 @@ function delete(&$obj, $force) { - $handler =& xoops_getmodulehandler('tplfile'); + $handler =& xoops_getmodulehandler('tplfile', 'legacyRender'); $handler->deleteAll(new Criteria('tpl_tplset', $obj->get('tplset_name'))); return parent::delete($obj, $force);