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