2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 |
8 +--------------------------------------------------------------------+
11 <div class="crm-submit-buttons element-right">
12 {include file="CRM/common/formButtons.tpl" location="top"}
14 <div class="spacer"></div>
18 <tr class="columnheader">
19 {if $id OR $customSearchID}
20 {foreach from=$columnHeaders item=header}
24 <td>{ts}Name{/ts}</td>
25 {if !empty($columnHeaders.street_address)}
26 <td>{ts}Address{/ts}</td>
28 {if !empty($columnHeaders.city)}
29 <td>{ts}City{/ts}</td>
31 {if !empty($columnHeaders.state_province)}
32 <td>{ts}State{/ts}</td>
34 {if !empty($columnHeaders.postal_code)}
35 <td>{ts}Postal{/ts}</td>
37 {if !empty($columnHeaders.country)}
38 <td>{ts}Country{/ts}</td>
40 <td>{ts}Email{/ts}</td>
41 <td>{ts}Phone{/ts}</td>
42 <td>{ts}Do Not Email{/ts}</td>
43 <td>{ts}Do Not Phone{/ts}</td>
44 <td>{ts}Do Not mail{/ts}</td>
47 {foreach from=$rows item=row}
48 <tr class="{cycle values="odd-row,even-row"}">
50 <td>{$row.sort_name}</td>
51 {foreach from=$row item=value key=key}
52 {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")}
56 {elseif $customSearchID}
57 {foreach from=$columnHeaders item=header key=name}
61 <td>{$row.sort_name}</td>
62 {if !empty($columnHeaders.street_address)}
63 <td>{$row.street_address}</td>
65 {if !empty($columnHeaders.city)}
68 {if !empty($columnHeaders.state_province)}
69 <td>{$row.state_province}</td>
71 {if !empty($columnHeaders.postal_code)}
72 <td>{$row.postal_code}</td>
74 {if !empty($columnHeaders.country)}
75 <td>{$row.country}</td>
79 {if $row.do_not_email == 1}
80 <td>{$row.do_not_email}</td>
84 {if $row.do_not_phone == 1}
85 <td>{$row.do_not_phone}</td>
89 {if $row.do_not_mail == 1}
90 <td>{$row.do_not_mail}</td>
100 <div class="crm-submit-buttons element-right">
101 {include file="CRM/common/formButtons.tpl" location="bottom"}
105 <div class="messages status no-popup">
106 <div class="icon inform-icon"></div>
107 {ts}There are no records selected for Print.{/ts}