Minahito
minah****@users*****
2005年 11月 25日 (金) 03:13:06 JST
Index: xoops2jp/html/modules/comment/forms/CommentPostForm.class.php diff -u xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.2 xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.3 --- xoops2jp/html/modules/comment/forms/CommentPostForm.class.php:1.1.2.2 Thu Nov 24 18:42:04 2005 +++ xoops2jp/html/modules/comment/forms/CommentPostForm.class.php Fri Nov 25 03:13:06 2005 @@ -1,31 +1,31 @@ -<?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()); - } -} - -?> +<?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()); + } +} + +?>