$this->setTitle(ts('Multiple Value Custom Group Search and Export'));
- $form->add('text', 'sort_name', ts('Contact Name'), TRUE);
+ $form->add('text', 'sort_name', ts('Contact Name'));
$contactTypes = ['' => ts('- any contact type -')] + CRM_Contact_BAO_ContactType::getSelectElements();
$form->add('select', 'contact_type', ts('Find...'), $contactTypes, ['class' => 'crm-select2 huge']);
public function buildForm(&$form) {
$form->add('text',
'postal_code_low',
- ts('Postal Code Start'),
- TRUE
+ ts('Postal Code Start')
);
$form->add('text',
'postal_code_high',
- ts('Postal Code End'),
- TRUE
+ ts('Postal Code End')
);
/**
* @return array
*/
public function summary() {
- $summary = [];
- return $summary;
+ return [];
}
/**
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{if $pager and $pager->_response}
+{if $pager|smarty:nodefaults and $pager->_response|smarty:nodefaults}
{if $pager->_response.numPages > 1}
<div class="crm-pager">
<span class="element-right">
{if $location eq 'top'}
- {$pager->_response.titleTop}
+ {$pager->_response.titleTop|smarty:nodefaults}
{else}
- {$pager->_response.titleBottom}
+ {$pager->_response.titleBottom|smarty:nodefaults}
{/if}
</span>
- </span>
<span class="crm-pager-nav">
- {$pager->_response.first}
- {$pager->_response.back}
- {$pager->_response.next}
- {$pager->_response.last}
+ {$pager->_response.first|smarty:nodefaults}
+ {$pager->_response.back|smarty:nodefaults}
+ {$pager->_response.next|smarty:nodefaults}
+ {$pager->_response.last|smarty:nodefaults}
{$pager->_response.status}
</span>