Minahito
minah****@users*****
2006年 5月 25日 (木) 18:30:42 JST
Index: xoops2jp/html/modules/base/admin/.xml/image_edit.xml diff -u xoops2jp/html/modules/base/admin/.xml/image_edit.xml:1.1.2.2 xoops2jp/html/modules/base/admin/.xml/image_edit.xml:1.1.2.3 --- xoops2jp/html/modules/base/admin/.xml/image_edit.xml:1.1.2.2 Mon May 15 14:26:01 2006 +++ xoops2jp/html/modules/base/admin/.xml/image_edit.xml Thu May 25 18:30:42 2006 @@ -1,39 +1,18 @@ <?xml version="1.0" encoding="utf-8" ?> <xoopscube-dynaactionform> - <form-bean name="ImageAdminEditForm" type="XCube_ActionForm"> + <form-bean name="ImageAdminEditForm" type="Legacy_ImageUploadForm"> <form-property name="image_id" type="Int" /> - <form-property name="image_name" type="ImageFile" /> - <form-property name="image_nicename" type="String" /> <form-property name="image_display" type="Bool" /> <form-property name="image_weight" type="Int" /> - <form-property name="imgcat_id" type="Int" /> </form-bean> <form-validation> <field property="image_id" depends="required"> <arg0 key="const._AD_BASE_LANG_IMAGE_ID" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> </field> - <field property="image_name" depends="extension"> - <arg0 key="const._AD_BASE_LANG_IMAGE_NAME" /> - <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> - <arg1 name="maxlength" key="${var:maxlength}" /> - <msg name="maxlength" key="const._AD_BASE_ERROR_EXTENSION" /> - <var name="extension" value="jpg,gif,png" /> - </field> - <field property="image_nicename" depends="required"> - <arg0 key="const._AD_BASE_LANG_IMAGE_NICENAME" /> - <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> - </field> <field property="image_weight" depends="required"> <arg0 key="const._AD_BASE_LANG_IMAGE_WEIGHT" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> </field> - <field property="imgcat_id" depends="required,objectExist"> - <arg0 key="const._AD_BASE_LANG_IMGCAT_ID" /> - <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> - <msg name="objectExist" key="const._AD_BASE_ERROR_OBJECTEXIST" /> - <var name="handler" value="imagecategory" /> - <var name="module" value="base" /> - </field> </form-validation> </xoopscube-dynaactionform>