2013-04-03 15:14:01 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* poche, a read it later open source system
|
|
|
|
*
|
|
|
|
* @category poche
|
2013-04-13 11:08:31 +02:00
|
|
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
2013-04-03 15:14:01 +02:00
|
|
|
* @copyright 2013
|
|
|
|
* @license http://www.wtfpl.net/ see COPYING file
|
|
|
|
*/
|
|
|
|
|
2013-04-09 15:18:39 +02:00
|
|
|
include dirname(__FILE__).'/inc/config.php';
|
2013-04-03 15:14:01 +02:00
|
|
|
|
2013-04-16 12:58:03 +02:00
|
|
|
$entries = display_view($view);
|
2013-04-04 19:51:24 +02:00
|
|
|
|
2013-04-15 09:38:41 +02:00
|
|
|
$tpl->assign('title', 'poche, a read it later open source system');
|
2013-04-16 12:58:03 +02:00
|
|
|
$tpl->assign('view', $view);
|
2013-04-15 09:38:41 +02:00
|
|
|
$tpl->assign('poche_url', get_poche_url());
|
|
|
|
$tpl->assign('entries', $entries);
|
|
|
|
$tpl->assign('load_all_js', 1);
|
2013-04-15 14:09:58 +02:00
|
|
|
$tpl->assign('token', $_SESSION['token_poche']);
|
2013-04-16 11:52:25 +02:00
|
|
|
|
|
|
|
$tpl->draw('head');
|
|
|
|
$tpl->draw('home');
|
|
|
|
$tpl->draw('entries');
|
|
|
|
$tpl->draw('js');
|
2013-04-17 15:11:57 +02:00
|
|
|
$tpl->draw('footer');
|