Minahito
minah****@users*****
2006年 1月 29日 (日) 00:50:36 JST
Index: xoops2jp/html/modules/base/admin/.xml/smiles_edit.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/smiles_edit.xml:1.1.2.1 --- /dev/null Sun Jan 29 00:50:36 2006 +++ xoops2jp/html/modules/base/admin/.xml/smiles_edit.xml Sun Jan 29 00:50:36 2006 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="SmilesAdminEditForm" type="XCube_ActionForm"> + <form-property name="id" type="Int" /> + <form-property name="code" type="String" /> + <form-property name="smile_url" type="ImageFile" /> + <form-property name="emotion" type="String" /> + <form-property name="display" type="Bool" /> + </form-bean> + <form-validation> + <field property="id" depends="required"> + <arg0 key="const._AD_BASE_LANG_ID" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + </field> + <field property="code" depends="required,maxlength"> + <arg0 key="const._AD_BASE_LANG_CODE" /> + <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="50" /> + </field> + <field property="smile_url" depends="extension"> + <msg name="extension" key="const._AD_BASE_ERROR_EXTENSION" /> + <var name="extension" value="jpg,gif,png" /> + </field> + <field property="emotion" depends="required,maxlength"> + <arg0 key="const._AD_BASE_LANG_EMOTION" /> + <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="75" /> + </field> + </form-validation> +</xoopscube-dynaactionform> Index: xoops2jp/html/modules/base/admin/.xml/smiles_delete.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/smiles_delete.xml:1.1.2.1 --- /dev/null Sun Jan 29 00:50:36 2006 +++ xoops2jp/html/modules/base/admin/.xml/smiles_delete.xml Sun Jan 29 00:50:36 2006 @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="SmilesAdminDeleteForm" type="XCube_ActionForm"> + <form-property name="id" type="Int" /> + </form-bean> + <form-validation> + <field property="id" depends="required"> + <arg0 key="const._AD_BASE_LANG_ID" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + </field> + </form-validation> +</xoopscube-dynaactionform>