Minahito
minah****@users*****
2006年 10月 15日 (日) 01:05:31 JST
Index: xoops2jp/html/modules/legacy/admin/forms/CommentAdminEditForm.class.php diff -u xoops2jp/html/modules/legacy/admin/forms/CommentAdminEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/forms/CommentAdminEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/admin/forms/CommentAdminEditForm.class.php:1.1.2.1 Sat Oct 14 23:55:21 2006 +++ xoops2jp/html/modules/legacy/admin/forms/CommentAdminEditForm.class.php Sun Oct 15 01:05:31 2006 @@ -38,22 +38,22 @@ $this->mFieldProperties['com_id'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_id']->setDependsByArray(array('required')); - $this->mFieldProperties['com_id']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_ID); + $this->mFieldProperties['com_id']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_ID); $this->mFieldProperties['com_icon'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_icon']->setDependsByArray(array('maxlength')); - $this->mFieldProperties['com_icon']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _MD_BASE_LANG_COM_ICON, '25'); + $this->mFieldProperties['com_icon']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _MD_LEGACY_LANG_COM_ICON, '25'); $this->mFieldProperties['com_icon']->addVar('maxlength', '25'); $this->mFieldProperties['com_title'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_title']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['com_title']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_TITLE, '255'); - $this->mFieldProperties['com_title']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _MD_BASE_LANG_COM_TITLE, '255'); + $this->mFieldProperties['com_title']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_TITLE, '255'); + $this->mFieldProperties['com_title']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _MD_LEGACY_LANG_COM_TITLE, '255'); $this->mFieldProperties['com_title']->addVar('maxlength', '255'); $this->mFieldProperties['com_text'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_text']->setDependsByArray(array('required')); - $this->mFieldProperties['com_text']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_TEXT); + $this->mFieldProperties['com_text']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_TEXT); } function load(&$obj) @@ -95,8 +95,8 @@ $this->mFieldProperties['com_status'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_status']->setDependsByArray(array('required','intRange')); - $this->mFieldProperties['com_status']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_COM_STATUS); - $this->mFieldProperties['com_status']->addMessage('intRange', _AD_BASE_ERROR_INTRANGE, _AD_BASE_LANG_COM_STATUS); + $this->mFieldProperties['com_status']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_COM_STATUS); + $this->mFieldProperties['com_status']->addMessage('intRange', _AD_LEGACY_ERROR_INTRANGE, _AD_LEGACY_LANG_COM_STATUS); $this->mFieldProperties['com_status']->addVar('min', '1'); $this->mFieldProperties['com_status']->addVar('max', '3'); } @@ -110,8 +110,8 @@ $this->mFieldProperties['com_status'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_status']->setDependsByArray(array('required','intRange')); - $this->mFieldProperties['com_status']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_COM_STATUS); - $this->mFieldProperties['com_status']->addMessage('intRange', _AD_BASE_ERROR_INTRANGE, _AD_BASE_LANG_COM_STATUS); + $this->mFieldProperties['com_status']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_COM_STATUS); + $this->mFieldProperties['com_status']->addMessage('intRange', _AD_LEGACY_ERROR_INTRANGE, _AD_LEGACY_LANG_COM_STATUS); $this->mFieldProperties['com_status']->addVar('min', '2'); $this->mFieldProperties['com_status']->addVar('max', '3'); }