{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Search form and results for voters *} {include file='CRM/Campaign/Form/Search/Common.tpl' context='search'} {if $rowsEmpty || $rows}
{if $rowsEmpty}
{include file="CRM/Campaign/Form/Search/EmptyResults.tpl"}
{/if} {if $rows}
{* Search request has returned 1 or more matching rows. Display results and collapse the search criteria fieldset. *} {assign var="showBlock" value="'searchForm_show'"} {assign var="hideBlock" value="'searchForm'"} {* Search request has returned 1 or more matching rows. *}
{* This section handles form elements for action task select and submit *} {include file="CRM/common/searchResultTasks.tpl" context="Campaign"}
{* This section displays the rows along and includes the paging controls *} {include file="CRM/Campaign/Form/Selector.tpl" context="Search"}
{* END Actions/Results section *}
{/if}
{/if}