diff --git a/docs/NEWS b/docs/NEWS index 463731013..2a4d54536 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -1,6 +1,9 @@ Version 2.6-alpha1 () ------------------------------------------------------------------------ + * Fix an often broken element of old themes by not adding the + integrated search box when 2k11 is used as the default theme + * Fix specific search terms (like a - at the end) causing an error page when using MySQL/MariaDB (thanks to GuillaumeValadas) diff --git a/templates/2k11/index.tpl b/templates/2k11/index.tpl index 027f003ac..6b4c4597a 100644 --- a/templates/2k11/index.tpl +++ b/templates/2k11/index.tpl @@ -46,7 +46,7 @@ {if $blogDescription}

{$blogDescription}

{/if} - + {if $template == "2k11"}
@@ -56,6 +56,7 @@
{serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"} + {/if} {if $template_option.header_img} {/if} diff --git a/templates/2k11/sidebar.tpl b/templates/2k11/sidebar.tpl index 2155b7b71..1c906fb87 100644 --- a/templates/2k11/sidebar.tpl +++ b/templates/2k11/sidebar.tpl @@ -2,7 +2,7 @@
{/if} {foreach from=$plugindata item=item} -{if $item.class != "serendipity_plugin_quicksearch"} +{if $item.class != "serendipity_plugin_quicksearch" || $template != "2k11"}