Minahito
minah****@users*****
2006年 1月 18日 (水) 22:09:09 JST
Index: xoops2jp/html/modules/user/.xml/avatar_upload.xml diff -u /dev/null xoops2jp/html/modules/user/.xml/avatar_upload.xml:1.1.2.1 --- /dev/null Wed Jan 18 22:09:08 2006 +++ xoops2jp/html/modules/user/.xml/avatar_upload.xml Wed Jan 18 22:09:08 2006 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="AvatarUploadForm" type="XCube_ActionForm"> + <form-property name="uploadavatar" type="ImageFile" /> + </form-bean> + <form-validation> + <field property="uploadavatar" depends="extension"> + <arg0 key="const._MD_USER_LANG_EMAIL" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <var name="extension" value="jpg,gif,png" /> + </field> + </form-validation> +</xoopscube-dynaactionform>