tt-rss/prefs.php
2005-09-02 12:49:47 +01:00

67 lines
1.7 KiB
PHP

<html>
<head>
<title>Tiny Tiny RSS</title>
<link rel="stylesheet" href="tt-rss.css" type="text/css">
<script type="text/javascript" src="functions.js"></script>
<script type="text/javascript" src="prefs.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body onload="init()">
<? require_once "version.php" ?>
<? require_once "config.php" ?>
<table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
<tr>
<td class="header" valign="middle" colspan="2">
Preferences
</td>
</tr>
<tr>
<td class="toolbar" valign="middle">
<div id="notify">&nbsp;</div>
</td>
<td class="toolbar" valign="middle" colspan="2" align="right">
<a href="tt-rss.php" class="button">Return to main</a>
</td>
</tr>
</tr>
<td id="prefContent" class="prefContent" valign="top" colspan="2">
<h2>Feed Configuration</h2>
<div id="piggie">&nbsp;</div>
<table class="prefAddFeed"><tr>
<td><input id="fadd_link"></td>
<td colspan="4" align="right">
<a class="button" href="javascript:addFeed()">Add feed</a></td></tr>
</table>
<div id="feeds">&nbsp;</div>
<hr>
<h2>Import OPML</h2>
<form enctype="multipart/form-data" method="POST" action="opml.php">
<input type="hidden" name="MAX_FILE_SIZE" value="30000">
File: <input id="opml_file" name="opml_file" type="file">&nbsp;
<input class="button" name="op" onclick="return validateOpmlImport();"
type="submit" value="Import">
</form>
</td>
</tr>
<tr>
<td colspan="2" class="notify">
<a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> &copy; 2005 Andrew Dolgov
<? if (WEB_DEMO_MODE) { ?>
<br>Running in demo mode, some functionality is disabled.
<? } ?>
</td>
</td>
</table>
</body>
</html>