summaryrefslogtreecommitdiff
path: root/tt-rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-19 12:57:23 +0100
committerAndrew Dolgov <[email protected]>2007-05-19 12:57:23 +0100
commitfeead173b066b1abaaf7834e218553b6ce2bc56f (patch)
tree41eeaa08a6ef89f578448e322428fcf13340c907 /tt-rss.php
parent84e0e3bb6604e8f3ea4c067053075fe0a3ced9a6 (diff)
reintroduce option ENABLE_SEARCH_TOOLBAR
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>