Merge pull request #11197 from agileware/CRM-21104
[civicrm-core.git] / settings / Core.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2017 |
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 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2017
32 * $Id$
33 *
34 */
35
36 /**
37 * Settings metadata file
38 */
39 return array(
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,
54 'description' => NULL,
55 'help_text' => NULL,
56 ),
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 ),
66 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
67 'add' => '4.1',
68 'title' => 'Editing Contacts',
69 'is_domain' => 1,
70 'is_contact' => 0,
71 'description' => NULL,
72 'help_text' => NULL,
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 ),
82 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
83 'add' => '4.1',
84 'title' => 'Contact Search',
85 'is_domain' => 1,
86 'is_contact' => 0,
87 'description' => NULL,
88 'help_text' => NULL,
89 ),
90 'user_dashboard_options' => array(
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',
98 ),
99 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
100 'add' => '4.1',
101 'title' => 'Contact Dashboard',
102 'is_domain' => 1,
103 'is_contact' => 0,
104 'description' => NULL,
105 'help_text' => NULL,
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 ),
116 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
117 'add' => '4.1',
118 'title' => 'Addressing Options',
119 'is_domain' => 1,
120 'is_contact' => 0,
121 'description' => NULL,
122 'help_text' => NULL,
123 ),
124 'address_format' => array(
125 'group_name' => 'CiviCRM Preferences',
126 'group' => 'core',
127 'name' => 'address_format',
128 'type' => 'String',
129 'html_type' => 'TextArea',
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}",
131 'add' => '4.1',
132 'title' => 'Address Format',
133 'is_domain' => 1,
134 'is_contact' => 0,
135 'description' => NULL,
136 'help_text' => NULL,
137 ),
138 'mailing_format' => array(
139 'group_name' => 'CiviCRM Preferences',
140 'group' => 'core',
141 'name' => 'mailing_format',
142 'type' => 'String',
143 'html_type' => 'Text',
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}",
145 'add' => '4.1',
146 'title' => 'Mailing Format',
147 'is_domain' => 1,
148 'is_contact' => 0,
149 'description' => NULL,
150 'help_text' => NULL,
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,
163 'description' => NULL,
164 'help_text' => NULL,
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',
174 'title' => 'Sort Name Format',
175 'is_domain' => 1,
176 'is_contact' => 0,
177 'description' => NULL,
178 'help_text' => NULL,
179 ),
180 'remote_profile_submissions' => array(
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
183 'name' => 'remote_profile_submissions',
184 'type' => 'Boolean',
185 'quick_form_type' => 'YesNo',
186 'default' => FALSE,
187 'html_type' => 'radio',
188 'add' => '4.7',
189 'title' => 'Accept profile submissions from external sites',
190 'is_domain' => 1,
191 'is_contact' => 0,
192 'description' => 'If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.',
193 'help_text' => NULL,
194 ),
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 ),
210 'editor_id' => array(
211 'group_name' => 'CiviCRM Preferences',
212 'group' => 'core',
213 'name' => 'editor_id',
214 'type' => 'String',
215 'html_type' => 'Select',
216 'default' => 'CKEditor',
217 'add' => '4.1',
218 'title' => 'Wysiwig Editor',
219 'is_domain' => 1,
220 'is_contact' => 0,
221 'description' => NULL,
222 'help_text' => NULL,
223 ),
224 'contact_ajax_check_similar' => array(
225 'group_name' => 'CiviCRM Preferences',
226 'group' => 'core',
227 'name' => 'contact_ajax_check_similar',
228 'type' => 'String',
229 'html_type' => 'radio',
230 'default' => '1',
231 'add' => '4.1',
232 'title' => 'Check for Similar Contacts',
233 'is_domain' => 1,
234 'is_contact' => 0,
235 'description' => NULL,
236 'help_text' => NULL,
237 ),
238 'ajaxPopupsEnabled' => array(
239 'group_name' => 'CiviCRM Preferences',
240 'group' => 'core',
241 'name' => 'ajaxPopupsEnabled',
242 'type' => 'Boolean',
243 'quick_form_type' => 'YesNo',
244 'default' => 1,
245 'add' => '4.5',
246 'title' => 'Ajax Popups Enabled',
247 'is_domain' => 1,
248 'is_contact' => 0,
249 'description' => NULL,
250 'help_text' => NULL,
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',
258 'default' => '1',
259 'add' => '4.1',
260 'title' => 'Notify Activity Assignees',
261 'is_domain' => 1,
262 'is_contact' => 0,
263 'description' => NULL,
264 'help_text' => NULL,
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',
272 'default' => '0',
273 'add' => '4.3',
274 'title' => 'Include ICal Invite to Activity Assignees',
275 'is_domain' => 1,
276 'is_contact' => 0,
277 'description' => NULL,
278 'help_text' => NULL,
279 ),
280 'contact_autocomplete_options' => array(
281 'group_name' => 'CiviCRM Preferences',
282 'group' => 'core',
283 'name' => 'contact_autocomplete_options',
284 'type' => 'String',
285 'quick_form_type' => 'CheckBox',
286 'pseudoconstant' => array(
287 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
288 ),
289 'default' => '\ 11\ 12\ 1',
290 'add' => '4.1',
291 'title' => 'Autocomplete Contact Search',
292 'is_domain' => 1,
293 'is_contact' => 0,
294 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
295 'help_text' => NULL,
296 ),
297 'contact_reference_options' => array(
298 'group_name' => 'CiviCRM Preferences',
299 'group' => 'core',
300 'name' => 'contact_reference_options',
301 'type' => 'String',
302 'quick_form_type' => 'CheckBox',
303 'pseudoconstant' => array(
304 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
305 ),
306 'default' => '\ 11\ 12\ 1',
307 'add' => '4.1',
308 'title' => 'Contact Reference Options',
309 'is_domain' => 1,
310 'is_contact' => 0,
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.",
312 'help_text' => NULL,
313 ),
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 ),
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(
340 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
341 ),
342 'description' => 'Should the smart groups be by cron jobs or user actions',
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.',
344 ),
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 ),
360 'max_attachments' => array(
361 'group_name' => 'CiviCRM Preferences',
362 'group' => 'core',
363 'name' => 'max_attachments',
364 'legacy_key' => 'maxAttachments',
365 'type' => 'Integer',
366 'quick_form_type' => 'Element',
367 'html_type' => 'text',
368 'html_attributes' => array(
369 'size' => 2,
370 'maxlength' => 8,
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,
379 ),
380 'maxFileSize' => array(
381 'group_name' => 'CiviCRM Preferences',
382 'group' => 'core',
383 'name' => 'maxFileSize',
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.',
397 'help_text' => NULL,
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).',
411 'help_text' => NULL,
412 ),
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',
425 'help_text' => NULL,
426 ),
427 'securityAlert' => array(
428 'group_name' => 'CiviCRM Preferences',
429 'group' => 'core',
430 'name' => 'securityAlert',
431 'type' => 'Boolean',
432 'quick_form_type' => 'YesNo',
433 'default' => 1,
434 'add' => '4.4',
435 'title' => 'Status Alerts',
436 'is_domain' => 1,
437 'is_contact' => 0,
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.",
439 'help_text' => NULL,
440 ),
441 'doNotAttachPDFReceipt' => array(
442 'group_name' => 'CiviCRM Preferences',
443 'group' => 'core',
444 'name' => 'doNotAttachPDFReceipt',
445 'type' => 'Boolean',
446 'quick_form_type' => 'YesNo',
447 'default' => 0,
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.",
453 'help_text' => NULL,
454 ),
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',
466 'add' => '4.7',
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 ),
476 'wkhtmltopdfPath' => array(
477 'group_name' => 'CiviCRM Preferences',
478 'group' => 'core',
479 'name' => 'wkhtmltopdfPath',
480 'type' => 'String',
481 'quick_form_type' => 'Element',
482 'html_attributes' => array(
483 'size' => 64,
484 'maxlength' => 256,
485 ),
486 'html_type' => 'Text',
487 'default' => NULL,
488 'add' => '4.3',
489 'title' => 'Path to wkhtmltopdf executable',
490 'is_domain' => 1,
491 'is_contact' => 0,
492 'description' => NULL,
493 'help_text' => NULL,
494 ),
495 'recaptchaOptions' => array(
496 'group_name' => 'CiviCRM Preferences',
497 'group' => 'core',
498 'name' => 'recaptchaOptions',
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 ),
514 'recaptchaPublicKey' => array(
515 'group_name' => 'CiviCRM Preferences',
516 'group' => 'core',
517 'name' => 'recaptchaPublicKey',
518 'type' => 'String',
519 'quick_form_type' => 'Element',
520 'html_attributes' => array(
521 'size' => 64,
522 'maxlength' => 64,
523 ),
524 'html_type' => 'Text',
525 'default' => NULL,
526 'add' => '4.3',
527 'title' => 'Recaptcha Site Key',
528 'is_domain' => 1,
529 'is_contact' => 0,
530 'description' => NULL,
531 'help_text' => NULL,
532 ),
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 ),
548 'recaptchaPrivateKey' => array(
549 'group_name' => 'CiviCRM Preferences',
550 'group' => 'core',
551 'name' => 'recaptchaPrivateKey',
552 'type' => 'String',
553 'quick_form_type' => 'Element',
554 'html_attributes' => array(
555 'size' => 64,
556 'maxlength' => 64,
557 ),
558 'html_type' => 'Text',
559 'default' => NULL,
560 'add' => '4.3',
561 'title' => 'Recaptcha Secret Key',
562 'is_domain' => 1,
563 'is_contact' => 0,
564 'description' => NULL,
565 'help_text' => NULL,
566 ),
567 'checksum_timeout' => array(
568 'group_name' => 'CiviCRM Preferences',
569 'group' => 'core',
570 'name' => 'checksum_timeout',
571 'type' => 'Integer',
572 'quick_form_type' => 'Element',
573 'html_attributes' => array(
574 'size' => 2,
575 'maxlength' => 8,
576 ),
577 'html_type' => 'Text',
578 'default' => 7,
579 'add' => '4.3',
580 'title' => 'Checksum Lifespan',
581 'is_domain' => 1,
582 'is_contact' => 0,
583 'description' => NULL,
584 'help_text' => NULL,
585 ),
586 'blogUrl' => array(
587 'group_name' => 'CiviCRM Preferences',
588 'group' => 'core',
589 'name' => 'blogUrl',
590 'type' => 'String',
591 'quick_form_type' => 'Element',
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 ),
605 'communityMessagesUrl' => array(
606 'group_name' => 'CiviCRM Preferences',
607 'group' => 'core',
608 'name' => 'communityMessagesUrl',
609 'type' => 'String',
610 'quick_form_type' => 'Element',
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',
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',
641 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
642 ),
643 'resCacheCode' => array(
644 'group_name' => 'CiviCRM Preferences',
645 'group' => 'core',
646 'name' => 'resCacheCode',
647 'type' => 'String',
648 'quick_form_type' => 'Element',
649 'html_type' => 'text',
650 'default' => NULL,
651 'add' => '4.3',
652 'title' => 'resCacheCode',
653 'is_domain' => 1,
654 'is_contact' => 0,
655 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
656 'help_text' => NULL,
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',
666 'title' => 'Verify SSL?',
667 'is_domain' => 1,
668 'is_contact' => 0,
669 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
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 ),
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 ),
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',
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 ),
701 'secondDegRelPermissions' => array(
702 'group_name' => 'CiviCRM Preferences',
703 'group' => 'core',
704 'name' => 'secondDegRelPermissions',
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",
713 'help_text' => NULL,
714 ),
715 'enable_components' => array(
716 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
717 'group_name' => 'CiviCRM Preferences',
718 'group' => 'core',
719 'name' => 'enable_components',
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 ),
728 'default' => NULL,
729 'add' => '4.4',
730 'title' => 'Enable Components',
731 'is_domain' => '1',
732 'is_contact' => 0,
733 'description' => NULL,
734 'help_text' => NULL,
735 'on_change' => array(
736 'CRM_Case_Info::onToggleComponents',
737 'CRM_Core_Component::flushEnabledComponents',
738 'call://resources/resetCacheCode',
739 ),
740 ),
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 ),
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.',
767 'help_text' => NULL,
768 ),
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 ),
784 'logging' => array(
785 'add' => '4.7',
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 ),
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 ),
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 ),
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',
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 ),
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 ),
886 'site_id' => array(
887 'group_name' => 'CiviCRM Preferences',
888 'group' => 'core',
889 'name' => 'site_id',
890 'type' => 'String',
891 'quick_form_type' => 'Element',
892 'html_type' => 'text',
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 ),
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,
910 'maxlength' => 3,
911 ),
912 'default' => 20,
913 'add' => '4.7',
914 'title' => 'Size of "Recent Items" stack',
915 'is_domain' => 1,
916 'is_contact' => 0,
917 'description' => 'How many items should CiviCRM store in it\'s "Recently viewed" list.',
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(
939 'callback' => 'CRM_Utils_Recent::getProviders',
940 ),
941 ),
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 ),
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 ),
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 ),
985 'do_not_notify_assignees_for' => array(
986 'group_name' => 'CiviCRM Preferences',
987 'group' => 'core',
988 'name' => 'do_not_notify_assignees_for',
989 'type' => 'Array',
990 'add' => '4.7',
991 'is_domain' => 1,
992 'is_contact' => 0,
993 'default' => array(),
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',
997 'html_attributes' => array(
998 'multiple' => 1,
999 'class' => 'huge crm-select2',
1000 ),
1001 'pseudoconstant' => array(
1002 'optionGroupName' => 'activity_type',
1003 ),
1004 'quick_form_type' => 'Select',
1005 ),
1006 );