]>
git.wh0rd.org - tt-rss.git/blob - digest.php
2 set_include_path(dirname(__FILE__
) ."/include" . PATH_SEPARATOR
.
5 require_once "functions.php";
6 require_once "sessions.php";
7 require_once "sanity_check.php";
8 require_once "version.php";
9 require_once "config.php";
10 require_once "db-prefs.php";
12 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
14 login_sequence($link);
18 no_cache_incantation();
20 header('Content-Type: text/html; charset=utf-8');
23 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
28 <title
>Tiny Tiny RSS
</title
>
30 <link rel
="stylesheet" type
="text/css" href
="lib/dijit/themes/claro/claro.css"/>
31 <link rel
="stylesheet" type
="text/css" href
="digest.css?<?php echo $dt_add ?>"/>
33 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
35 <?php
print_user_stylesheet($link) ?
>
37 <link rel
="shortcut icon" type
="image/png" href
="images/favicon.png"/>
39 <script type
="text/javascript" src
="lib/dojo/dojo.js" djConfig
="parseOnLoad: true"></script
>
40 <script type
="text/javascript" src
="lib/prototype.js"></script
>
41 <script type
="text/javascript" src
="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script
>
43 <script type
="text/javascript" charset
="utf-8" src
="localized_js.php?<?php echo $dt_add ?>"></script
>
44 <script type
="text/javascript" charset
="utf-8" src
="errors.php?mode=js"></script
>
45 <script type
="text/javascript" charset
="utf-8" src
="js/functions.js?<?php echo $dt_add ?>"></script
>
46 <script type
="text/javascript" src
="js/digest.js"></script
>
48 <script type
="text/javascript">
49 Event
.observe(window
, 'load', function() {
54 <body id
="ttrssDigest" class="claro">
55 <div id
="overlay" style
="display : block">
56 <div id
="overlay_inner">
59 <?php
print_error(__("Your browser doesn't support Javascript, which is required
60 for this application to function properly. Please check your
61 browser settings.")) ?
></p
>
64 <img src
="images/indicator_white.gif"/>
65 <?php
echo __("Loading, please wait...") ?
>
70 <a style
="float : left" href
="#" onclick
="close_article()">
71 <?php
echo __("Back to feeds") ?
></a
>
75 <?php
if (!$_SESSION["hide_hello"]) { ?
>
76 <?php
echo __('Hello,') ?
> <b
><?php
echo $_SESSION["name"] ?
></b
> |
78 <?php
if (!$_SESSION["hide_logout"]) { ?
>
79 <a href
="backend.php?op=logout"><?php
echo __('Logout') ?
></a
> |
81 <a href
='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>
82 <?php
echo __("Regular version") ?
></a
>
87 <div id
="article"><div id
="article-content"> 
;</div
></div
>
92 <ul id
="feeds-content"> </ul
>
96 <ul id
="headlines-content"> </ul
>