diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-07 18:41:30 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-02-07 18:41:30 +0100 |
commit | 211ed4836197e0b2c548a4ead520d22ae65a3b93 (patch) | |
tree | 787ee9c39e1cdc180b118cd198178a85e8d16c95 /inc/poche/Poche.class.php | |
parent | 4e09039d2c2c691e9520384f6f464d6d751ab4ad (diff) | |
parent | c515ffec9c4e43c6e826645168a36cedaf0b6870 (diff) | |
download | wallabag-211ed4836197e0b2c548a4ead520d22ae65a3b93.tar.gz wallabag-211ed4836197e0b2c548a4ead520d22ae65a3b93.tar.zst wallabag-211ed4836197e0b2c548a4ead520d22ae65a3b93.zip |
Merge pull request #435 from mariroz/dev
Polish and Ukrainian translations added. Russian - updated. Plust 2 smal...
Diffstat (limited to 'inc/poche/Poche.class.php')
-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; |