/** * Display page content * * @access public */ public function display_content() { if (!empty($this->_content)) { Html::header_links(); if (!VSession::html5()) { echo '<ul id="links">'; } foreach ($this->_content as $link) { Html::related_link($link->_name, $link->_link, $link->_rss_link, $link->_notes, $link->_priority); } if (!Vsession::html5()) { echo '</ul>'; } } else { Html::header_links(); if (!VSession::html5()) { echo '<ul id="links">'; } Html::no_content('There\'s no link registered yet.'); if (!Vsession::html5()) { echo '</ul>'; } } }