Lines Matching refs:comment
38 $comment = new Comment();
39 $comment->setText($INPUT->post->str('text'));
40 $comment->setName($INPUT->post->str('name'));
41 $comment->setMail($INPUT->post->str('mail'));
42 $comment->setWeb($INPUT->post->str('web'));
43 $comment->setCid('preview');
44 $comment->setCreated(time());
45 $comment->setStatus('visible');
47 if(!$comment->getName() && $INPUT->server->str('REMOTE_USER')){
49 $comment->setName($info['name']);
50 $comment->setMail($info['mail']);
54 $comment->output($INPUT->post->str('tplname'));