{if $is_raw_mode}
<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')}
<!-- 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}
      <div class="serendipitySideBarItem container_{$item.class}">
         {if $item.title != ""}
            <h3 class="serendipitySideBarTitle {$item.class}">{$item.title}</h3>
         {/if}
         <div class="serendipitySideBarContent">{$item.content}</div>
         <div class="serendipitySideBarFooter"></div>
      </div>
   {/if}
{/foreach}
{if $is_raw_mode}
</div>
{/if}
