aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
committerThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
commit311baf86befde0557faea614ca4d13bb2bd2cc66 (patch)
treedca9d7d429680db23cd4256a1c388ed3db4049ca /inc/poche
parent9c55ed0923273da886497cb62302a79622e34a74 (diff)
downloadwallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.gz
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.zst
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.zip
implemented random button
Diffstat (limited to 'inc/poche')
-rwxr-xr-xinc/poche/Poche.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 27d6f4a6..2a8037cc 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -445,6 +445,7 @@ class Poche
445 $tpl_vars['entries'] = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit(), $id); 445 $tpl_vars['entries'] = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit(), $id);
446 $tpl_vars['page_links'] = $page_links; 446 $tpl_vars['page_links'] = $page_links;
447 $tpl_vars['nb_results'] = $count; 447 $tpl_vars['nb_results'] = $count;
448 $tpl_vars['random'] = rand(1,$count);
448 } 449 }
449 Tools::logm('display ' . $view . ' view'); 450 Tools::logm('display ' . $view . ' view');
450 break; 451 break;
@@ -812,4 +813,4 @@ class Poche
812 } 813 }
813 814
814 815
815} \ No newline at end of file 816}