/** * Display pagination * * @access private */ private function display_pagination() { if ($this->_max > 1) { $link = null; if (VRequest::filter(false)) { $link = '&filter=true&date=' . VRequest::date() . '&category=' . VRequest::category() . '&type=' . $this->_view_type; } elseif (!empty($this->_search)) { $link = '&search=' . $this->_search; } elseif (VGet::author()) { $link = '&author=' . VGet::author; } else { $link = '&type=' . $this->_view_type; } Html::pagination($this->_page, $this->_max, $link, 'Medias'); } }
/** * Display pagination * * @access private */ private function display_pagination() { if ($this->_max > 1) { $link = null; if (VRequest::filter(false)) { $link = '&filter=true&date=' . VRequest::date() . '&category=' . VRequest::category() . '&post_status=' . $this->_status; } elseif (!empty($this->_search)) { $link = '&search=' . $this->_search; } elseif (VGet::author()) { $link = '&author=' . VGet::author; } elseif ($this->_status != 'all') { $link = '&post_status=' . $this->_status; } Html::pagination($this->_page, $this->_max, $link, 'Posts'); } }
/** * Display pagination * * @access private */ private function display_pagination() { if ($this->_max > 1) { $link = null; if (VRequest::filter(false)) { $link = '&filter=true&date=' . VRequest::date() . '&category=' . VRequest::category(); } elseif (!empty($this->_search)) { $link = '&search=' . $this->_search; } Html::pagination($this->_page, $this->_max, $link, 'Albums'); } }