]>
Commit | Line | Data |
---|---|---|
1 | <html> | |
2 | <head> | |
3 | <title>Tiny Tiny RSS : Preferences</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="prefs.js"></script> | |
7 | <!--[if gte IE 5.5000]> | |
8 | <script type="text/javascript" src="pngfix.js"></script> | |
9 | <![endif]--> | |
10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
11 | </head> | |
12 | ||
13 | <body onload="init()"> | |
14 | ||
15 | <? | |
16 | require_once "version.php"; | |
17 | require_once "config.php"; | |
18 | require_once "db-prefs.php"; | |
19 | ||
20 | $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); | |
21 | ?> | |
22 | ||
23 | <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main"> | |
24 | <? if (get_pref($link, 'DISPLAY_HEADER')) { ?> | |
25 | <tr> | |
26 | <td colspan="2"> | |
27 | <table cellspacing="0" cellpadding="0" width="100%"><tr> | |
28 | <td class="header" valign="middle"> | |
29 | <img src="images/ttrss_logo.png" alt="logo"> | |
30 | </td> | |
31 | <td align="right" valign="top"> | |
32 | <div id="notify"><span id="notify_body"></div> | |
33 | </td> | |
34 | </tr></table> | |
35 | </td> | |
36 | </tr> | |
37 | <? } ?> | |
38 | <tr> | |
39 | <td class="prefsTabs" align="left" valign="bottom"> | |
40 | <input id="feedConfigTab" class="prefsTab" type="submit" value="Feed Configuration" | |
41 | onclick="selectTab('feedConfig')"> | |
42 | <input id="filterConfigTab" class="prefsTab" type="submit" value="Content Filtering" | |
43 | onclick="selectTab('filterConfig')"> | |
44 | <? if (get_pref($link, 'ENABLE_LABELS')) { ?> | |
45 | <input id="labelConfigTab" class="prefsTab" type="submit" value="Label Editor" | |
46 | onclick="selectTab('labelConfig')"> | |
47 | <? } ?> | |
48 | <input id="genConfigTab" class="prefsTab" type="submit" value="User Preferences" | |
49 | onclick="selectTab('genConfig')"> | |
50 | ||
51 | </td> | |
52 | <td class="prefsToolbar" valign="middle" align="right"> | |
53 | <input type="submit" onclick="gotoMain()" class="button" value="Return to main"> | |
54 | </td> | |
55 | </tr> | |
56 | </tr> | |
57 | <td id="prefContent" class="prefContent" valign="top" colspan="2"> | |
58 | ||
59 | <p>Loading, please wait...</p> | |
60 | ||
61 | </td> | |
62 | </tr> | |
63 | <? if (get_pref($link, 'DISPLAY_FOOTER')) { ?> | |
64 | <tr> | |
65 | <td class="footer" colspan="2"> | |
66 | <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov | |
67 | <? if (WEB_DEMO_MODE) { ?> | |
68 | <br>Running in demo mode, some functionality is disabled. | |
69 | <? } ?> | |
70 | </td> | |
71 | </td> | |
72 | <? } ?> | |
73 | </table> | |
74 | ||
75 | ||
76 | </body> | |
77 | </html> |