| 1 | {* |
| 2 | +--------------------------------------------------------------------+ |
| 3 | | CiviCRM version 4.7 | |
| 4 | +--------------------------------------------------------------------+ |
| 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
| 6 | +--------------------------------------------------------------------+ |
| 7 | | This file is a part of CiviCRM. | |
| 8 | | | |
| 9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
| 10 | | under the terms of the GNU Affero General Public License | |
| 11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
| 12 | | | |
| 13 | | CiviCRM is distributed in the hope that it will be useful, but | |
| 14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 16 | | See the GNU Affero General Public License for more details. | |
| 17 | | | |
| 18 | | You should have received a copy of the GNU Affero General Public | |
| 19 | | License and the CiviCRM Licensing Exception along | |
| 20 | | with this program; if not, contact CiviCRM LLC | |
| 21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
| 22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
| 23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
| 24 | +--------------------------------------------------------------------+ |
| 25 | *} |
| 26 | {* Form elements for displaying and running action tasks on search results for all component searches. *} |
| 27 | |
| 28 | <div id="search-status"> |
| 29 | <table class="form-layout-compressed"> |
| 30 | <tr> |
| 31 | <td class="font-size12pt" style="width: 40%;"> |
| 32 | {if $savedSearch.name}{$savedSearch.name} ({ts}smart group{/ts}) - {/if} |
| 33 | {ts count=$pager->_totalItems plural='%count Results'}%count Result{/ts}{if $selectorLabel} - {$selectorLabel}{/if} |
| 34 | {if $context == 'Event' && $participantCount && ( $pager->_totalItems ne $participantCount ) } |
| 35 | <br />{ts}Actual participant count{/ts} : {$participantCount} {help id="id-actual_participant_count" file="CRM/Event/Form/Search/Results.hlp"} |
| 36 | {/if} |
| 37 | </td> |
| 38 | <td> |
| 39 | {* Search criteria are passed to tpl in the $qill array *} |
| 40 | {if $qill} |
| 41 | {include file="CRM/common/displaySearchCriteria.tpl"} |
| 42 | {/if} |
| 43 | </td> |
| 44 | </tr> |
| 45 | {if $context == 'Contribution'} |
| 46 | <tr> |
| 47 | <td colspan="2"> |
| 48 | {include file="CRM/Contribute/Page/ContributionTotals.tpl"} |
| 49 | </td> |
| 50 | </tr> |
| 51 | {/if} |
| 52 | <tr> |
| 53 | <td class="font-size11pt"> {ts}Select Records{/ts}:</td> |
| 54 | <td class="nowrap"> |
| 55 | {$form.radio_ts.ts_all.html} <label for="{$ts_all_id}">{ts count=$pager->_totalItems plural='All %count records'}The found record{/ts}</label> {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} <label for="{$ts_sel_id}">{ts 1="<span></span>"}%1 Selected records only{/ts}</label>{/if} |
| 56 | </td> |
| 57 | </tr> |
| 58 | <tr> |
| 59 | <td colspan="2"> |
| 60 | {* Note print buttons were mostly removed except for Campaign search - the following lines can be removed soon CRM-12872 *} |
| 61 | {if !empty($printButtonName)} |
| 62 | {$form.$printButtonName.html} |
| 63 | {elseif !empty($form._qf_Search_next_print)} |
| 64 | {$form._qf_Search_next_print.html} |
| 65 | {/if} |
| 66 | |
| 67 | <span id='task-section'> |
| 68 | {$form.task.html} |
| 69 | {if $actionButtonName} |
| 70 | {$form.$actionButtonName.html} |
| 71 | {else} |
| 72 | {$form._qf_Search_next_action.html} |
| 73 | {/if} |
| 74 | </span> |
| 75 | </td> |
| 76 | </tr> |
| 77 | </table> |
| 78 | </div> |