[xoops-cvslog 1782] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 1月 15日 (日) 04:01:13 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/TplfileListAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplfileListAction.class.php:1.1.2.4 xoops2jp/html/modules/legacyRender/admin/actions/TplfileListAction.class.php:1.1.2.5
--- xoops2jp/html/modules/legacyRender/admin/actions/TplfileListAction.class.php:1.1.2.4	Sun Jan 15 03:28:54 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/TplfileListAction.class.php	Sun Jan 15 04:01:13 2006
@@ -29,6 +29,19 @@
 		$render->setAttribute('objects', $this->mObjects);
 		$render->setAttribute('pageNavi', $this->mPageNavi);
 		$render->setAttribute('filterForm', $this->mFilter);
+		
+		//
+		// TODO We must fetch only module objects that has templates.
+		// 
+		// fetch module objects, assign to template for pull-down menu.
+		//
+		$moduleHandler =& xoops_gethandler('module');
+		$modules =& $moduleHandler->getObjects();
+		$render->setAttribute('modules', $modules);
+
+		$handler =& xoops_getmodulehandler('tplset');
+		$tplsets =& $handler->getObjects();
+		$render->setAttribute('tplsets', $tplsets);
 	}
 }
 


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