1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 07:25:57 +00:00

reintroduce option ENABLE_SEARCH_TOOLBAR

This commit is contained in:
Andrew Dolgov
2007-05-19 12:57:23 +01:00
parent 84e0e3bb66
commit feead173b0
5 changed files with 12 additions and 0 deletions

View File

@@ -155,11 +155,15 @@ window.onload = init;
<form id="main_toolbar_form" onsubmit='return false'>
<?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
<?php echo __('Search:') ?>
<input name="query"
onKeyPress="return filterCR(event, viewCurrentFeed)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
<?php } ?>
<?php echo __('View:') ?>
<select name="view_mode" onchange="viewCurrentFeed(0, '')">
<option selected value="adaptive"><?php echo __('Adaptive') ?></option>