Minahito
minah****@users*****
2006年 1月 19日 (木) 21:11:16 JST
Index: xoops2jp/html/modules/user/actions/EditUserAction.class.php diff -u xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.4 xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.5 --- xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.4 Tue Jan 17 19:34:23 2006 +++ xoops2jp/html/modules/user/actions/EditUserAction.class.php Thu Jan 19 21:11:16 2006 @@ -32,7 +32,7 @@ return true; } - function isPerm(&$controller, &$xoopsUser) + function isPerm(&$controller, &$xoopsUser, &$moduleConfig) { if ($this->mObject != null) { return ($this->mObject->get('uid') == $xoopsUser->get('uid') || $xoopsUser->isAdmin()); @@ -41,11 +41,12 @@ return false; } - function executeViewInput(&$controller,&$xoopsUser,&$renderSystem) + function executeViewInput(&$controller,&$xoopsUser,&$render) { - $renderSystem->setTemplateName("user_edituser.html"); - $renderSystem->setAttribute("actionForm",$this->mActionForm); - $renderSystem->setAttribute("thisUser",$this->mObject); + $render->setTemplateName("user_edituser.html"); + $render->setAttribute("actionForm",$this->mActionForm); + $render->setAttribute("thisUser",$this->mObject); + $render->setAttribute("currentUser",$xoopsUser); } }