Minahito
minah****@users*****
2006年 4月 6日 (木) 16:51:41 JST
Index: xoops2jp/html/modules/base/admin/.xml/customblock_edit.xml diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/customblock_edit.xml:1.1.2.1 --- /dev/null Thu Apr 6 16:51:41 2006 +++ xoops2jp/html/modules/base/admin/.xml/customblock_edit.xml Thu Apr 6 16:51:41 2006 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8" ?> +<xoopscube-dynaactionform> + <form-bean name="CustomBlockEditForm" type="Legacy_BlockEditForm"> + <form-property name="content" type="Text" /> + <form-property name="ctype" type="String" /> + </form-bean> + <form-validation> + <field property="content" depends="required"> + <arg0 key="const._AD_BASE_LANG_CONTENT" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + </field> + <field property="ctype" depends="required,maxlength"> + <arg0 key="const._AD_BASE_LANG_BLOCK_TYPE" /> + <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="1" /> + </field> + </form-validation> +</xoopscube-dynaactionform>