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;
}
# flattr checking
$flattr = new FlattrItem();
- $flattr->checkItem($entry['url']);
+ $flattr->checkItem($entry['url'],$entry['id']);
$tpl_vars = array(
'entry' => $entry,
'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));