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 +--------------------------------------------------------------------+
10 {if $context EQ 'Search'}
11 {include file="CRM/common/pager.tpl" location="top"}
15 <table class="selector row-highlight">
16 <thead class="sticky">
18 {if !$single and $context eq 'Search' }
19 <th scope="col" title="Select Rows">{$form.toggleSelect.html}</th>
22 {foreach from=$columnHeaders item=header}
26 {assign var='key' value=$header.sort}
27 {$sort->_response.$key.link}
36 {counter start=0 skip=1 print=false}
37 {foreach from=$rows item=row}
38 <tr id='rowid{$row.contact_id}' class="{cycle values="odd-row,even-row"} crm-campaign">
40 {if $context eq 'Search' }
41 {assign var=cbName value=$row.checkbox}
42 <td>{$form.$cbName.html}</td>
44 <td>{$row.contact_type}</td>
45 <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`"}">{$row.sort_name}</a></td>
46 <td>{$row.street_number}</td>
47 <td>{$row.street_name}</td>
48 <td>{$row.street_address}</td>
50 <td>{$row.postal_code}</td>
51 <td>{$row.state_province}</td>
52 <td>{$row.country}</td>
62 {if $context EQ 'Search'}
63 {include file="CRM/common/pager.tpl" location="bottom"}