]>
git.wh0rd.org - tt-rss.git/blob - digest.php
913cd10aefad0a7804b67ab82e8de34c9e937aeb
2 require_once "functions.php";
3 require_once "sessions.php";
4 require_once "sanity_check.php";
5 require_once "version.php";
6 require_once "config.php";
7 require_once "db-prefs.php";
9 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
11 login_sequence($link);
15 no_cache_incantation();
17 header('Content-Type: text/html; charset=utf-8');
20 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
21 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25 <title
>Tiny Tiny RSS
</title
>
27 <link rel
="stylesheet" type
="text/css" href
="lib/dijit/themes/claro/claro.css"/>
28 <link rel
="stylesheet" type
="text/css" href
="digest.css?<?php echo $dt_add ?>"/>
30 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8"/>
32 <?php
$user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?
>
33 <?php
if ($user_css_url) { ?
>
34 <link rel
="stylesheet" type
="text/css" href
="<?php echo $user_css_url ?>"/>
37 <link rel
="shortcut icon" type
="image/png" href
="images/favicon.png"/>
39 <script type
="text/javascript" src
="lib/prototype.js"></script
>
40 <script type
="text/javascript" src
="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script
>
41 <script type
="text/javascript" src
="lib/dojo/dojo.js" djConfig
="parseOnLoad: true"></script
>
42 <script type
="text/javascript" charset
="utf-8" src
="localized_js.php?<?php echo $dt_add ?>"></script
>
43 <script type
="text/javascript" charset
="utf-8" src
="functions.js?<?php echo $dt_add ?>"></script
>
45 <script type
="text/javascript" src
="digest.js"></script
>
47 <script type
="text/javascript">
48 Event
.observe(window
, 'load', function() {
53 <body id
="ttrssDigest" class="claro">
54 <div id
="overlay" style
="display : block">
55 <div id
="overlay_inner">
58 <?php
print_error(__("Your browser doesn't support Javascript, which is required
59 for this application to function properly. Please check your
60 browser settings.")) ?
></p
>
63 <img src
="images/indicator_white.gif"/>
64 <?php
echo __("Loading, please wait...") ?
>
72 <?php
if (!SINGLE_USER_MODE
) { ?
>
73 <?php
echo __('Hello,') ?
> <b
><?php
echo $_SESSION["name"] ?
></b
> |
76 <?php
if (!SINGLE_USER_MODE
) { ?
>
77 <a href
="logout.php"><?php
echo __('Logout') ?
></a
>
88 <input name
="search" type
="search"></input
>
89 <button
>Search
</button
>
95 <h1
>latest articles
</h1
>
99 <div id
="latest-content"> </div
>
103 <h1
><?php
echo __('feeds') ?
></h1
>
105 <ul id
="feeds-content"> </ul
>
109 <h1
><a href
="#" onclick
="viewfeed(-4)"><?php
echo __('headlines') ?
></a
>:
110 <span id
="headlines-title"></span
></h1
>
112 <ul id
="headlines-content"> </ul
>
121 <a href
="http://tt-rss.org/">Tiny Tiny RSS
</a
>
122 <?php
if (!defined('HIDE_VERSION')) { ?
>
123 v
<?php
echo VERSION ?
>
125 ©
; 2005&ndash
;<?php
echo date('Y') ?
>
126 <a href
="http://fakecake.org/">Andrew Dolgov
</a
>
130 <a href
="tt-rss.php">
131 <?php
echo __("You are viewing the digest page. Click to open full version.") ?
></a
>