Minahito
minah****@users*****
2006年 4月 11日 (火) 10:51:13 JST
Index: xoops2jp/html/modules/base/admin/actions/BlockUninstallAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/BlockUninstallAction.class.php:1.1.2.2 xoops2jp/html/modules/base/admin/actions/BlockUninstallAction.class.php:1.1.2.3 --- xoops2jp/html/modules/base/admin/actions/BlockUninstallAction.class.php:1.1.2.2 Thu Apr 6 15:01:39 2006 +++ xoops2jp/html/modules/base/admin/actions/BlockUninstallAction.class.php Tue Apr 11 10:51:13 2006 @@ -23,6 +23,16 @@ $this->mActionForm =& new Legacy_BlockUninstallForm(); $this->mActionForm->prepare(); } + + function _isEditable() + { + if (is_object($this->mObject)) { + return ($this->mObject->get('visible') == 1); + } + else { + return false; + } + } function executeViewInput(&$controller, &$xoopsUser, &$render) {