Minahito
minah****@users*****
2006年 2月 1日 (水) 23:57:02 JST
Index: xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php:1.1.2.1 Sat Jan 14 02:31:14 2006 +++ xoops2jp/html/modules/legacyRender/admin/forms/TplfileEditForm.class.php Wed Feb 1 23:57:02 2006 @@ -29,8 +29,7 @@ $this->mFieldProperties['tpl_id']->addMessage('required', _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPL_ID); $this->mFieldProperties['tpl_desc'] =& new XCube_FieldProperty($this); - $this->mFieldProperties['tpl_desc']->setDependsByArray(array('required','maxlength')); - $this->mFieldProperties['tpl_desc']->addMessage('required', _AD_LEGACYRENDER_ERROR_REQUIRED, _AD_LEGACYRENDER_LANG_TPL_DESC, '255'); + $this->mFieldProperties['tpl_desc']->setDependsByArray(array('maxlength')); $this->mFieldProperties['tpl_desc']->addMessage('maxlength', _AD_LEGACYRENDER_ERROR_MAXLENGTH, _AD_LEGACYRENDER_LANG_TPL_DESC, '255'); $this->mFieldProperties['tpl_desc']->addVar('maxlength', 255);