Minahito
minah****@users*****
2006年 1月 19日 (木) 21:04:49 JST
Index: xoops2jp/html/modules/user/.xml/avatar_edit.xml diff -u /dev/null xoops2jp/html/modules/user/.xml/avatar_edit.xml:1.1.2.1 --- /dev/null Thu Jan 19 21:04:49 2006 +++ xoops2jp/html/modules/user/.xml/avatar_edit.xml Thu Jan 19 21:04:49 2006 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="AvatarEditForm" type="XCube_ActionForm"> + <form-property name="avatar_id" type="Int" /> + <form-property name="avatar_file" type="String" /> + <form-property name="avatar_name" type="String" /> + <form-property name="avatar_mimetype" type="String" /> + <form-property name="avatar_created" type="Int" /> + <form-property name="avatar_display" type="Bool" /> + <form-property name="avatar_weight" type="Int" /> + <form-property name="avatar_type" type="String" /> + </form-bean> + <form-validation> + <field property="avatar_id" depends="required"> + <arg0 key="const._MD_USER_LANG_AVATAR_ID" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + </field> + <field property="avatar_file" depends="required,maxlength"> + <arg0 key="const._MD_USER_LANG_AVATAR_FILE" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="30" /> + </field> + <field property="avatar_name" depends="required,maxlength"> + <arg0 key="const._MD_USER_LANG_AVATAR_NAME" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="100" /> + </field> + <field property="avatar_mimetype" depends="required,maxlength"> + <arg0 key="const._MD_USER_LANG_AVATAR_MIMETYPE" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="30" /> + </field> + <field property="avatar_created" depends="required"> + <arg0 key="const._MD_USER_LANG_AVATAR_CREATED" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + </field> + <field property="avatar_weight" depends="required"> + <arg0 key="const._MD_USER_LANG_AVATAR_WEIGHT" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + </field> + <field property="avatar_type" depends="required,maxlength"> + <arg0 key="const._MD_USER_LANG_AVATAR_TYPE" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <arg1 name="maxlength" key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="1" /> + </field> + </form-validation> +</xoopscube-dynaactionform> Index: xoops2jp/html/modules/user/.xml/avatar_delete.xml diff -u /dev/null xoops2jp/html/modules/user/.xml/avatar_delete.xml:1.1.2.1 --- /dev/null Thu Jan 19 21:04:49 2006 +++ xoops2jp/html/modules/user/.xml/avatar_delete.xml Thu Jan 19 21:04:49 2006 @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="AvatarDeleteForm" type="XCube_ActionForm"> + <form-property name="avatar_id" type="Int" /> + </form-bean> + <form-validation> + <field property="avatar_id" depends="required"> + <arg0 key="const._MD_USER_LANG_AVATAR_ID" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + </field> + </form-validation> +</xoopscube-dynaactionform>