That was... silly.
$commPreff[] = $form->createElement('advcheckbox', $k, NULL, $v);
}
- $onHold[] = $form->createElement('advcheckbox', 'on_hold', NULL, ts(''));
+ $onHold[] = $form->createElement('advcheckbox', 'on_hold', NULL, '');
$form->addGroup($onHold, 'email_on_hold', ts('Email On Hold'));
$form->addGroup($commPreff, 'preferred_communication_method', ts('Preferred Communication Method'));
ts('Activity Subject') => 'activity_subject',
ts('Scheduled By') => 'source_contact',
ts('Scheduled Date') => 'activity_date',
- ts(' ') => 'activity_id',
- ts(' ') => 'activity_type_id',
- ts(' ') => 'case_id',
+ ' ' => 'activity_id',
+ ' ' => 'activity_type_id',
+ ' ' => 'case_id',
ts('Location') => 'location',
ts('Duration') => 'duration',
ts('Details') => 'details',
$this->normalize();
$this->_columns = array(
- ts('') => 'contact_type',
+ '' => 'contact_type',
ts('Name') => 'sort_name',
ts('Address') => 'street_address',
ts('City') => 'city',
$options = array();
$options[] = $this->createElement('radio', NULL, NULL, ts('Optional'), 1);
$options[] = $this->createElement('radio', NULL, NULL, ts('Required'), 2);
- $this->addGroup($options, 'is_for_organization', ts(''));
+ $this->addGroup($options, 'is_for_organization', '');
$this->add('textarea', 'for_organization', ts('On behalf of Label'), $attributes['for_organization']);
// collect goal amount
self::CREATE_NEW => array(
'template' => 'CreateNew.tpl',
'info' => ts('CiviCRM Create New Record'),
- 'subject' => ts(''),
+ 'subject' => '',
'active' => TRUE,
'cache' => BLOCK_CACHE_GLOBAL,
'visibility' => 1,
'2' => ts('On'),
);
$form->addRadio('ends', ts("Ends"), $eoptionTypes, array(), NULL);
- $form->add('text', 'start_action_offset', ts(''), array('size' => 3, 'maxlength' => 2));
+ $form->add('text', 'start_action_offset', '', array('size' => 3, 'maxlength' => 2));
$form->addFormRule(array('CRM_Core_Form_RecurringEntity', 'formRule'));
$form->addDate('repeat_absolute_date', ts('On'), FALSE, array('formatType' => 'mailing'));
$form->add('text', 'exclude_date_list', ts('Exclude Dates'), array(
$form->addDate('grant_application_received_date_low', ts('App. Received Date - From'), FALSE, array('formatType' => 'searchDate'));
$form->addDate('grant_application_received_date_high', ts('To'), FALSE, array('formatType' => 'searchDate'));
- $form->addElement('checkbox', 'grant_application_received_notset', ts(''), NULL);
+ $form->addElement('checkbox', 'grant_application_received_notset', '', NULL);
$form->addDate('grant_money_transfer_date_low', ts('Money Sent Date - From'), FALSE, array('formatType' => 'searchDate'));
$form->addDate('grant_money_transfer_date_high', ts('To'), FALSE, array('formatType' => 'searchDate'));
- $form->addElement('checkbox', 'grant_money_transfer_date_notset', ts(''), NULL);
+ $form->addElement('checkbox', 'grant_money_transfer_date_notset', '', NULL);
$form->addDate('grant_due_date_low', ts('Report Due Date - From'), FALSE, array('formatType' => 'searchDate'));
$form->addDate('grant_due_date_high', ts('To'), FALSE, array('formatType' => 'searchDate'));
- $form->addElement('checkbox', 'grant_due_date_notset', ts(''), NULL);
+ $form->addElement('checkbox', 'grant_due_date_notset', '', NULL);
$form->addDate('grant_decision_date_low', ts('Grant Decision Date - From'), FALSE, array('formatType' => 'searchDate'));
$form->addDate('grant_decision_date_high', ts('To'), FALSE, array('formatType' => 'searchDate'));
- $form->addElement('checkbox', 'grant_decision_date_notset', ts(''), NULL);
+ $form->addElement('checkbox', 'grant_decision_date_notset', '', NULL);
$form->addYesNo('grant_report_received', ts('Grant report received?'), TRUE);
* @return string
*/
public function getFieldsetTitle() {
- return ts('');
+ return '';
}
/**
ts('Activity Subject') => 'activity_subject',
ts('Scheduled By') => 'source_contact',
ts('Scheduled Date') => 'activity_date',
- ts(' ') => 'activity_id',
- ts(' ') => 'activity_type_id',
- ts(' ') => 'case_id',
+ ' ' => 'activity_id',
+ ' ' => 'activity_type_id',
+ ' ' => 'case_id',
ts('Location') => 'location',
ts('Duration') => 'duration',
ts('Details') => 'details',
parent::__construct($formValues);
$this->normalize();
- $this->_columns = array(ts('') => 'contact_type',
- ts('') => 'contact_sub_type',
+ $this->_columns = array(
+ '' => 'contact_type',
+ '' => 'contact_sub_type',
ts('Name') => 'sort_name',
ts('Address') => 'street_address',
ts('City') => 'city',