]> git.wh0rd.org Git - tt-rss.git/blob - digest.php
misc css/linking updates
[tt-rss.git] / digest.php
1 <?php
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";
8
9         $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); 
10
11         login_sequence($link);
12
13         $dt_add = time();
14
15         no_cache_incantation();
16
17         header('Content-Type: text/html; charset=utf-8');
18         
19 ?>
20 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
21         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22
23 <html>
24 <head>
25         <title>Tiny Tiny RSS</title>
26
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 ?>"/>
29
30         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
31
32         <?php print_user_stylesheet($link) ?>
33
34         <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
35
36         <script type="text/javascript" src="lib/prototype.js"></script>
37         <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
38         <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
39         <script type="text/javascript" charset="utf-8" src="localized_js.php?<?php echo $dt_add ?>"></script>
40         <script type="text/javascript" charset="utf-8" src="functions.js?<?php echo $dt_add ?>"></script>
41
42         <script type="text/javascript" src="digest.js"></script>
43
44         <script type="text/javascript">
45                 Event.observe(window, 'load', function() {
46                         init();
47                 });
48         </script>
49 </head>
50 <body id="ttrssDigest" class="claro">
51         <div id="overlay" style="display : block">
52                 <div id="overlay_inner">
53                 <noscript>
54                         <p>
55                         <?php print_error(__("Your browser doesn't support Javascript, which is required
56                         for this application to function properly. Please check your
57                         browser settings.")) ?></p>
58                 </noscript>
59
60                 <img src="images/indicator_white.gif"/>
61                         <?php echo __("Loading, please wait...") ?>
62                 </div>
63         </div> 
64
65         <div id="header">
66
67         <div class="links">
68
69         <?php if (!SINGLE_USER_MODE) { ?>
70                         <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
71         <?php } ?>
72
73         <?php if (!SINGLE_USER_MODE) { ?>
74                         <a href="logout.php"><?php echo __('Logout') ?></a>
75         <?php } ?>
76
77         </div>
78
79         Tiny Tiny RSS
80
81         </div>
82         <div id="content">
83                 <!-- <div id="title">
84                         <div id="search">
85                                 <input name="search" type="search"></input>
86                                 <button>Search</button>
87                         </div>
88
89                 </div>
90
91                 <div id="latest">
92                         <h1>latest articles</h1>
93
94                         <em>TODO</em>
95
96                         <div id="latest-content"> </div>
97                 </div> -->
98
99                 <div id="feeds">
100                         <h1><?php echo __('feeds') ?></h1>
101
102                         <ul id="feeds-content"> </ul>
103                 </div>
104
105                 <div id="headlines">
106                         <h1><a href="#" onclick="viewfeed(-4)"><?php echo __('headlines') ?></a>: 
107                                 <span id="headlines-title"></span></h1>
108
109                         <ul id="headlines-content"> </ul>
110                 </div>
111
112                 <br clear="both">
113
114         </div>
115
116         <div id="footer">
117
118         <a href="http://tt-rss.org/">Tiny Tiny RSS</a>
119         <?php if (!defined('HIDE_VERSION')) { ?>
120                  v<?php echo VERSION ?> 
121         <?php } ?>
122         &copy; 2005&ndash;<?php echo date('Y') ?> 
123         <a href="http://fakecake.org/">Andrew Dolgov</a>
124         
125         <br/>
126
127         <a href="tt-rss.php">
128                 <?php echo __("You are viewing the digest page. Click to open full version.") ?></a>
129
130 </div>
131
132 </body>