4 require_once "version.php";
5 require_once "config.php";
6 require_once "db-prefs.php";
8 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
12 <title
>Tiny Tiny RSS
: Preferences
</title
>
13 <link rel
="stylesheet" href
="tt-rss.css" type
="text/css">
15 <?
if (get_pref($link, 'USE_COMPACT_STYLESHEET')) { ?
>
17 <link rel
="stylesheet" href
="tt-rss_compact.css" type
="text/css">
21 <link title
="Compact Stylesheet" rel
="alternate stylesheet"
22 type
="text/css" href
="tt-rss_compact.css"/>
27 <script type
="text/javascript" src
="functions.js"></script
>
28 <script type
="text/javascript" src
="prefs.js"></script
>
30 <!--[if gte IE
5.5000]>
31 <script type
="text/javascript" src
="pngfix.js"></script
>
33 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
36 <body onload
="init()">
38 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
39 <?
if (get_pref($link, 'DISPLAY_HEADER')) { ?
>
42 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
43 <td
class="header" valign
="middle">
44 <img src
="images/ttrss_logo.png" alt
="logo">
46 <td align
="right" valign
="top">
47 <div id
="notify"><span id
="notify_body"></div
>
54 <td
class="prefsTabs" align
="left" valign
="bottom">
55 <input id
="genConfigTab" class="prefsTab" type
="submit" value
="User Preferences"
56 onclick
="selectTab('genConfig')">
57 <input id
="feedConfigTab" class="prefsTab" type
="submit" value
="Feed Configuration"
58 onclick
="selectTab('feedConfig')">
59 <input id
="filterConfigTab" class="prefsTab" type
="submit" value
="Content Filtering"
60 onclick
="selectTab('filterConfig')">
61 <?
if (get_pref($link, 'ENABLE_LABELS')) { ?
>
62 <input id
="labelConfigTab" class="prefsTab" type
="submit" value
="Label Editor"
63 onclick
="selectTab('labelConfig')">
66 <td
class="prefsToolbar" valign
="middle" align
="right">
67 <input type
="submit" onclick
="gotoMain()" class="button" value
="Return to main">
71 <td id
="prefContent" class="prefContent" valign
="top" colspan
="2">
73 <p
>Loading
, please wait
...</p
>
77 <?
if (get_pref($link, 'DISPLAY_FOOTER')) { ?
>
79 <td
class="footer" colspan
="2">
80 <a href
="http://bah.spb.su/~fox/tt-rss/">Tiny
-Tiny RSS
</a
> v
<?
= VERSION ?
> ©
; 2005 Andrew Dolgov
81 <?
if (WEB_DEMO_MODE
) { ?
>
82 <br
>Running in demo mode
, some functionality is disabled
.
89 <?
db_close($link); ?
>