aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-09 08:25:16 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-09 08:25:16 +0200
commitd91787589bfd7541a99032cc23243165dc1572c4 (patch)
treead7246e41e5acbb87eafafbbdd3c95f0ea7a0c18 /inc/poche/Poche.class.php
parent3d8bded89e880aa28a1b17422c5bb3d9def28026 (diff)
downloadwallabag-d91787589bfd7541a99032cc23243165dc1572c4.tar.gz
wallabag-d91787589bfd7541a99032cc23243165dc1572c4.tar.zst
wallabag-d91787589bfd7541a99032cc23243165dc1572c4.zip
fix #113 - reading time
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r--inc/poche/Poche.class.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 56910bc0..78747e32 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -69,6 +69,10 @@ class Poche
69 $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); 69 $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain');
70 $this->tpl->addFilter($filter); 70 $this->tpl->addFilter($filter);
71 71
72 # filter for reading time
73 $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime');
74 $this->tpl->addFilter($filter);
75
72 # Pagination 76 # Pagination
73 $this->pagination = new Paginator($this->user->getConfigValue('pager'), 'p'); 77 $this->pagination = new Paginator($this->user->getConfigValue('pager'), 'p');
74 } 78 }