- {else}
- {if="$search_type=='fulltext'"}
- <div id="searchcriteria">{$result_count} results for <i>{$search_crits}</i></div>
- {/if}
- {if="$search_type=='tags'"}
- <div id="searchcriteria">{$result_count} results for tags <i>
- {loop="search_crits"}
- <span class="linktag" title="Remove tag">
+ {elseif="!empty($search_term) or !empty($search_tags)"}
+ <div id="searchcriteria">
+ {$result_count} results
+ {if="!empty($search_term)"}
+ for <em>{$search_term}</em>
+ {/if}
+ {if="!empty($search_tags)"}
+ {$exploded_tags=explode(' ', $search_tags)}
+ tagged
+ {loop="$exploded_tags"}
+ <span class="linktag" title="Remove tag">