function getPagination($maxpages) { $uri = KunenaRoute::normalize(null, true); if ($uri) { $uri->delVar('mesid'); } $pagination = new KunenaHtmlPagination($this->total, $this->state->get('list.start'), $this->state->get('list.limit')); $pagination->setDisplay($maxpages, $uri); return $pagination->getPagesLinks(); }
function getPagination($maxpages) { $pagination = new KunenaHtmlPagination($this->total, $this->state->get('list.start'), $this->state->get('list.limit')); $pagination->setDisplay($maxpages); return $pagination->getPagesLinks(); }