summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-21 13:09:55 +0100
committerAndrew Dolgov <[email protected]>2006-05-21 13:09:55 +0100
commit164f4738ebbd48dc7379d58aadbd0ff2b658079e (patch)
tree711dfa3a5a181fc26b01a3355c0d2caac96aaf33 /tt-rss.php
parent86b682ce2f0b7f20b7cc032df1845f56729fbe82 (diff)
enable search toolbar
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php28
1 files changed, 10 insertions, 18 deletions
diff --git a/tt-rss.php b/tt-rss.php
index c915bbc2d..c40521563 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -150,26 +150,17 @@ window.onload = init;
<tr><td class="headlinesToolbar" id="headlinesToolbar">
-<!-- <? if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
+ <form id="main_toolbar_form">
- <input id="searchbox"
+ <? if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
+ <input name="query"
+ onKeyPress="return filterCR(event)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
- <select id="searchmodebox">
- <option value="all_feeds">All feeds</option>
- <option value="this_feed" selected>This feed</option>
- <? if (get_pref($link, 'ENABLE_FEED_CATS')) { ?>
- <option value="this_cat">This category</option>
- <? } ?>
- </select>
-
- <input type="submit"
- class="button" onclick="javascript:search()" value="Search">
+ <input class="button" type="submit"
+ onclick="return viewCurrentFeed(0)" value="Search">
+ &nbsp;
+ <? } ?>
- &nbsp;
-
- <? } ?> -->
-
- <form id="main_toolbar_form">
View:
<select name="view_mode" onchange="viewCurrentFeed(0, '')">
<option selected value="adaptive">Adaptive</option>
@@ -177,7 +168,8 @@ window.onload = init;
<option value="marked">Starred</option>
<option value="unread">Unread</option>
</select>
- &nbsp;Limit:
+
+ &nbsp;Limit:
<?
$limits = array(15 => 15, 30 => 30, 60 => 60, 0 => "All");