From 112aab5a4c819e1de72d3ab44c9a8e89988ae605 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 28 Feb 2017 09:56:41 +0100 Subject: [PATCH] take out search param in search form of nav bar, no typeahead in fulltext mode --- views/bootstrap/class.Bootstrap.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index bf8a3ff9c..aba0f99ac 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -324,11 +324,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " getID()."\" />"; } echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; + echo " params['defaultsearchmethod'] == 'fulltext' ? "" : "id=\"searchfield\"")." data-provide=\"typeahead\" type=\"text\" style=\"width: 150px;\" placeholder=\"".getMLText("search")."\"/>"; if($this->params['defaultsearchmethod'] == 'fulltext') echo " "; // if($this->params['enablefullsearch']) {