[xoops-cvslog 1613] CVS update: xoops2jp/html/modules/user/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 1月 8日 (日) 23:02:29 JST


Index: xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:1.1.2.4
--- xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php:1.1.2.3	Tue Nov 22 23:14:37 2005
+++ xoops2jp/html/modules/user/admin/forms/RankEditForm.class.php	Sun Jan  8 23:02:29 2006
@@ -35,24 +35,24 @@
 		// set fields
 		$this->mFieldProperties['rank_title']=new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank_title']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['rank_title']->addMessage("required",_MD_A_USER_ERROR_REQUIRED,_MD_A_USER_LANG_RANK_TITLE,"50");
+		$this->mFieldProperties['rank_title']->addMessage("required",_AD_USER_ERROR_REQUIRED,_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_A_USER_ERROR_REQUIRED,_MD_A_USER_LANG_RANK_MIN,"0");
-		$this->mFieldProperties['rank_min']->addMessage("min",_MD_A_USER_ERROR_MIN,_MD_A_USER_LANG_RANK_MIN,"0");
+		$this->mFieldProperties['rank_min']->addMessage("required",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_RANK_MIN,"0");
+		$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_A_USER_ERROR_REQUIRED,_MD_A_USER_LANG_RANK_MAX,"0");
-		$this->mFieldProperties['rank_max']->addMessage("min",_MD_A_USER_ERROR_MIN,_MD_A_USER_LANG_RANK_MAX,"0");
+		$this->mFieldProperties['rank_max']->addMessage("required",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_RANK_MAX,"0");
+		$this->mFieldProperties['rank_max']->addMessage("min",_AD_USER_ERROR_MIN,_AD_USER_LANG_RANK_MAX,"0");
 		$this->mFieldProperties['rank_max']->addVar("min",0);
 
 		$this->mFieldProperties['rank_special']=new XCube_FieldProperty($this);
 		$this->mFieldProperties['rank_special']->setDependsByArray(array('intRange'));
-		$this->mFieldProperties['rank_special']->addMessage("intRange",_MD_A_USER_ERROR_INJURY_SPECIAL);
+		$this->mFieldProperties['rank_special']->addMessage("intRange",_AD_USER_ERROR_INJURY_SPECIAL);
 		$this->mFieldProperties['rank_special']->addVar("min",0);
 		$this->mFieldProperties['rank_special']->addVar("max",1);
 	}
@@ -67,7 +67,7 @@
 	{
 		parent::validate();
 		if($this->getVar('max')<$this->getVar('min')) {
-			$this->addErrorMessage(_MD_A_USER_ERROR_INJURY_MIN_MAX);
+			$this->addErrorMessage(_AD_USER_ERROR_INJURY_MIN_MAX);
 		}
 
 		//
@@ -78,13 +78,13 @@
 			// Add code
 			//
 			if(!$this->mImageFile->checkFormat())
-				$this->addErrorMessage(_MD_A_USER_ERROR_WRONG_FORMAT);
+				$this->addErrorMessage(_AD_USER_ERROR_WRONG_FORMAT);
 		}
 		elseif(!$this->hasError() && $this->mImageFileName==null) {
 			//
 			// If we have no filename and no file uploaded, the validation is error.
 			//
-			$this->addErrorMessage(_MD_A_USER_ERROR_NO_UPLOAD_FILE);
+			$this->addErrorMessage(_AD_USER_ERROR_NO_UPLOAD_FILE);
 		}
 	}
 
Index: xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php
diff -u xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.1 xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.2
--- xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php:1.1.2.1	Thu Dec 22 20:26:12 2005
+++ xoops2jp/html/modules/user/admin/forms/GroupEditForm.class.php	Sun Jan  8 23:02:29 2006
@@ -18,8 +18,8 @@
 		// set fields
 		$this->mFieldProperties['name']=new XCube_FieldProperty($this);
 		$this->mFieldProperties['name']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['name']->addMessage("required",_MD_A_USER_ERROR_REQUIRED,_MD_A_USER_LANG_NAME,"100");
-		$this->mFieldProperties['name']->addMessage("maxlength",_MD_A_USER_ERROR_MAXLENGTH,_MD_A_USER_LANG_NAME,"100");
+		$this->mFieldProperties['name']->addMessage("required",_AD_USER_ERROR_REQUIRED,_AD_USER_LANG_NAME,"100");
+		$this->mFieldProperties['name']->addMessage("maxlength",_AD_USER_ERROR_MAXLENGTH,_AD_USER_LANG_NAME,"100");
 		$this->mFieldProperties['name']->addVar("maxlength",100);
 
 	}


xoops-cvslog メーリングリストの案内
Back to archive index