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
>
10 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8">
13 <body onload
="init()">
16 require_once "version.php";
17 require_once "config.php";
18 require_once "db-prefs.php";
20 $link = db_connect(DB_HOST
, DB_USER
, DB_PASS
, DB_NAME
);
23 <table width
="100%" height
="100%" cellspacing
="0" cellpadding
="0" class="main">
24 <?
if (get_pref($link, 'DISPLAY_HEADER')) { ?
>
27 <table cellspacing
="0" cellpadding
="0" width
="100%"><tr
>
28 <td
class="header" valign
="middle">
29 <img src
="images/ttrss_logo.png" alt
="logo">
31 <td align
="right" valign
="top">
32 <div id
="notify"><span id
="notify_body"></div
>
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')">
48 <input id
="genConfigTab" class="prefsTab" type
="submit" value
="User Preferences"
49 onclick
="selectTab('genConfig')">
52 <td
class="prefsToolbar" valign
="middle" align
="right">
53 <input type
="submit" onclick
="gotoMain()" class="button" value
="Return to main">
57 <td id
="prefContent" class="prefContent" valign
="top" colspan
="2">
59 <p
>Loading
, please wait
...</p
>
63 <?
if (get_pref($link, 'DISPLAY_FOOTER')) { ?
>
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
.