Minahito
minah****@users*****
2006年 10月 15日 (日) 15:33:53 JST
Index: xoops2jp/html/modules/user/actions/MiscOnlineAction.class.php diff -u xoops2jp/html/modules/user/actions/MiscOnlineAction.class.php:1.1.2.1.2.2 xoops2jp/html/modules/user/actions/MiscOnlineAction.class.php:1.1.2.1.2.3 --- xoops2jp/html/modules/user/actions/MiscOnlineAction.class.php:1.1.2.1.2.2 Fri Oct 13 14:10:35 2006 +++ xoops2jp/html/modules/user/actions/MiscOnlineAction.class.php Sun Oct 15 15:33:53 2006 @@ -43,6 +43,7 @@ $render->setAttribute("objects", $this->mObjects); $render->setAttribute("pageNavi", $this->mFilter->mNavi); + $render->setAttribute('enableViewIP', $controller->mRoot->mContext->mUser->isInRole('Module.user.Admin')); } }