Minahito
minah****@users*****
2006年 10月 1日 (日) 18:50:38 JST
Index: xoops2jp/html/modules/user/forms/LostPassEditForm.class.php diff -u xoops2jp/html/modules/user/forms/LostPassEditForm.class.php:1.1.2.4 xoops2jp/html/modules/user/forms/LostPassEditForm.class.php:1.1.2.5 --- xoops2jp/html/modules/user/forms/LostPassEditForm.class.php:1.1.2.4 Sat Sep 23 12:11:01 2006 +++ xoops2jp/html/modules/user/forms/LostPassEditForm.class.php Sun Oct 1 18:50:38 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LostPassEditForm.class.php,v 1.1.2.4 2006/09/23 03:11:01 minahito Exp $ + * @version $Id: LostPassEditForm.class.php,v 1.1.2.5 2006/10/01 09:50:38 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -32,7 +32,7 @@ $this->mFieldProperties['email'] =& new XCube_FieldProperty($this); $this->mFieldProperties['email']->setDependsByArray(array('required', 'email')); $this->mFieldProperties['email']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_EMAIL); - $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL_FORMAT, _MD_USER_LANG_EMAIL); + $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL, _MD_USER_LANG_EMAIL); } } Index: xoops2jp/html/modules/user/forms/EditUserForm.class.php diff -u xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.16 xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.17 --- xoops2jp/html/modules/user/forms/EditUserForm.class.php:1.1.2.16 Sun Aug 27 01:50:27 2006 +++ xoops2jp/html/modules/user/forms/EditUserForm.class.php Sun Oct 1 18:50:38 2006 @@ -68,7 +68,7 @@ $this->mFieldProperties['email']->addMessage("required", _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_EMAIL, "60"); $this->mFieldProperties['email']->addMessage("maxlength", _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_EMAIL, "60"); $this->mFieldProperties['email']->addVar("maxlength", 60); - $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL_FORMAT); + $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL, _MD_USER_LANG_EMAIL); } $this->mFieldProperties['url'] =& new XCube_FieldProperty($this); Index: xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php diff -u xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.11 xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.12 --- xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php:1.1.2.11 Sun Aug 27 01:50:27 2006 +++ xoops2jp/html/modules/user/forms/UserRegisterEditForm.class.php Sun Oct 1 18:50:38 2006 @@ -48,7 +48,7 @@ $this->mFieldProperties['email']->addMessage('maxlength', _MD_USER_ERROR_MAXLENGTH, _MD_USER_LANG_EMAIL, '60'); $this->mFieldProperties['email']->addMessage('required', _MD_USER_ERROR_REQUIRED, _MD_USER_LANG_EMAIL, '60'); $this->mFieldProperties['email']->addVar('maxlength', 60); - $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL_FORMAT); + $this->mFieldProperties['email']->addMessage('email', _MD_USER_ERROR_EMAIL, _MD_USER_LANG_EMAIL); $this->mFieldProperties['url'] =& new XCube_FieldProperty($this); $this->mFieldProperties['url']->setDependsByArray(array('maxlength'));