Minahito
minah****@users*****
2006年 11月 16日 (木) 17:15:10 JST
Index: xoops2jp/html/modules/pm/actions/DeleteAction.class.php diff -u xoops2jp/html/modules/pm/actions/DeleteAction.class.php:1.1.2.4 xoops2jp/html/modules/pm/actions/DeleteAction.class.php:1.1.2.4.2.1 --- xoops2jp/html/modules/pm/actions/DeleteAction.class.php:1.1.2.4 Thu Aug 17 18:09:51 2006 +++ xoops2jp/html/modules/pm/actions/DeleteAction.class.php Thu Nov 16 17:15:10 2006 @@ -1,7 +1,7 @@ <?php /** * @package pm - * @version $Id: DeleteAction.class.php,v 1.1.2.4 2006/08/17 09:09:51 minahito Exp $ + * @version $Id: DeleteAction.class.php,v 1.1.2.4.2.1 2006/11/16 08:15:10 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -50,12 +50,12 @@ function executeViewSuccess(&$controller, &$xoopsUser, &$render) { - $controller->executeRedirect("./index.php", 1, _MD_PM_MESSAGE_DELETED); + $controller->executeRedirect(XOOPS_URL . "/viewpmsg.php", 1, _MD_PM_MESSAGE_DELETED); } function executeViewError(&$controller, &$xoopsUser, &$render) { - $controller->executeRedirect("./index.php", 1, _MD_PM_ERROR_ACCESS); + $controller->executeRedirect(XOOPS_URL . "/viewpmsg.php", 1, _MD_PM_ERROR_ACCESS); } } Index: xoops2jp/html/modules/pm/actions/ReadAction.class.php diff -u xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3.2.2 xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3.2.3 --- xoops2jp/html/modules/pm/actions/ReadAction.class.php:1.1.2.3.2.2 Tue Oct 17 19:23:03 2006 +++ xoops2jp/html/modules/pm/actions/ReadAction.class.php Thu Nov 16 17:15:10 2006 @@ -1,7 +1,7 @@ <?php /** * @package pm - * @version $Id: ReadAction.class.php,v 1.1.2.3.2.2 2006/10/17 10:23:03 minahito Exp $ + * @version $Id: ReadAction.class.php,v 1.1.2.3.2.3 2006/11/16 08:15:10 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -113,12 +113,12 @@ */ function execute(&$controller, &$xoopsUser) { - $controller->executeForward(XOOPS_MODULE_URL . "/pm/index.php?action=DeleteOne&msg_id=" . xoops_getrequest('msg_id')); + $controller->executeForward(XOOPS_URL . "/readpmsg.php?action=DeleteOne&msg_id=" . xoops_getrequest('msg_id')); } function executeViewError(&$controller, &$xoopsUser, &$render) { - $controller->executeRedirect("./index.php", 1, _MD_PM_ERROR_ACCESS); + $controller->executeRedirect(XOOPS_URL . "/viewpmsg.php", 1, _MD_PM_ERROR_ACCESS); } function executeViewIndex(&$controller, &$xoopsUser, &$render)