File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Version 2.6-alpha1 ()
4
4
* Update smarty from v4.3.5 to v5.4.3. This new major version has
5
5
breaking changes, worked around as much as possible in the s9y core
6
6
7
+ * Fix an often broken element of old themes by not adding the
8
+ integrated search box when 2k11 is used as the default theme
9
+
7
10
* Fix specific search terms (like a - at the end) causing an error
8
11
page when using MySQL/MariaDB (thanks to GuillaumeValadas)
9
12
Original file line number Diff line number Diff line change 46
46
{ if $blogDescription } <p >{ $blogDescription } </p >{ /if }
47
47
</a >
48
48
</div >
49
-
49
+ { if $ template == " 2k11 " }
50
50
<form id =" searchform" action =" { $serendipityHTTPPath } { $serendipityIndexFile } " method =" get" >
51
51
<div >
52
52
<input type =" hidden" name =" serendipity[action]" value =" search" >
56
56
</div >
57
57
</form >
58
58
{ serendipity_hookPlugin hook= " quicksearch_plugin" hookAll= " true" }
59
+ { /if }
59
60
{ if $template_option .header_img}
60
61
<img src =" { $template_option .header_img|escape } " alt =" " >
61
62
{ /if }
Original file line number Diff line number Diff line change 2
2
<div id =" serendipity{ $pluginside } SideBar" >
3
3
{ /if }
4
4
{ foreach from= $plugindata item= item}
5
- { if $item .class != " serendipity_plugin_quicksearch" }
5
+ { if $item .class != " serendipity_plugin_quicksearch" || $ template != " 2k11 " }
6
6
<section class =" sidebar_plugin clearfix { cycle values= " odd,even" } { $item .class} " >
7
7
{ if $item .title != " " }
8
8
<h3 >{ $item .title} </h3 >
You can’t perform that action at this time.
0 commit comments