Minahito
minah****@users*****
2006年 1月 18日 (水) 02:26:12 JST
Index: xoops2jp/html/modules/user/.xml/register_edit.xml diff -u /dev/null xoops2jp/html/modules/user/.xml/register_edit.xml:1.1.2.1 --- /dev/null Wed Jan 18 02:26:12 2006 +++ xoops2jp/html/modules/user/.xml/register_edit.xml Wed Jan 18 02:26:12 2006 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="UserRegisterEditForm" type="User_AbstractUserEditForm"> + <form-property name="uname" type="String" /> + + <form-property name="email" type="String" /> + <form-property name="user_viewemail" type="Bool" /> + + <form-property name="url" type="String" /> + + <form-property name="timezone_offset" type="Float" /> + + <form-property name="pass" type="String" /> + <form-property name="vpass" type="String" /> + + <form-property name="user_mailok" type="Bool" /> + + <form-property name="agree" type="Bool" /> + </form-bean> + <form-validation> + <field property="uname" depends="required,maxlength"> + <arg0 key="const._MD_USER_LANG_UNAME" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + <arg1 key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="25" /> + </field> + <field property="email" depends="maxlength"> + <arg0 key="const._MD_USER_LANG_EMAIL" /> + <arg1 key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="60" /> + </field> + + <field property="url" depends="maxlength"> + <arg0 key="const._MD_USER_LANG_URL" /> + <arg1 key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="100" /> + </field> + + <field property="pass" depends="maxlength"> + <arg0 key="const._MD_USER_LANG_PASS" /> + <arg1 key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="32" /> + </field> + <field property="vpass" depends="maxlength"> + <arg0 key="const._MD_USER_LANG_PASS" /> + <arg1 key="${var:maxlength}" /> + <msg name="maxlength" key="const._MD_USER_ERROR_MAXLENGTH" /> + <var name="maxlength" value="32" /> + </field> + + <field property="timezone_offset" depends="required"> + <arg0 key="const._MD_USER_LANG_TIMEZONE_OFFSET" /> + <msg name="required" key="const._MD_USER_ERROR_REQUIRED" /> + </field> + </form-validation> +</xoopscube-dynaactionform>