{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {include file="CRM/common/pager.tpl" location="top"} {include file="CRM/common/pagerAToZ.tpl"} {ts}Reset all selections{/ts} {if $context eq 'smog'} {/if} {foreach from=$columnHeaders item=header} {/foreach} {counter start=0 skip=1 print=false} { if $id } {foreach from=$rows item=row} {assign var=cbName value=$row.checkbox} {if $context eq 'smog'} {if $row.status eq 'Pending'} {/if} {foreach from=$row item=value key=key} {if ($key neq "checkbox") and ($key neq "action") and ($key neq "contact_type") and ($key neq "contact_type_orig") and ($key neq "status") and ($key neq "sort_name") and ($key neq "contact_id")and ($key neq "contact_sub_type")} {/if} {/foreach} {/foreach} {else} {foreach from=$rows item=row} {assign var=cbName value=$row.checkbox} {if $context eq 'smog'} {if $row.status eq 'Pending'} {/if} {if $action eq 512 or $action eq 256} {if !empty($columnHeaders.street_address)} {/if} {if !empty($columnHeaders.city)} {/if} {if !empty($columnHeaders.state_province)} {/if} {if !empty($columnHeaders.postal_code)} {/if} {if !empty($columnHeaders.country)} {/if} {else} {foreach from=$row item=value key=key} {if ($key neq "checkbox") and ($key neq "action") and ($key neq "contact_type") and ($key neq "contact_sub_type") and ($key neq "status") and ($key neq "sort_name") and ($key neq "contact_id") and ($key neq "contact_type_orig")} {/if} {/foreach} {/if} {/foreach} {/if}
{$form.toggleSelect.html} {ts}Status{/ts} {if $header.sort} {assign var='key' value=$header.sort} {$sort->_response.$key.link} {else} {$header.name} {/if}
{$form.$cbName.html} {elseif $row.status eq 'Removed'} {else}{/if} {$row.status}{$row.contact_type} {$row.sort_name} {if $key EQ "household_income_total" } {$value|crmMoney} {elseif strpos( $key, '_date' ) !== false } {$value|crmDate} {else} {$value} {/if}   {$row.action|replace:'xx':$row.contact_id}
{$form.$cbName.html} {elseif $row.status eq 'Removed'} {else}{/if} {$row.status}{$row.contact_type} {if $row.is_deleted}{/if}{$row.sort_name}{if $row.is_deleted}{/if}{$row.street_address|mb_truncate:22:"...":true}{if $row.do_not_mail} {/if}{$row.city}{$row.state_province}{$row.postal_code}{$row.country} {if $row.email} {$row.email|mb_truncate:17:"...":true} {if $row.on_hold} (On Hold) {elseif $row.do_not_email} {/if} {/if} {if $row.phone} {$row.phone} {if $row.do_not_phone} {/if} {/if} {$value} {$row.action|replace:'xx':$row.contact_id}
{include file="CRM/common/pager.tpl" location="bottom"}