]> git.wh0rd.org - tt-rss.git/blob - prefs.php
OPML import
[tt-rss.git] / prefs.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="prefs.js"></script>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8 </head>
9
10 <body onload="init()">
11
12 <? require_once "version.php" ?>
13 <? require_once "config.php" ?>
14
15 <table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
16 <tr>
17 <td class="header" valign="middle" colspan="2">
18 Preferences
19 </td>
20 </tr>
21 <tr>
22 <td class="toolbar" valign="middle">
23 <div id="notify">&nbsp;</div>
24 </td>
25 <td class="toolbar" valign="middle" colspan="2" align="right">
26 <a href="tt-rss.php" class="button">Return to main</a>
27 </td>
28 </tr>
29 </tr>
30 <td id="prefContent" class="prefContent" valign="top" colspan="2">
31 <h2>Feed Configuration</h2>
32
33 <div id="piggie">&nbsp;</div>
34
35 <table class="prefAddFeed"><tr>
36 <td><input id="fadd_link"></td>
37 <td colspan="4" align="right">
38 <a class="button" href="javascript:addFeed()">Add feed</a></td></tr>
39 </table>
40
41 <div id="feeds">&nbsp;</div>
42
43 <hr>
44
45 <h2>Import OPML</h2>
46
47 <form enctype="multipart/form-data" method="POST" action="opml.php">
48 <input type="hidden" name="MAX_FILE_SIZE" value="30000">
49 File: <input id="opml_file" name="opml_file" type="file">&nbsp;
50 <input class="button" name="op" onclick="return validateOpmlImport();"
51 type="submit" value="Import">
52 </form>
53 </td>
54 </tr>
55 <tr>
56 <td colspan="2" class="notify">
57 <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
58 <? if (WEB_DEMO_MODE) { ?>
59 <br>Running in demo mode, some functionality is disabled.
60 <? } ?>
61 </td>
62 </td>
63 </table>
64
65
66 </body>
67 </html>