]>
Commit | Line | Data |
---|---|---|
007bda35 AD |
1 | <html> |
2 | <head> | |
e828e31e | 3 | <title>Tiny Tiny RSS : Preferences</title> |
007bda35 | 4 | <link rel="stylesheet" href="tt-rss.css" type="text/css"> |
331900c6 | 5 | <script type="text/javascript" src="functions.js"></script> |
007bda35 | 6 | <script type="text/javascript" src="prefs.js"></script> |
25cb5736 AD |
7 | <!--[if gte IE 5.5000]> |
8 | <script type="text/javascript" src="pngfix.js"></script> | |
9 | <![endif]--> | |
007bda35 AD |
10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
11 | </head> | |
12 | ||
13 | <body onload="init()"> | |
14 | ||
f2188a89 AD |
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 | ?> | |
f07c0eb4 | 22 | |
e828e31e | 23 | <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main"> |
f2188a89 | 24 | <? if (get_pref($link, 'DISPLAY_HEADER')) { ?> |
007bda35 | 25 | <tr> |
828a8ecc AD |
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> | |
007bda35 AD |
35 | </td> |
36 | </tr> | |
da5d0d09 | 37 | <? } ?> |
007bda35 | 38 | <tr> |
f5a50b25 | 39 | <td class="prefsTabs" align="left" valign="bottom"> |
bc0e653d AD |
40 | <input id="genConfigTab" class="prefsTab" type="submit" value="User Preferences" |
41 | onclick="selectTab('genConfig')"> | |
f5a50b25 AD |
42 | <input id="feedConfigTab" class="prefsTab" type="submit" value="Feed Configuration" |
43 | onclick="selectTab('feedConfig')"> | |
44 | <input id="filterConfigTab" class="prefsTab" type="submit" value="Content Filtering" | |
45 | onclick="selectTab('filterConfig')"> | |
f2188a89 | 46 | <? if (get_pref($link, 'ENABLE_LABELS')) { ?> |
f5a50b25 AD |
47 | <input id="labelConfigTab" class="prefsTab" type="submit" value="Label Editor" |
48 | onclick="selectTab('labelConfig')"> | |
49 | <? } ?> | |
50 | </td> | |
51 | <td class="prefsToolbar" valign="middle" align="right"> | |
828a8ecc AD |
52 | <input type="submit" onclick="gotoMain()" class="button" value="Return to main"> |
53 | </td> | |
f5a50b25 | 54 | </tr> |
007bda35 | 55 | </tr> |
f5a50b25 | 56 | <td id="prefContent" class="prefContent" valign="top" colspan="2"> |
a0d53889 | 57 | |
f5a50b25 | 58 | <p>Loading, please wait...</p> |
48f0adb0 | 59 | |
007bda35 AD |
60 | </td> |
61 | </tr> | |
f2188a89 | 62 | <? if (get_pref($link, 'DISPLAY_FOOTER')) { ?> |
007bda35 | 63 | <tr> |
faa1c034 | 64 | <td class="footer" colspan="2"> |
7936e979 | 65 | <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov |
4769ddaf | 66 | <? if (WEB_DEMO_MODE) { ?> |
7936e979 AD |
67 | <br>Running in demo mode, some functionality is disabled. |
68 | <? } ?> | |
007bda35 AD |
69 | </td> |
70 | </td> | |
da5d0d09 | 71 | <? } ?> |
007bda35 AD |
72 | </table> |
73 | ||
74 | ||
75 | </body> | |
76 | </html> |