]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - index.php
Merge branch 'master' of github.com:inthepoche/poche
[github/wallabag/wallabag.git] / index.php
old mode 100755 (executable)
new mode 100644 (file)
index f62cf13..d0d008e
--- a/index.php
+++ b/index.php
 
 include dirname(__FILE__).'/inc/config.php';
 
-$entries = display_view();
+$entries = display_view($view);
 
 $tpl->assign('title', 'poche, a read it later open source system');
-$tpl->assign('view', $_SESSION['view']);
+$tpl->assign('view', $view);
 $tpl->assign('poche_url', get_poche_url());
 $tpl->assign('entries', $entries);
 $tpl->assign('load_all_js', 1);
@@ -23,4 +23,4 @@ $tpl->draw('head');
 $tpl->draw('home');
 $tpl->draw('entries');
 $tpl->draw('js');
-$tpl->draw('footer');
\ No newline at end of file
+$tpl->draw('footer');