blob: 995426b456b8b6cdfe33a66c1711a3ce3d452b8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?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';
$entries = get_entries($view);
$tpl->assign('title', 'poche, a read it later open source system');
$tpl->assign('entries', $entries);
$tpl->assign('load_all_js', 1);
$tpl->draw('head');
if (Session::isLogged()) {
$tpl->draw('home');
$tpl->draw('entries');
$tpl->draw('js');
}
else {
$tpl->draw('login');
}
$tpl->draw('footer');
|