{form_instructions}
<form action="{form_action}" method="post">
    <input type="text" maxsize="250" name="searchfor" value="{searchfor}"/>
    <input type="submit" value="Go"/>
    <input type="hidden" name="submitted" value="1"/>
    <br/><br/>
    Search only:<br/><br/>
    <input type="checkbox" name="search_users" value="1" {!if defined(search_users) 'checked'!}> Users &nbsp;
    <input type="checkbox" name="search_documents" value="1" {!if defined(search_documents) 'checked'!}> Documents &nbsp;
    <input type="checkbox" name="search_folders" value="1" {!if defined(search_folders) 'checked'!}> Folders &nbsp;
    <input type="checkbox" name="search_comments" value="1" {!if defined(search_comments) 'checked'!}> Comments &nbsp;
</form>

<ul>
{BEGIN:search_results}
    <li>{search_result_type}: <a href="{search_url}">{search_name}</a></li>
{END:search_results}
</ul>
{!if defined(num_results)
    '<p>{num_results} item(s) found</p>'
!}