Minahito
minah****@users*****
2006年 10月 15日 (日) 01:29:02 JST
Index: xoops2jp/html/modules/legacy/class/blockctype.php diff -u xoops2jp/html/modules/legacy/class/blockctype.php:1.1.2.1 xoops2jp/html/modules/legacy/class/blockctype.php:1.1.2.2 --- xoops2jp/html/modules/legacy/class/blockctype.php:1.1.2.1 Sat Oct 14 23:55:22 2006 +++ xoops2jp/html/modules/legacy/class/blockctype.php Sun Oct 15 01:29:02 2006 @@ -2,26 +2,26 @@ if (!defined('XOOPS_ROOT_PATH')) exit(); -class BaseBlockctypeObject extends XoopsSimpleObject +class LegacyBlockctypeObject extends XoopsSimpleObject { - function BaseBlockctypeObject() + function LegacyBlockctypeObject() { $this->initVar('type', XOBJ_DTYPE_STRING, '', true); $this->initVar('label', XOBJ_DTYPE_STRING, '', true, 255); } } -class BaseBlockctypeHandler extends XoopsObjectHandler +class LegacyBlockctypeHandler extends XoopsObjectHandler { var $_mResults = array(); - function BaseBlockctypeHandler(&$db) + function LegacyBlockctypeHandler(&$db) { $t_arr = array ( - 'H' => _AD_BASE_LANG_CTYPE_HTML, - 'P' => _AD_BASE_LANG_CTYPE_PHP, - 'S' => _AD_BASE_LANG_CTYPE_WITH_SMILIES, - 'T' => _AD_BASE_LANG_CTYPE_WITHOUT_SMILIES + 'H' => _AD_LEGACY_LANG_CTYPE_HTML, + 'P' => _AD_LEGACY_LANG_CTYPE_PHP, + 'S' => _AD_LEGACY_LANG_CTYPE_WITH_SMILIES, + 'T' => _AD_LEGACY_LANG_CTYPE_WITHOUT_SMILIES ); foreach ($t_arr as $id => $name) { @@ -33,7 +33,7 @@ function &create() { - $ret =& new BaseBlockctypeObject(); + $ret =& new LegacyBlockctypeObject(); return $ret; }