Minahito
minah****@users*****
2006年 3月 30日 (木) 18:11:33 JST
Index: xoops2jp/html/modules/base/admin/.xml/xoopscomments_edit.xml diff -u xoops2jp/html/modules/base/admin/.xml/xoopscomments_edit.xml:1.1.2.3 xoops2jp/html/modules/base/admin/.xml/xoopscomments_edit.xml:1.1.2.4 --- xoops2jp/html/modules/base/admin/.xml/xoopscomments_edit.xml:1.1.2.3 Tue Feb 21 20:44:00 2006 +++ xoops2jp/html/modules/base/admin/.xml/xoopscomments_edit.xml Thu Mar 30 18:11:33 2006 @@ -6,7 +6,7 @@ <form-property name="com_title" type="String" /> <form-property name="com_text" type="Text" /> <form-property name="com_sig" type="Bool" /> - <form-property name="com_status" type="Bool" /> + <form-property name="com_status" type="Int" /> <form-property name="dohtml" type="Bool" /> <form-property name="dosmiley" type="Bool" /> <form-property name="doxcode" type="Bool" /> @@ -35,5 +35,12 @@ <arg0 key="const._AD_BASE_LANG_COM_TEXT" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> </field> + <field property="com_status" depends="required,intRange"> + <arg0 key="const._AD_BASE_LANG_COM_STATUS" /> + <var name="min" value="1" /> + <var name="max" value="3" /> + <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <msg name="required" key="const._AD_BASE_ERROR_INTRANGE" /> + </field> </form-validation> </xoopscube-dynaactionform>