{if !empty($summonResults)}
<div class="sidegroup">
<h4>{translate text='Summon Results'}</h4>
<ul class="similar">
{foreach from=$summonResults item=record}
<li>
<a href="{$url}/Summon/Record?id={$record.ID.0|escape:"url"}">{if !$record.Title.0}{translate text='Title not available'}{else}{$record.Title.0|truncate:180:"..."}</a>{/if}
<span style="font-size: .8em">
{if $record.Author}
<br>{translate text='by'}
{foreach from=$record.Author item=author name="loop"}
<a href="{$url}/Summon/Search?type=Author&lookfor={$author|escape:"url"}">{$author|highlight:$lookfor}</a>{if !$smarty.foreach.loop.last},{/if}
{/foreach}
{/if}
</span>
</li>
{/foreach}
</ul>
<p><a href="{$summonSearchUrl|escape}">{translate text='More Summon results'}...</a></p>
</div>
{/if}