[xoops-cvslog 2556] CVS update: xoops2jp/html/modules/base/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 3月 29日 (水) 00:13:49 JST


Index: xoops2jp/html/modules/base/admin/actions/CommentListAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/CommentListAction.class.php:1.1.2.3 xoops2jp/html/modules/base/admin/actions/CommentListAction.class.php:1.1.2.4
--- xoops2jp/html/modules/base/admin/actions/CommentListAction.class.php:1.1.2.3	Tue Mar 28 22:28:35 2006
+++ xoops2jp/html/modules/base/admin/actions/CommentListAction.class.php	Wed Mar 29 00:13:49 2006
@@ -35,9 +35,24 @@
 			$this->mObjects[$key]->loadUser();
 		}
 		
+		$moduleArr = array();
+		$handler =& xoops_getmodulehandler('comment');
+		$modIds =& $handler->getModuleIds();
+		
+		$moduleHandler =& xoops_gethandler('module');
+		foreach ($modIds as $mid) {
+			print $mid;
+			$module =& $moduleHandler->get($mid);
+			if (is_object($module)) {
+				$moduleArr[] =& $module;
+			}
+			unset ($module);
+		}
+
 		$render->setTemplateName("comment_list.html");
 		$render->setAttribute("objects", $this->mObjects);
 		$render->setAttribute("pageNavi", $this->mNavi);
+		$render->setAttribute("moduleArr", $moduleArr);
 	}
 }
 


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