mirror of
https://github.com/wallabag/wallabag.git
synced 2024-10-31 22:28:54 +00:00
26 lines
No EOL
832 B
PHP
Executable file
26 lines
No EOL
832 B
PHP
Executable file
<?php
|
|
/**
|
|
* poche, a read it later open source system
|
|
*
|
|
* @category poche
|
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
|
* @copyright 2013
|
|
* @license http://www.wtfpl.net/ see COPYING file
|
|
*/
|
|
|
|
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');
|
|
$tpl->assign('view', $view);
|
|
$tpl->assign('poche_url', get_poche_url());
|
|
$tpl->assign('entries', $entries);
|
|
$tpl->assign('load_all_js', 1);
|
|
$tpl->draw('home'); |