/** * 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'); } }
/** * Method that display the page * * @access public */ public function display_content() { $this->display_menu(); echo $this->_action_msg; if (!empty($this->_prefs->_data['timeline'])) { Html::tm_periods($this->_key, substr($this->_prefs->_data['last_visit'], 0, 10)); $this->display_websites(); $this->display_timeline(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=timeline&ctl=settings'); Html::sg_add_form(); $this->display_websites(); Html::form('c'); }