]> git.wh0rd.org Git - tt-rss.git/blob - tt-rss.php
fix updating of unread counters in feedlist on headlines load
[tt-rss.git] / tt-rss.php
1 <html>
2 <head>
3         <title>Tiny Tiny RSS</title>
4         <link rel="stylesheet" href="tt-rss.css" type="text/css">
5         <script type="text/javascript" src="functions.js"></script>
6         <script type="text/javascript" src="tt-rss.js"></script>
7         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8 </head>
9
10 <? require_once "version.php" ?>
11 <? require_once "config.php" ?>
12
13 <body onload="init()">
14
15 <table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
16 <tr>
17         <td class="header" valign="middle" colspan="2"> 
18                 <img src="images/ttrss_logo.png" alt="logo">    
19         </td>
20 </tr>
21 <tr>
22         <td class="mainToolbar" colspan="2">
23         
24                 <table width='100%' cellspacing='0' cellpadding='0'>    
25                         <td><span id="notify"><span id="notify_body"></span></td>
26                         <td align='right'>
27                                 <input type="submit" onclick="gotoPreferences()" 
28                                         class="button" value="Preferences"></td>
29                 </table>
30         
31                 <!-- <table width="100%" cellspacing="0" cellpadding="0">
32                 <td valign="middle">
33                         <table id="notify"><tr><td width="100%" id="notify_body">&nbsp;</td>
34                         <td><img onclick="javascript:notify('')" alt="Close" 
35                                 src="images/close.png"></td></table>
36                 </td>
37                 <td class="toolbar" valign="middle" align="right">
38                         <a href="prefs.php" class="button">Preferences</a></td>
39                 </tr></table> -->
40         </td>
41 </tr>
42 <tr>
43         <td valign="top" rowspan="3" class="feeds"> 
44                 
45                 <!-- <div id="feeds">&nbsp;</div> -->
46
47                 <iframe id="feeds-frame" name="feeds-frame" class="feedsFrame"> </iframe>
48         
49                 <p align="center">All feeds:
50                 
51                 <input class="button" type="submit"     
52                         onclick="javascript:scheduleFeedUpdate(true)" value="Update">
53                                 
54                 <input class="button" type="submit"     
55                         onclick="javascript:catchupAllFeeds()" value="Mark as read">
56
57                 </p>
58
59         </td>
60         <td valign="top" class="headlinesToolbarBox">
61                 <table width="100%" cellpadding="0" cellspacing="0">
62                 
63                 <!-- <tr><td id="headlinesTitle" class="headlinesTitle">
64                         &nbsp;
65                 </td></tr> -->
66                 <tr><td class="headlinesToolbar" id="headlinesToolbar">
67                         Search: <input id="searchbox"
68                         onblur="javascript:enableHotkeys()" onfocus="javascript:disableHotkeys()"
69                         onchange="javascript:search()">
70                 <input type="submit" 
71                         class="button" onclick="javascript:resetSearch()" value="Reset">
72
73                 &nbsp;View: 
74                 
75                 <select id="viewbox" onchange="javascript:viewCurrentFeed(0, '')">
76                         <option>All Posts</option>
77                         <option>Starred</option>
78                         <option selected>Unread</option>
79                 </select>
80
81                 &nbsp;Limit:
82
83                 <select id="limitbox" onchange="javascript:viewCurrentFeed(0, '')">
84                         <option>15</option>
85                         <option selected>30</option>
86                         <option>60</option>
87                         <option>All</option>
88                 </select>
89
90                 &nbsp;Feed: <input class="button" type="submit"
91                         onclick="javascript:viewCurrentFeed(0, 'ForceUpdate')" value="Update">
92
93                 <input class="button" type="submit"
94                         onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
95
96                 </td></tr>
97                 </table>
98         </td> 
99 </tr><tr>
100         <td id="headlines" class="headlines" valign="top">
101                 <iframe name="headlines-frame" 
102                         id="headlines-frame" class="headlinesFrame" 
103                                 src="backend.php?op=error&msg=No%20feed%20selected."></iframe>
104         </td>
105 </tr><tr>
106         <td class="content" id="content" valign="top">
107                 <iframe name="content-frame" id="content-frame" class="contentFrame"> </iframe>
108         </td>
109 </tr>
110 <tr>
111         <td colspan="2" class="footer">
112                 <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
113                 <? if (WEB_DEMO_MODE) { ?>
114                 <br>Running in demo mode, some functionality is disabled.
115                 <? } ?>
116         </td>
117 </td>
118 </table>
119
120
121 </body>
122 </html>