Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.3 | | |
4 | +--------------------------------------------------------------------+ | |
5 | | Copyright CiviCRM LLC (c) 2004-2013 | | |
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} {ts count=$pager->_totalItems plural='All %count records'}The found record{/ts} {if $pager->_totalItems > 1} {$form.radio_ts.ts_sel.html} {ts}Selected records only{/ts} {/if} | |
56 | </td> | |
57 | </tr> | |
58 | <tr> | |
59 | <td colspan="2"> | |
60 | {if $printButtonName} | |
61 | {$form.$printButtonName.html} | |
62 | {else} | |
63 | {$form._qf_Search_next_print.html} | |
64 | {/if} | |
65 | {$form.task.html} | |
66 | {if $actionButtonName} | |
67 | {$form.$actionButtonName.html} | |
68 | {else} | |
69 | {$form._qf_Search_next_action.html} | |
70 | {/if} | |
71 | </td> | |
72 | </tr> | |
73 | </table> | |
74 | </div> | |
75 | {literal} | |
76 | <script type="text/javascript"> | |
77 | toggleTaskAction( ); | |
78 | </script> | |
79 | {/literal} |