diff options
author | Andrew Dolgov <[email protected]> | 2010-01-09 13:58:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-09 13:58:19 +0300 |
commit | 3b0a65adea082b96b0d6263d9e6bdefdd6a07a43 (patch) | |
tree | e8afdfb3a2f85a48ad40900e1b148e49f6d8df80 | |
parent | 17cd109775a8d06409cf35b355409de3338d60ae (diff) |
remove search toolbar
-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> |