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

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 18:29:00 JST


Index: xoops2jp/html/modules/comment/forms/CommentPostForm.class.php
diff -u xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.3 xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:removed
--- xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.3	Fri Nov 25 03:13:06 2005
+++ xoops2jp/html/modules/comment/forms/CommentPostForm.class.php	Thu Feb  2 18:29:00 2006
@@ -1,31 +0,0 @@
-<?php
-
-require_once XOOPS_ROOT_PATH."/class/XCube_ActionForm.class.php";
-
-/**
- * This class is generated by makeActionForm tool.
- * @auchor makeActionForm
- */
-class CommentPostForm extends XCube_ActionForm 
-{
-	function prepare()
-	{
-		// set properties
-		$this->mFormProperties['objId']=new XCube_IntProperty('objId');
-		$this->mFormProperties['title']=new XCube_StringProperty('title');
-		$this->mFormProperties['text']=new XCube_TextProperty('text');
-	}
-	
-	function load(&$master,$replyAttr)
-	{
-		//
-		// If replytitle is set, set it to title.
-		//
-		if(isset($replyAttr['title']) && !$this->getVar('title'))
-			$this->setVar('title',"Re:" . $replyAttr['title']);
-
-		$this->setVar('objId',$master->getId());
-	}
-}
-
-?>
Index: xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php
diff -u xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.3 xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:removed
--- xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php:1.1.2.3	Fri Nov 25 03:13:17 2005
+++ xoops2jp/html/modules/comment/forms/CommentReplyForm.class.php	Thu Feb  2 18:29:00 2006
@@ -1,45 +0,0 @@
-<?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 メーリングリストの案内
Back to archive index