*/
public function buildQuickForm() {
parent::buildQuickForm();
+ $this->setPageTitle(ts('%1 Option', array(1 => $this->_gLabel)));
+
if ($this->_action & CRM_Core_Action::DELETE) {
return;
}
$financialAccount = CRM_Contribute_PseudoConstant::financialAccount(NULL, key($accountType));
$this->add('select', 'financial_account_id', ts('Financial Account'),
- array('' => ts('- select -')) + $financialAccount
+ array('' => ts('- select -')) + $financialAccount,
+ TRUE
);
}
'payment_instrument',
'communication_style',
'soft_credit_type',
+ 'website_type',
);
if (in_array($this->_gName, $showIsDefaultGroups)) {
CRM_Core_Session::setStatus(ts('The %1 \'%2\' has been saved.', array(1 => $this->_gLabel, 2 => $optionValue->label)), ts('Saved'), 'success');
}
}
+
}