summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'tt-rss.php')
-rw-r--r--tt-rss.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tt-rss.php b/tt-rss.php
index 968f9cfeb..c43cb5d81 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -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>