'html_type' => NULL,
'weight' => 11,
),
- 'formal_title' => array(
- 'html_type' => 'checkbox',
- 'title' => ts('Use Formal Title Field'),
- 'weight' => 12,
- ),
),
);
$attributes = CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact');
- if (CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'formal_title')) {
- $form->addElement('text', 'formal_title', ts('Title'), $attributes['formal_title']);
- }
+ $form->addElement('text', 'formal_title', ts('Title'), $attributes['formal_title']);
// first_name
$form->addElement('text', 'first_name', ts('First Name'), $attributes['first_name']);
'description' => null,
'help_text' => null,
),
- 'formal_title' => array(
- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'formal_title',
- 'type' => 'Boolean',
- 'quick_form_type' => 'YesNo',
- 'default' => 0,
- 'add' => '4.4',
- 'title' => 'Use Formal Title Field',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => 'Enables display of the Formal Title field in the name edit block for individuals.',
- 'help_text' => null,
- ),
'contact_reference_options' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
fields).{/ts} {help id="id-editor_id"}
</td>
</tr>
- <tr class="crm-preferences-display-form-block-formal_title">
- <td class="label">{$form.formal_title.label}</td>
- <td>{$form.formal_title.html}</td>
- </tr>
- <tr class="crm-preferences-display-form-block-description">
- <td> </td>
- <td class="description">
- {ts}Enables display of the Formal Title field in the name edit block for individuals.{/ts}
- </td>
- </tr>
<tr class="crm-preferences-display-form-block-display_name_format">
<td class="label">{$form.display_name_format.label}</td>
<td>{$form.display_name_format.html}</td>