summaryrefslogtreecommitdiff
path: root/prefs.php
blob: 17b93f47a1d8ec740230a591ef3db2ec0b8e8a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head>
	<title>Tiny Tiny RSS : Preferences</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>
	<!--[if gte IE 5.5000]>
		<script type="text/javascript" src="pngfix.js"></script>
	<![endif]-->
	<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">
<? if (DISPLAY_HEADER) { ?>
<tr>
	<td colspan="2">
		<table cellspacing="0" cellpadding="0" width="100%"><tr>
			<td class="header" valign="middle">	
				<img src="images/ttrss_logo.png" alt="logo">	
			</td>
			<td align="right" valign="top">
				<div id="notify"><span id="notify_body"></div>
			</td>
		</tr></table>
	</td>
</tr>
<? } ?>
<tr>
	<td class="prefsToolbar" valign="middle" align="right">
		<input type="submit" onclick="gotoMain()" class="button" value="Return to main">
	</td>
</tr>
</tr>
	<td id="prefContent" class="prefContent" valign="top">
		<h2>Feed Configuration</h2><div id="piggie">&nbsp;</div>

		<div class="expPane" id="feedConfPane">
			<a class="button" 
				href="javascript:expandPane('feedConfPane')">Expand section &gt;</a>
		</div>

		<h2>OPML Import</h2>

		<div class="expPane">
	
		<form	enctype="multipart/form-data" method="POST" action="opml.php">
			File: <input id="opml_file" name="opml_file" type="file">&nbsp;
			<input class="button" name="op" onclick="return validateOpmlImport();"
				type="submit" value="Import">
			</form>

		</div>

		<h2>Content Filtering</h2>

		<div class="expPane" id="filterConfPane">
			<a class="button" 
				href="javascript:expandPane('filterConfPane')">Expand section &gt;</a>

		</div>

		<? if (ENABLE_LABELS) { ?>

		<h2>Label Editor</h2>

		<div class="expPane" id="labelConfPane">
			<a class="button" 
				href="javascript:expandPane('labelConfPane')">Expand section &gt;</a>

		</div>

		<? } ?>

	</td>
</tr>
<? if (DISPLAY_FOOTER) { ?>
<tr>
	<td class="footer">
		<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>