Minahito
minah****@users*****
2006年 10月 15日 (日) 01:35:06 JST
Index: xoops2jp/html/modules/legacy/forms/CommentEditForm.class.php diff -u xoops2jp/html/modules/legacy/forms/CommentEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacy/forms/CommentEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/forms/CommentEditForm.class.php:1.1.2.1 Sat Oct 14 23:55:25 2006 +++ xoops2jp/html/modules/legacy/forms/CommentEditForm.class.php Sun Oct 15 01:35:06 2006 @@ -43,50 +43,50 @@ // $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_pid'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_pid']->setDependsByArray(array('required')); - $this->mFieldProperties['com_pid']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_PID); + $this->mFieldProperties['com_pid']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_PID); $this->mFieldProperties['com_rootid'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_rootid']->setDependsByArray(array('required')); - $this->mFieldProperties['com_rootid']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_ROOTID); + $this->mFieldProperties['com_rootid']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_ROOTID); $this->mFieldProperties['com_modid'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_modid']->setDependsByArray(array('required')); - $this->mFieldProperties['com_modid']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_MODID); + $this->mFieldProperties['com_modid']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_MODID); $this->mFieldProperties['com_itemid'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_itemid']->setDependsByArray(array('required')); - $this->mFieldProperties['com_itemid']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_ITEMID); + $this->mFieldProperties['com_itemid']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_ITEMID); $this->mFieldProperties['com_icon'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_icon']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['com_icon']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_ICON, '25'); - $this->mFieldProperties['com_icon']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _MD_BASE_LANG_COM_ICON, '25'); + $this->mFieldProperties['com_icon']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_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_ip'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_ip']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['com_ip']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_IP, '15'); - $this->mFieldProperties['com_ip']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _MD_BASE_LANG_COM_IP, '15'); + $this->mFieldProperties['com_ip']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_IP, '15'); + $this->mFieldProperties['com_ip']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _MD_LEGACY_LANG_COM_IP, '15'); $this->mFieldProperties['com_ip']->addVar('maxlength', 15); $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); $this->mFieldProperties['com_exparams'] =& new XCube_FieldProperty($this); $this->mFieldProperties['com_exparams']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['com_exparams']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_COM_EXPARAMS, '255'); - $this->mFieldProperties['com_exparams']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _MD_BASE_LANG_COM_EXPARAMS, '255'); + $this->mFieldProperties['com_exparams']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _MD_LEGACY_LANG_COM_EXPARAMS, '255'); + $this->mFieldProperties['com_exparams']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _MD_LEGACY_LANG_COM_EXPARAMS, '255'); $this->mFieldProperties['com_exparams']->addVar('maxlength', 255); }