Minahito
minah****@users*****
2006年 8月 20日 (日) 11:50:06 JST
Index: xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.14 xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.15 --- xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php:1.1.2.14 Fri Aug 18 18:05:54 2006 +++ xoops2jp/html/modules/user/admin/forms/UserAdminEditForm.class.php Sun Aug 20 11:50:06 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: UserAdminEditForm.class.php,v 1.1.2.14 2006/08/18 09:05:54 minahito Exp $ + * @version $Id: UserAdminEditForm.class.php,v 1.1.2.15 2006/08/20 02:50:06 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -127,7 +127,7 @@ $this->mFieldProperties['rank'] =& new XCube_FieldProperty($this); $this->mFieldProperties['rank']->setDependsByArray(array('required')); - $this->mFieldProperties['rank']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK); + $this->mFieldProperties['rank']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK); $this->mFieldProperties['level'] =& new XCube_FieldProperty($this); $this->mFieldProperties['level']->setDependsByArray(array('required')); @@ -231,10 +231,10 @@ $rank =& $handler->get($t_rank); if (!is_object($rank)) { - $this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _MD_USER_LANG_RANK)); + $this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _AD_USER_LANG_RANK)); } elseif ($rank->get('rank_special') != 1) { - $this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _MD_USER_LANG_RANK)); + $this->addErrorMessage(XCube_Utils::formatMessage(_MD_USER_ERROR_INJURY, _AD_USER_LANG_RANK)); } } } Index: xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php diff -u xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.6 xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.7 --- xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php:1.1.2.6 Fri Aug 18 18:05:54 2006 +++ xoops2jp/html/modules/user/admin/forms/RanksAdminEditForm.class.php Sun Aug 20 11:50:06 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.6 2006/08/18 09:05:54 minahito Exp $ + * @version $Id: RanksAdminEditForm.class.php,v 1.1.2.7 2006/08/20 02:50:06 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -43,20 +43,20 @@ $this->mFieldProperties['rank_title'] =& new XCube_FieldProperty($this); $this->mFieldProperties['rank_title']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['rank_title']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_TITLE, '50'); - $this->mFieldProperties['rank_title']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_RANK_TITLE, '50'); + $this->mFieldProperties['rank_title']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_TITLE, '50'); + $this->mFieldProperties['rank_title']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _AD_USER_LANG_RANK_TITLE, '50'); $this->mFieldProperties['rank_title']->addVar('maxlength', 50); $this->mFieldProperties['rank_min'] =& new XCube_FieldProperty($this); $this->mFieldProperties['rank_min']->setDependsByArray(array('required', 'min')); - $this->mFieldProperties['rank_min']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_MIN); - $this->mFieldProperties['rank_min']->addMessage('min', _AD_USER_ERROR_MIN, _MD_USER_LANG_RANK_MIN, 0); + $this->mFieldProperties['rank_min']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_MIN); + $this->mFieldProperties['rank_min']->addMessage('min', _AD_USER_ERROR_MIN, _AD_USER_LANG_RANK_MIN, 0); $this->mFieldProperties['rank_min']->addVar('min', 0); $this->mFieldProperties['rank_max'] =& new XCube_FieldProperty($this); $this->mFieldProperties['rank_max']->setDependsByArray(array('required', 'min')); - $this->mFieldProperties['rank_max']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_RANK_MAX); - $this->mFieldProperties['rank_max']->addMessage('min', _AD_USER_ERROR_MIN, _MD_USER_LANG_RANK_MAX, 0); + $this->mFieldProperties['rank_max']->addMessage('required', _MD_USER_ERROR_REQUIRED, _AD_USER_LANG_RANK_MAX); + $this->mFieldProperties['rank_max']->addMessage('min', _AD_USER_ERROR_MIN, _AD_USER_LANG_RANK_MAX, 0); $this->mFieldProperties['rank_max']->addVar('min', 0); }