Minahito
minah****@users*****
2006年 10月 5日 (木) 19:18:14 JST
Index: xoops2jp/html/modules/pm/actions/DefaultAction.class.php diff -u xoops2jp/html/modules/pm/actions/DefaultAction.class.php:1.1.2.2.2.2 xoops2jp/html/modules/pm/actions/DefaultAction.class.php:1.1.2.2.2.3 --- xoops2jp/html/modules/pm/actions/DefaultAction.class.php:1.1.2.2.2.2 Fri Sep 29 17:14:46 2006 +++ xoops2jp/html/modules/pm/actions/DefaultAction.class.php Thu Oct 5 19:18:14 2006 @@ -1,7 +1,7 @@ <?php /** * @package pm - * @version $Id: DefaultAction.class.php,v 1.1.2.2.2.2 2006/09/29 08:14:46 minahito Exp $ + * @version $Id: DefaultAction.class.php,v 1.1.2.2.2.3 2006/10/05 10:18:14 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -51,7 +51,7 @@ $render->setAttribute("pmObjects", $this->mPmObjects); $render->setAttribute("total_messages", count($this->mPmObjects)); $render->setAttribute("currentUser", $xoopsUser); - $render->setAttribute("anonymous", $controller->getConfig('anonymous')); + $render->setAttribute("anonymous", $controller->mRoot->mContext->getXoopsConfig('anonymous')); $render->setAttribute("pageNavi", $this->mPageNavi); $render->setAttribute("actionForm", $this->mActionForm); } Index: xoops2jp/html/modules/pm/actions/ReadAction.class.php diff -u xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3 xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3.2.1 --- xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3 Thu Jul 27 18:40:43 2006 +++ xoops2jp/html/modules/pm/actions/ReadAction.class.php Thu Oct 5 19:18:14 2006 @@ -1,7 +1,7 @@ <?php /** * @package pm - * @version $Id: ReadAction.class.php,v 1.1.2.3 2006/07/27 09:40:43 minahito Exp $ + * @version $Id: ReadAction.class.php,v 1.1.2.3.2.1 2006/10/05 10:18:14 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -129,7 +129,7 @@ $render->setAttribute("privMessage", $this->mPrivMessage); $render->setAttribute("previousMessage", $this->mPreviousMessage); $render->setAttribute("nextMessage", $this->mNextMessage); - $render->setAttribute("anonymous", $controller->getConfig('anonymous')); + $render->setAttribute("anonymous", $controller->mRoot->mContext->getXoopsConfig('anonymous')); } }