/** * Display a single album with all pictures * * @access private */ private function display_album() { Html::header_albums($this->_album->_name); Html::album_details($this->_album->_id, $this->_album->_author_name, $this->_album->_date, nl2br($this->_album->_description), $this->_album->_name, WS_URL . '?ctl=' . $this->_pid . '&album=' . $this->_album->_id); Html::html5('o', 'id="album">'); echo '<ul>'; foreach ($this->_content as $picture) { $permalink = $picture->_permalink; $folder = dirname($permalink) . '/'; $file = basename($permalink); Html::album_picture($folder . '150-' . $file, $permalink, $picture->_name, $picture->_description); } echo '</ul>'; Html::html5('c'); }