Minahito
minah****@users*****
2006年 8月 1日 (火) 19:26:18 JST
Index: xoops2jp/html/modules/base/admin/.xml/block_edit.xml diff -u xoops2jp/html/modules/base/admin/.xml/block_edit.xml:1.1.2.2 xoops2jp/html/modules/base/admin/.xml/block_edit.xml:1.1.2.3 --- xoops2jp/html/modules/base/admin/.xml/block_edit.xml:1.1.2.2 Thu Apr 6 16:51:50 2006 +++ xoops2jp/html/modules/base/admin/.xml/block_edit.xml Tue Aug 1 19:26:18 2006 @@ -22,17 +22,31 @@ <msg name="maxlength" key="const._AD_BASE_ERROR_MAXLENGTH" /> <var name="maxlength" value="255" /> </field> - <field property="side" depends="required"> + <field property="side" depends="required,objectExist"> <arg0 key="const._AD_BASE_LANG_SIDE" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <msg name="objectExist" key="const._AD_BASE_ERROR_OBJECTEXIST" /> + <var name="handler" value="columnside" /> + <var name="module" value="base" /> </field> - <field property="weight" depends="required"> + <field property="weight" depends="required,intRange"> <arg0 key="const._AD_BASE_LANG_WEIGHT" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <msg name="intRange" key="const._AD_BASE_ERROR_INTRANGE" /> + <var name="min" value="0" /> + <var name="max" value="255" /> </field> - <field property="bcachetime" depends="required"> + <field property="bcachetime" depends="required,objectExist"> <arg0 key="const._AD_BASE_LANG_BCACHETIME" /> <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" /> + <msg name="objectExist" key="const._AD_BASE_ERROR_OBJECTEXIST" /> + <var name="handler" value="cachetime" /> + <var name="module" value="base" /> + </field> + <field property="groupid" depends="objectExist"> + <arg0 key="const._AD_BASE_LANG_GROUPID" /> + <msg name="objectExist" key="const._AD_BASE_ERROR_OBJECTEXIST" /> + <var name="handler" value="group" /> </field> </form-validation> </xoopscube-dynaactionform>