[xoops-cvslog 1954] CVS update: xoops2jp/html/modules/user/actions

Back to archive index

Minahito minah****@users*****
2006年 1月 26日 (木) 20:10:09 JST


Index: xoops2jp/html/modules/user/actions/UserInfoAction.class.php
diff -u xoops2jp/html/modules/user/actions/UserInfoAction.class.php:1.1.2.1 xoops2jp/html/modules/user/actions/UserInfoAction.class.php:1.1.2.2
--- xoops2jp/html/modules/user/actions/UserInfoAction.class.php:1.1.2.1	Tue Jan 17 19:34:23 2006
+++ xoops2jp/html/modules/user/actions/UserInfoAction.class.php	Thu Jan 26 20:10:09 2006
@@ -25,7 +25,7 @@
 			return USER_FRAME_VIEW_ERROR;
 		}
 		
-		$rankHandler =& xoops_getmodulehandler('rank');
+		$rankHandler =& xoops_getmodulehandler('ranks');
 		$this->mRankObject =& $rankHandler->get($this->mObject->get('rank'));
 		
 		$root =& $controller->mRoot;
@@ -54,6 +54,12 @@
 		$render->setAttribute('user_signature', $userSignature);
 
 		$render->setAttribute("searchResults", $this->mSearchResults);
+		
+		//
+		// set flags.
+		//
+		$user_ownpage = (is_object($xoopsUser) && $xoopsUser->get('uid') == $this->mObject->get('uid'));
+		$render->setAttribute("user_ownpage", $user_ownpage);
 	}
 	
 	function executeViewError(&$controller, &$xoopsUser, &$render)


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