X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=d0d008ed4799e99c2aba869edb2977f4bfd79e02;hb=cb1348bc5c514e98595ccc3b050054ce14ca8e8f;hp=1cb32f58ca9ca5358abecafb21ab4f5da9ed364a;hpb=263d6c6756a2549100ae186042f157ff64944bfa;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php old mode 100755 new mode 100644 index 1cb32f58..d0d008ed --- a/index.php +++ b/index.php @@ -10,12 +10,6 @@ include dirname(__FILE__).'/inc/config.php'; -$action = (isset ($_GET['action'])) ? htmlspecialchars($_GET['action']) : ''; -$view = (isset ($_GET['view'])) ? htmlspecialchars($_GET['view']) : 'index'; -$id = (isset ($_GET['id'])) ? htmlspecialchars($_GET['id']) : ''; -$url = (isset ($_GET['url'])) ? $_GET['url'] : ''; - -action_to_do($action, $id); $entries = display_view($view); $tpl->assign('title', 'poche, a read it later open source system'); @@ -23,4 +17,10 @@ $tpl->assign('view', $view); $tpl->assign('poche_url', get_poche_url()); $tpl->assign('entries', $entries); $tpl->assign('load_all_js', 1); -$tpl->draw('home'); \ No newline at end of file +$tpl->assign('token', $_SESSION['token_poche']); + +$tpl->draw('head'); +$tpl->draw('home'); +$tpl->draw('entries'); +$tpl->draw('js'); +$tpl->draw('footer');