]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - index.php
1cb32f58ca9ca5358abecafb21ab4f5da9ed364a
3 * poche, a read it later open source system
6 * @author Nicolas LÅ“uillet <support@inthepoche.com>
8 * @license http://www.wtfpl.net/ see COPYING file
11 include dirname(__FILE__
).'/inc/config.php';
13 $action = (isset ($_GET['action'])) ? htmlspecialchars($_GET['action']) : '';
14 $view = (isset ($_GET['view'])) ? htmlspecialchars($_GET['view']) : 'index';
15 $id = (isset ($_GET['id'])) ? htmlspecialchars($_GET['id']) : '';
16 $url = (isset ($_GET['url'])) ? $_GET['url'] : '';
18 action_to_do($action, $id);
19 $entries = display_view($view);
21 $tpl->assign('title', 'poche, a read it later open source system');
22 $tpl->assign('view', $view);
23 $tpl->assign('poche_url', get_poche_url());
24 $tpl->assign('entries', $entries);
25 $tpl->assign('load_all_js', 1);