Replaced hard-coded $item.class in sidebar.tpl.

2.0 changed some of the item class names for consistency. BP is
affected by this as well. This does not need to be backported to
master!
This commit is contained in:
Matthias Mees 2013-07-21 16:32:35 +02:00
parent 8994711cd4
commit ffb7d19497

View File

@ -2,7 +2,7 @@
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
{if $item.class == "serendipity_quicksearch_plugin" and $template_option.sitenav_quicksearch == 'true' and ($template_option.sitenavpos == 'above' or $template_option.sitenavpos == 'below')}
{if $item.class == "serendipity_plugin_quicksearch" and $template_option.sitenav_quicksearch == 'true' and ($template_option.sitenavpos == 'above' or $template_option.sitenavpos == 'below')}
<!-- do nothing thereby supressing quicksearch in the sidebar when enabled in -->
<!-- navigation menu bar and ONLY when navigation bar is above or below header -->
{else}