X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=d0d008ed4799e99c2aba869edb2977f4bfd79e02;hb=64458521c36de87d10f1c726667faeaaa5126840;hp=f62cf139af989ea8e8f0eb642a9c5033e8df79a7;hpb=139769aa245fd58d032cb009303b0ea2cc4187cd;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php old mode 100755 new mode 100644 index f62cf139..d0d008ed --- a/index.php +++ b/index.php @@ -10,10 +10,10 @@ 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');