Priceset 2nd half
[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',
a55c9b35 43 'quick_form_type' => 'CheckBoxes',
6a488035 44 'html_type' => 'checkboxes',
dfe1f88a 45 'pseudoconstant' => [
6a488035 46 'optionGroupName' => 'contact_view_options',
dfe1f88a 47 ],
6a488035
TO
48 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
49 'add' => '4.1',
a55c9b35 50 'title' => ts('Viewing Contacts'),
6a488035
TO
51 'is_domain' => '1',
52 'is_contact' => 0,
a55c9b35 53 '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 54 'help_text' => NULL,
6821aa1d 55 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
56 ],
57 'contact_edit_options' => [
6a488035
TO
58 'group_name' => 'CiviCRM Preferences',
59 'group' => 'core',
60 'name' => 'contact_edit_options',
61 'type' => 'String',
62 'html_type' => 'checkboxes',
dfe1f88a 63 'pseudoconstant' => [
6a488035 64 'optionGroupName' => 'contact_edit_options',
dfe1f88a 65 ],
007e3bdc 66 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035 67 'add' => '4.1',
629c8513 68 'title' => ts('Editing Contacts'),
6a488035
TO
69 'is_domain' => 1,
70 'is_contact' => 0,
629c8513 71 '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 72 'help_text' => NULL,
629c8513 73 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
74 ],
75 'advanced_search_options' => [
6a488035 76 'group_name' => 'CiviCRM Preferences',
629c8513 77 'group' => 'core',
6a488035
TO
78 'name' => 'advanced_search_options',
79 'type' => 'String',
80 'html_type' => 'checkboxes',
dfe1f88a 81 'pseudoconstant' => [
6a488035 82 'optionGroupName' => 'advanced_search_options',
dfe1f88a 83 ],
007e3bdc 84 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035 85 'add' => '4.1',
629c8513 86 'title' => ts('Contact Search'),
6a488035
TO
87 'is_domain' => 1,
88 'is_contact' => 0,
629c8513 89 '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 90 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
91 ],
92 'user_dashboard_options' => [
6a488035
TO
93 'group_name' => 'CiviCRM Preferences',
94 'group' => 'core',
95 'name' => 'user_dashboard_options',
96 'type' => 'String',
97 'html_type' => 'checkboxes',
dfe1f88a 98 'pseudoconstant' => [
6a488035 99 'optionGroupName' => 'user_dashboard_options',
dfe1f88a 100 ],
007e3bdc 101 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035 102 'add' => '4.1',
732b1d05 103 'title' => ts('Contact Dashboard'),
6a488035
TO
104 'is_domain' => 1,
105 'is_contact' => 0,
94b60b64 106 '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 107 'help_text' => NULL,
94b60b64 108 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
109 ],
110 'address_options' => [
6a488035
TO
111 'group_name' => 'CiviCRM Preferences',
112 'group' => 'core',
113 'name' => 'address_options',
114 'type' => 'String',
c7cd4e2c 115 'html_type' => 'checkboxes',
dfe1f88a 116 'pseudoconstant' => [
6a488035 117 'optionGroupName' => 'address_options',
dfe1f88a 118 ],
007e3bdc 119 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
6a488035 120 'add' => '4.1',
c7cd4e2c 121 'title' => ts('Address Fields'),
6a488035
TO
122 'is_domain' => 1,
123 'is_contact' => 0,
08e57c58
TO
124 'description' => NULL,
125 'help_text' => NULL,
c7cd4e2c 126 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
127 ],
128 'address_format' => [
6a488035
TO
129 'group_name' => 'CiviCRM Preferences',
130 'group' => 'core',
131 'name' => 'address_format',
132 'type' => 'String',
c7cd4e2c 133 'html_type' => 'textarea',
207f62c6 134 '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 135 'add' => '4.1',
c7cd4e2c 136 'title' => ts('Address Display Format'),
6a488035
TO
137 'is_domain' => 1,
138 'is_contact' => 0,
08e57c58 139 'description' => NULL,
56fdfc52 140 'help_text' => NULL,
dfe1f88a
CW
141 ],
142 'mailing_format' => [
6a488035
TO
143 'group_name' => 'CiviCRM Preferences',
144 'group' => 'core',
145 'name' => 'mailing_format',
146 'type' => 'String',
c7cd4e2c 147 'html_type' => 'textarea',
207f62c6 148 '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 149 'add' => '4.1',
c7cd4e2c 150 'title' => ts('Mailing Label Format'),
6a488035
TO
151 'is_domain' => 1,
152 'is_contact' => 0,
08e57c58 153 'description' => NULL,
56fdfc52 154 'help_text' => NULL,
dfe1f88a
CW
155 ],
156 'display_name_format' => [
6a488035
TO
157 'group_name' => 'CiviCRM Preferences',
158 'group' => 'core',
159 'name' => 'display_name_format',
160 'type' => 'String',
7399a0a6 161 'html_type' => 'textarea',
6a488035
TO
162 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
163 'add' => '4.1',
732b1d05 164 'title' => ts('Individual Display Name Format'),
6a488035
TO
165 'is_domain' => 1,
166 'is_contact' => 0,
7399a0a6 167 'description' => ts('Display name format for individual contact display names.'),
dfe1f88a
CW
168 ],
169 'sort_name_format' => [
6a488035
TO
170 'group_name' => 'CiviCRM Preferences',
171 'group' => 'core',
172 'name' => 'sort_name_format',
173 'type' => 'String',
7399a0a6 174 'html_type' => 'textarea',
6a488035
TO
175 'default' => '{contact.last_name}{, }{contact.first_name}',
176 'add' => '4.1',
732b1d05 177 'title' => ts('Individual Sort Name Format'),
6a488035
TO
178 'is_domain' => 1,
179 'is_contact' => 0,
7399a0a6 180 'description' => ts('Sort name format for individual contact display names.'),
dfe1f88a
CW
181 ],
182 'remote_profile_submissions' => [
61f53f0d
PN
183 'group_name' => 'CiviCRM Preferences',
184 'group' => 'core',
e8a64b98 185 'name' => 'remote_profile_submissions',
61f53f0d
PN
186 'type' => 'Boolean',
187 'quick_form_type' => 'YesNo',
188 'default' => FALSE,
189 'html_type' => 'radio',
190 'add' => '4.7',
1bfe4abf 191 'title' => 'Accept profile submissions from external sites',
61f53f0d
PN
192 'is_domain' => 1,
193 'is_contact' => 0,
732b1d05 194 'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
61f53f0d 195 'help_text' => NULL,
dfe1f88a
CW
196 ],
197 'allow_alert_autodismissal' => [
d19abfd1
AP
198 'group_name' => 'CiviCRM Preferences',
199 'group' => 'core',
200 'name' => 'allow_alert_autodismissal',
201 'type' => 'Boolean',
202 'quick_form_type' => 'YesNo',
203 'default' => TRUE,
204 'html_type' => 'radio',
205 'add' => '4.7',
206 'title' => 'Allow alerts to auto-dismiss?',
207 'is_domain' => 1,
208 'is_contact' => 0,
732b1d05 209 'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
d19abfd1 210 'help_text' => NULL,
dfe1f88a
CW
211 ],
212 'editor_id' => [
6a488035
TO
213 'group_name' => 'CiviCRM Preferences',
214 'group' => 'core',
215 'name' => 'editor_id',
216 'type' => 'String',
719eda4a 217 'html_type' => 'select',
72f03b4f 218 'default' => 'CKEditor',
6a488035 219 'add' => '4.1',
732b1d05 220 'title' => ts('Wysiwig Editor'),
dfe1f88a 221 'pseudoconstant' => [
719eda4a 222 'optionGroupName' => 'wysiwyg_editor',
babfca87 223 'keyColumn' => 'name',
dfe1f88a 224 ],
6a488035
TO
225 'is_domain' => 1,
226 'is_contact' => 0,
08e57c58
TO
227 'description' => NULL,
228 'help_text' => NULL,
dfe1f88a
CW
229 ],
230 'contact_ajax_check_similar' => [
6a488035
TO
231 'group_name' => 'CiviCRM Preferences',
232 'group' => 'core',
233 'name' => 'contact_ajax_check_similar',
234 'type' => 'String',
d6def514 235 'html_type' => 'radio',
007e3bdc 236 'default' => '1',
6a488035 237 'add' => '4.1',
732b1d05 238 'title' => ts('Check for Similar Contacts'),
6a488035
TO
239 'is_domain' => 1,
240 'is_contact' => 0,
08e57c58
TO
241 'description' => NULL,
242 'help_text' => NULL,
719eda4a 243 'options' => ['1' => ts('While Typing'), '0' => ts('When Saving'), '2' => ts('Never')],
dfe1f88a
CW
244 ],
245 'ajaxPopupsEnabled' => [
f1cf499b
CW
246 'group_name' => 'CiviCRM Preferences',
247 'group' => 'core',
53f2643c 248 'name' => 'ajaxPopupsEnabled',
f1cf499b 249 'type' => 'Boolean',
74f89a9f 250 'html_type' => 'checkbox',
f1cf499b
CW
251 'default' => 1,
252 'add' => '4.5',
732b1d05 253 'title' => ts('Enable Popup Forms'),
f1cf499b
CW
254 'is_domain' => 1,
255 'is_contact' => 0,
08e57c58
TO
256 'description' => NULL,
257 'help_text' => NULL,
dfe1f88a
CW
258 ],
259 'activity_assignee_notification' => [
6a488035
TO
260 'group_name' => 'CiviCRM Preferences',
261 'group' => 'core',
262 'name' => 'activity_assignee_notification',
74f89a9f 263 'type' => 'Boolean',
264 'html_type' => 'checkbox',
007e3bdc 265 'default' => '1',
6a488035 266 'add' => '4.1',
732b1d05 267 'title' => ts('Notify Activity Assignees'),
6a488035
TO
268 'is_domain' => 1,
269 'is_contact' => 0,
08e57c58 270 'description' => NULL,
56fdfc52 271 'help_text' => NULL,
dfe1f88a
CW
272 ],
273 'activity_assignee_notification_ics' => [
6a488035
TO
274 'group_name' => 'CiviCRM Preferences',
275 'group' => 'core',
276 'name' => 'activity_assignee_notification_ics',
74f89a9f 277 'type' => 'Boolean',
278 'html_type' => 'checkbox',
007e3bdc 279 'default' => '0',
6a488035 280 'add' => '4.3',
732b1d05 281 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
282 'is_domain' => 1,
283 'is_contact' => 0,
08e57c58 284 'description' => NULL,
56fdfc52 285 'help_text' => NULL,
dfe1f88a
CW
286 ],
287 'contact_autocomplete_options' => [
6a488035
TO
288 'group_name' => 'CiviCRM Preferences',
289 'group' => 'core',
290 'name' => 'contact_autocomplete_options',
291 'type' => 'String',
ec3cc27f
CW
292 'quick_form_type' => 'CheckBoxes',
293 'html_type' => 'checkboxes',
dfe1f88a 294 'pseudoconstant' => [
d434f797 295 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
dfe1f88a 296 ],
d434f797 297 'default' => '\ 11\ 12\ 1',
6a488035 298 'add' => '4.1',
732b1d05 299 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
300 'is_domain' => 1,
301 'is_contact' => 0,
732b1d05 302 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 303 'help_text' => NULL,
ec3cc27f 304 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
305 ],
306 'contact_reference_options' => [
6a488035
TO
307 'group_name' => 'CiviCRM Preferences',
308 'group' => 'core',
309 'name' => 'contact_reference_options',
310 'type' => 'String',
ec3cc27f
CW
311 'quick_form_type' => 'CheckBoxes',
312 'html_type' => 'checkboxes',
dfe1f88a 313 'pseudoconstant' => [
d434f797 314 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
dfe1f88a 315 ],
d434f797 316 'default' => '\ 11\ 12\ 1',
6a488035 317 'add' => '4.1',
732b1d05 318 'title' => ts('Contact Reference Options'),
6a488035
TO
319 'is_domain' => 1,
320 'is_contact' => 0,
732b1d05 321 '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 322 'help_text' => NULL,
ec3cc27f 323 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
324 ],
325 'contact_smart_group_display' => [
007e3bdc
TO
326 'group_name' => 'CiviCRM Preferences',
327 'group' => 'core',
328 'name' => 'contact_smart_group_display',
329 'type' => 'String',
330 'html_type' => 'radio',
331 'default' => '1',
332 'add' => '4.7',
333 'title' => ts('Viewing Smart Groups'),
334 'is_domain' => 1,
335 'is_contact' => 0,
c5af8245 336 '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 337 'help_text' => NULL,
dfe1f88a 338 'pseudoconstant' => [
c5af8245 339 'optionGroupName' => 'contact_smart_group_display',
dfe1f88a
CW
340 ],
341 ],
342 'smart_group_cache_refresh_mode' => [
801bafd7 343 'group_name' => 'CiviCRM Preferences',
344 'group' => 'core',
345 'name' => 'smart_group_cache_refresh_mode',
346 'type' => 'String',
347 'html_type' => 'radio',
348 'default' => 'opportunistic',
349 'add' => '4.7',
732b1d05 350 'title' => ts('Smart Group Refresh Mode'),
801bafd7 351 'is_domain' => 1,
352 'is_contact' => 0,
dfe1f88a 353 'pseudoconstant' => [
a8eb1fe6 354 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
dfe1f88a 355 ],
732b1d05 356 'description' => ts('Should the smart groups be by cron jobs or user actions'),
357 '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
358 ],
359 'installed' => [
801c5335
C
360 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
361 'group_name' => 'CiviCRM Preferences',
362 'group' => 'core',
363 'name' => 'installed',
364 'type' => 'Boolean',
365 'quick_form_type' => 'YesNo',
366 'default' => FALSE,
367 'add' => '4.7',
732b1d05 368 'title' => ts('System Installed'),
801c5335
C
369 'is_domain' => 1,
370 'is_contact' => 0,
732b1d05 371 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 372 'help_text' => NULL,
dfe1f88a
CW
373 ],
374 'max_attachments' => [
6a488035
TO
375 'group_name' => 'CiviCRM Preferences',
376 'group' => 'core',
377 'name' => 'max_attachments',
378 'legacy_key' => 'maxAttachments',
6a488035
TO
379 'type' => 'Integer',
380 'quick_form_type' => 'Element',
381 'html_type' => 'text',
dfe1f88a 382 'html_attributes' => [
6a488035
TO
383 'size' => 2,
384 'maxlength' => 8,
dfe1f88a 385 ],
56fdfc52
TO
386 'default' => 3,
387 'add' => '4.3',
732b1d05 388 'title' => ts('Maximum Attachments'),
56fdfc52
TO
389 'is_domain' => 1,
390 'is_contact' => 0,
732b1d05 391 'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities.'),
56fdfc52 392 'help_text' => NULL,
dfe1f88a
CW
393 ],
394 'maxFileSize' => [
6a488035
TO
395 'group_name' => 'CiviCRM Preferences',
396 'group' => 'core',
397 'name' => 'maxFileSize',
6a488035
TO
398 'type' => 'Integer',
399 'quick_form_type' => 'Element',
400 'html_type' => 'text',
dfe1f88a 401 'html_attributes' => [
6a488035
TO
402 'size' => 2,
403 'maxlength' => 8,
dfe1f88a 404 ],
6a488035
TO
405 'default' => 3,
406 'add' => '4.3',
732b1d05 407 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
408 'is_domain' => 1,
409 'is_contact' => 0,
732b1d05 410 '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 411 'help_text' => NULL,
dfe1f88a
CW
412 ],
413 'contact_undelete' => [
6a488035
TO
414 'group_name' => 'CiviCRM Preferences',
415 'group' => 'core',
416 'name' => 'contact_undelete',
417 'type' => 'Boolean',
418 'quick_form_type' => 'YesNo',
419 'default' => 1,
420 'add' => '4.3',
732b1d05 421 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
422 'is_domain' => 1,
423 'is_contact' => 0,
732b1d05 424 '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 425 'help_text' => NULL,
dfe1f88a
CW
426 ],
427 'allowPermDeleteFinancial' => [
f182074e
PN
428 'group_name' => 'CiviCRM Preferences',
429 'group' => 'core',
430 'name' => 'allowPermDeleteFinancial',
431 'type' => 'Boolean',
432 'quick_form_type' => 'YesNo',
433 'default' => FALSE,
434 'add' => '4.3',
732b1d05 435 'title' => ts('Contact Permanent Delete'),
f182074e
PN
436 'is_domain' => 1,
437 'is_contact' => 0,
732b1d05 438 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 439 'help_text' => NULL,
dfe1f88a
CW
440 ],
441 'securityAlert' => [
439a9f1b
TO
442 'group_name' => 'CiviCRM Preferences',
443 'group' => 'core',
fa8dc18c 444 'name' => 'securityAlert',
439a9f1b
TO
445 'type' => 'Boolean',
446 'quick_form_type' => 'YesNo',
447 'default' => 1,
448 'add' => '4.4',
732b1d05 449 'title' => ts('Status Alerts'),
439a9f1b
TO
450 'is_domain' => 1,
451 'is_contact' => 0,
732b1d05 452 '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 453 'help_text' => NULL,
dfe1f88a
CW
454 ],
455 'doNotAttachPDFReceipt' => [
6a488035
TO
456 'group_name' => 'CiviCRM Preferences',
457 'group' => 'core',
458 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
459 'type' => 'Boolean',
460 'quick_form_type' => 'YesNo',
f825dba2 461 'default' => 0,
6a488035 462 'add' => '4.3',
732b1d05 463 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
464 'is_domain' => 1,
465 'is_contact' => 0,
732b1d05 466 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 467 'help_text' => NULL,
dfe1f88a
CW
468 ],
469 'recordGeneratedLetters' => [
cc144465
TO
470 'group_name' => 'CiviCRM Preferences',
471 'group' => 'core',
472 'name' => 'recordGeneratedLetters',
473 'type' => 'String',
474 'quick_form_type' => 'Select',
475 'html_type' => 'Select',
dfe1f88a 476 'html_attributes' => [
cc144465 477 'class' => 'crm-select2',
dfe1f88a 478 ],
cc144465 479 'default' => 'multiple',
3ff77806 480 'add' => '4.7',
732b1d05 481 'title' => ts('Record generated letters'),
cc144465
TO
482 'is_domain' => 1,
483 'is_contact' => 0,
732b1d05 484 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 485 'help_text' => NULL,
dfe1f88a 486 'pseudoconstant' => [
cc144465 487 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
488 ],
489 ],
490 'wkhtmltopdfPath' => [
6a488035
TO
491 'group_name' => 'CiviCRM Preferences',
492 'group' => 'core',
493 'name' => 'wkhtmltopdfPath',
6a488035
TO
494 'type' => 'String',
495 'quick_form_type' => 'Element',
dfe1f88a 496 'html_attributes' => [
6a488035
TO
497 'size' => 64,
498 'maxlength' => 256,
dfe1f88a 499 ],
c1a2145a 500 'html_type' => 'text',
08e57c58 501 'default' => NULL,
6a488035 502 'add' => '4.3',
732b1d05 503 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
504 'is_domain' => 1,
505 'is_contact' => 0,
08e57c58
TO
506 'description' => NULL,
507 'help_text' => NULL,
dfe1f88a
CW
508 ],
509 'recaptchaOptions' => [
53b0f6c3
TO
510 'group_name' => 'CiviCRM Preferences',
511 'group' => 'core',
512 'name' => 'recaptchaOptions',
53b0f6c3
TO
513 'type' => 'String',
514 'quick_form_type' => 'Element',
dfe1f88a 515 'html_attributes' => [
53b0f6c3
TO
516 'size' => 64,
517 'maxlength' => 64,
dfe1f88a 518 ],
c1a2145a 519 'html_type' => 'text',
53b0f6c3
TO
520 'default' => NULL,
521 'add' => '4.3',
732b1d05 522 'title' => ts('Recaptcha Options'),
53b0f6c3
TO
523 'is_domain' => 1,
524 'is_contact' => 0,
732b1d05 525 '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 526 'help_text' => NULL,
dfe1f88a
CW
527 ],
528 'recaptchaPublicKey' => [
6a488035
TO
529 'group_name' => 'CiviCRM Preferences',
530 'group' => 'core',
531 'name' => 'recaptchaPublicKey',
6a488035
TO
532 'type' => 'String',
533 'quick_form_type' => 'Element',
dfe1f88a 534 'html_attributes' => [
6a488035
TO
535 'size' => 64,
536 'maxlength' => 64,
dfe1f88a 537 ],
c1a2145a 538 'html_type' => 'text',
08e57c58 539 'default' => NULL,
6a488035 540 'add' => '4.3',
732b1d05 541 'title' => ts('Recaptcha Site Key'),
6a488035
TO
542 'is_domain' => 1,
543 'is_contact' => 0,
08e57c58
TO
544 'description' => NULL,
545 'help_text' => NULL,
dfe1f88a
CW
546 ],
547 'forceRecaptcha' => [
ce287b85
AP
548 'add' => '4.7',
549 'help_text' => NULL,
550 'is_domain' => 1,
551 'is_contact' => 0,
552 'group_name' => 'CiviCRM Preferences',
553 'group' => 'core',
554 'name' => 'forceRecaptcha',
555 'type' => 'Boolean',
556 'quick_form_type' => 'YesNo',
557 'html_type' => '',
558 'default' => '0',
732b1d05 559 'title' => ts('Force reCAPTCHA on Contribution pages'),
560 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
dfe1f88a
CW
561 ],
562 'recaptchaPrivateKey' => [
6a488035
TO
563 'group_name' => 'CiviCRM Preferences',
564 'group' => 'core',
565 'name' => 'recaptchaPrivateKey',
6a488035
TO
566 'type' => 'String',
567 'quick_form_type' => 'Element',
dfe1f88a 568 'html_attributes' => [
6a488035
TO
569 'size' => 64,
570 'maxlength' => 64,
dfe1f88a 571 ],
c1a2145a 572 'html_type' => 'text',
08e57c58 573 'default' => NULL,
6a488035 574 'add' => '4.3',
732b1d05 575 'title' => ts('Recaptcha Secret Key'),
6a488035
TO
576 'is_domain' => 1,
577 'is_contact' => 0,
08e57c58
TO
578 'description' => NULL,
579 'help_text' => NULL,
dfe1f88a
CW
580 ],
581 'checksum_timeout' => [
6a488035
TO
582 'group_name' => 'CiviCRM Preferences',
583 'group' => 'core',
92a8de72 584 'name' => 'checksum_timeout',
6a488035
TO
585 'type' => 'Integer',
586 'quick_form_type' => 'Element',
dfe1f88a 587 'html_attributes' => [
6a488035
TO
588 'size' => 2,
589 'maxlength' => 8,
dfe1f88a 590 ],
c1a2145a 591 'html_type' => 'text',
6a488035
TO
592 'default' => 7,
593 'add' => '4.3',
732b1d05 594 'title' => ts('Checksum Lifespan'),
6a488035
TO
595 'is_domain' => 1,
596 'is_contact' => 0,
08e57c58
TO
597 'description' => NULL,
598 'help_text' => NULL,
dfe1f88a
CW
599 ],
600 'blogUrl' => [
4b030206
TO
601 'group_name' => 'CiviCRM Preferences',
602 'group' => 'core',
603 'name' => 'blogUrl',
4b030206
TO
604 'type' => 'String',
605 'quick_form_type' => 'Element',
dfe1f88a 606 'html_attributes' => [
4b030206
TO
607 'size' => 64,
608 'maxlength' => 128,
dfe1f88a 609 ],
c1a2145a 610 'html_type' => 'text',
4b030206
TO
611 'default' => '*default*',
612 'add' => '4.3',
732b1d05 613 'title' => ts('Blog Feed URL'),
4b030206
TO
614 'is_domain' => 1,
615 'is_contact' => 0,
732b1d05 616 'description' => ts('Blog feed URL used by the blog dashlet'),
617 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
618 ],
619 'communityMessagesUrl' => [
847c93ac
TO
620 'group_name' => 'CiviCRM Preferences',
621 'group' => 'core',
622 'name' => 'communityMessagesUrl',
847c93ac
TO
623 'type' => 'String',
624 'quick_form_type' => 'Element',
dfe1f88a 625 'html_attributes' => [
847c93ac
TO
626 'size' => 64,
627 'maxlength' => 128,
dfe1f88a 628 ],
c1a2145a 629 'html_type' => 'text',
847c93ac
TO
630 'default' => '*default*',
631 'add' => '4.3',
732b1d05 632 'title' => ts('Community Messages URL'),
847c93ac
TO
633 'is_domain' => 1,
634 'is_contact' => 0,
732b1d05 635 'description' => ts('Service providing CiviCRM community messages'),
636 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
637 ],
638 'gettingStartedUrl' => [
1f957d1e
TO
639 'group_name' => 'CiviCRM Preferences',
640 'group' => 'core',
641 'name' => 'gettingStartedUrl',
642 'type' => 'String',
643 'quick_form_type' => 'Element',
dfe1f88a 644 'html_attributes' => [
1f957d1e
TO
645 'size' => 64,
646 'maxlength' => 128,
dfe1f88a 647 ],
c1a2145a 648 'html_type' => 'text',
1f957d1e
TO
649 'default' => '*default*',
650 'add' => '4.3',
732b1d05 651 'title' => ts('Getting Started URL'),
1f957d1e
TO
652 'is_domain' => 1,
653 'is_contact' => 0,
732b1d05 654 'description' => ts('Service providing the Getting Started data'),
655 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
656 ],
657 'resCacheCode' => [
6a488035
TO
658 'group_name' => 'CiviCRM Preferences',
659 'group' => 'core',
660 'name' => 'resCacheCode',
6a488035 661 'type' => 'String',
30fcf833 662 'quick_form_type' => 'Element',
663 'html_type' => 'text',
08e57c58 664 'default' => NULL,
6a488035 665 'add' => '4.3',
732b1d05 666 'title' => ts('resCacheCode'),
6a488035
TO
667 'is_domain' => 1,
668 'is_contact' => 0,
732b1d05 669 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 670 'help_text' => NULL,
dfe1f88a
CW
671 ],
672 'verifySSL' => [
6a488035
TO
673 'group_name' => 'CiviCRM Preferences',
674 'group' => 'core',
675 'name' => 'verifySSL',
676 'type' => 'Boolean',
677 'quick_form_type' => 'YesNo',
678 'default' => 1,
679 'add' => '4.3',
732b1d05 680 'title' => ts('Verify SSL?'),
6a488035
TO
681 'is_domain' => 1,
682 'is_contact' => 0,
732b1d05 683 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
684 '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
685 ],
686 'enableSSL' => [
28f07f05
TO
687 'group_name' => 'CiviCRM Preferences',
688 'group' => 'core',
689 'name' => 'enableSSL',
690 'type' => 'Boolean',
691 'quick_form_type' => 'YesNo',
692 'default' => 0,
693 'add' => '4.5',
732b1d05 694 'title' => ts('Force SSL?'),
28f07f05
TO
695 'is_domain' => 1,
696 'is_contact' => 0,
732b1d05 697 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
698 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
699 ],
700 'wpBasePage' => [
94c11eeb
DL
701 'group_name' => 'CiviCRM Preferences',
702 'group' => 'core',
703 'name' => 'wpBasePage',
704 'type' => 'String',
705 'html_type' => 'text',
706 'quick_form_type' => 'Element',
94c11eeb
DL
707 'default' => '',
708 'add' => '4.3',
732b1d05 709 'title' => ts('WordPress Base Page'),
94c11eeb
DL
710 'is_domain' => 1,
711 'is_contact' => 0,
732b1d05 712 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
713 '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
714 ],
715 'secondDegRelPermissions' => [
d5f1ee75
DG
716 'group_name' => 'CiviCRM Preferences',
717 'group' => 'core',
718 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
719 'type' => 'Boolean',
720 'quick_form_type' => 'YesNo',
721 'default' => 0,
722 'add' => '4.3',
732b1d05 723 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
724 'is_domain' => 1,
725 'is_contact' => 0,
732b1d05 726 '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 727 'help_text' => NULL,
dfe1f88a
CW
728 ],
729 'enable_components' => [
ac47f7ca 730 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
731 'group_name' => 'CiviCRM Preferences',
732 'group' => 'core',
56fdfc52 733 'name' => 'enable_components',
86eeab72
DS
734 'type' => 'Array',
735 'quick_form_type' => 'Element',
736 'html_type' => 'advmultiselect',
dfe1f88a 737 'html_attributes' => [
86eeab72
DS
738 'size' => 5,
739 'style' => 'width:150px',
740 'class' => 'advmultiselect',
dfe1f88a 741 ],
ac47f7ca 742 'default' => NULL,
56fdfc52 743 'add' => '4.4',
732b1d05 744 'title' => ts('Enable Components'),
86eeab72
DS
745 'is_domain' => '1',
746 'is_contact' => 0,
08e57c58 747 'description' => NULL,
56fdfc52 748 'help_text' => NULL,
dfe1f88a 749 'on_change' => [
c8074a93
TO
750 'CRM_Case_Info::onToggleComponents',
751 'CRM_Core_Component::flushEnabledComponents',
752 'call://resources/resetCacheCode',
dfe1f88a
CW
753 ],
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,
1053 'validate_callback' => 'CRM_Utils_Rule::color',
dfe1f88a 1054 ],
af92cb60
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 ],
dfe1f88a 1069];