*
*/
-/**r
- * This class generates form components for the display preferences
- *
+/**
+ * This class generates form components for the display preferences.
*/
class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences {
public function preProcess() {
$defaults['editor_id'] = $this->_config->editor_id;
}
if (empty($this->_config->display_name_format)) {
- $defaults['display_name_format'] =
- "{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}";
+ $defaults['display_name_format'] = "{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}";
}
else {
$defaults['display_name_format'] = $this->_config->display_name_format;
cj("#crm-preferences-display-form-block-wysiwyg_input_format").hide()
}';
- $formats = filter_formats();
- $format_options = array();
+ $formats = filter_formats();
+ $format_options = array();
foreach ($formats as $id => $format) {
$format_options[$id] = $format->name;
}