commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Pledge / Form / Search.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
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 {* Search form and results for Event Participants *}
27 <div class="crm-form-block crm-search-form-block">
28 <div class="crm-accordion-wrapper crm-advanced_search_form-accordion {if $rowsEmpty or $rows}collapsed{/if}">
29 <div class="crm-accordion-header crm-master-accordion-header">
30 {ts}Edit Search Criteria{/ts}
31 </div><!-- /.crm-accordion-header -->
32 <div class="crm-accordion-body">
33
34 <div id="searchForm">
35 {strip}
36 <table class="form-layout">
37 <tr>
38 <td class="font-size12pt" colspan="2">
39 {$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html|crmAddClass:'twenty'}&nbsp;&nbsp;&nbsp;{$form.buttons.html}
40 </td>
41 </tr>
42 {include file="CRM/Pledge/Form/Search/Common.tpl"}
43
44 <tr>
45 <td colspan="2">{$form.buttons.html}</td>
46 </tr>
47 </table>
48 {/strip}
49 </div>
50 </div>
51 </div>
52 </div>
53
54 {if $rowsEmpty || $rows }
55
56 <div class="crm-content-block">
57
58 {if $rowsEmpty}
59 <div class="crm-results-block crm-results-block-empty">
60 {include file="CRM/Pledge/Form/Search/EmptyResults.tpl"}
61 </div>
62 {/if}
63
64 {if $rows}
65 <div class="crm-results-block">
66
67 {* Search request has returned 1 or more matching rows. *}
68
69 {* This section handles form elements for action task select and submit *}
70 <div class="crm-search-tasks">
71 {include file="CRM/common/searchResultTasks.tpl"}
72 </div>
73 {* This section displays the rows along and includes the paging controls *}
74 <div class="crm-search-results">
75 {include file="CRM/Pledge/Form/Selector.tpl" context="Search"}
76 </div>
77 {* END Actions/Results section *}
78 </div>
79 {/if}
80 </div>
81 {/if}