public function index($page = 1) { $qPager = Comment::getModerationQueue('BlogComment'); $this->queue = $qPager->execute($page, 20); $this->qPager = $qPager; $this->spamOptions = CommentsControllerHelper::spamOptions(); $this->render('admin/moderation-q'); }
protected function renderErrorSave($commentOn) { if ($this->_captcha) { $this->commentCaptcha = $this->_captcha; } else if (!UserSession::get()) { $this->commentCaptcha = Mollom::refresh(); } parent::renderErrorSave($commentOn); }