summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-28 18:58:20 +0100
committerAndrew Dolgov <[email protected]>2005-10-28 18:58:20 +0100
commitf5a50b25d6d023050ee7d8524bee1bdf7030057b (patch)
treea4a22a656426cd6c36991cb9c61c02e79cd457a8 /prefs.php
parentc5142ccae7e7c06bd3c2d66d30c769290b8e87e4 (diff)
tabbed preferences
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php54
1 files changed, 14 insertions, 40 deletions
diff --git a/prefs.php b/prefs.php
index 17b93f47a..2e3d96326 100644
--- a/prefs.php
+++ b/prefs.php
@@ -31,50 +31,24 @@
</tr>
<? } ?>
<tr>
- <td class="prefsToolbar" valign="middle" align="right">
+ <td class="prefsTabs" align="left" valign="bottom">
+ <input id="feedConfigTab" class="prefsTab" type="submit" value="Feed Configuration"
+ onclick="selectTab('feedConfig')">
+ <input id="filterConfigTab" class="prefsTab" type="submit" value="Content Filtering"
+ onclick="selectTab('filterConfig')">
+ <? if (ENABLE_LABELS) { ?>
+ <input id="labelConfigTab" class="prefsTab" type="submit" value="Label Editor"
+ onclick="selectTab('labelConfig')">
+ <? } ?>
+ </td>
+ <td class="prefsToolbar" valign="middle" align="right">
<input type="submit" onclick="gotoMain()" class="button" value="Return to main">
</td>
+ </tr>
</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>
+ <td id="prefContent" class="prefContent" valign="top" colspan="2">
- <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>
-
- <? } ?>
+ <p>Loading, please wait...</p>
</td>
</tr>