self::$_dataToLabels = array(
array('Text' => ts('Text'), 'Select' => ts('Select'),
'Radio' => ts('Radio'), 'CheckBox' => ts('CheckBox'), 'Multi-Select' => ts('Multi-Select'),
- 'AdvMulti-Select' => ts('Advanced Multi-Select'),
+ 'AdvMulti-Select' => ts('Adv Multi-Select (obsolete)'),
'Autocomplete-Select' => ts('Autocomplete Select'),
),
array('Text' => ts('Text'), 'Select' => ts('Select'),
array('Text' => ts('Text'), 'Select' => ts('Select'),
'Radio' => ts('Radio'),
),
- array('TextArea' => ts('TextArea'), 'RichTextEditor' => 'RichTextEditor'),
+ array('TextArea' => ts('TextArea'), 'RichTextEditor' => ts('RichTextEditor')),
array('Date' => ts('Select Date')),
array('Radio' => ts('Radio')),
array('StateProvince' => ts('Select State/Province'), 'Multi-Select' => ts('Multi-Select State/Province')),
public function buildQuickForm() {
if ($this->_gid) {
$this->_title = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $this->_gid, 'title');
- CRM_Utils_System::setTitle($this->_title . ' - ' . ($this->_id ? ts('Edit Field') : ts('Add Field')));
+ CRM_Utils_System::setTitle($this->_title . ' - ' . ($this->_id ? ts('Edit Field') : ts('New Field')));
$this->assign('gid', $this->_gid);
}
/**
* global validation rules for the form
*
- * @param array $fields (referance) posted values of the form
+ * @param array $fields posted values of the form
*
* @param $files
* @param $self