[xoops-cvslog 2999] CVS update: xoops2jp/html/modules/base/admin/.xml

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 5月 12日 (金) 19:13:07 JST


Index: xoops2jp/html/modules/base/admin/.xml/imagecategory_delete.xml
diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/imagecategory_delete.xml:1.1.2.1
--- /dev/null	Fri May 12 19:13:07 2006
+++ xoops2jp/html/modules/base/admin/.xml/imagecategory_delete.xml	Fri May 12 19:13:07 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xoopscube-dynaactionform>
+	<form-bean name="ImagecategoryAdminDeleteForm" type="XCube_ActionForm">
+		<form-property name="imgcat_id" type="Int" />
+	</form-bean>
+	<form-validation>
+		<field property="imgcat_id" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_ID" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+	</form-validation>
+</xoopscube-dynaactionform>
Index: xoops2jp/html/modules/base/admin/.xml/imagecategory_edit.xml
diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/imagecategory_edit.xml:1.1.2.1
--- /dev/null	Fri May 12 19:13:07 2006
+++ xoops2jp/html/modules/base/admin/.xml/imagecategory_edit.xml	Fri May 12 19:13:07 2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xoopscube-dynaactionform>
+	<form-bean name="ImagecategoryAdminEditForm" type="XCube_ActionForm">
+		<form-property name="imgcat_id" type="Int" />
+		<form-property name="imgcat_name" type="String" />
+		<form-property name="imgcat_maxsize" type="Int" />
+		<form-property name="imgcat_maxwidth" type="Int" />
+		<form-property name="imgcat_maxheight" type="Int" />
+		<form-property name="imgcat_display" type="Bool" />
+		<form-property name="imgcat_weight" type="Int" />
+
+    <form-property name="readgroups" type="Int[]" />
+    <form-property name="uploadgroups" type="Int[]" />
+  </form-bean>
+	<form-validation>
+		<field property="imgcat_id" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_ID" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+		<field property="imgcat_name" depends="required,maxlength">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_NAME" />
+			<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="100" />
+		</field>
+		<field property="imgcat_maxsize" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_MAXSIZE" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+		<field property="imgcat_maxwidth" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_MAXWIDTH" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+		<field property="imgcat_maxheight" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_MAXHEIGHT" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+		<field property="imgcat_weight" depends="required">
+			<arg0 key="const._AD_BASE_LANG_IMGCAT_WEIGHT" />
+			<msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+		</field>
+    <field property="readgroups" depends="objectExist">
+      <arg0 key="const._AD_BASE_LANG_IMGCAT_READ_GROUPS" />
+      <msg name="objectExist" key="const._AD_BASE_ERROR_IMGCAT_READ_GROUPS" />
+      <var name="handler" value="group" />
+    </field>
+    <field property="uploadgroups" depends="objectExist">
+      <arg0 key="const._AD_BASE_LANG_IMGCAT_READ_GROUPS" />
+      <msg name="objectExist" key="const._AD_BASE_ERROR_IMGCAT_READ_GROUPS" />
+      <var name="handler" value="group" />
+    </field>
+  </form-validation>
+</xoopscube-dynaactionform>
Index: xoops2jp/html/modules/base/admin/.xml/imagecategory_new.xml
diff -u /dev/null xoops2jp/html/modules/base/admin/.xml/imagecategory_new.xml:1.1.2.1
--- /dev/null	Fri May 12 19:13:07 2006
+++ xoops2jp/html/modules/base/admin/.xml/imagecategory_new.xml	Fri May 12 19:13:07 2006
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xoopscube-dynaactionform>
+	<form-bean name="ImagecategoryAdminNewForm" type="Legacy_ImagecategoryAdminEditForm">
+		<form-property name="imgcat_storetype" type="String" />
+  </form-bean>
+	<form-validation>
+    <field property="imgcat_storetype" depends="required,mask">
+      <arg0 key="const._AD_BASE_LANG_IMGCAT_STORETYPE" />
+      <msg name="required" key="const._AD_BASE_ERROR_REQUIRED" />
+      <arg1 name="maxlength" key="${var:maxlength}" />
+      <msg name="mask" key="const._AD_BASE_ERROR_MASK" />
+      <var name="mask" value="(file|db)" />
+    </field>
+  </form-validation>
+</xoopscube-dynaactionform>


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index