/** * Display comments * * @access private */ private function display_comments() { if ($this->_content['post']['post_allow_comment'] == 'open') { Html::pt_comments('o'); foreach ($this->_content['comments'] as $com) { Html::pt_comment($com['comment_name'], $com['comment_content'], $com['comment_date']); } Html::pt_comments('c'); } }