<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
'pseudoconstant' => array(
'optionGroupName' => 'contact_edit_options',
),
- 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 1',
+ 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
'add' => '4.1',
'title' => 'Editing Contacts',
'is_domain' => 1,
'pseudoconstant' => array(
'optionGroupName' => 'advanced_search_options',
),
- 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
+ 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
'add' => '4.1',
'title' => 'Contact Search',
'is_domain' => 1,
'pseudoconstant' => array(
'optionGroupName' => 'user_dashboard_options',
),
- 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 19\ 1',
+ 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
'add' => '4.1',
'title' => 'Contact Dashboard',
'is_domain' => 1,
'pseudoconstant' => array(
'optionGroupName' => 'address_options',
),
- 'default' => '\ 11\ 12\ 14\ 15\ 18\ 19\ 110\ 111\ 1',
+ 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
'add' => '4.1',
'title' => 'Addressing Options',
'is_domain' => 1,
'group' => 'core',
'name' => 'editor_id',
'type' => 'String',
- 'html_type' => 'Text',
- 'default' => NULL,
+ 'html_type' => 'Select',
+ 'default' => 'CKEditor',
'add' => '4.1',
'title' => 'Wysiwig Editor',
'is_domain' => 1,
'name' => 'contact_ajax_check_similar',
'type' => 'String',
'html_type' => 'Text',
- 'default' => NULL,
+ 'default' => '1',
'add' => '4.1',
'title' => 'Ajax Check Similar',
'is_domain' => 1,
'name' => 'activity_assignee_notification',
'type' => 'String',
'html_type' => 'Text',
- 'default' => NULL,
+ 'default' => '1',
'add' => '4.1',
'title' => 'Notify Activity Assignees',
'is_domain' => 1,
'name' => 'activity_assignee_notification_ics',
'type' => 'String',
'html_type' => 'Text',
- 'default' => NULL,
+ 'default' => '0',
'add' => '4.3',
'title' => 'Include ICal Invite to Activity Assignees',
'is_domain' => 1,
'group' => 'core',
'name' => 'contact_autocomplete_options',
'type' => 'String',
- 'html_type' => 'checkboxes',
+ 'quick_form_type' => 'CheckBox',
'pseudoconstant' => array(
- 'optionGroupName' => 'contact_autocomplete_options',
+ 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
),
- 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
+ 'default' => '\ 11\ 12\ 1',
'add' => '4.1',
- 'title' => 'Contact Reference Autocomplete Options',
+ 'title' => 'Autocomplete Contact Search',
'is_domain' => 1,
'is_contact' => 0,
- 'description' => NULL,
+ 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
'help_text' => NULL,
),
'contact_reference_options' => array(
'group' => 'core',
'name' => 'contact_reference_options',
'type' => 'String',
- 'html_type' => 'checkboxes',
+ 'quick_form_type' => 'CheckBox',
'pseudoconstant' => array(
- 'optionGroupName' => 'contact_reference_options',
+ 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
),
- 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
+ 'default' => '\ 11\ 12\ 1',
'add' => '4.1',
'title' => 'Contact Reference Options',
'is_domain' => 1,
'is_contact' => 0,
+ 'description' => "Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list.",
+ 'help_text' => NULL,
+ ),
+ 'contact_smart_group_display' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'contact_smart_group_display',
+ 'type' => 'String',
+ 'html_type' => 'radio',
+ 'default' => '1',
+ 'add' => '4.7',
+ 'title' => ts('Viewing Smart Groups'),
+ 'is_domain' => 1,
+ 'is_contact' => 0,
'description' => NULL,
'help_text' => NULL,
),
'group' => 'core',
'name' => 'max_attachments',
'legacy_key' => 'maxAttachments',
- 'prefetch' => 0,
'type' => 'Integer',
'quick_form_type' => 'Element',
'html_type' => 'text',
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'maxFileSize',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'Integer',
'quick_form_type' => 'Element',
'html_type' => 'text',
'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
'help_text' => NULL,
),
- 'versionAlert' => array(
- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'versionAlert',
- 'type' => 'Integer',
- 'quick_form_type' => 'Element',
- 'html_type' => 'select',
- 'option_values' => array(
- ts('Disabled'),
- ts('Display In Page Footer'),
- ts('Display As Popup Alert'),
- ts('Page Footer + Popup Alert'),
- ),
- 'default' => 1,
- 'add' => '4.3',
- 'title' => 'New Version Alerts',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => "",
- 'help_text' => NULL,
- ),
- 'securityUpdateAlert' => array(
- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'securityUpdateAlert',
- 'type' => 'Integer',
- 'quick_form_type' => 'Element',
- 'html_type' => 'select',
- 'option_values' => array(
- ts('Disabled'),
- ts('Display In Page Footer'),
- ts('Display As Popup Alert'),
- ts('Page Footer + Popup Alert'),
- ),
- 'default' => 3,
- 'add' => '4.6',
- 'title' => 'Security Update Alerts',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => "",
- 'help_text' => NULL,
- ),
- 'versionCheck' => array(
- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'versionCheck',
- 'type' => 'Boolean',
- 'quick_form_type' => 'YesNo',
- 'default' => 1,
- 'add' => '4.3',
- 'title' => 'Automatically Check for Updates',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => "",
- 'help_text' => NULL,
- ),
- 'versionCheckIgnoreDate' => array(
- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'versionCheckIgnoreDate',
- 'type' => 'String',
- 'quick_form_type' => 'Element',
- 'html_type' => 'text',
- 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
- 'default' => '',
- 'add' => '4.6',
- 'title' => 'Ignore Updates Prior to',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => "",
- 'help_text' => NULL,
- ),
'securityAlert' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'quick_form_type' => 'YesNo',
'default' => 1,
'add' => '4.4',
- 'title' => 'Security Audits',
+ 'title' => 'Status Alerts',
'is_domain' => 1,
'is_contact' => 0,
- 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
+ 'description' => "If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.",
'help_text' => NULL,
),
'doNotAttachPDFReceipt' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'doNotAttachPDFReceipt',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'Boolean',
'quick_form_type' => 'YesNo',
- 'default' => 1,
+ 'default' => 0,
'add' => '4.3',
'title' => 'Attach PDF copy to receipts',
'is_domain' => 1,
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'wkhtmltopdfPath',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
'description' => NULL,
'help_text' => NULL,
),
+ 'recaptchaOptions' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'recaptchaOptions',
+ 'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_attributes' => array(
+ 'size' => 64,
+ 'maxlength' => 64,
+ ),
+ 'html_type' => 'Text',
+ 'default' => NULL,
+ 'add' => '4.3',
+ 'title' => 'Recaptcha Options',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.',
+ 'help_text' => NULL,
+ ),
'recaptchaPublicKey' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'recaptchaPublicKey',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
'html_type' => 'Text',
'default' => NULL,
'add' => '4.3',
- 'title' => 'Recaptcha Public Key',
+ 'title' => 'Recaptcha Site Key',
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'recaptchaPrivateKey',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
'html_type' => 'Text',
'default' => NULL,
'add' => '4.3',
- 'title' => 'Recaptcha Private Key',
+ 'title' => 'Recaptcha Secret Key',
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'dashboardCacheTimeout',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
'type' => 'Integer',
'quick_form_type' => 'Element',
'html_attributes' => array(
'description' => NULL,
'help_text' => NULL,
),
- 'checksumTimeout' => array(
+ 'checksum_timeout' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
- 'name' => 'checksumTimeout',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
+ 'name' => 'checksum_timeout',
'type' => 'Integer',
'quick_form_type' => 'Element',
'html_attributes' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'blogUrl',
- 'prefetch' => 0,
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'communityMessagesUrl',
- 'prefetch' => 0,
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
'description' => 'Service providing CiviCRM community messages',
'help_text' => 'Use "*default*" for the system default or override with a custom URL',
),
- 'resCacheCode' => array(
+ 'gettingStartedUrl' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
- 'name' => 'resCacheCode',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
- 'config_only' => 1,
- //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
+ 'name' => 'gettingStartedUrl',
'type' => 'String',
'quick_form_type' => 'Element',
'html_attributes' => array(
- 'size' => 16,
- 'maxlength' => 16,
+ 'size' => 64,
+ 'maxlength' => 128,
),
'html_type' => 'Text',
+ 'default' => '*default*',
+ 'add' => '4.3',
+ 'title' => 'Getting Started URL',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'Service providing the Getting Started data',
+ 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+ ),
+ 'resCacheCode' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'resCacheCode',
+ 'type' => 'String',
'default' => NULL,
'add' => '4.3',
- 'title' => 'Resource Cache Code',
+ 'title' => 'resCacheCode',
'is_domain' => 1,
'is_contact' => 0,
'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
'type' => 'String',
'html_type' => 'text',
'quick_form_type' => 'Element',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
'default' => '',
'add' => '4.3',
'title' => 'WordPress Base Page',
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'secondDegRelPermissions',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
'type' => 'Boolean',
'quick_form_type' => 'YesNo',
'default' => 0,
'help_text' => NULL,
),
'enable_components' => array(
+ 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'enable_components',
'style' => 'width:150px',
'class' => 'advmultiselect',
),
- 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
+ 'default' => NULL,
'add' => '4.4',
'title' => 'Enable Components',
'is_domain' => '1',
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'empoweredBy',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
'type' => 'Boolean',
'quick_form_type' => 'YesNo',
'default' => 1,
'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
'help_text' => NULL,
),
+ 'logging' => array(
+ 'add' => '4.7',
+ 'help_text' => NULL,
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'logging',
+ 'type' => 'Boolean',
+ 'quick_form_type' => 'YesNo',
+ 'html_type' => '',
+ 'default' => '0',
+ 'title' => 'Logging',
+ 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
+ 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
+ 'on_change' => array(
+ 'CRM_Logging_Schema::onToggle',
+ ),
+ ),
+ 'userFrameworkUsersTableName' => array(
+ 'add' => '4.7',
+ 'help_text' => NULL,
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'userFrameworkUsersTableName',
+ 'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
+ 'html_attributes' => array(
+ 'size' => '32',
+ 'maxlength' => '64',
+ ),
+ 'default' => NULL,
+ 'title' => 'Drupal Users Table Name',
+ 'description' => '',
+ ),
'wpLoadPhp' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'type' => 'String',
'html_type' => 'text',
'quick_form_type' => 'Element',
- 'prefetch' => 1,
- // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
'default' => '',
'add' => '4.6',
'title' => 'WordPress Path to wp-load.php',
'description' => NULL,
'help_text' => NULL,
),
+ 'systemStatusCheckResult' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'systemStatusCheckResult',
+ 'type' => 'Integer',
+ 'default' => 0,
+ 'add' => '4.7',
+ 'title' => 'systemStatusCheckResult',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => NULL,
+ 'help_text' => NULL,
+ ),
);