]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Poche.class.php
change doc link
[github/wallabag/wallabag.git] / inc / poche / Poche.class.php
index 8567cd8fb8ec30d126e8330c8572dfb5c9b5a5f7..1ba8e7c14d39d8edfac2fa72e5d0e9431d1fab3d 100644 (file)
@@ -105,7 +105,7 @@ class Poche
     public function themeIsInstalled() {
         # Twig is an absolute requirement for Poche to function. Abort immediately if the Composer installer hasn't been run yet
         if (! self::$canRenderTemplates) {
-            $this->notInstalledMessage = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>';
+            $this->notInstalledMessage = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. Have a look at <a href="http://doc.inthepoche.com/doku.php?id=users:begin:install">the documentation.</a>';
             
             return false;
         }
@@ -388,7 +388,7 @@ class Poche
 
                     # flattr checking
                     $flattr = new FlattrItem();
-                    $flattr->checkItem($entry['url']);
+                    $flattr->checkItem($entry['url'],$entry['id']);
 
                     $tpl_vars = array(
                     'entry' => $entry,
@@ -407,11 +407,6 @@ class Poche
                     'page_links' => '',
                     'nb_results' => '',
                 );
-
-                # want to display a page too far?
-                if ((count($entries) % PAGINATION) + 1 < $_GET['p']) {
-                    Tools::redirect('');
-                }
                 
                 if (count($entries) > 0) {
                     $this->pagination->set_total(count($entries));