]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
new design, pagination & more
[github/wallabag/wallabag.git] / index.php
index dd70a989d897ebd5b6cbb51bb1e251818f51a779..98ada1bdc28c62f45f314fc3d5bade0906f9264f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -62,7 +62,8 @@ else {
 }
 
 # because messages can be added in $poche->action(), we have to add this entry now (we can add it before)
-$tpl_vars = array_merge($tpl_vars, array('messages' => $poche->messages->display()));
+$messages = $poche->messages->display('all', FALSE);
+$tpl_vars = array_merge($tpl_vars, array('messages' => $messages));
 
 # Aaaaaaand action !
 echo $poche->tpl->render($tpl_file, $tpl_vars);
\ No newline at end of file