diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 4df90067..74827253 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -565,7 +565,8 @@ class Poche | |||
565 | 565 | ||
566 | if (count($entries) > 0) { | 566 | if (count($entries) > 0) { |
567 | $this->pagination->set_total(count($entries)); | 567 | $this->pagination->set_total(count($entries)); |
568 | $page_links = $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&'); | 568 | $page_links = str_replace(array('previous', 'next'), array(_('previous'), _('next')), |
569 | $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . '&')); | ||
569 | $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); | 570 | $datas = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit()); |
570 | $tpl_vars['entries'] = $datas; | 571 | $tpl_vars['entries'] = $datas; |
571 | $tpl_vars['page_links'] = $page_links; | 572 | $tpl_vars['page_links'] = $page_links; |