Minahito
minah****@users*****
2005年 11月 25日 (金) 03:11:18 JST
Index: xoops2jp/html/modules/comment/event/CommentEventFunction.class.php diff -u /dev/null xoops2jp/html/modules/comment/event/CommentEventFunction.class.php:1.1.2.1 --- /dev/null Fri Nov 25 03:11:18 2005 +++ xoops2jp/html/modules/comment/event/CommentEventFunction.class.php Fri Nov 25 03:11:18 2005 @@ -0,0 +1,15 @@ +<?php + +class CommentEventFunction +{ + function PostFormAccess(&$controller,&$eventArgs) + { + require_once XOOPS_ROOT_PATH."/modules/comment/forms/CommentPostForm.class.php"; + $form=new CommentPostForm(); + $form->prepare(); + + $controller->mRenderSystem->setAttribute("comment_ComentPostForm",$form); + } +} + +?> \ No newline at end of file