Merge pull request #3238 from monishdeb/CRM-14424
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
f5721b07 4 | CiviCRM version 4.5 |
6a488035 5 +--------------------------------------------------------------------+
f5721b07 6 | Copyright CiviCRM LLC (c) 2004-2014 |
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 +--------------------------------------------------------------------+
26*/
27
28/**
29 *
30 * @package CRM
f5721b07 31 * @copyright CiviCRM LLC (c) 2004-2014
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
38return 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
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\ 110\ 111\ 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\ 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\ 19\ 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\ 14\ 15\ 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',
77d87f6e 129 'html_type' => 'TextArea',
6a488035
TO
130 '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}",
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.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' => null,
175 'is_domain' => 1,
176 'is_contact' => 0,
177 'description' => null,
178 'help_text' => null,
179 ),
180 'editor_id' => array(
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
183 'name' => 'editor_id',
184 'type' => 'String',
185 'html_type' => 'Text',
186 'default' => null,
187 'add' => '4.1',
188 'title' => null,
189 'is_domain' => 1,
190 'is_contact' => 0,
191 'description' => null,
192 'help_text' => null,
193 ),
194 'contact_ajax_check_similar' => array(
195 'group_name' => 'CiviCRM Preferences',
196 'group' => 'core',
197 'name' => 'contact_ajax_check_similar',
198 'type' => 'String',
199 'html_type' => 'Text',
200 'default' => null,
201 'add' => '4.1',
202 'title' => null,
203 'is_domain' => 1,
204 'is_contact' => 0,
205 'description' => null,
206 'help_text' => null,
f1cf499b 207 ),
53f2643c 208 'ajaxPopupsEnabled' => array(
f1cf499b
CW
209 'group_name' => 'CiviCRM Preferences',
210 'group' => 'core',
53f2643c 211 'name' => 'ajaxPopupsEnabled',
f1cf499b
CW
212 'type' => 'Boolean',
213 'quick_form_type' => 'YesNo',
214 'default' => 1,
215 'add' => '4.5',
216 'title' => null,
217 'is_domain' => 1,
218 'is_contact' => 0,
219 'description' => null,
220 'help_text' => null,
6a488035
TO
221 ),
222 'activity_assignee_notification' => array(
223 'group_name' => 'CiviCRM Preferences',
224 'group' => 'core',
225 'name' => 'activity_assignee_notification',
226 'type' => 'String',
227 'html_type' => 'Text',
228 'default' => null,
229 'add' => '4.1',
230 'title' => 'Notify Activity Assignees',
231 'is_domain' => 1,
232 'is_contact' => 0,
233 'description' => null,
234 'help_text' => null,
235 ),
236 'activity_assignee_notification_ics' => array(
237 'group_name' => 'CiviCRM Preferences',
238 'group' => 'core',
239 'name' => 'activity_assignee_notification_ics',
240 'type' => 'String',
241 'html_type' => 'Text',
242 'default' => null,
243 'add' => '4.3',
244 'title' => 'Include ICal Invite to Activity Assignees',
245 'is_domain' => 1,
246 'is_contact' => 0,
247 'description' => null,
248 'help_text' => null,
249 ),
250 'contact_autocomplete_options' => array(
251 'group_name' => 'CiviCRM Preferences',
252 'group' => 'core',
253 'name' => 'contact_autocomplete_options',
254 'type' => 'String',
255 'html_type' => 'checkboxes',
77d87f6e 256 'pseudoconstant' => array(
257 'optionGroupName' => 'contact_autocomplete_options',
258 ),
6a488035
TO
259 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
260 'add' => '4.1',
261 'title' => 'Contact Reference Autocomplete Options',
262 'is_domain' => 1,
263 'is_contact' => 0,
264 'description' => null,
265 'help_text' => null,
266 ),
267 'contact_reference_options' => array(
268 'group_name' => 'CiviCRM Preferences',
269 'group' => 'core',
270 'name' => 'contact_reference_options',
271 'type' => 'String',
272 'html_type' => 'checkboxes',
273 'pseudoconstant' => array(
274 'optionGroupName' => 'contact_reference_options',
275 ),
276 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
277 'add' => '4.1',
278 'title' => null,
279 'is_domain' => 1,
280 'is_contact' => 0,
281 'description' => null,
282 'help_text' => null,
283 ),
284 'max_attachments' => array(
285 'group_name' => 'CiviCRM Preferences',
286 'group' => 'core',
287 'name' => 'max_attachments',
288 'legacy_key' => 'maxAttachments',
289 'prefetch' => 0,
290 'type' => 'Integer',
291 'quick_form_type' => 'Element',
292 'html_type' => 'text',
293 'html_attributes' => array(
294 'size' => 2,
295 'maxlength' => 8,
296 ),
297 'default' => 3,
298 'add' => '4.3',
299 'title' => 'Maximum Attachments',
300 'is_domain' => 1,
301 'is_contact' => 0,
302 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
303 'help_text' => null,
304 ),
305 'maxFileSize' => array(
306 'group_name' => 'CiviCRM Preferences',
307 'group' => 'core',
308 'name' => 'maxFileSize',
309 'prefetch' => 1,
310 'config_only' => 1,
311 'type' => 'Integer',
312 'quick_form_type' => 'Element',
313 'html_type' => 'text',
314 'html_attributes' => array(
315 'size' => 2,
316 'maxlength' => 8,
317 ),
318 'default' => 3,
319 'add' => '4.3',
320 'title' => 'Maximum File Size (in MB)',
321 'is_domain' => 1,
322 'is_contact' => 0,
323 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
324 'help_text' => null,
325 ),
326 'contact_undelete' => array(
327 'group_name' => 'CiviCRM Preferences',
328 'group' => 'core',
329 'name' => 'contact_undelete',
330 'type' => 'Boolean',
331 'quick_form_type' => 'YesNo',
332 'default' => 1,
333 'add' => '4.3',
334 'title' => 'Contact Trash and Undelete',
335 'is_domain' => 1,
336 'is_contact' => 0,
337 '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).',
338 'help_text' => null,
339 ),
f182074e
PN
340 'allowPermDeleteFinancial' => array(
341 'group_name' => 'CiviCRM Preferences',
342 'group' => 'core',
343 'name' => 'allowPermDeleteFinancial',
344 'type' => 'Boolean',
345 'quick_form_type' => 'YesNo',
346 'default' => FALSE,
347 'add' => '4.3',
348 'title' => 'Contact Permanent Delete',
349 'is_domain' => 1,
350 'is_contact' => 0,
351 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
352 'help_text' => null,
353 ),
b7aba061
CW
354 'versionAlert' => array(
355 'group_name' => 'CiviCRM Preferences',
356 'group' => 'core',
357 'name' => 'versionAlert',
b7aba061
CW
358 'type' => 'Boolean',
359 'quick_form_type' => 'YesNo',
360 'default' => 1,
361 'add' => '4.3',
362 'title' => 'New Version Alerts',
363 'is_domain' => 1,
364 'is_contact' => 0,
365 'description' => 'Displays an on-screen alert to users with "Administer CiviCRM" permissions when a new version of CiviCRM is available. This setting will only work if the "Version Check & Statistics Reporting" setting is enabled.',
366 'help_text' => null,
367 ),
6a488035
TO
368 'versionCheck' => array(
369 'group_name' => 'CiviCRM Preferences',
370 'group' => 'core',
371 'name' => 'versionCheck',
372 'prefetch' => 1,
373 'config_only'=> 1,
374 'type' => 'Boolean',
375 'quick_form_type' => 'YesNo',
376 'default' => 1,
377 'add' => '4.3',
378 'title' => 'Version Check & Statistics Reporting',
379 'is_domain' => 1,
380 'is_contact' => 0,
381 'description' => "If enabled, CiviCRM automatically checks availablity of a newer version of the software. New version alerts will be displayed on the main CiviCRM Administration page.
382When enabled, statistics about your CiviCRM installation are reported anonymously to the CiviCRM team to assist in prioritizing ongoing development efforts. The following information is gathered: CiviCRM version, versions of PHP, MySQL and framework (Drupal/Joomla/standalone), and default language. Counts (but no actual data) of the following record types are reported: contacts, activities, cases, relationships, contributions, contribution pages, contribution products, contribution widgets, discounts, price sets, profiles, events, participants, tell-a-friend pages, grants, mailings, memberships, membership blocks, pledges, pledge blocks and active payment processor types.",
383 'help_text' => null,
384 ),
439a9f1b
TO
385 'securityAlert' => array(
386 'group_name' => 'CiviCRM Preferences',
387 'group' => 'core',
388 'name' => 'versionCheck',
389 'prefetch' => 0,
390 'config_only'=> 0,
391 'type' => 'Boolean',
392 'quick_form_type' => 'YesNo',
393 'default' => 1,
394 'add' => '4.4',
395 'title' => 'Security Alerts',
396 'is_domain' => 1,
397 'is_contact' => 0,
398 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
399 'help_text' => null,
400 ),
6a488035
TO
401 'doNotAttachPDFReceipt' => array(
402 'group_name' => 'CiviCRM Preferences',
403 'group' => 'core',
404 'name' => 'doNotAttachPDFReceipt',
405 'prefetch' => 1,
406 'config_only'=> 1,
407 'type' => 'Boolean',
408 'quick_form_type' => 'YesNo',
409 'default' => 1,
410 'add' => '4.3',
411 'title' => 'Attach PDF copy to receipts',
412 'is_domain' => 1,
413 'is_contact' => 0,
414 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
415 'help_text' => null,
416 ),
417 'wkhtmltopdfPath' => array(
418 'group_name' => 'CiviCRM Preferences',
419 'group' => 'core',
420 'name' => 'wkhtmltopdfPath',
421 'prefetch' => 1,
422 'config_only'=> 1,
423 'type' => 'String',
424 'quick_form_type' => 'Element',
425 'html_type' => 'text',
426 'html_attributes' => array(
427 'size' => 64,
428 'maxlength' => 256,
429 ),
430 'html_type' => 'Text',
431 'default' => null,
432 'add' => '4.3',
433 'title' => 'Path to wkhtmltopdf executable',
434 'is_domain' => 1,
435 'is_contact' => 0,
436 'description' => null,
437 'help_text' => null,
438 ),
439 'recaptchaPublicKey' => array(
440 'group_name' => 'CiviCRM Preferences',
441 'group' => 'core',
442 'name' => 'recaptchaPublicKey',
443 'prefetch' => 1,
444 'config_only'=> 1,
445 'type' => 'String',
446 'quick_form_type' => 'Element',
447 'html_type' => 'text',
448 'html_attributes' => array(
449 'size' => 64,
450 'maxlength' => 64,
451 ),
452 'html_type' => 'Text',
453 'default' => null,
454 'add' => '4.3',
455 'title' => 'Recaptcha Public Key',
456 'is_domain' => 1,
457 'is_contact' => 0,
458 'description' => null,
459 'help_text' => null,
460 ),
461 'recaptchaPrivateKey' => array(
462 'group_name' => 'CiviCRM Preferences',
463 'group' => 'core',
464 'name' => 'recaptchaPrivateKey',
465 'prefetch' => 1,
466 'config_only'=> 1,
467 'type' => 'String',
468 'quick_form_type' => 'Element',
469 'html_type' => 'text',
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 Private Key',
478 'is_domain' => 1,
479 'is_contact' => 0,
480 'description' => null,
481 'help_text' => null,
482 ),
483 'recaptchaPrivateKey' => array(
484 'group_name' => 'CiviCRM Preferences',
485 'group' => 'core',
486 'name' => 'recaptchaPrivateKey',
487 'prefetch' => 1,
488 'config_only'=> 1,
489 'type' => 'String',
490 'quick_form_type' => 'Element',
491 'html_type' => 'text',
492 'html_attributes' => array(
493 'size' => 64,
494 'maxlength' => 64,
495 ),
496 'html_type' => 'Text',
497 'default' => null,
498 'add' => '4.3',
499 'title' => 'Recaptcha Private Key',
500 'is_domain' => 1,
501 'is_contact' => 0,
502 'description' => null,
503 'help_text' => null,
504 ),
505 'dashboardCacheTimeout' => array(
506 'group_name' => 'CiviCRM Preferences',
507 'group' => 'core',
508 'name' => 'dashboardCacheTimeout',
509 'prefetch' => 1,
510 'config_only'=> 1,
511 'type' => 'Integer',
512 'quick_form_type' => 'Element',
513 'html_type' => 'text',
514 'html_attributes' => array(
515 'size' => 3,
516 'maxlength' => 5,
517 ),
518 'html_type' => 'Text',
519 'default' => null,
520 'add' => '4.3',
521 'title' => 'Dashboard cache timeout',
522 'is_domain' => 1,
523 'is_contact' => 0,
524 'description' => null,
525 'help_text' => null,
526 ),
527 'checksumTimeout' => array(
528 'group_name' => 'CiviCRM Preferences',
529 'group' => 'core',
530 'name' => 'checksumTimeout',
531 'prefetch' => 1,
532 'config_only'=> 1,
533 'type' => 'Integer',
534 'quick_form_type' => 'Element',
535 'html_type' => 'text',
536 'html_attributes' => array(
537 'size' => 2,
538 'maxlength' => 8,
539 ),
540 'html_type' => 'Text',
541 'default' => 7,
542 'add' => '4.3',
d5f1ee75 543 'title' => 'Checksum Lifespan',
6a488035
TO
544 'is_domain' => 1,
545 'is_contact' => 0,
546 'description' => null,
547 'help_text' => null,
548 ),
4b030206
TO
549 'blogUrl' => array(
550 'group_name' => 'CiviCRM Preferences',
551 'group' => 'core',
552 'name' => 'blogUrl',
553 'prefetch' => 0,
554 'config_only'=> 0,
555 'type' => 'String',
556 'quick_form_type' => 'Element',
557 'html_type' => 'text',
558 'html_attributes' => array(
559 'size' => 64,
560 'maxlength' => 128,
561 ),
562 'html_type' => 'Text',
563 'default' => '*default*',
564 'add' => '4.3',
565 'title' => 'Blog Feed URL',
566 'is_domain' => 1,
567 'is_contact' => 0,
568 'description' => 'Blog feed URL used by the blog dashlet',
569 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
570 ),
847c93ac
TO
571 'communityMessagesUrl' => array(
572 'group_name' => 'CiviCRM Preferences',
573 'group' => 'core',
574 'name' => 'communityMessagesUrl',
575 'prefetch' => 0,
576 'config_only'=> 1,
577 'type' => 'String',
578 'quick_form_type' => 'Element',
579 'html_type' => 'text',
580 'html_attributes' => array(
581 'size' => 64,
582 'maxlength' => 128,
583 ),
584 'html_type' => 'Text',
585 'default' => '*default*',
586 'add' => '4.3',
587 'title' => 'Community Messages URL',
588 'is_domain' => 1,
589 'is_contact' => 0,
590 'description' => 'Service providing CiviCRM community messages',
591 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
592 ),
6a488035
TO
593 'resCacheCode' => array(
594 'group_name' => 'CiviCRM Preferences',
595 'group' => 'core',
596 'name' => 'resCacheCode',
597 'prefetch' => 1,
598 'config_only'=> 1,
599 'type' => 'String',
600 'quick_form_type' => 'Element',
601 'html_type' => 'text',
602 'html_attributes' => array(
603 'size' => 16,
604 'maxlength' => 16,
605 ),
606 'html_type' => 'Text',
607 'default' => null,
608 'add' => '4.3',
609 'title' => 'Resource Cache Code',
610 'is_domain' => 1,
611 'is_contact' => 0,
612 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
613 'help_text' => null,
614 ),
615 'verifySSL' => array(
616 'group_name' => 'CiviCRM Preferences',
617 'group' => 'core',
618 'name' => 'verifySSL',
619 'type' => 'Boolean',
620 'quick_form_type' => 'YesNo',
621 'default' => 1,
622 'add' => '4.3',
623 'title' => '',
624 'is_domain' => 1,
625 'is_contact' => 0,
626 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
627 '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',
628 ),
94c11eeb
DL
629 'wpBasePage' => array(
630 'group_name' => 'CiviCRM Preferences',
631 'group' => 'core',
632 'name' => 'wpBasePage',
633 'type' => 'String',
634 'html_type' => 'text',
635 'quick_form_type' => 'Element',
636 'prefetch' => 1,
637 'default' => '',
638 'add' => '4.3',
639 'title' => 'WordPress Base Page',
640 'is_domain' => 1,
641 'is_contact' => 0,
642 'description' => 'If set, CiviCRM will use this setting as the base url.',
643 '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.',
644 ),
d5f1ee75
DG
645 'secondDegRelPermissions' => array(
646 'group_name' => 'CiviCRM Preferences',
647 'group' => 'core',
648 'name' => 'secondDegRelPermissions',
649 'prefetch' => 1,
650 'config_only'=> 1,
651 'type' => 'Boolean',
652 'quick_form_type' => 'YesNo',
653 'default' => 0,
654 'add' => '4.3',
655 'title' => 'Allow second-degree relationship permissions',
656 'is_domain' => 1,
657 'is_contact' => 0,
658 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
659 'help_text' => null,
660 ),
86eeab72
DS
661
662 'enable_components' => array(
663 'group_name' => 'CiviCRM Preferences',
664 'group' => 'core',
665 'name' => 'enable_components',
666 'type' => 'Array',
667 'quick_form_type' => 'Element',
668 'html_type' => 'advmultiselect',
669 'html_attributes' => array(
670 'size' => 5,
671 'style' => 'width:150px',
672 'class' => 'advmultiselect',
673 ),
64fea50a 674 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
86eeab72
DS
675 'add' => '4.4',
676 'title' => 'Enable Components',
677 'is_domain' => '1',
678 'is_contact' => 0,
679 'description' => null,
680 'help_text' => null,
2bc3bd8f 681 'on_change' => array(
b516fae1
TO
682 array('CRM_Case_Info', 'onToggleComponents'),
683 array('CRM_Core_Component', 'flushEnabledComponents'),
2bc3bd8f 684 ),
86eeab72 685 ),
14f20d22
CW
686
687 'disable_core_css' => array(
688 'group_name' => 'CiviCRM Preferences',
689 'group' => 'core',
690 'name' => 'disable_core_css',
691 'type' => 'Boolean',
692 'quick_form_type' => 'YesNo',
693 'default' => '0',
694 'add' => '4.4',
695 'title' => 'Disable CiviCRM css',
696 'is_domain' => 1,
697 'is_contact' => 0,
698 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
699 'help_text' => NULL,
700 ),
b7aba061 701);