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