Minahito
minah****@users*****
2006年 10月 2日 (月) 22:16:25 JST
Index: xoops2jp/html/modules/base/admin/actions/ImageCreateAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ImageCreateAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/ImageCreateAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/ImageCreateAction.class.php:1.1.2.1 Mon Oct 2 19:21:10 2006 +++ xoops2jp/html/modules/base/admin/actions/ImageCreateAction.class.php Mon Oct 2 22:16:25 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: ImageCreateAction.class.php,v 1.1.2.1 2006/10/02 10:21:10 minahito Exp $ + * @version $Id: ImageCreateAction.class.php,v 1.1.2.2 2006/10/02 13:16:25 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -109,7 +109,7 @@ function executeViewCancel(&$controller, &$xoopsUser, &$render) { - $controller->executeForward("./index.php?action=ImageList&imgcat_id=" . $this->mActionForm->get('imgcat_id')); + $controller->executeForward("./index.php?action=ImagecategoryList"); } } Index: xoops2jp/html/modules/base/admin/actions/ImageEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ImageEditAction.class.php:1.1.2.10 xoops2jp/html/modules/base/admin/actions/ImageEditAction.class.php:1.1.2.11 --- xoops2jp/html/modules/base/admin/actions/ImageEditAction.class.php:1.1.2.10 Mon Oct 2 19:21:34 2006 +++ xoops2jp/html/modules/base/admin/actions/ImageEditAction.class.php Mon Oct 2 22:16:25 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: ImageEditAction.class.php,v 1.1.2.10 2006/10/02 10:21:34 minahito Exp $ + * @version $Id: ImageEditAction.class.php,v 1.1.2.11 2006/10/02 13:16:25 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -46,6 +46,11 @@ $categoryArr =& $handler->getObjects(new Criteria('imgcat_storetype', $t_category->get('imgcat_storetype'))); $render->setAttribute('categoryArr', $categoryArr); } + + function executeViewCancel(&$controller, &$xoopsUser, $&$render) + { + $controller->executeForward('./index.php?action=ImageList&imgcat_id=' . $this->mObject->get('imgcat_id')); + } } ?>