Minahito
minah****@users*****
2006年 5月 12日 (金) 19:13:16 JST
Index: xoops2jp/html/modules/base/admin/.xml/image_edit.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/image_edit.xml:1.1.2.1 --- /dev/null Fri May 12 19:13:16 2006 +++ xoops2jp/html/modules/base/admin/.xml/image_edit.xml Fri May 12 19:13:16 2006 @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="ImageAdminEditForm" type="XCube_ActionForm"> + <form-property name="image_id" type="Int" /> + <form-property name="image_name" type="String" /> + <form-property name="image_nicename" type="String" /> + <form-property name="image_mimetype" type="String" /> + <form-property name="image_created" type="Int" /> + <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="required,maxlength"> + <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_MAXLENGTH" /> + <var name="maxlength" value="30" /> + </field> + <field property="image_nicename" depends="required,maxlength"> + <arg0 key="const._AD_BASE_LANG_IMAGE_NICENAME" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._AD_BASE_ERROR_MAXLENGTH" /> + <var name="maxlength" value="255" /> + </field> + <field property="image_mimetype" depends="required,maxlength"> + <arg0 key="const._AD_BASE_LANG_IMAGE_MIMETYPE" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._AD_BASE_ERROR_MAXLENGTH" /> + <var name="maxlength" value="30" /> + </field> + <field property="image_created" depends="required"> + <arg0 key="const._AD_BASE_LANG_IMAGE_CREATED" /> + <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"> + <arg0 key="const._AD_BASE_LANG_IMGCAT_ID" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + </field> + </form-validation> +</xoopscube-dynaactionform>