From e1b646e87e003a993ec2a7d54938ae673cee6096 Mon Sep 17 00:00:00 2001 From: azett Date: Sat, 2 Feb 2019 14:07:40 +0100 Subject: [PATCH] Searchbox plugin searches fulltext by default - thanks Lubomir :) --- fp-plugins/searchbox/plugin.searchbox.php | 60 ++++++++++------------- 1 file changed, 26 insertions(+), 34 deletions(-) diff --git a/fp-plugins/searchbox/plugin.searchbox.php b/fp-plugins/searchbox/plugin.searchbox.php index d969d11..4e2453c 100755 --- a/fp-plugins/searchbox/plugin.searchbox.php +++ b/fp-plugins/searchbox/plugin.searchbox.php @@ -1,48 +1,40 @@
  • -
    '; - - if (SEARCHBOX_BIG) - $content .= "

    {$lang['search']['moreopts']}

    "; - - $content .= '

    '; - - if (SEARCHBOX_BIG) - $content .= - '


    '. - '

    '; - - $content.= '

    + + $content = '
    • + + '; + + if (SEARCHBOX_BIG) + $content .= "

      {$lang['search']['moreopts']}

      "; + + $content .= '

      '; + + if (SEARCHBOX_BIG) + $content .= '


      ' . '

      '; + + $content .= '

    '; - return array( - 'subject' => $lang['search']['head'], - 'content' => $content - ); + 'subject' => $lang ['search'] ['head'], + 'content' => $content + ); } register_widget('searchbox', 'SearchBox', 'plugin_searchbox_widget');