[xoops-cvslog 5217] CVS update: xoops2jp/html/modules/legacy/admin/forms

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 10月 15日 (日) 01:08:51 JST


Index: xoops2jp/html/modules/legacy/admin/forms/ImagecategoryAdminEditForm.class.php
diff -u xoops2jp/html/modules/legacy/admin/forms/ImagecategoryAdminEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/forms/ImagecategoryAdminEditForm.class.php:1.1.2.2
--- xoops2jp/html/modules/legacy/admin/forms/ImagecategoryAdminEditForm.class.php:1.1.2.1	Sat Oct 14 23:55:21 2006
+++ xoops2jp/html/modules/legacy/admin/forms/ImagecategoryAdminEditForm.class.php	Sun Oct 15 01:08:51 2006
@@ -7,7 +7,7 @@
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
 require_once XOOPS_ROOT_PATH . "/core/XCube_ActionForm.class.php";
-require_once XOOPS_MODULE_PATH . "/base/class/Legacy_Validator.class.php";
+require_once XOOPS_MODULE_PATH . "/legacy/class/Legacy_Validator.class.php";
 
 class Legacy_ImagecategoryAdminEditForm extends XCube_ActionForm
 {
@@ -36,38 +36,38 @@
 		//
 		$this->mFieldProperties['imgcat_id'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_id']->setDependsByArray(array('required'));
-		$this->mFieldProperties['imgcat_id']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_ID);
+		$this->mFieldProperties['imgcat_id']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_ID);
 	
 		$this->mFieldProperties['imgcat_name'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_name']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['imgcat_name']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_NAME, '100');
-		$this->mFieldProperties['imgcat_name']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _AD_BASE_LANG_IMGCAT_NAME, '100');
+		$this->mFieldProperties['imgcat_name']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_NAME, '100');
+		$this->mFieldProperties['imgcat_name']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _AD_LEGACY_LANG_IMGCAT_NAME, '100');
 		$this->mFieldProperties['imgcat_name']->addVar('maxlength', '100');
 	
 		$this->mFieldProperties['imgcat_maxsize'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_maxsize']->setDependsByArray(array('required'));
-		$this->mFieldProperties['imgcat_maxsize']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_MAXSIZE);
+		$this->mFieldProperties['imgcat_maxsize']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_MAXSIZE);
 	
 		$this->mFieldProperties['imgcat_maxwidth'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_maxwidth']->setDependsByArray(array('required'));
-		$this->mFieldProperties['imgcat_maxwidth']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_MAXWIDTH);
+		$this->mFieldProperties['imgcat_maxwidth']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_MAXWIDTH);
 	
 		$this->mFieldProperties['imgcat_maxheight'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_maxheight']->setDependsByArray(array('required'));
-		$this->mFieldProperties['imgcat_maxheight']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_MAXHEIGHT);
+		$this->mFieldProperties['imgcat_maxheight']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_MAXHEIGHT);
 	
 		$this->mFieldProperties['imgcat_weight'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['imgcat_weight']->setDependsByArray(array('required'));
-		$this->mFieldProperties['imgcat_weight']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMGCAT_WEIGHT);
+		$this->mFieldProperties['imgcat_weight']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMGCAT_WEIGHT);
 	
 		$this->mFieldProperties['readgroups'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['readgroups']->setDependsByArray(array('objectExist'));
-		$this->mFieldProperties['readgroups']->addMessage('objectExist', _AD_BASE_ERROR_OBJECTEXIST, _AD_BASE_LANG_IMGCAT_READ_GROUPS);
+		$this->mFieldProperties['readgroups']->addMessage('objectExist', _AD_LEGACY_ERROR_OBJECTEXIST, _AD_LEGACY_LANG_IMGCAT_READ_GROUPS);
 		$this->mFieldProperties['readgroups']->addVar('handler', 'group');
 	
 		$this->mFieldProperties['uploadgroups'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['uploadgroups']->setDependsByArray(array('objectExist'));
-		$this->mFieldProperties['uploadgroups']->addMessage('objectExist', _AD_BASE_ERROR_OBJECTEXIST, _AD_BASE_LANG_IMGCAT_UPLOAD_GROUPS);
+		$this->mFieldProperties['uploadgroups']->addMessage('objectExist', _AD_LEGACY_ERROR_OBJECTEXIST, _AD_LEGACY_LANG_IMGCAT_UPLOAD_GROUPS);
 		$this->mFieldProperties['uploadgroups']->addVar('handler', 'group');
 	}
 
@@ -75,7 +75,7 @@
 	{
 		$readgroups = $this->get('readgroups');
 		if (count($readgroups) == 0) {
-			$this->addErrorMessage(_AD_BASE_ERROR_READGROUPS);
+			$this->addErrorMessage(_AD_LEGACY_ERROR_READGROUPS);
 		}
 	}
 	
@@ -83,7 +83,7 @@
 	{
 		$uploadgroups = $this->get('uploadgroups');
 		if (count($uploadgroups) == 0) {
-			$this->addErrorMessage(_AD_BASE_ERROR_UPLOADGROUPS);
+			$this->addErrorMessage(_AD_LEGACY_ERROR_UPLOADGROUPS);
 		}
 	}
 	


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る