Minahito
minah****@users*****
2006年 1月 14日 (土) 17:06:24 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/ThemeListAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/ThemeListAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/ThemeListAction.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/actions/ThemeListAction.class.php:1.1.2.1 Sat Jan 14 16:26:55 2006 +++ xoops2jp/html/modules/legacyRender/admin/actions/ThemeListAction.class.php Sat Jan 14 17:06:24 2006 @@ -8,11 +8,16 @@ */ class LegacyRender_ThemeListAction extends LegacyRender_Action { - var $mConfig; var $mThemes = null; var $mObjectHandler = null; var $mActionForm=null; + function prepare(&$controller, &$xoopsUser) + { + $this->_setupObject(); + $this->_setupActionForm(); + } + function _setupObject() { if ($this->mThemes == null) { @@ -33,9 +38,6 @@ function getDefaultView(&$controller, &$xoopsUser) { - $this->_setupObject(); - $this->_setupActionForm(); - $this->mActionForm->load($this->mThemes); return LEGACYRENDER_FRAME_VIEW_INDEX; @@ -43,9 +45,6 @@ function execute(&$controller, &$xoopsUser) { - $this->_setupObject(); - $this->_setupActionForm(); - $this->mActionForm->fetch(); $this->mActionForm->validate();