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