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

Back to archive index

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


Index: xoops2jp/html/modules/legacy/admin/forms/ImageAdminEditForm.class.php
diff -u xoops2jp/html/modules/legacy/admin/forms/ImageAdminEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/forms/ImageAdminEditForm.class.php:1.1.2.2
--- xoops2jp/html/modules/legacy/admin/forms/ImageAdminEditForm.class.php:1.1.2.1	Sat Oct 14 23:55:21 2006
+++ xoops2jp/html/modules/legacy/admin/forms/ImageAdminEditForm.class.php	Sun Oct 15 01:08:02 2006
@@ -7,8 +7,8 @@
 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 . "/base/forms/ImageUploadForm.class.php";
+require_once XOOPS_MODULE_PATH . "/legacy/class/Legacy_Validator.class.php";
+require_once XOOPS_MODULE_PATH . "/legacy/forms/ImageUploadForm.class.php";
 
 class Legacy_ImageAdminCreateForm extends Legacy_ImageUploadForm
 {
@@ -35,11 +35,11 @@
 		//
 		$this->mFieldProperties['image_id'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['image_id']->setDependsByArray(array('required'));
-		$this->mFieldProperties['image_id']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMAGE_ID);
+		$this->mFieldProperties['image_id']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMAGE_ID);
 	
 		$this->mFieldProperties['image_weight'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['image_weight']->setDependsByArray(array('required'));
-		$this->mFieldProperties['image_weight']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_IMAGE_WEIGHT);
+		$this->mFieldProperties['image_weight']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_IMAGE_WEIGHT);
 	}
 	
 	function load(&$obj)
@@ -67,7 +67,7 @@
 	{
 		parent::validateImgcat_id();
 		
-		$handler =& xoops_getmodulehandler('imagecategory', 'base');
+		$handler =& xoops_getmodulehandler('imagecategory', 'legacy');
 		$currentCategory =& $handler->get($this->_mImgcatId);
 		
 		$specificCategory =& $handler->get($this->get('imgcat_id'));


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