Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {* Form elements for displaying and running action tasks on search results for all component searches. *} | |
11 | ||
12 | <div id="search-status"> | |
13 | <table class="form-layout-compressed"> | |
14 | <tr> | |
15 | <td class="font-size12pt" style="width: 40%;"> | |
16 | {if $savedSearch.name}{$savedSearch.name} ({ts}smart group{/ts}) - {/if} | |
17 | {ts count=$pager->_totalItems plural='%count Results'}%count Result{/ts}{if $selectorLabel} - {$selectorLabel}{/if} | |
18 | {if $context == 'Event' && $participantCount && ( $pager->_totalItems ne $participantCount ) } | |
19 | <br />{ts}Actual participant count{/ts} : {$participantCount} {help id="id-actual_participant_count" file="CRM/Event/Form/Search/Results.hlp"} | |
20 | {/if} | |
21 | </td> | |
22 | <td> | |
23 | {* Search criteria are passed to tpl in the $qill array *} | |
24 | {if $qill} | |
25 | {include file="CRM/common/displaySearchCriteria.tpl"} | |
26 | {/if} | |
27 | </td> | |
28 | </tr> | |
29 | {if $context == 'Contribution'} | |
30 | <tr> | |
31 | <td colspan="2"> | |
32 | {include file="CRM/Contribute/Page/ContributionTotals.tpl"} | |
33 | </td> | |
34 | </tr> | |
35 | {/if} | |
36 | <tr> | |
37 | <td class="font-size11pt"> {ts}Select Records{/ts}:</td> | |
38 | <td class="nowrap"> | |
14dbd611 | 39 | {$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} |
6a488035 TO |
40 | </td> |
41 | </tr> | |
42 | <tr> | |
43 | <td colspan="2"> | |
e341bbee CW |
44 | {* Note print buttons were mostly removed except for Campaign search - the following lines can be removed soon CRM-12872 *} |
45 | {if !empty($printButtonName)} | |
6a488035 | 46 | {$form.$printButtonName.html} |
e341bbee | 47 | {elseif !empty($form._qf_Search_next_print)} |
6a488035 TO |
48 | {$form._qf_Search_next_print.html} |
49 | {/if} | |
31037a42 | 50 | |
2cc569f2 PJ |
51 | <span id='task-section'> |
52 | {$form.task.html} | |
53 | {if $actionButtonName} | |
54 | {$form.$actionButtonName.html} | |
55 | {else} | |
56 | {$form._qf_Search_next_action.html} | |
57 | {/if} | |
58 | </span> | |
6a488035 TO |
59 | </td> |
60 | </tr> | |
61 | </table> | |
62 | </div> |