Minahito
minah****@users*****
2006年 4月 11日 (火) 10:51:20 JST
Index: xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.2 --- xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php:1.1.2.1 Wed Apr 5 19:57:52 2006 +++ xoops2jp/html/modules/base/admin/actions/BlockInstallEditAction.class.php Tue Apr 11 10:51:20 2006 @@ -15,6 +15,16 @@ $this->mActionForm->prepare(); } + function _isEditable() + { + if (is_object($this->mObject)) { + return ($this->mObject->get('visible') == 0); + } + else { + return false; + } + } + function executeViewInput(&$controller, &$xoopsUser, &$render) { parent::executeViewInput($controller, $xoopsUser, $render);