2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
27 <div class="crm-submit-buttons element-right">
28 {include file="CRM/common/formButtons.tpl" location="top"}
30 <div class="spacer"></div>
34 <tr class="columnheader">
35 {if $id OR $customSearchID}
36 {foreach from=$columnHeaders item=header}
40 <td>{ts}Name{/ts}</td>
41 {if !empty($columnHeaders.street_address)}
42 <td>{ts}Address{/ts}</td>
44 {if !empty($columnHeaders.city)}
45 <td>{ts}City{/ts}</td>
47 {if !empty($columnHeaders.state_province)}
48 <td>{ts}State{/ts}</td>
50 {if !empty($columnHeaders.postal_code)}
51 <td>{ts}Postal{/ts}</td>
53 {if !empty($columnHeaders.country)}
54 <td>{ts}Country{/ts}</td>
56 <td>{ts}Email{/ts}</td>
57 <td>{ts}Phone{/ts}</td>
58 <td>{ts}Do Not Email{/ts}</td>
59 <td>{ts}Do Not Phone{/ts}</td>
60 <td>{ts}Do Not mail{/ts}</td>
63 {foreach from=$rows item=row}
64 <tr class="{cycle values="odd-row,even-row"}">
66 <td>{$row.sort_name}</td>
67 {foreach from=$row item=value key=key}
68 {if ($key neq "checkbox") and ($key neq "action") and ($key neq "contact_type") and ($key neq "status") and ($key neq "contact_id") and ($key neq "sort_name")}
72 {elseif $customSearchID}
73 {foreach from=$columnHeaders item=header key=name}
77 <td>{$row.sort_name}</td>
78 {if !empty($columnHeaders.street_address)}
79 <td>{$row.street_address}</td>
81 {if !empty($columnHeaders.city)}
84 {if !empty($columnHeaders.state_province)}
85 <td>{$row.state_province}</td>
87 {if !empty($columnHeaders.postal_code)}
88 <td>{$row.postal_code}</td>
90 {if !empty($columnHeaders.country)}
91 <td>{$row.country}</td>
95 {if $row.do_not_email == 1}
96 <td>{$row.do_not_email}</td>
100 {if $row.do_not_phone == 1}
101 <td>{$row.do_not_phone}</td>
105 {if $row.do_not_mail == 1}
106 <td>{$row.do_not_mail}</td>
116 <div class="crm-submit-buttons element-right">
117 {include file="CRM/common/formButtons.tpl" location="bottom"}
121 <div class="messages status no-popup">
122 <div class="icon inform-icon"></div>
123 {ts}There are no records selected for Print.{/ts}