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

Back to archive index

Minahito minah****@users*****
2006年 7月 10日 (月) 20:10:19 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/TplsetListAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplsetListAction.class.php:1.1.2.7 xoops2jp/html/modules/legacyRender/admin/actions/TplsetListAction.class.php:1.1.2.8
--- xoops2jp/html/modules/legacyRender/admin/actions/TplsetListAction.class.php:1.1.2.7	Tue Mar 28 22:30:49 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/TplsetListAction.class.php	Mon Jul 10 20:10:19 2006
@@ -3,7 +3,7 @@
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
 require_once XOOPS_ROOT_PATH . "/class/XCube_PageNavigator.class.php";
-require_once XOOPS_MODULE_PATH . "/legacyRender/admin/class/AbstractListAction.class.php";
+require_once XOOPS_MODULE_PATH . "/legacyRender/class/AbstractListAction.class.php";
 require_once XOOPS_MODULE_PATH . "/legacyRender/admin/forms/TplsetFilterForm.class.php";
 require_once XOOPS_MODULE_PATH . "/legacyRender/admin/forms/TplsetSelectForm.class.php";
 
@@ -12,9 +12,10 @@
 	var $mActionForm = null;
 	var $mActiveTemplateSet = null;
 	
-	function prepare(&$controller, &$xoopsUser)
+	function prepare(&$controller, &$xoopsUser, $moduleConfig)
 	{
-		$this->mActionForm = new TplsetSelectForm();
+		LegacyRender_AbstractListAction::prepare($controller, $xoopsUser, $moduleConfig);
+		$this->mActionForm =& new TplsetSelectForm();
 		$this->mActionForm->prepare();
 	}
 	
@@ -24,9 +25,9 @@
 		return $handler;
 	}
 
-	function &_getFilterForm()
+	function &_getFilterForm(&$navi)
 	{
-		$filter =& new LegacyRender_TplsetFilterForm($this->mPageNavi);
+		$filter =& new LegacyRender_TplsetFilterForm($navi);
 		return $filter;
 	}
 	
@@ -72,7 +73,7 @@
 
 		$render->setTemplateName("tplset_list.html");
 		$render->setAttribute('objects', $this->mObjects);
-		$render->setAttribute('pageNavi', $this->mPageNavi);
+		$render->setAttribute('pageNavi', $this->mNavi);
 		$render->setAttribute('activeTemplateSet', $this->mActiveTemplateSet);
 		$render->setAttribute('actionForm', $this->mActionForm);
 		


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