diff options
-rw-r--r-- | modules/pref-prefs.php | 3 | ||||
-rw-r--r-- | tt-rss.php | 9 |
2 files changed, 2 insertions, 10 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 7d1c95d49..7450106a5 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -13,7 +13,8 @@ $subop = $_REQUEST["subop"]; - $prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS"); + $prefs_blacklist = array("HIDE_FEEDLIST", "SYNC_COUNTERS", "ENABLE_LABELS", + "ENABLE_SEARCH_TOOLBAR"); if (FORCE_ARTICLE_PURGE != 0) { array_push($prefs_blacklist, "PURGE_OLD_DAYS"); diff --git a/tt-rss.php b/tt-rss.php index eb607a20d..5c216748e 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -217,15 +217,6 @@ - <?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?> - - <?php echo __('Search:') ?> - <input name="query" type="text" - onkeypress="return filterCR(event, viewCurrentFeed)" - onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();"/> - - <?php } ?> - <select name="view_mode" title="<?php echo __('Show articles') ?>" onchange="viewModeChanged()"> <option selected="selected" value="adaptive"><?php echo __('Adaptive') ?></option> |