dev/core#1739 Enable Longitude on Address editing by default (option 12)
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
f299f7db 15 * @copyright CiviCRM LLC (c) 2004-2020
6a488035 16 */
1bfe4abf
CB
17
18/**
6a488035
TO
19 * Settings metadata file
20 */
dfe1f88a
CW
21return [
22 'contact_view_options' => [
6a488035
TO
23 'group_name' => 'CiviCRM Preferences',
24 'group' => 'core',
25 'name' => 'contact_view_options',
26 'type' => 'String',
27 'html_type' => 'checkboxes',
dfe1f88a 28 'pseudoconstant' => [
6a488035 29 'optionGroupName' => 'contact_view_options',
dfe1f88a 30 ],
6a488035
TO
31 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
32 'add' => '4.1',
a55c9b35 33 'title' => ts('Viewing Contacts'),
6a488035
TO
34 'is_domain' => '1',
35 'is_contact' => 0,
a55c9b35 36 'description' => ts("Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site."),
08e57c58 37 'help_text' => NULL,
6821aa1d 38 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
39 ],
40 'contact_edit_options' => [
6a488035
TO
41 'group_name' => 'CiviCRM Preferences',
42 'group' => 'core',
43 'name' => 'contact_edit_options',
44 'type' => 'String',
45 'html_type' => 'checkboxes',
dfe1f88a 46 'pseudoconstant' => [
6a488035 47 'optionGroupName' => 'contact_edit_options',
dfe1f88a 48 ],
007e3bdc 49 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035 50 'add' => '4.1',
629c8513 51 'title' => ts('Editing Contacts'),
6a488035
TO
52 'is_domain' => 1,
53 'is_contact' => 0,
629c8513 54 'description' => ts('Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.'),
56fdfc52 55 'help_text' => NULL,
629c8513 56 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
57 ],
58 'advanced_search_options' => [
6a488035 59 'group_name' => 'CiviCRM Preferences',
629c8513 60 'group' => 'core',
6a488035
TO
61 'name' => 'advanced_search_options',
62 'type' => 'String',
63 'html_type' => 'checkboxes',
dfe1f88a 64 'pseudoconstant' => [
6a488035 65 'optionGroupName' => 'advanced_search_options',
dfe1f88a 66 ],
007e3bdc 67 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035 68 'add' => '4.1',
629c8513 69 'title' => ts('Contact Search'),
6a488035
TO
70 'is_domain' => 1,
71 'is_contact' => 0,
629c8513 72 'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
2e94f477 73 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
74 ],
75 'user_dashboard_options' => [
6a488035
TO
76 'group_name' => 'CiviCRM Preferences',
77 'group' => 'core',
78 'name' => 'user_dashboard_options',
79 'type' => 'String',
80 'html_type' => 'checkboxes',
dfe1f88a 81 'pseudoconstant' => [
6a488035 82 'optionGroupName' => 'user_dashboard_options',
dfe1f88a 83 ],
007e3bdc 84 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035 85 'add' => '4.1',
732b1d05 86 'title' => ts('Contact Dashboard'),
6a488035
TO
87 'is_domain' => 1,
88 'is_contact' => 0,
94b60b64 89 'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
56fdfc52 90 'help_text' => NULL,
94b60b64 91 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
92 ],
93 'address_options' => [
6a488035
TO
94 'group_name' => 'CiviCRM Preferences',
95 'group' => 'core',
96 'name' => 'address_options',
97 'type' => 'String',
c7cd4e2c 98 'html_type' => 'checkboxes',
dfe1f88a 99 'pseudoconstant' => [
6a488035 100 'optionGroupName' => 'address_options',
dfe1f88a 101 ],
5ca6a024 102 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 112\ 1',
6a488035 103 'add' => '4.1',
c7cd4e2c 104 'title' => ts('Address Fields'),
6a488035
TO
105 'is_domain' => 1,
106 'is_contact' => 0,
08e57c58
TO
107 'description' => NULL,
108 'help_text' => NULL,
c7cd4e2c 109 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
110 ],
111 'address_format' => [
6a488035
TO
112 'group_name' => 'CiviCRM Preferences',
113 'group' => 'core',
114 'name' => 'address_format',
115 'type' => 'String',
c7cd4e2c 116 'html_type' => 'textarea',
207f62c6 117 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 118 'add' => '4.1',
c7cd4e2c 119 'title' => ts('Address Display Format'),
6a488035
TO
120 'is_domain' => 1,
121 'is_contact' => 0,
08e57c58 122 'description' => NULL,
56fdfc52 123 'help_text' => NULL,
dfe1f88a
CW
124 ],
125 'mailing_format' => [
6a488035
TO
126 'group_name' => 'CiviCRM Preferences',
127 'group' => 'core',
128 'name' => 'mailing_format',
129 'type' => 'String',
c7cd4e2c 130 'html_type' => 'textarea',
207f62c6 131 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 132 'add' => '4.1',
c7cd4e2c 133 'title' => ts('Mailing Label Format'),
6a488035
TO
134 'is_domain' => 1,
135 'is_contact' => 0,
08e57c58 136 'description' => NULL,
56fdfc52 137 'help_text' => NULL,
dfe1f88a
CW
138 ],
139 'display_name_format' => [
6a488035
TO
140 'group_name' => 'CiviCRM Preferences',
141 'group' => 'core',
142 'name' => 'display_name_format',
143 'type' => 'String',
7399a0a6 144 'html_type' => 'textarea',
6a488035
TO
145 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
146 'add' => '4.1',
732b1d05 147 'title' => ts('Individual Display Name Format'),
6a488035
TO
148 'is_domain' => 1,
149 'is_contact' => 0,
7399a0a6 150 'description' => ts('Display name format for individual contact display names.'),
dfe1f88a
CW
151 ],
152 'sort_name_format' => [
6a488035
TO
153 'group_name' => 'CiviCRM Preferences',
154 'group' => 'core',
155 'name' => 'sort_name_format',
156 'type' => 'String',
7399a0a6 157 'html_type' => 'textarea',
6a488035
TO
158 'default' => '{contact.last_name}{, }{contact.first_name}',
159 'add' => '4.1',
732b1d05 160 'title' => ts('Individual Sort Name Format'),
6a488035
TO
161 'is_domain' => 1,
162 'is_contact' => 0,
7399a0a6 163 'description' => ts('Sort name format for individual contact display names.'),
dfe1f88a
CW
164 ],
165 'remote_profile_submissions' => [
61f53f0d
PN
166 'group_name' => 'CiviCRM Preferences',
167 'group' => 'core',
e8a64b98 168 'name' => 'remote_profile_submissions',
61f53f0d
PN
169 'type' => 'Boolean',
170 'quick_form_type' => 'YesNo',
171 'default' => FALSE,
172 'html_type' => 'radio',
173 'add' => '4.7',
86401282 174 'title' => ts('Accept profile submissions from external sites'),
61f53f0d
PN
175 'is_domain' => 1,
176 'is_contact' => 0,
732b1d05 177 'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
61f53f0d 178 'help_text' => NULL,
dfe1f88a
CW
179 ],
180 'allow_alert_autodismissal' => [
d19abfd1
AP
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
183 'name' => 'allow_alert_autodismissal',
184 'type' => 'Boolean',
185 'quick_form_type' => 'YesNo',
186 'default' => TRUE,
187 'html_type' => 'radio',
188 'add' => '4.7',
86401282 189 'title' => ts('Allow alerts to auto-dismiss?'),
d19abfd1
AP
190 'is_domain' => 1,
191 'is_contact' => 0,
732b1d05 192 'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
d19abfd1 193 'help_text' => NULL,
dfe1f88a
CW
194 ],
195 'editor_id' => [
6a488035
TO
196 'group_name' => 'CiviCRM Preferences',
197 'group' => 'core',
198 'name' => 'editor_id',
199 'type' => 'String',
719eda4a 200 'html_type' => 'select',
72f03b4f 201 'default' => 'CKEditor',
6a488035 202 'add' => '4.1',
732b1d05 203 'title' => ts('Wysiwig Editor'),
dfe1f88a 204 'pseudoconstant' => [
719eda4a 205 'optionGroupName' => 'wysiwyg_editor',
babfca87 206 'keyColumn' => 'name',
dfe1f88a 207 ],
6a488035
TO
208 'is_domain' => 1,
209 'is_contact' => 0,
08e57c58
TO
210 'description' => NULL,
211 'help_text' => NULL,
dfe1f88a
CW
212 ],
213 'contact_ajax_check_similar' => [
6a488035
TO
214 'group_name' => 'CiviCRM Preferences',
215 'group' => 'core',
216 'name' => 'contact_ajax_check_similar',
217 'type' => 'String',
d6def514 218 'html_type' => 'radio',
007e3bdc 219 'default' => '1',
6a488035 220 'add' => '4.1',
732b1d05 221 'title' => ts('Check for Similar Contacts'),
6a488035
TO
222 'is_domain' => 1,
223 'is_contact' => 0,
08e57c58
TO
224 'description' => NULL,
225 'help_text' => NULL,
719eda4a 226 'options' => ['1' => ts('While Typing'), '0' => ts('When Saving'), '2' => ts('Never')],
dfe1f88a
CW
227 ],
228 'ajaxPopupsEnabled' => [
f1cf499b
CW
229 'group_name' => 'CiviCRM Preferences',
230 'group' => 'core',
53f2643c 231 'name' => 'ajaxPopupsEnabled',
f1cf499b 232 'type' => 'Boolean',
74f89a9f 233 'html_type' => 'checkbox',
f1cf499b
CW
234 'default' => 1,
235 'add' => '4.5',
732b1d05 236 'title' => ts('Enable Popup Forms'),
f1cf499b
CW
237 'is_domain' => 1,
238 'is_contact' => 0,
08e57c58
TO
239 'description' => NULL,
240 'help_text' => NULL,
dfe1f88a
CW
241 ],
242 'activity_assignee_notification' => [
6a488035
TO
243 'group_name' => 'CiviCRM Preferences',
244 'group' => 'core',
245 'name' => 'activity_assignee_notification',
74f89a9f 246 'type' => 'Boolean',
247 'html_type' => 'checkbox',
007e3bdc 248 'default' => '1',
6a488035 249 'add' => '4.1',
732b1d05 250 'title' => ts('Notify Activity Assignees'),
6a488035
TO
251 'is_domain' => 1,
252 'is_contact' => 0,
08e57c58 253 'description' => NULL,
56fdfc52 254 'help_text' => NULL,
dfe1f88a
CW
255 ],
256 'activity_assignee_notification_ics' => [
6a488035
TO
257 'group_name' => 'CiviCRM Preferences',
258 'group' => 'core',
259 'name' => 'activity_assignee_notification_ics',
74f89a9f 260 'type' => 'Boolean',
261 'html_type' => 'checkbox',
007e3bdc 262 'default' => '0',
6a488035 263 'add' => '4.3',
732b1d05 264 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
265 'is_domain' => 1,
266 'is_contact' => 0,
08e57c58 267 'description' => NULL,
56fdfc52 268 'help_text' => NULL,
dfe1f88a
CW
269 ],
270 'contact_autocomplete_options' => [
6a488035
TO
271 'group_name' => 'CiviCRM Preferences',
272 'group' => 'core',
273 'name' => 'contact_autocomplete_options',
274 'type' => 'String',
ec3cc27f 275 'html_type' => 'checkboxes',
dfe1f88a 276 'pseudoconstant' => [
d434f797 277 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
dfe1f88a 278 ],
d434f797 279 'default' => '\ 11\ 12\ 1',
6a488035 280 'add' => '4.1',
732b1d05 281 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
282 'is_domain' => 1,
283 'is_contact' => 0,
732b1d05 284 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 285 'help_text' => NULL,
ec3cc27f 286 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 287 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
288 ],
289 'contact_reference_options' => [
6a488035
TO
290 'group_name' => 'CiviCRM Preferences',
291 'group' => 'core',
292 'name' => 'contact_reference_options',
293 'type' => 'String',
ec3cc27f 294 'html_type' => 'checkboxes',
dfe1f88a 295 'pseudoconstant' => [
d434f797 296 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
dfe1f88a 297 ],
d434f797 298 'default' => '\ 11\ 12\ 1',
6a488035 299 'add' => '4.1',
732b1d05 300 'title' => ts('Contact Reference Options'),
6a488035
TO
301 'is_domain' => 1,
302 'is_contact' => 0,
732b1d05 303 'description' => ts("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."),
56fdfc52 304 'help_text' => NULL,
ec3cc27f 305 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
94127e7e 306 'validate_callback' => 'CRM_Admin_Form_Setting_Search::enableOptionOne',
dfe1f88a
CW
307 ],
308 'contact_smart_group_display' => [
007e3bdc
TO
309 'group_name' => 'CiviCRM Preferences',
310 'group' => 'core',
311 'name' => 'contact_smart_group_display',
312 'type' => 'String',
313 'html_type' => 'radio',
314 'default' => '1',
315 'add' => '4.7',
316 'title' => ts('Viewing Smart Groups'),
317 'is_domain' => 1,
318 'is_contact' => 0,
c5af8245 319 'description' => ts('Controls display of the smart groups that a contact is part of in each contact\'s "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.'),
007e3bdc 320 'help_text' => NULL,
dfe1f88a 321 'pseudoconstant' => [
c5af8245 322 'optionGroupName' => 'contact_smart_group_display',
dfe1f88a
CW
323 ],
324 ],
325 'smart_group_cache_refresh_mode' => [
801bafd7 326 'group_name' => 'CiviCRM Preferences',
327 'group' => 'core',
328 'name' => 'smart_group_cache_refresh_mode',
329 'type' => 'String',
330 'html_type' => 'radio',
331 'default' => 'opportunistic',
332 'add' => '4.7',
732b1d05 333 'title' => ts('Smart Group Refresh Mode'),
801bafd7 334 'is_domain' => 1,
335 'is_contact' => 0,
dfe1f88a 336 'pseudoconstant' => [
a8eb1fe6 337 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
dfe1f88a 338 ],
732b1d05 339 'description' => ts('Should the smart groups be by cron jobs or user actions'),
340 'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.'),
dfe1f88a
CW
341 ],
342 'installed' => [
801c5335
C
343 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
344 'group_name' => 'CiviCRM Preferences',
345 'group' => 'core',
346 'name' => 'installed',
347 'type' => 'Boolean',
348 'quick_form_type' => 'YesNo',
349 'default' => FALSE,
350 'add' => '4.7',
732b1d05 351 'title' => ts('System Installed'),
801c5335
C
352 'is_domain' => 1,
353 'is_contact' => 0,
732b1d05 354 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 355 'help_text' => NULL,
dfe1f88a
CW
356 ],
357 'max_attachments' => [
6a488035
TO
358 'group_name' => 'CiviCRM Preferences',
359 'group' => 'core',
360 'name' => 'max_attachments',
361 'legacy_key' => 'maxAttachments',
6a488035
TO
362 'type' => 'Integer',
363 'quick_form_type' => 'Element',
364 'html_type' => 'text',
dfe1f88a 365 'html_attributes' => [
6a488035
TO
366 'size' => 2,
367 'maxlength' => 8,
dfe1f88a 368 ],
56fdfc52
TO
369 'default' => 3,
370 'add' => '4.3',
732b1d05 371 'title' => ts('Maximum Attachments'),
56fdfc52
TO
372 'is_domain' => 1,
373 'is_contact' => 0,
8913e915
D
374 'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities. This setting applies to UI forms and limits the number of fields available on the form.'),
375 'help_text' => NULL,
376 ],
377 'max_attachments_backend' => [
378 'group_name' => 'CiviCRM Preferences',
379 'group' => 'core',
380 'name' => 'max_attachments_backend',
381 'legacy_key' => 'maxAttachmentsBackend',
382 'type' => 'Integer',
383 'quick_form_type' => 'Element',
384 'html_type' => 'text',
385 'html_attributes' => [
386 'size' => 2,
387 'maxlength' => 8,
388 ],
389 'default' => CRM_Core_BAO_File::DEFAULT_MAX_ATTACHMENTS_BACKEND,
390 'add' => '5.20',
391 'title' => ts('Maximum Attachments For Backend Processes'),
392 'is_domain' => 1,
393 'is_contact' => 0,
394 'description' => ts('Maximum number of files (documents, images, etc.) which can be processed during backend processing such as automated inbound email processing. This should be a big number higher than the other Maximum Attachments setting above. This setting here merely provides an upper limit to prevent attacks that might overload the server.'),
56fdfc52 395 'help_text' => NULL,
dfe1f88a
CW
396 ],
397 'maxFileSize' => [
6a488035
TO
398 'group_name' => 'CiviCRM Preferences',
399 'group' => 'core',
400 'name' => 'maxFileSize',
6a488035
TO
401 'type' => 'Integer',
402 'quick_form_type' => 'Element',
403 'html_type' => 'text',
dfe1f88a 404 'html_attributes' => [
6a488035
TO
405 'size' => 2,
406 'maxlength' => 8,
dfe1f88a 407 ],
6a488035
TO
408 'default' => 3,
409 'add' => '4.3',
732b1d05 410 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
411 'is_domain' => 1,
412 'is_contact' => 0,
732b1d05 413 'description' => ts('Maximum Size of file (documents, images, etc.) which can be attached to emails or activities.<br />Note: php.ini should support this file size.'),
08e57c58 414 'help_text' => NULL,
dfe1f88a
CW
415 ],
416 'contact_undelete' => [
6a488035
TO
417 'group_name' => 'CiviCRM Preferences',
418 'group' => 'core',
419 'name' => 'contact_undelete',
420 'type' => 'Boolean',
421 'quick_form_type' => 'YesNo',
422 'default' => 1,
423 'add' => '4.3',
732b1d05 424 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
425 'is_domain' => 1,
426 'is_contact' => 0,
732b1d05 427 'description' => ts('If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).'),
08e57c58 428 'help_text' => NULL,
dfe1f88a
CW
429 ],
430 'allowPermDeleteFinancial' => [
f182074e
PN
431 'group_name' => 'CiviCRM Preferences',
432 'group' => 'core',
433 'name' => 'allowPermDeleteFinancial',
434 'type' => 'Boolean',
435 'quick_form_type' => 'YesNo',
436 'default' => FALSE,
437 'add' => '4.3',
732b1d05 438 'title' => ts('Contact Permanent Delete'),
f182074e
PN
439 'is_domain' => 1,
440 'is_contact' => 0,
732b1d05 441 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 442 'help_text' => NULL,
dfe1f88a
CW
443 ],
444 'securityAlert' => [
439a9f1b
TO
445 'group_name' => 'CiviCRM Preferences',
446 'group' => 'core',
fa8dc18c 447 'name' => 'securityAlert',
439a9f1b
TO
448 'type' => 'Boolean',
449 'quick_form_type' => 'YesNo',
450 'default' => 1,
451 'add' => '4.4',
732b1d05 452 'title' => ts('Status Alerts'),
439a9f1b
TO
453 'is_domain' => 1,
454 'is_contact' => 0,
732b1d05 455 'description' => ts("If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check."),
08e57c58 456 'help_text' => NULL,
dfe1f88a
CW
457 ],
458 'doNotAttachPDFReceipt' => [
6a488035
TO
459 'group_name' => 'CiviCRM Preferences',
460 'group' => 'core',
461 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
462 'type' => 'Boolean',
463 'quick_form_type' => 'YesNo',
f825dba2 464 'default' => 0,
6a488035 465 'add' => '4.3',
732b1d05 466 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
467 'is_domain' => 1,
468 'is_contact' => 0,
732b1d05 469 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 470 'help_text' => NULL,
dfe1f88a
CW
471 ],
472 'recordGeneratedLetters' => [
cc144465
TO
473 'group_name' => 'CiviCRM Preferences',
474 'group' => 'core',
475 'name' => 'recordGeneratedLetters',
476 'type' => 'String',
477 'quick_form_type' => 'Select',
478 'html_type' => 'Select',
dfe1f88a 479 'html_attributes' => [
cc144465 480 'class' => 'crm-select2',
dfe1f88a 481 ],
cc144465 482 'default' => 'multiple',
3ff77806 483 'add' => '4.7',
732b1d05 484 'title' => ts('Record generated letters'),
cc144465
TO
485 'is_domain' => 1,
486 'is_contact' => 0,
732b1d05 487 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 488 'help_text' => NULL,
dfe1f88a 489 'pseudoconstant' => [
cc144465 490 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
491 ],
492 ],
493 'wkhtmltopdfPath' => [
6a488035
TO
494 'group_name' => 'CiviCRM Preferences',
495 'group' => 'core',
496 'name' => 'wkhtmltopdfPath',
6a488035
TO
497 'type' => 'String',
498 'quick_form_type' => 'Element',
dfe1f88a 499 'html_attributes' => [
6a488035
TO
500 'size' => 64,
501 'maxlength' => 256,
dfe1f88a 502 ],
c1a2145a 503 'html_type' => 'text',
08e57c58 504 'default' => NULL,
6a488035 505 'add' => '4.3',
732b1d05 506 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
507 'is_domain' => 1,
508 'is_contact' => 0,
08e57c58
TO
509 'description' => NULL,
510 'help_text' => NULL,
dfe1f88a
CW
511 ],
512 'recaptchaOptions' => [
53b0f6c3
TO
513 'group_name' => 'CiviCRM Preferences',
514 'group' => 'core',
515 'name' => 'recaptchaOptions',
53b0f6c3
TO
516 'type' => 'String',
517 'quick_form_type' => 'Element',
dfe1f88a 518 'html_attributes' => [
53b0f6c3
TO
519 'size' => 64,
520 'maxlength' => 64,
dfe1f88a 521 ],
c1a2145a 522 'html_type' => 'text',
53b0f6c3
TO
523 'default' => NULL,
524 'add' => '4.3',
732b1d05 525 'title' => ts('Recaptcha Options'),
53b0f6c3
TO
526 'is_domain' => 1,
527 'is_contact' => 0,
732b1d05 528 'description' => ts('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>.'),
53b0f6c3 529 'help_text' => NULL,
dfe1f88a
CW
530 ],
531 'recaptchaPublicKey' => [
6a488035
TO
532 'group_name' => 'CiviCRM Preferences',
533 'group' => 'core',
534 'name' => 'recaptchaPublicKey',
6a488035
TO
535 'type' => 'String',
536 'quick_form_type' => 'Element',
dfe1f88a 537 'html_attributes' => [
6a488035
TO
538 'size' => 64,
539 'maxlength' => 64,
dfe1f88a 540 ],
c1a2145a 541 'html_type' => 'text',
08e57c58 542 'default' => NULL,
6a488035 543 'add' => '4.3',
732b1d05 544 'title' => ts('Recaptcha Site Key'),
6a488035
TO
545 'is_domain' => 1,
546 'is_contact' => 0,
08e57c58
TO
547 'description' => NULL,
548 'help_text' => NULL,
dfe1f88a
CW
549 ],
550 'forceRecaptcha' => [
ce287b85
AP
551 'add' => '4.7',
552 'help_text' => NULL,
553 'is_domain' => 1,
554 'is_contact' => 0,
555 'group_name' => 'CiviCRM Preferences',
556 'group' => 'core',
557 'name' => 'forceRecaptcha',
558 'type' => 'Boolean',
559 'quick_form_type' => 'YesNo',
560 'html_type' => '',
561 'default' => '0',
732b1d05 562 'title' => ts('Force reCAPTCHA on Contribution pages'),
563 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
dfe1f88a
CW
564 ],
565 'recaptchaPrivateKey' => [
6a488035
TO
566 'group_name' => 'CiviCRM Preferences',
567 'group' => 'core',
568 'name' => 'recaptchaPrivateKey',
6a488035
TO
569 'type' => 'String',
570 'quick_form_type' => 'Element',
dfe1f88a 571 'html_attributes' => [
6a488035
TO
572 'size' => 64,
573 'maxlength' => 64,
dfe1f88a 574 ],
c1a2145a 575 'html_type' => 'text',
08e57c58 576 'default' => NULL,
6a488035 577 'add' => '4.3',
732b1d05 578 'title' => ts('Recaptcha Secret Key'),
6a488035
TO
579 'is_domain' => 1,
580 'is_contact' => 0,
08e57c58
TO
581 'description' => NULL,
582 'help_text' => NULL,
dfe1f88a
CW
583 ],
584 'checksum_timeout' => [
6a488035
TO
585 'group_name' => 'CiviCRM Preferences',
586 'group' => 'core',
92a8de72 587 'name' => 'checksum_timeout',
6a488035
TO
588 'type' => 'Integer',
589 'quick_form_type' => 'Element',
dfe1f88a 590 'html_attributes' => [
6a488035
TO
591 'size' => 2,
592 'maxlength' => 8,
dfe1f88a 593 ],
c1a2145a 594 'html_type' => 'text',
6a488035
TO
595 'default' => 7,
596 'add' => '4.3',
732b1d05 597 'title' => ts('Checksum Lifespan'),
6a488035
TO
598 'is_domain' => 1,
599 'is_contact' => 0,
08e57c58
TO
600 'description' => NULL,
601 'help_text' => NULL,
dfe1f88a
CW
602 ],
603 'blogUrl' => [
4b030206
TO
604 'group_name' => 'CiviCRM Preferences',
605 'group' => 'core',
606 'name' => 'blogUrl',
4b030206
TO
607 'type' => 'String',
608 'quick_form_type' => 'Element',
dfe1f88a 609 'html_attributes' => [
4b030206
TO
610 'size' => 64,
611 'maxlength' => 128,
dfe1f88a 612 ],
c1a2145a 613 'html_type' => 'text',
4b030206
TO
614 'default' => '*default*',
615 'add' => '4.3',
732b1d05 616 'title' => ts('Blog Feed URL'),
4b030206
TO
617 'is_domain' => 1,
618 'is_contact' => 0,
732b1d05 619 'description' => ts('Blog feed URL used by the blog dashlet'),
620 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
621 ],
622 'communityMessagesUrl' => [
847c93ac
TO
623 'group_name' => 'CiviCRM Preferences',
624 'group' => 'core',
625 'name' => 'communityMessagesUrl',
847c93ac
TO
626 'type' => 'String',
627 'quick_form_type' => 'Element',
dfe1f88a 628 'html_attributes' => [
847c93ac
TO
629 'size' => 64,
630 'maxlength' => 128,
dfe1f88a 631 ],
c1a2145a 632 'html_type' => 'text',
847c93ac
TO
633 'default' => '*default*',
634 'add' => '4.3',
732b1d05 635 'title' => ts('Community Messages URL'),
847c93ac
TO
636 'is_domain' => 1,
637 'is_contact' => 0,
732b1d05 638 'description' => ts('Service providing CiviCRM community messages'),
639 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
640 ],
641 'gettingStartedUrl' => [
1f957d1e
TO
642 'group_name' => 'CiviCRM Preferences',
643 'group' => 'core',
644 'name' => 'gettingStartedUrl',
645 'type' => 'String',
646 'quick_form_type' => 'Element',
dfe1f88a 647 'html_attributes' => [
1f957d1e
TO
648 'size' => 64,
649 'maxlength' => 128,
dfe1f88a 650 ],
c1a2145a 651 'html_type' => 'text',
1f957d1e
TO
652 'default' => '*default*',
653 'add' => '4.3',
732b1d05 654 'title' => ts('Getting Started URL'),
1f957d1e
TO
655 'is_domain' => 1,
656 'is_contact' => 0,
732b1d05 657 'description' => ts('Service providing the Getting Started data'),
658 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
659 ],
660 'resCacheCode' => [
6a488035
TO
661 'group_name' => 'CiviCRM Preferences',
662 'group' => 'core',
663 'name' => 'resCacheCode',
6a488035 664 'type' => 'String',
30fcf833 665 'quick_form_type' => 'Element',
666 'html_type' => 'text',
08e57c58 667 'default' => NULL,
6a488035 668 'add' => '4.3',
732b1d05 669 'title' => ts('resCacheCode'),
6a488035
TO
670 'is_domain' => 1,
671 'is_contact' => 0,
732b1d05 672 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 673 'help_text' => NULL,
dfe1f88a
CW
674 ],
675 'verifySSL' => [
6a488035
TO
676 'group_name' => 'CiviCRM Preferences',
677 'group' => 'core',
678 'name' => 'verifySSL',
679 'type' => 'Boolean',
680 'quick_form_type' => 'YesNo',
681 'default' => 1,
682 'add' => '4.3',
732b1d05 683 'title' => ts('Verify SSL?'),
6a488035
TO
684 'is_domain' => 1,
685 'is_contact' => 0,
732b1d05 686 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
687 'help_text' => ts('Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes'),
dfe1f88a
CW
688 ],
689 'enableSSL' => [
28f07f05
TO
690 'group_name' => 'CiviCRM Preferences',
691 'group' => 'core',
692 'name' => 'enableSSL',
693 'type' => 'Boolean',
694 'quick_form_type' => 'YesNo',
695 'default' => 0,
696 'add' => '4.5',
732b1d05 697 'title' => ts('Force SSL?'),
28f07f05
TO
698 'is_domain' => 1,
699 'is_contact' => 0,
732b1d05 700 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
701 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
702 ],
703 'wpBasePage' => [
94c11eeb
DL
704 'group_name' => 'CiviCRM Preferences',
705 'group' => 'core',
706 'name' => 'wpBasePage',
707 'type' => 'String',
708 'html_type' => 'text',
709 'quick_form_type' => 'Element',
94c11eeb
DL
710 'default' => '',
711 'add' => '4.3',
732b1d05 712 'title' => ts('WordPress Base Page'),
94c11eeb
DL
713 'is_domain' => 1,
714 'is_contact' => 0,
732b1d05 715 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
716 'help_text' => ts('By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.'),
dfe1f88a
CW
717 ],
718 'secondDegRelPermissions' => [
d5f1ee75
DG
719 'group_name' => 'CiviCRM Preferences',
720 'group' => 'core',
721 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
722 'type' => 'Boolean',
723 'quick_form_type' => 'YesNo',
724 'default' => 0,
725 'add' => '4.3',
732b1d05 726 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
727 'is_domain' => 1,
728 'is_contact' => 0,
732b1d05 729 'description' => ts("If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts"),
08e57c58 730 'help_text' => NULL,
dfe1f88a
CW
731 ],
732 'enable_components' => [
ac47f7ca 733 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
734 'group_name' => 'CiviCRM Preferences',
735 'group' => 'core',
56fdfc52 736 'name' => 'enable_components',
86eeab72 737 'type' => 'Array',
bfd9c358 738 'html_type' => 'checkboxes',
ac47f7ca 739 'default' => NULL,
56fdfc52 740 'add' => '4.4',
732b1d05 741 'title' => ts('Enable Components'),
86eeab72
DS
742 'is_domain' => '1',
743 'is_contact' => 0,
08e57c58 744 'description' => NULL,
56fdfc52 745 'help_text' => NULL,
dfe1f88a 746 'on_change' => [
c8074a93
TO
747 'CRM_Case_Info::onToggleComponents',
748 'CRM_Core_Component::flushEnabledComponents',
749 'call://resources/resetCacheCode',
dfe1f88a 750 ],
281db812 751 'pseudoconstant' => [
752 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
753 ],
dfe1f88a
CW
754 ],
755 'disable_core_css' => [
14f20d22
CW
756 'group_name' => 'CiviCRM Preferences',
757 'group' => 'core',
758 'name' => 'disable_core_css',
759 'type' => 'Boolean',
760 'quick_form_type' => 'YesNo',
761 'default' => '0',
762 'add' => '4.4',
732b1d05 763 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
764 'is_domain' => 1,
765 'is_contact' => 0,
732b1d05 766 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 767 'help_text' => NULL,
dfe1f88a
CW
768 ],
769 'empoweredBy' => [
466913fc
AH
770 'group_name' => 'CiviCRM Preferences',
771 'group' => 'core',
772 'name' => 'empoweredBy',
773 'type' => 'Boolean',
774 'quick_form_type' => 'YesNo',
775 'default' => 1,
776 'add' => '4.5',
732b1d05 777 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
778 'is_domain' => 1,
779 'is_contact' => 0,
732b1d05 780 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 781 'help_text' => NULL,
dfe1f88a
CW
782 ],
783 'logging_no_trigger_permission' => [
f76ec559
TO
784 'add' => '4.7',
785 'is_domain' => 1,
786 'is_contact' => 0,
787 'group_name' => 'CiviCRM Preferences',
788 'group' => 'core',
789 'help_text' => ts('(EXPERIMENTAL) If the MySQL user does not have permission to administer triggers, then you must create the triggers outside CiviCRM. No support is provided for this configuration.'),
790 'name' => 'logging_no_trigger_permission',
791 'type' => 'Boolean',
792 'quick_form_type' => 'YesNo',
793 'html_type' => '',
794 'default' => 0,
732b1d05 795 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
796 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
797 ],
798 'logging' => [
e299c1d0 799 'add' => '4.7',
e299c1d0
TO
800 'help_text' => NULL,
801 'is_domain' => 1,
802 'is_contact' => 0,
803 'group_name' => 'CiviCRM Preferences',
804 'group' => 'core',
805 'name' => 'logging',
806 'type' => 'Boolean',
807 'quick_form_type' => 'YesNo',
808 'html_type' => '',
809 'default' => '0',
732b1d05 810 'title' => ts('Logging'),
811 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 812 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 813 'on_change' => [
e299c1d0 814 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
815 ],
816 ],
817 'logging_uniqueid_date' => [
8dd883ca 818 'add' => '4.7',
819 'help_text' => ts('This is the date when CRM-18193 was implemented'),
820 'is_domain' => 1,
821 'is_contact' => 0,
822 'group_name' => 'CiviCRM Preferences',
823 'group' => 'core',
824 'name' => 'logging_uniqueid_date',
825 'type' => 'Date',
826 'quick_form_type' => 'DateTime',
827 'html_type' => '',
828 'default' => NULL,
732b1d05 829 'title' => ts('Logging Unique ID not recorded before'),
830 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
831 ],
832 'logging_all_tables_uniquid' => [
8dd883ca 833 'add' => '4.7',
834 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
835 'is_domain' => 1,
836 'is_contact' => 0,
837 'group_name' => 'CiviCRM Preferences',
838 'group' => 'core',
839 'name' => 'logging_all_tables_uniquid',
840 'type' => 'Boolean',
841 'quick_form_type' => 'YesNo',
842 'html_type' => '',
843 'default' => 0,
732b1d05 844 'title' => ts('All tables use Unique Connection ID'),
845 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
846 ],
847 'userFrameworkUsersTableName' => [
348754d5
TO
848 'add' => '4.7',
849 'help_text' => NULL,
850 'is_domain' => 1,
851 'is_contact' => 0,
852 'group_name' => 'CiviCRM Preferences',
853 'group' => 'core',
854 'name' => 'userFrameworkUsersTableName',
855 'type' => 'String',
856 'quick_form_type' => 'Element',
857 'html_type' => 'text',
dfe1f88a 858 'html_attributes' => [
348754d5
TO
859 'size' => '32',
860 'maxlength' => '64',
dfe1f88a 861 ],
d98d91bd
SL
862 'default' => 'users',
863 'title' => ts('CMS Users Table Name'),
348754d5 864 'description' => '',
dfe1f88a
CW
865 ],
866 'wpLoadPhp' => [
fdd770db
KC
867 'group_name' => 'CiviCRM Preferences',
868 'group' => 'core',
869 'name' => 'wpLoadPhp',
870 'type' => 'String',
871 'html_type' => 'text',
872 'quick_form_type' => 'Element',
fdd770db
KC
873 'default' => '',
874 'add' => '4.6',
732b1d05 875 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
876 'is_domain' => 1,
877 'is_contact' => 0,
732b1d05 878 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 879 'help_text' => NULL,
dfe1f88a
CW
880 ],
881 'secure_cache_timeout_minutes' => [
87334e0f
TO
882 'group_name' => 'CiviCRM Preferences',
883 'group' => 'core',
884 'name' => 'secure_cache_timeout_minutes',
885 'type' => 'Integer',
886 'quick_form_type' => 'Element',
887 'html_type' => 'text',
dfe1f88a 888 'html_attributes' => [
87334e0f
TO
889 'size' => 2,
890 'maxlength' => 8,
dfe1f88a 891 ],
87334e0f
TO
892 'default' => 20,
893 'add' => '4.7',
732b1d05 894 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
895 'is_domain' => 1,
896 'is_contact' => 0,
732b1d05 897 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 898 'help_text' => NULL,
dfe1f88a
CW
899 ],
900 'site_id' => [
1ab26c95
CW
901 'group_name' => 'CiviCRM Preferences',
902 'group' => 'core',
903 'name' => 'site_id',
904 'type' => 'String',
30fcf833 905 'quick_form_type' => 'Element',
906 'html_type' => 'text',
1ab26c95
CW
907 'default' => '',
908 'add' => '4.6',
732b1d05 909 'title' => ts('Unique Site ID'),
1ab26c95
CW
910 'is_domain' => 1,
911 'is_contact' => 0,
912 'description' => NULL,
913 'help_text' => NULL,
dfe1f88a
CW
914 ],
915 'recentItemsMaxCount' => [
ac5f7c7f
NH
916 'group_name' => 'CiviCRM Preferences',
917 'group' => 'core',
918 'name' => 'recentItemsMaxCount',
919 'type' => 'Integer',
920 'quick_form_type' => 'Element',
921 'html_type' => 'text',
dfe1f88a 922 'html_attributes' => [
ac5f7c7f 923 'size' => 2,
136b401b 924 'maxlength' => 3,
dfe1f88a 925 ],
ac5f7c7f
NH
926 'default' => 20,
927 'add' => '4.7',
732b1d05 928 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
929 'is_domain' => 1,
930 'is_contact' => 0,
732b1d05 931 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 932 'help_text' => NULL,
dfe1f88a
CW
933 ],
934 'recentItemsProviders' => [
ac5f7c7f
NH
935 'group_name' => 'CiviCRM Preferences',
936 'group' => 'core',
937 'name' => 'recentItemsProviders',
938 'type' => 'Array',
939 'html_type' => 'Select',
940 'quick_form_type' => 'Select',
dfe1f88a 941 'html_attributes' => [
ac5f7c7f
NH
942 'multiple' => 1,
943 'class' => 'crm-select2',
dfe1f88a 944 ],
ac5f7c7f
NH
945 'default' => '',
946 'add' => '4.7',
732b1d05 947 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
948 'is_domain' => 1,
949 'is_contact' => 0,
732b1d05 950 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 951 'help_text' => NULL,
dfe1f88a 952 'pseudoconstant' => [
136b401b 953 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
954 ],
955 ],
956 'dedupe_default_limit' => [
30fcf833 957 'group_name' => 'CiviCRM Preferences',
958 'group' => 'core',
959 'name' => 'dedupe_default_limit',
960 'type' => 'Integer',
961 'default' => 0,
962 'quick_form_type' => 'Element',
963 'html_type' => 'text',
964 'add' => '4.7',
732b1d05 965 'title' => ts('Default limit for dedupe screen'),
30fcf833 966 'is_domain' => 1,
967 'is_contact' => 0,
968 'description' => ts('Default to only loading matches against this number of contacts'),
969 'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
dfe1f88a
CW
970 ],
971 'syncCMSEmail' => [
5e7f101a 972 'group_name' => 'CiviCRM Preferences',
973 'group' => 'core',
974 'name' => 'syncCMSEmail',
975 'type' => 'Boolean',
c89a43b3 976 'html_type' => 'YesNo',
5e7f101a 977 'quick_form_type' => 'YesNo',
978 'default' => 1,
979 'add' => '4.7',
c89a43b3 980 'title' => ts('Sync CMS Email'),
5e7f101a 981 'is_domain' => 1,
982 'is_contact' => 0,
c89a43b3 983 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 984 'help_text' => NULL,
dfe1f88a
CW
985 ],
986 'preserve_activity_tab_filter' => [
a6d192c8 987 'group_name' => 'CiviCRM Preferences',
988 'group' => 'core',
989 'name' => 'preserve_activity_tab_filter',
c89a43b3 990 'type' => 'Boolean',
991 'html_type' => 'checkbox',
a6d192c8 992 'default' => '0',
993 'add' => '4.7',
c89a43b3 994 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 995 'is_domain' => 1,
996 'is_contact' => 0,
c89a43b3 997 'description' => ts('When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts.'),
dfe1f88a
CW
998 ],
999 'do_not_notify_assignees_for' => [
b5407aa9 1000 'group_name' => 'CiviCRM Preferences',
ac983377 1001 'group' => 'core',
b5407aa9 1002 'name' => 'do_not_notify_assignees_for',
ac983377
JP
1003 'type' => 'Array',
1004 'add' => '4.7',
1005 'is_domain' => 1,
e74d9a43 1006 'is_contact' => 0,
dfe1f88a 1007 'default' => [],
719eda4a 1008 'title' => ts('Do not notify assignees for'),
1009 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
1010 'html_type' => 'select',
dfe1f88a 1011 'html_attributes' => [
b5407aa9
JP
1012 'multiple' => 1,
1013 'class' => 'huge crm-select2',
dfe1f88a
CW
1014 ],
1015 'pseudoconstant' => [
ac983377 1016 'optionGroupName' => 'activity_type',
dfe1f88a 1017 ],
b5407aa9 1018 'quick_form_type' => 'Select',
dfe1f88a
CW
1019 ],
1020 'menubar_position' => [
b30809e4
CW
1021 'group_name' => 'CiviCRM Preferences',
1022 'group' => 'core',
1023 'name' => 'menubar_position',
1024 'type' => 'String',
1025 'html_type' => 'select',
1026 'default' => 'over-cms-menu',
8a52ae34 1027 'add' => '5.12',
b30809e4
CW
1028 'title' => ts('Menubar position'),
1029 'is_domain' => 1,
1030 'is_contact' => 0,
1031 'description' => ts('Location of the CiviCRM main menu.'),
1032 'help_text' => NULL,
dfe1f88a 1033 'options' => [
b30809e4
CW
1034 'over-cms-menu' => ts('Replace website menu'),
1035 'below-cms-menu' => ts('Below website menu'),
1036 'above-crm-container' => ts('Above content area'),
1037 'none' => ts('None - disable menu'),
dfe1f88a
CW
1038 ],
1039 ],
1040 'menubar_color' => [
8a52ae34
CW
1041 'group_name' => 'CiviCRM Preferences',
1042 'group' => 'core',
1043 'name' => 'menubar_color',
1044 'type' => 'String',
1045 'html_type' => 'color',
1046 'default' => '#1b1b1b',
1047 'add' => '5.13',
1048 'title' => ts('Menubar color'),
1049 'is_domain' => 1,
1050 'is_contact' => 0,
1051 'description' => ts('Color of the CiviCRM main menu.'),
1052 'help_text' => NULL,
0f4485f5 1053 'validate_callback' => 'CRM_Utils_Color::normalize',
dfe1f88a 1054 ],
6cb3fe2e
SL
1055 'requestableMimeTypes' => [
1056 'group_name' => 'CiviCRM Preferences',
1057 'group' => 'core',
1058 'name' => 'requestableMimeTypes',
1059 'type' => 'String',
1060 'html_type' => 'Text',
1061 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1062 'add' => '5.13',
1063 'title' => ts('Mime Types that can be passed as URL params'),
1064 'is_domain' => 1,
1065 'is_contact' => 0,
1066 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1067 'help_text' => NULL,
1068 ],
d89d2545
TO
1069 'theme_frontend' => [
1070 'group_name' => 'CiviCRM Preferences',
1071 'group' => 'core',
1072 'name' => 'theme_frontend',
1073 'type' => 'String',
1074 'quick_form_type' => 'Select',
1075 'html_type' => 'Select',
1076 'html_attributes' => array(
1077 'class' => 'crm-select2',
1078 ),
1079 'pseudoconstant' => array(
1080 'callback' => 'call://themes/getAvailable',
1081 ),
1082 'default' => 'default',
4ef562f6 1083 'add' => '5.16',
d89d2545
TO
1084 'title' => ts('Frontend Theme'),
1085 'is_domain' => 1,
1086 'is_contact' => 0,
1087 'description' => ts('Theme to use on frontend pages'),
1088 'help_text' => NULL,
1089 ],
1090 'theme_backend' => [
1091 'group_name' => 'CiviCRM Preferences',
1092 'group' => 'core',
1093 'name' => 'theme_backend',
1094 'type' => 'String',
1095 'quick_form_type' => 'Select',
1096 'html_type' => 'Select',
1097 'html_attributes' => array(
1098 'class' => 'crm-select2',
1099 ),
1100 'pseudoconstant' => array(
1101 'callback' => 'call://themes/getAvailable',
1102 ),
1103 'default' => 'default',
4ef562f6 1104 'add' => '5.16',
d89d2545
TO
1105 'title' => ts('Backend Theme'),
1106 'is_domain' => 1,
1107 'is_contact' => 0,
1108 'description' => ts('Theme to use on backend pages'),
1109 'help_text' => NULL,
1110 ],
9679fb15
SL
1111 'http_timeout' => [
1112 'group_name' => 'CiviCRM Preferences',
1113 'group' => 'core',
1114 'name' => 'http_timeout',
1115 'type' => 'Integer',
1116 'quick_form_type' => 'Element',
1117 'html_type' => 'text',
1118 'html_attributes' => [
1119 'size' => 2,
1120 'maxlength' => 3,
1121 ],
1122 'default' => 5,
d79f40ee 1123 'add' => '5.14',
9679fb15
SL
1124 'title' => ts('HTTP request timeout'),
1125 'is_domain' => 1,
1126 'is_contact' => 0,
1127 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'),
1128 'help_text' => ts('Set the number of seconds http requests should run for before terminating'),
1129 ],
dfe1f88a 1130];