Minahito
minah****@users*****
2006年 4月 25日 (火) 14:17:01 JST
Index: xoops2jp/html/modules/legacyRender/admin/.xml/bannerclient_edit.xml diff -u xoops2jp/html/modules/legacyRender/admin/.xml/bannerclient_edit.xml:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/.xml/bannerclient_edit.xml:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/.xml/bannerclient_edit.xml:1.1.2.1 Mon Apr 24 16:29:58 2006 +++ xoops2jp/html/modules/legacyRender/admin/.xml/bannerclient_edit.xml Tue Apr 25 14:17:01 2006 @@ -10,11 +10,9 @@ <form-property name="extrainfo" type="Text" /> </form-bean> <form-validation> - <field property="cid" depends="required,objectExsist"> + <field property="cid" depends="required"> <arg0 key="const._AD_LEGACYRENDER_LANG_CID" /> <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> - <msg name="objectExist" key="const._AD_LEGACYRENDER_ERROR_OBJECT_EXIST" /> - <var name="handler" value="bannerfinish" /> </field> <field property="name" depends="required,maxlength"> <arg0 key="const._AD_LEGACYRENDER_LANG_NAME" /> @@ -23,37 +21,30 @@ <msg name="maxlength" key="const._AD_LEGACYRENDER_ERROR_MAXLENGTH" /> <var name="maxlength" value="60" /> </field> - <field property="contact" depends="required,maxlength"> + <field property="contact" depends="maxlength"> <arg0 key="const._AD_LEGACYRENDER_LANG_CONTACT" /> - <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> <arg1 name="maxlength" key="${var:maxlength}" /> <msg name="maxlength" key="const._AD_LEGACYRENDER_ERROR_MAXLENGTH" /> <var name="maxlength" value="60" /> </field> - <field property="email" depends="required,maxlength"> + <field property="email" depends="maxlength,email"> <arg0 key="const._AD_LEGACYRENDER_LANG_EMAIL" /> - <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> + <msg name="email" key="const._AD_LEGACYRENDER_ERROR_EMAIL" /> <arg1 name="maxlength" key="${var:maxlength}" /> <msg name="maxlength" key="const._AD_LEGACYRENDER_ERROR_MAXLENGTH" /> <var name="maxlength" value="60" /> </field> - <field property="login" depends="required,maxlength"> + <field property="login" depends="maxlength"> <arg0 key="const._AD_LEGACYRENDER_LANG_LOGIN" /> - <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> <arg1 name="maxlength" key="${var:maxlength}" /> <msg name="maxlength" key="const._AD_LEGACYRENDER_ERROR_MAXLENGTH" /> <var name="maxlength" value="10" /> </field> - <field property="passwd" depends="required,maxlength"> + <field property="passwd" depends="maxlength"> <arg0 key="const._AD_LEGACYRENDER_LANG_PASSWD" /> - <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> <arg1 name="maxlength" key="${var:maxlength}" /> <msg name="maxlength" key="const._AD_LEGACYRENDER_ERROR_MAXLENGTH" /> <var name="maxlength" value="10" /> </field> - <field property="extrainfo" depends="required"> - <arg0 key="const._AD_LEGACYRENDER_LANG_EXTRAINFO" /> - <msg name="required" key="const._AD_LEGACYRENDER_ERROR_REQUIRED" /> - </field> </form-validation> </xoopscube-dynaactionform>