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

Back to archive index

Minahito minah****@users*****
2006年 5月 15日 (月) 12:16:35 JST


Index: xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.3
--- xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.2	Mon May 15 12:13:10 2006
+++ xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php	Mon May 15 12:16:35 2006
@@ -9,6 +9,7 @@
 	var $mPreparedFlag = false;
 	
 	var $mCategory = null;
+	var $mModule = null;
 
 	var $mObjects = array();
 	var $mActionForm = null;
@@ -71,6 +72,7 @@
 		$render->setAttribute('objectArr', $this->mObjects);
 		
 		$render->setAttribute('category', $this->mCategory);
+		$render->setAttribute('category', $this->mModule);
 		
 		$handler =& xoops_gethandler('timezone');
 		$timezoneArr =& $handler->getObjects();
@@ -187,13 +189,13 @@
 	function prepare(&$controller, &$xoopsUser)
 	{
 		$handler =& xoops_gethandler('module');
-		$module =& $handler->get(intval(xoops_getrequest('confmod_id')));
+		$this->_mMaster->mModule =& $handler->get(intval(xoops_getrequest('confmod_id')));
 
-		if (!is_object($module)) {
+		if (!is_object($this->_mMaster->mModule)) {
 			return;
 		}
 
-		$this->_mMaster->mActionForm =& new Legacy_ModulePreferenceEditForm($module);
+		$this->_mMaster->mActionForm =& new Legacy_ModulePreferenceEditForm($this->_mMaster->mModule);
 		
 		$this->_mMaster->mPreparedFlag = true;
 	}


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