1. As far as I have worked with s9y so far, {$content_message} is always empty if no search has been done. That means that the last part will always emit an empty div. Are there actually cases where it is not empty apart from the various search result cases before?
2. If one would not need the individual classes for the various search results, would it cause any issues to shorten the code above like this?
{if $searchresult_tooShort or $searchresult_error or $searchresult_noEntries or $searchresult_results}
<dl>
<dt>{$CONST.QUICKSEARCH}</dt>
<dd>{$content_message}</dd>
</dl>
{else}
{/if}
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
YL - if your only concern is emitting an empty div, why not just make that last one an {elseif $content_message} ? You can still do your definition list structure.... but at least you will not be emitting an empty container.