[xoops-cvslog 1187] CVS update: xoops2jp/html/modules/comment/forms

アーカイブの一覧に戻る

Minahito minah****@users*****
2005年 11月 25日 (金) 03:13:17 JST


Index: xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php
diff -u xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.2 xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.3
--- xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.2	Thu Nov 24 18:42:15 2005
+++ xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php	Fri Nov 25 03:13:17 2005
@@ -1,45 +1,45 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_ActionForm.class.php";
-
-/**
- * This class is generated by makeActionForm tool.
- * @auchor makeActionForm
- */
-class CommentReplyForm extends XCube_ActionForm 
-{
-	function prepare()
-	{
-		// set properties
-		$this->mFormProperties['pid']=new XCube_IntProperty('pid');
-		$this->mFormProperties['title']=new XCube_StringProperty('title');
-		$this->mFormProperties['message']=new XCube_TextProperty('message');
-
-		// set fields
-	}
-	
-	function load(&$master)
-	{
-		$this->setVar('pid',$master->getVar('id'));
-
-		//
-		// Initialize own title by the com_title of the master.
-		//
-		$title=$master->getVar('title');
-		if(preg_match("/re\[(\d+)\]:(.+)$/i",$title,$matches)) {
-			$this->setVar('title', "Re[" . ($matches[1]+1) . "]:" . $matches[2]);
-		}
-		elseif(preg_match("/re:(.+)$/i",$title,$matches)) {
-			$this->setVar('title',"Re[2]:".$matches[1]);
-		}
-		else {
-			$this->setVar('title',"Re:".$title);
-		}
-	}
-
-	function update(&$master)
-	{
-	}
-}
-
-?>
+<?php
+
+require_once XOOPS_ROOT_PATH."/class/XCube_ActionForm.class.php";
+
+/**
+ * This class is generated by makeActionForm tool.
+ * @auchor makeActionForm
+ */
+class CommentReplyForm extends XCube_ActionForm 
+{
+	function prepare()
+	{
+		// set properties
+		$this->mFormProperties['pid']=new XCube_IntProperty('pid');
+		$this->mFormProperties['title']=new XCube_StringProperty('title');
+		$this->mFormProperties['message']=new XCube_TextProperty('message');
+
+		// set fields
+	}
+	
+	function load(&$master)
+	{
+		$this->setVar('pid',$master->getVar('id'));
+
+		//
+		// Initialize own title by the com_title of the master.
+		//
+		$title=$master->getVar('title');
+		if(preg_match("/re\[(\d+)\]:(.+)$/i",$title,$matches)) {
+			$this->setVar('title', "Re[" . ($matches[1]+1) . "]:" . $matches[2]);
+		}
+		elseif(preg_match("/re:(.+)$/i",$title,$matches)) {
+			$this->setVar('title',"Re[2]:".$matches[1]);
+		}
+		else {
+			$this->setVar('title',"Re:".$title);
+		}
+	}
+
+	function update(&$master)
+	{
+	}
+}
+
+?>


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る