[xoops-cvslog 4794] CVS update: xoops2jp/html/modules/user/kernel

Back to archive index

Minahito minah****@users*****
2006年 10月 5日 (木) 18:11:24 JST


Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php
diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11.2.1
--- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11	Sat Sep  2 16:32:08 2006
+++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php	Thu Oct  5 18:11:24 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: LegacypageFunctions.class.php,v 1.1.2.11 2006/09/02 07:32:08 minahito Exp $
+ * @version $Id: LegacypageFunctions.class.php,v 1.1.2.11.2.1 2006/10/05 09:11:24 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -26,7 +26,7 @@
 			$url = XOOPS_MODULE_URL . "/user/index.php?action=UserInfo&uid=" . $uid;
 		}
 		else {
-			$xoopsUser =& $root->mController->getXoopsUser();
+			$xoopsUser =& $root->mContext->mXoopsUser;
 			if (is_object($xoopsUser)) {
 				$url = XOOPS_MODULE_URL . "/user/index.php?action=UserInfo&uid=" . $xoopsUser->get('uid');
 			}
@@ -49,7 +49,7 @@
 			$url = XOOPS_MODULE_URL . "/user/index.php?action=EditUser&uid=" . $uid;
 		}
 		else {
-			$xoopsUser =& $root->mController->getXoopsUser();
+			$xoopsUser =& $root->mContext->mXoopsUser;
 			if (is_object($xoopsUser)) {
 				$url = XOOPS_MODULE_URL . "/user/index.php?action=EditUser&uid=" . $xoopsUser->get('uid');
 			}
@@ -65,7 +65,7 @@
 	function register()
 	{
 		$root =& XCube_Root::getSingleton();
-		$xoopsUser =& $root->mController->getXoopsUser();
+		$xoopsUser =& $root->mContext->mXoopsUser;
 		
 		if (is_object($xoopsUser)) {
 			$root->mController->executeForward(XOOPS_URL);
@@ -83,7 +83,7 @@
 	function lostpass()
 	{
 		$root =& XCube_Root::getSingleton();
-		$xoopsUser =& $root->mController->getXoopsUser();
+		$xoopsUser =& $root->mContext->mXoopsUser;
 
 		if (is_object($xoopsUser)) {
 			$root->mController->executeForward(XOOPS_URL);
@@ -101,7 +101,7 @@
 	{
 		$root =& XCube_Root::getSingleton();
 		$op = isset($_REQUEST['op']) ? trim(xoops_getrequest('op')) : "main";
-		$xoopsUser =& $root->mController->getXoopsUser();
+		$xoopsUser =& $root->mContext->mXoopsUser;
 		
 		switch($op) {
 			case "main":
@@ -217,8 +217,7 @@
 		require_once XOOPS_MODULE_PATH . "/user/class/ActionFrame.class.php";
 
 		$root =& XCube_Root::getSingleton();
-		$root->mController->mModuleController->setupModuleObject('user');
-		$root->mController->mModuleController->setupRenderTarget();
+		$root->mController->setupModuleContext('user');
 		
 		$actionName = "MiscOnline";
 


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