{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Main template for basic search (Find Contacts) *} {include file="CRM/Contact/Form/Search/Intro.tpl"}
{* This section handles form elements for search criteria *}
{include file="CRM/Contact/Form/Search/BasicCriteria.tpl"}
{if $rowsEmpty}
{include file="CRM/Contact/Form/Search/EmptyResults.tpl"}
{elseif $rows}
{* Search request has returned 1 or more matching rows. *} {* This section handles form elements for action task select and submit *}
{if $taskFile} {if $taskContext} {include file=$taskFile context=$taskContext} {else} {include file=$taskFile} {/if} {else} {include file="CRM/Contact/Form/Search/ResultTasks.tpl"} {/if}
{* This section displays the rows along and includes the paging controls *}
{if $resultFile} {if $resultContext} {include file=$resultFile context=$resultContext} {else} {include file=$resultFile} {/if} {else} {include file="CRM/Contact/Form/Selector.tpl"} {/if}
{* END Actions/Results section *}
{else}
 
{/if}
{*include file="CRM/common/searchJs.tpl"*}