1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 10:09:15 +00:00

enable search toolbar

This commit is contained in:
Andrew Dolgov
2006-05-21 13:09:55 +01:00
parent 86b682ce2f
commit 164f4738eb
4 changed files with 17 additions and 22 deletions

View File

@@ -150,26 +150,17 @@ window.onload = init;
<tr><td class="headlinesToolbar" id="headlinesToolbar">
<!-- <? if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
<input id="searchbox"
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">
&nbsp;
<? } ?> -->
<form id="main_toolbar_form">
<? if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
<input name="query"
onKeyPress="return filterCR(event)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
<input class="button" type="submit"
onclick="return viewCurrentFeed(0)" value="Search">
&nbsp;
<? } ?>
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");