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

アーカイブの一覧に戻る

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


Index: xoops2jp/html/modules/legacy/admin/forms/CustomBlockEditForm.class.php
diff -u xoops2jp/html/modules/legacy/admin/forms/CustomBlockEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacy/admin/forms/CustomBlockEditForm.class.php:1.1.2.2
--- xoops2jp/html/modules/legacy/admin/forms/CustomBlockEditForm.class.php:1.1.2.1	Sat Oct 14 23:55:21 2006
+++ xoops2jp/html/modules/legacy/admin/forms/CustomBlockEditForm.class.php	Sun Oct 15 01:07:09 2006
@@ -5,8 +5,8 @@
  */
 
 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/admin/forms/BlockEditForm.class.php";
+require_once XOOPS_MODULE_PATH . "/legacy/class/Legacy_Validator.class.php";
+require_once XOOPS_MODULE_PATH . "/legacy/admin/forms/BlockEditForm.class.php";
 
 class Legacy_CustomBlockEditForm extends Legacy_BlockEditForm
 {
@@ -30,12 +30,12 @@
 		//
 		$this->mFieldProperties['content'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['content']->setDependsByArray(array('required'));
-		$this->mFieldProperties['content']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_CONTENT);
+		$this->mFieldProperties['content']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_CONTENT);
 	
 		$this->mFieldProperties['c_type'] =& new XCube_FieldProperty($this);
 		$this->mFieldProperties['c_type']->setDependsByArray(array('required','maxlength'));
-		$this->mFieldProperties['c_type']->addMessage('required', _MD_BASE_ERROR_REQUIRED, _AD_BASE_LANG_C_TYPE, '1');
-		$this->mFieldProperties['c_type']->addMessage('maxlength', _MD_BASE_ERROR_MAXLENGTH, _AD_BASE_LANG_C_TYPE, '1');
+		$this->mFieldProperties['c_type']->addMessage('required', _MD_LEGACY_ERROR_REQUIRED, _AD_LEGACY_LANG_C_TYPE, '1');
+		$this->mFieldProperties['c_type']->addMessage('maxlength', _MD_LEGACY_ERROR_MAXLENGTH, _AD_LEGACY_LANG_C_TYPE, '1');
 		$this->mFieldProperties['c_type']->addVar('maxlength', '1');
 	}
 	
@@ -57,19 +57,19 @@
 		
 		switch ($this->get('c_type')) {
 			case 'H':
-				$obj->set('name', _AD_BASE_LANG_CUSTOM_HTML);
+				$obj->set('name', _AD_LEGACY_LANG_CUSTOM_HTML);
 				break;
 			
 			case 'P':
-				$obj->set('name', _AD_BASE_LANG_CUSTOM_PHP);
+				$obj->set('name', _AD_LEGACY_LANG_CUSTOM_PHP);
 				break;
 				
 			case 'S':
-				$obj->set('name', _AD_BASE_LANG_CUSTOM_WITH_SMILIES);
+				$obj->set('name', _AD_LEGACY_LANG_CUSTOM_WITH_SMILIES);
 				break;
 				
 			case 'T':
-				$obj->set('name', _AD_BASE_LANG_CUSTOM_WITHOUT_SMILIES);
+				$obj->set('name', _AD_LEGACY_LANG_CUSTOM_WITHOUT_SMILIES);
 				break;
 		}
 	}


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