[xoops-cvslog 3408] CVS update: xoops2jp/html/modules/pm/.xml

Back to archive index

Minahito minah****@users*****
2006年 7月 4日 (火) 18:45:45 JST


Index: xoops2jp/html/modules/pm/.xml/pmlite_edit.xml
diff -u /dev/null xoops2jp/html/modules/pm/.xml/pmlite_edit.xml:1.1.2.1
--- /dev/null	Tue Jul  4 18:45:45 2006
+++ xoops2jp/html/modules/pm/.xml/pmlite_edit.xml	Tue Jul  4 18:45:45 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xoopscube-dynaactionform>
+	<form-bean name="PmliteEditForm" type="XCube_ActionForm">
+		<form-property name="id" type="Int" />
+		<form-property name="create_unixtime" type="Int" />
+		<form-property name="update_unixtime" type="Int" />
+		<form-property name="subject" type="String" />
+		<form-property name="message" type="Text" />
+	</form-bean>
+	<form-validation>
+		<field property="subject" depends="required,maxlength">
+			<arg0 key="const._PM_SUBJECT" />
+			<msg name="required" key="const._MD_PM_ERROR_REQUIRED" />
+			<arg1 name="maxlength" key="${var:maxlength}" />
+			<msg name="maxlength" key="const._MD_PM_ERROR_MAXLENGTH" />
+			<var name="maxlength" value="255" />
+		</field>
+		<field property="message" depends="required">
+			<arg0 key="const._MD_PM_LANG_MESSAGE" />
+			<msg name="required" key="const._MD_PM_ERROR_REQUIRED" />
+		</field>
+	</form-validation>
+</xoopscube-dynaactionform>
Index: xoops2jp/html/modules/pm/.xml/pm_delete.xml
diff -u /dev/null xoops2jp/html/modules/pm/.xml/pm_delete.xml:1.1.2.1
--- /dev/null	Tue Jul  4 18:45:45 2006
+++ xoops2jp/html/modules/pm/.xml/pm_delete.xml	Tue Jul  4 18:45:45 2006
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xoopscube-dynaactionform>
+	<form-bean name="PmDeleteForm" type="XCube_ActionForm">
+		<form-property name="msg_id" type="Int[]" />
+	</form-bean>
+	<form-validation>
+		<field property="msg_id" depends="required,objectExist">
+			<arg0 key="const._MD_PM_LANG_MSG_ID" />
+			<msg name="required" key="const._MD_PM_ERROR_REQUIRED" />
+			<msg name="objectExist" key="const._MD_PM_ERROR_OBJECTEXIST" />
+			<var name="handler" value="privmessage" />
+		</field>
+	</form-validation>
+</xoopscube-dynaactionform>


xoops-cvslog メーリングリストの案内
Back to archive index