[xoops-cvslog 4214] CVS update: xoops2jp/html/modules/base/forms

Back to archive index

Minahito minah****@users*****
2006年 8月 18日 (金) 20:28:48 JST


Index: xoops2jp/html/modules/base/forms/ImageUploadForm.class.php
diff -u xoops2jp/html/modules/base/forms/ImageUploadForm.class.php:1.1.2.2 xoops2jp/html/modules/base/forms/ImageUploadForm.class.php:1.1.2.3
--- xoops2jp/html/modules/base/forms/ImageUploadForm.class.php:1.1.2.2	Mon May 29 16:07:06 2006
+++ xoops2jp/html/modules/base/forms/ImageUploadForm.class.php	Fri Aug 18 20:28:48 2006
@@ -30,17 +30,17 @@
 		//
 		$this->mFieldProperties['image_name'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['image_name']->setDependsByArray(array('extension'));
-		$this->mFieldProperties['image_name']->addMessage('required', _AD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMAGE_NAME);
+		$this->mFieldProperties['image_name']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMAGE_NAME);
 		$this->mFieldProperties['image_name']->addMessage('maxlength', _AD_BASE_ERROR_EXTENSION, _AD_BASE_LANG_IMAGE_NAME);
 		$this->mFieldProperties['image_name']->addVar('extension', 'jpg,gif,png');
 	
 		$this->mFieldProperties['image_nicename'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['image_nicename']->setDependsByArray(array('required'));
-		$this->mFieldProperties['image_nicename']->addMessage('required', _AD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMAGE_NICENAME);
+		$this->mFieldProperties['image_nicename']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _MD_BASE_LANG_IMAGE_NICENAME);
 		
 		$this->mFieldProperties['imgcat_id'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_id']->setDependsByArray(array('required','objectExist'));
-		$this->mFieldProperties['imgcat_id']->addMessage('required', _AD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_ID);
+		$this->mFieldProperties['imgcat_id']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_ID);
 		$this->mFieldProperties['imgcat_id']->addMessage('objectExist', _AD_BASE_ERROR_OBJECTEXIST, _AD_BASE_LANG_IMGCAT_ID);
 		$this->mFieldProperties['imgcat_id']->addVar('handler', 'imagecategory');
 		$this->mFieldProperties['imgcat_id']->addVar('module', 'base');
@@ -77,7 +77,7 @@
 		$formFile = $this->get('image_name');
 		
 		if ($formFile == null && $this->_mIsNew ) {
-			$this->addErrorMessage(_AD_BASE_ERROR_REQUIRED);
+			$this->addErrorMessage(_MD_BASE_ERROR_REQUIRED);
 		}
 	}
 	


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