CRM-18212 - Declare core setting `logging_no_trigger_permission`
[civicrm-core.git] / settings / Core.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2016 |
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-2016
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38 return array(
39 'contact_view_options' => array(
40 'group_name' => 'CiviCRM Preferences',
41 'group' => 'core',
42 'name' => 'contact_view_options',
43 'type' => 'String',
44 'html_type' => 'checkboxes',
45 'pseudoconstant' => array(
46 'optionGroupName' => 'contact_view_options',
47 ),
48 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
49 'add' => '4.1',
50 'title' => 'Viewing Contacts',
51 'is_domain' => '1',
52 'is_contact' => 0,
53 'description' => NULL,
54 'help_text' => NULL,
55 ),
56 'contact_edit_options' => array(
57 'group_name' => 'CiviCRM Preferences',
58 'group' => 'core',
59 'name' => 'contact_edit_options',
60 'type' => 'String',
61 'html_type' => 'checkboxes',
62 'pseudoconstant' => array(
63 'optionGroupName' => 'contact_edit_options',
64 ),
65 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
66 'add' => '4.1',
67 'title' => 'Editing Contacts',
68 'is_domain' => 1,
69 'is_contact' => 0,
70 'description' => NULL,
71 'help_text' => NULL,
72 ),
73 'advanced_search_options' => array(
74 'group_name' => 'CiviCRM Preferences',
75 'name' => 'advanced_search_options',
76 'type' => 'String',
77 'html_type' => 'checkboxes',
78 'pseudoconstant' => array(
79 'optionGroupName' => 'advanced_search_options',
80 ),
81 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
82 'add' => '4.1',
83 'title' => 'Contact Search',
84 'is_domain' => 1,
85 'is_contact' => 0,
86 'description' => NULL,
87 'help_text' => NULL,
88 ),
89 'user_dashboard_options' => array(
90 'group_name' => 'CiviCRM Preferences',
91 'group' => 'core',
92 'name' => 'user_dashboard_options',
93 'type' => 'String',
94 'html_type' => 'checkboxes',
95 'pseudoconstant' => array(
96 'optionGroupName' => 'user_dashboard_options',
97 ),
98 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
99 'add' => '4.1',
100 'title' => 'Contact Dashboard',
101 'is_domain' => 1,
102 'is_contact' => 0,
103 'description' => NULL,
104 'help_text' => NULL,
105 ),
106 'address_options' => array(
107 'group_name' => 'CiviCRM Preferences',
108 'group' => 'core',
109 'name' => 'address_options',
110 'type' => 'String',
111 'html_type' => 'Text',
112 'pseudoconstant' => array(
113 'optionGroupName' => 'address_options',
114 ),
115 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
116 'add' => '4.1',
117 'title' => 'Addressing Options',
118 'is_domain' => 1,
119 'is_contact' => 0,
120 'description' => NULL,
121 'help_text' => NULL,
122 ),
123 'address_format' => array(
124 'group_name' => 'CiviCRM Preferences',
125 'group' => 'core',
126 'name' => 'address_format',
127 'type' => 'String',
128 'html_type' => 'TextArea',
129 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
130 'add' => '4.1',
131 'title' => 'Address Format',
132 'is_domain' => 1,
133 'is_contact' => 0,
134 'description' => NULL,
135 'help_text' => NULL,
136 ),
137 'mailing_format' => array(
138 'group_name' => 'CiviCRM Preferences',
139 'group' => 'core',
140 'name' => 'mailing_format',
141 'type' => 'String',
142 'html_type' => 'Text',
143 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
144 'add' => '4.1',
145 'title' => 'Mailing Format',
146 'is_domain' => 1,
147 'is_contact' => 0,
148 'description' => NULL,
149 'help_text' => NULL,
150 ),
151 'display_name_format' => array(
152 'group_name' => 'CiviCRM Preferences',
153 'group' => 'core',
154 'name' => 'display_name_format',
155 'type' => 'String',
156 'html_type' => 'Text',
157 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
158 'add' => '4.1',
159 'title' => 'Display Name Format',
160 'is_domain' => 1,
161 'is_contact' => 0,
162 'description' => NULL,
163 'help_text' => NULL,
164 ),
165 'sort_name_format' => array(
166 'group_name' => 'CiviCRM Preferences',
167 'group' => 'core',
168 'name' => 'sort_name_format',
169 'type' => 'String',
170 'html_type' => 'Text',
171 'default' => '{contact.last_name}{, }{contact.first_name}',
172 'add' => '4.1',
173 'title' => 'Sort Name Format',
174 'is_domain' => 1,
175 'is_contact' => 0,
176 'description' => NULL,
177 'help_text' => NULL,
178 ),
179 'editor_id' => array(
180 'group_name' => 'CiviCRM Preferences',
181 'group' => 'core',
182 'name' => 'editor_id',
183 'type' => 'String',
184 'html_type' => 'Select',
185 'default' => 'CKEditor',
186 'add' => '4.1',
187 'title' => 'Wysiwig Editor',
188 'is_domain' => 1,
189 'is_contact' => 0,
190 'description' => NULL,
191 'help_text' => NULL,
192 ),
193 'contact_ajax_check_similar' => array(
194 'group_name' => 'CiviCRM Preferences',
195 'group' => 'core',
196 'name' => 'contact_ajax_check_similar',
197 'type' => 'String',
198 'html_type' => 'Text',
199 'default' => '1',
200 'add' => '4.1',
201 'title' => 'Ajax Check Similar',
202 'is_domain' => 1,
203 'is_contact' => 0,
204 'description' => NULL,
205 'help_text' => NULL,
206 ),
207 'ajaxPopupsEnabled' => array(
208 'group_name' => 'CiviCRM Preferences',
209 'group' => 'core',
210 'name' => 'ajaxPopupsEnabled',
211 'type' => 'Boolean',
212 'quick_form_type' => 'YesNo',
213 'default' => 1,
214 'add' => '4.5',
215 'title' => 'Ajax Popups Enabled',
216 'is_domain' => 1,
217 'is_contact' => 0,
218 'description' => NULL,
219 'help_text' => NULL,
220 ),
221 'activity_assignee_notification' => array(
222 'group_name' => 'CiviCRM Preferences',
223 'group' => 'core',
224 'name' => 'activity_assignee_notification',
225 'type' => 'String',
226 'html_type' => 'Text',
227 'default' => '1',
228 'add' => '4.1',
229 'title' => 'Notify Activity Assignees',
230 'is_domain' => 1,
231 'is_contact' => 0,
232 'description' => NULL,
233 'help_text' => NULL,
234 ),
235 'activity_assignee_notification_ics' => array(
236 'group_name' => 'CiviCRM Preferences',
237 'group' => 'core',
238 'name' => 'activity_assignee_notification_ics',
239 'type' => 'String',
240 'html_type' => 'Text',
241 'default' => '0',
242 'add' => '4.3',
243 'title' => 'Include ICal Invite to Activity Assignees',
244 'is_domain' => 1,
245 'is_contact' => 0,
246 'description' => NULL,
247 'help_text' => NULL,
248 ),
249 'contact_autocomplete_options' => array(
250 'group_name' => 'CiviCRM Preferences',
251 'group' => 'core',
252 'name' => 'contact_autocomplete_options',
253 'type' => 'String',
254 'quick_form_type' => 'CheckBox',
255 'pseudoconstant' => array(
256 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
257 ),
258 'default' => '\ 11\ 12\ 1',
259 'add' => '4.1',
260 'title' => 'Autocomplete Contact Search',
261 'is_domain' => 1,
262 'is_contact' => 0,
263 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
264 'help_text' => NULL,
265 ),
266 'contact_reference_options' => array(
267 'group_name' => 'CiviCRM Preferences',
268 'group' => 'core',
269 'name' => 'contact_reference_options',
270 'type' => 'String',
271 'quick_form_type' => 'CheckBox',
272 'pseudoconstant' => array(
273 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
274 ),
275 'default' => '\ 11\ 12\ 1',
276 'add' => '4.1',
277 'title' => 'Contact Reference Options',
278 'is_domain' => 1,
279 'is_contact' => 0,
280 '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.",
281 'help_text' => NULL,
282 ),
283 'contact_smart_group_display' => array(
284 'group_name' => 'CiviCRM Preferences',
285 'group' => 'core',
286 'name' => 'contact_smart_group_display',
287 'type' => 'String',
288 'html_type' => 'radio',
289 'default' => '1',
290 'add' => '4.7',
291 'title' => ts('Viewing Smart Groups'),
292 'is_domain' => 1,
293 'is_contact' => 0,
294 'description' => NULL,
295 'help_text' => NULL,
296 ),
297 'installed' => array(
298 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
299 'group_name' => 'CiviCRM Preferences',
300 'group' => 'core',
301 'name' => 'installed',
302 'type' => 'Boolean',
303 'quick_form_type' => 'YesNo',
304 'default' => FALSE,
305 'add' => '4.7',
306 'title' => 'System Installed',
307 'is_domain' => 1,
308 'is_contact' => 0,
309 'description' => 'A flag indicating whether this system has run a post-installation routine',
310 'help_text' => NULL,
311 ),
312 'max_attachments' => array(
313 'group_name' => 'CiviCRM Preferences',
314 'group' => 'core',
315 'name' => 'max_attachments',
316 'legacy_key' => 'maxAttachments',
317 'type' => 'Integer',
318 'quick_form_type' => 'Element',
319 'html_type' => 'text',
320 'html_attributes' => array(
321 'size' => 2,
322 'maxlength' => 8,
323 ),
324 'default' => 3,
325 'add' => '4.3',
326 'title' => 'Maximum Attachments',
327 'is_domain' => 1,
328 'is_contact' => 0,
329 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
330 'help_text' => NULL,
331 ),
332 'maxFileSize' => array(
333 'group_name' => 'CiviCRM Preferences',
334 'group' => 'core',
335 'name' => 'maxFileSize',
336 'type' => 'Integer',
337 'quick_form_type' => 'Element',
338 'html_type' => 'text',
339 'html_attributes' => array(
340 'size' => 2,
341 'maxlength' => 8,
342 ),
343 'default' => 3,
344 'add' => '4.3',
345 'title' => 'Maximum File Size (in MB)',
346 'is_domain' => 1,
347 'is_contact' => 0,
348 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
349 'help_text' => NULL,
350 ),
351 'contact_undelete' => array(
352 'group_name' => 'CiviCRM Preferences',
353 'group' => 'core',
354 'name' => 'contact_undelete',
355 'type' => 'Boolean',
356 'quick_form_type' => 'YesNo',
357 'default' => 1,
358 'add' => '4.3',
359 'title' => 'Contact Trash and Undelete',
360 'is_domain' => 1,
361 'is_contact' => 0,
362 '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).',
363 'help_text' => NULL,
364 ),
365 'allowPermDeleteFinancial' => array(
366 'group_name' => 'CiviCRM Preferences',
367 'group' => 'core',
368 'name' => 'allowPermDeleteFinancial',
369 'type' => 'Boolean',
370 'quick_form_type' => 'YesNo',
371 'default' => FALSE,
372 'add' => '4.3',
373 'title' => 'Contact Permanent Delete',
374 'is_domain' => 1,
375 'is_contact' => 0,
376 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
377 'help_text' => NULL,
378 ),
379 'securityAlert' => array(
380 'group_name' => 'CiviCRM Preferences',
381 'group' => 'core',
382 'name' => 'securityAlert',
383 'type' => 'Boolean',
384 'quick_form_type' => 'YesNo',
385 'default' => 1,
386 'add' => '4.4',
387 'title' => 'Status Alerts',
388 'is_domain' => 1,
389 'is_contact' => 0,
390 '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.",
391 'help_text' => NULL,
392 ),
393 'doNotAttachPDFReceipt' => array(
394 'group_name' => 'CiviCRM Preferences',
395 'group' => 'core',
396 'name' => 'doNotAttachPDFReceipt',
397 'type' => 'Boolean',
398 'quick_form_type' => 'YesNo',
399 'default' => 0,
400 'add' => '4.3',
401 'title' => 'Attach PDF copy to receipts',
402 'is_domain' => 1,
403 'is_contact' => 0,
404 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
405 'help_text' => NULL,
406 ),
407 'wkhtmltopdfPath' => array(
408 'group_name' => 'CiviCRM Preferences',
409 'group' => 'core',
410 'name' => 'wkhtmltopdfPath',
411 'type' => 'String',
412 'quick_form_type' => 'Element',
413 'html_attributes' => array(
414 'size' => 64,
415 'maxlength' => 256,
416 ),
417 'html_type' => 'Text',
418 'default' => NULL,
419 'add' => '4.3',
420 'title' => 'Path to wkhtmltopdf executable',
421 'is_domain' => 1,
422 'is_contact' => 0,
423 'description' => NULL,
424 'help_text' => NULL,
425 ),
426 'recaptchaOptions' => array(
427 'group_name' => 'CiviCRM Preferences',
428 'group' => 'core',
429 'name' => 'recaptchaOptions',
430 'type' => 'String',
431 'quick_form_type' => 'Element',
432 'html_attributes' => array(
433 'size' => 64,
434 'maxlength' => 64,
435 ),
436 'html_type' => 'Text',
437 'default' => NULL,
438 'add' => '4.3',
439 'title' => 'Recaptcha Options',
440 'is_domain' => 1,
441 'is_contact' => 0,
442 '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>.',
443 'help_text' => NULL,
444 ),
445 'recaptchaPublicKey' => array(
446 'group_name' => 'CiviCRM Preferences',
447 'group' => 'core',
448 'name' => 'recaptchaPublicKey',
449 'type' => 'String',
450 'quick_form_type' => 'Element',
451 'html_attributes' => array(
452 'size' => 64,
453 'maxlength' => 64,
454 ),
455 'html_type' => 'Text',
456 'default' => NULL,
457 'add' => '4.3',
458 'title' => 'Recaptcha Site Key',
459 'is_domain' => 1,
460 'is_contact' => 0,
461 'description' => NULL,
462 'help_text' => NULL,
463 ),
464 'recaptchaPrivateKey' => array(
465 'group_name' => 'CiviCRM Preferences',
466 'group' => 'core',
467 'name' => 'recaptchaPrivateKey',
468 'type' => 'String',
469 'quick_form_type' => 'Element',
470 'html_attributes' => array(
471 'size' => 64,
472 'maxlength' => 64,
473 ),
474 'html_type' => 'Text',
475 'default' => NULL,
476 'add' => '4.3',
477 'title' => 'Recaptcha Secret Key',
478 'is_domain' => 1,
479 'is_contact' => 0,
480 'description' => NULL,
481 'help_text' => NULL,
482 ),
483 'dashboardCacheTimeout' => array(
484 'group_name' => 'CiviCRM Preferences',
485 'group' => 'core',
486 'name' => 'dashboardCacheTimeout',
487 'type' => 'Integer',
488 'quick_form_type' => 'Element',
489 'html_attributes' => array(
490 'size' => 3,
491 'maxlength' => 5,
492 ),
493 'html_type' => 'Text',
494 'default' => NULL,
495 'add' => '4.3',
496 'title' => 'Dashboard cache timeout',
497 'is_domain' => 1,
498 'is_contact' => 0,
499 'description' => NULL,
500 'help_text' => NULL,
501 ),
502 'checksum_timeout' => array(
503 'group_name' => 'CiviCRM Preferences',
504 'group' => 'core',
505 'name' => 'checksum_timeout',
506 'type' => 'Integer',
507 'quick_form_type' => 'Element',
508 'html_attributes' => array(
509 'size' => 2,
510 'maxlength' => 8,
511 ),
512 'html_type' => 'Text',
513 'default' => 7,
514 'add' => '4.3',
515 'title' => 'Checksum Lifespan',
516 'is_domain' => 1,
517 'is_contact' => 0,
518 'description' => NULL,
519 'help_text' => NULL,
520 ),
521 'blogUrl' => array(
522 'group_name' => 'CiviCRM Preferences',
523 'group' => 'core',
524 'name' => 'blogUrl',
525 'type' => 'String',
526 'quick_form_type' => 'Element',
527 'html_attributes' => array(
528 'size' => 64,
529 'maxlength' => 128,
530 ),
531 'html_type' => 'Text',
532 'default' => '*default*',
533 'add' => '4.3',
534 'title' => 'Blog Feed URL',
535 'is_domain' => 1,
536 'is_contact' => 0,
537 'description' => 'Blog feed URL used by the blog dashlet',
538 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
539 ),
540 'communityMessagesUrl' => array(
541 'group_name' => 'CiviCRM Preferences',
542 'group' => 'core',
543 'name' => 'communityMessagesUrl',
544 'type' => 'String',
545 'quick_form_type' => 'Element',
546 'html_attributes' => array(
547 'size' => 64,
548 'maxlength' => 128,
549 ),
550 'html_type' => 'Text',
551 'default' => '*default*',
552 'add' => '4.3',
553 'title' => 'Community Messages URL',
554 'is_domain' => 1,
555 'is_contact' => 0,
556 'description' => 'Service providing CiviCRM community messages',
557 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
558 ),
559 'gettingStartedUrl' => array(
560 'group_name' => 'CiviCRM Preferences',
561 'group' => 'core',
562 'name' => 'gettingStartedUrl',
563 'type' => 'String',
564 'quick_form_type' => 'Element',
565 'html_attributes' => array(
566 'size' => 64,
567 'maxlength' => 128,
568 ),
569 'html_type' => 'Text',
570 'default' => '*default*',
571 'add' => '4.3',
572 'title' => 'Getting Started URL',
573 'is_domain' => 1,
574 'is_contact' => 0,
575 'description' => 'Service providing the Getting Started data',
576 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
577 ),
578 'resCacheCode' => array(
579 'group_name' => 'CiviCRM Preferences',
580 'group' => 'core',
581 'name' => 'resCacheCode',
582 'type' => 'String',
583 'default' => NULL,
584 'add' => '4.3',
585 'title' => 'resCacheCode',
586 'is_domain' => 1,
587 'is_contact' => 0,
588 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
589 'help_text' => NULL,
590 ),
591 'verifySSL' => array(
592 'group_name' => 'CiviCRM Preferences',
593 'group' => 'core',
594 'name' => 'verifySSL',
595 'type' => 'Boolean',
596 'quick_form_type' => 'YesNo',
597 'default' => 1,
598 'add' => '4.3',
599 'title' => 'Verify SSL?',
600 'is_domain' => 1,
601 'is_contact' => 0,
602 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
603 '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',
604 ),
605 'enableSSL' => array(
606 'group_name' => 'CiviCRM Preferences',
607 'group' => 'core',
608 'name' => 'enableSSL',
609 'type' => 'Boolean',
610 'quick_form_type' => 'YesNo',
611 'default' => 0,
612 'add' => '4.5',
613 'title' => 'Force SSL?',
614 'is_domain' => 1,
615 'is_contact' => 0,
616 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
617 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
618 ),
619 'wpBasePage' => array(
620 'group_name' => 'CiviCRM Preferences',
621 'group' => 'core',
622 'name' => 'wpBasePage',
623 'type' => 'String',
624 'html_type' => 'text',
625 'quick_form_type' => 'Element',
626 'default' => '',
627 'add' => '4.3',
628 'title' => 'WordPress Base Page',
629 'is_domain' => 1,
630 'is_contact' => 0,
631 'description' => 'If set, CiviCRM will use this setting as the base url.',
632 '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.',
633 ),
634 'secondDegRelPermissions' => array(
635 'group_name' => 'CiviCRM Preferences',
636 'group' => 'core',
637 'name' => 'secondDegRelPermissions',
638 'type' => 'Boolean',
639 'quick_form_type' => 'YesNo',
640 'default' => 0,
641 'add' => '4.3',
642 'title' => 'Allow second-degree relationship permissions',
643 'is_domain' => 1,
644 'is_contact' => 0,
645 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
646 'help_text' => NULL,
647 ),
648 'enable_components' => array(
649 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
650 'group_name' => 'CiviCRM Preferences',
651 'group' => 'core',
652 'name' => 'enable_components',
653 'type' => 'Array',
654 'quick_form_type' => 'Element',
655 'html_type' => 'advmultiselect',
656 'html_attributes' => array(
657 'size' => 5,
658 'style' => 'width:150px',
659 'class' => 'advmultiselect',
660 ),
661 'default' => NULL,
662 'add' => '4.4',
663 'title' => 'Enable Components',
664 'is_domain' => '1',
665 'is_contact' => 0,
666 'description' => NULL,
667 'help_text' => NULL,
668 'on_change' => array(
669 'CRM_Case_Info::onToggleComponents',
670 'CRM_Core_Component::flushEnabledComponents',
671 'call://resources/resetCacheCode',
672 ),
673 ),
674 'disable_core_css' => array(
675 'group_name' => 'CiviCRM Preferences',
676 'group' => 'core',
677 'name' => 'disable_core_css',
678 'type' => 'Boolean',
679 'quick_form_type' => 'YesNo',
680 'default' => '0',
681 'add' => '4.4',
682 'title' => 'Disable CiviCRM css',
683 'is_domain' => 1,
684 'is_contact' => 0,
685 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
686 'help_text' => NULL,
687 ),
688 'empoweredBy' => array(
689 'group_name' => 'CiviCRM Preferences',
690 'group' => 'core',
691 'name' => 'empoweredBy',
692 'type' => 'Boolean',
693 'quick_form_type' => 'YesNo',
694 'default' => 1,
695 'add' => '4.5',
696 'title' => 'Display "empowered by CiviCRM"',
697 'is_domain' => 1,
698 'is_contact' => 0,
699 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
700 'help_text' => NULL,
701 ),
702 'logging_no_trigger_permission' => array(
703 'add' => '4.7',
704 'is_domain' => 1,
705 'is_contact' => 0,
706 'group_name' => 'CiviCRM Preferences',
707 'group' => 'core',
708 '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.'),
709 'name' => 'logging_no_trigger_permission',
710 'type' => 'Boolean',
711 'quick_form_type' => 'YesNo',
712 'html_type' => '',
713 'default' => 0,
714 'title' => '(EXPERIMENTAL) MySQL user does not have trigger permissions',
715 'description' => 'Set this when you intend to manage trigger creation outside of CiviCRM',
716 ),
717 'logging' => array(
718 'add' => '4.7',
719 'help_text' => NULL,
720 'is_domain' => 1,
721 'is_contact' => 0,
722 'group_name' => 'CiviCRM Preferences',
723 'group' => 'core',
724 'name' => 'logging',
725 'type' => 'Boolean',
726 'quick_form_type' => 'YesNo',
727 'html_type' => '',
728 'default' => '0',
729 'title' => 'Logging',
730 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
731 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
732 'on_change' => array(
733 'CRM_Logging_Schema::onToggle',
734 ),
735 ),
736 'userFrameworkUsersTableName' => array(
737 'add' => '4.7',
738 'help_text' => NULL,
739 'is_domain' => 1,
740 'is_contact' => 0,
741 'group_name' => 'CiviCRM Preferences',
742 'group' => 'core',
743 'name' => 'userFrameworkUsersTableName',
744 'type' => 'String',
745 'quick_form_type' => 'Element',
746 'html_type' => 'text',
747 'html_attributes' => array(
748 'size' => '32',
749 'maxlength' => '64',
750 ),
751 'default' => NULL,
752 'title' => 'Drupal Users Table Name',
753 'description' => '',
754 ),
755 'wpLoadPhp' => array(
756 'group_name' => 'CiviCRM Preferences',
757 'group' => 'core',
758 'name' => 'wpLoadPhp',
759 'type' => 'String',
760 'html_type' => 'text',
761 'quick_form_type' => 'Element',
762 'default' => '',
763 'add' => '4.6',
764 'title' => 'WordPress Path to wp-load.php',
765 'is_domain' => 1,
766 'is_contact' => 0,
767 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
768 'help_text' => NULL,
769 ),
770 'site_id' => array(
771 'group_name' => 'CiviCRM Preferences',
772 'group' => 'core',
773 'name' => 'site_id',
774 'type' => 'String',
775 'default' => '',
776 'add' => '4.6',
777 'title' => 'Unique Site ID',
778 'is_domain' => 1,
779 'is_contact' => 0,
780 'description' => NULL,
781 'help_text' => NULL,
782 ),
783 'systemStatusCheckResult' => array(
784 'group_name' => 'CiviCRM Preferences',
785 'group' => 'core',
786 'name' => 'systemStatusCheckResult',
787 'type' => 'Integer',
788 'default' => 0,
789 'add' => '4.7',
790 'title' => 'systemStatusCheckResult',
791 'is_domain' => 1,
792 'is_contact' => 0,
793 'description' => NULL,
794 'help_text' => NULL,
795 ),
796 );