Minahito
minah****@users*****
2006年 1月 14日 (土) 22:45:14 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/TplfileEditAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplfileEditAction.class.php:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/actions/TplfileEditAction.class.php:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/actions/TplfileEditAction.class.php:1.1.2.2 Sat Jan 14 17:03:50 2006 +++ xoops2jp/html/modules/legacyRender/admin/actions/TplfileEditAction.class.php Sat Jan 14 22:45:14 2006 @@ -19,7 +19,7 @@ function _setupObject() { parent::_setupObject(); - + if (is_object($this->mObject) && $this->mObject->get('tpl_tplset') == 'default') { $this->mObject = null; } @@ -35,7 +35,7 @@ { return false; } - + function executeViewInput(&$controller, &$xoopsUser, &$render) { $render->setTemplateName("tplfile_edit.html"); @@ -45,7 +45,9 @@ function executeViewSuccess(&$controller, &$xoopsUser, &$render) { - $controller->executeForward("./index.php?action=TplfileList&module=" . $this->mObject->get('module')); + $tplset = $this->mObject->get('tpl_tplset'); + $module = $this->mObject->get('tpl_module'); + $controller->executeForward("./index.php?action=TplfileList&tpl_tplset=${tplset}&tpl_module=${module}"; } function executeViewError(&$controller, &$xoopsUser, &$render)