Merge pull request #5031 from eileenmcnaughton/infra-fix
[civicrm-core.git] / settings / Core.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2014 |
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-2014
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\ 110\ 111\ 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\ 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\ 19\ 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\ 14\ 15\ 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' => 'Text',
185 'default' => NULL,
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' => NULL,
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' => NULL,
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' => NULL,
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 'html_type' => 'checkboxes',
255 'pseudoconstant' => array(
256 'optionGroupName' => 'contact_autocomplete_options',
257 ),
258 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
259 'add' => '4.1',
260 'title' => 'Contact Reference Autocomplete Options',
261 'is_domain' => 1,
262 'is_contact' => 0,
263 'description' => NULL,
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 'html_type' => 'checkboxes',
272 'pseudoconstant' => array(
273 'optionGroupName' => 'contact_reference_options',
274 ),
275 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
276 'add' => '4.1',
277 'title' => 'Contact Reference Options',
278 'is_domain' => 1,
279 'is_contact' => 0,
280 'description' => NULL,
281 'help_text' => NULL,
282 ),
283 'max_attachments' => array(
284 'group_name' => 'CiviCRM Preferences',
285 'group' => 'core',
286 'name' => 'max_attachments',
287 'legacy_key' => 'maxAttachments',
288 'prefetch' => 0,
289 'type' => 'Integer',
290 'quick_form_type' => 'Element',
291 'html_type' => 'text',
292 'html_attributes' => array(
293 'size' => 2,
294 'maxlength' => 8,
295 ),
296 'default' => 3,
297 'add' => '4.3',
298 'title' => 'Maximum Attachments',
299 'is_domain' => 1,
300 'is_contact' => 0,
301 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
302 'help_text' => NULL,
303 ),
304 'maxFileSize' => array(
305 'group_name' => 'CiviCRM Preferences',
306 'group' => 'core',
307 'name' => 'maxFileSize',
308 'prefetch' => 1,
309 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
310 'config_only' => 1,
311 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
312 'type' => 'Integer',
313 'quick_form_type' => 'Element',
314 'html_type' => 'text',
315 'html_attributes' => array(
316 'size' => 2,
317 'maxlength' => 8,
318 ),
319 'default' => 3,
320 'add' => '4.3',
321 'title' => 'Maximum File Size (in MB)',
322 'is_domain' => 1,
323 'is_contact' => 0,
324 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
325 'help_text' => NULL,
326 ),
327 'contact_undelete' => array(
328 'group_name' => 'CiviCRM Preferences',
329 'group' => 'core',
330 'name' => 'contact_undelete',
331 'type' => 'Boolean',
332 'quick_form_type' => 'YesNo',
333 'default' => 1,
334 'add' => '4.3',
335 'title' => 'Contact Trash and Undelete',
336 'is_domain' => 1,
337 'is_contact' => 0,
338 '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).',
339 'help_text' => NULL,
340 ),
341 'allowPermDeleteFinancial' => array(
342 'group_name' => 'CiviCRM Preferences',
343 'group' => 'core',
344 'name' => 'allowPermDeleteFinancial',
345 'type' => 'Boolean',
346 'quick_form_type' => 'YesNo',
347 'default' => FALSE,
348 'add' => '4.3',
349 'title' => 'Contact Permanent Delete',
350 'is_domain' => 1,
351 'is_contact' => 0,
352 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
353 'help_text' => NULL,
354 ),
355 'versionAlert' => array(
356 'group_name' => 'CiviCRM Preferences',
357 'group' => 'core',
358 'name' => 'versionAlert',
359 'type' => 'Integer',
360 'quick_form_type' => 'Element',
361 'html_type' => 'select',
362 'option_values' => array(
363 ts('Disabled'),
364 ts('Display In Page Footer'),
365 ts('Display As Popup Alert'),
366 ts('Page Footer + Popup Alert'),
367 ),
368 'default' => 1,
369 'add' => '4.3',
370 'title' => 'New Version Alerts',
371 'is_domain' => 1,
372 'is_contact' => 0,
373 'description' => "",
374 'help_text' => NULL,
375 ),
376 'securityUpdateAlert' => array(
377 'group_name' => 'CiviCRM Preferences',
378 'group' => 'core',
379 'name' => 'securityUpdateAlert',
380 'type' => 'Integer',
381 'quick_form_type' => 'Element',
382 'html_type' => 'select',
383 'option_values' => array(
384 ts('Disabled'),
385 ts('Display In Page Footer'),
386 ts('Display As Popup Alert'),
387 ts('Page Footer + Popup Alert'),
388 ),
389 'default' => 3,
390 'add' => '4.6',
391 'title' => 'Security Update Alerts',
392 'is_domain' => 1,
393 'is_contact' => 0,
394 'description' => "",
395 'help_text' => NULL,
396 ),
397 'versionCheck' => array(
398 'group_name' => 'CiviCRM Preferences',
399 'group' => 'core',
400 'name' => 'versionCheck',
401 'type' => 'Boolean',
402 'quick_form_type' => 'YesNo',
403 'default' => 1,
404 'add' => '4.3',
405 'title' => 'Automatically Check for Updates',
406 'is_domain' => 1,
407 'is_contact' => 0,
408 'description' => "",
409 'help_text' => NULL,
410 ),
411 'versionCheckIgnoreDate' => array(
412 'group_name' => 'CiviCRM Preferences',
413 'group' => 'core',
414 'name' => 'versionCheckIgnoreDate',
415 'type' => 'String',
416 'quick_form_type' => 'Element',
417 'html_type' => 'text',
418 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
419 'default' => '',
420 'add' => '4.6',
421 'title' => 'Ignore Updates Prior to',
422 'is_domain' => 1,
423 'is_contact' => 0,
424 'description' => "",
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' => 'Security Audits',
436 'is_domain' => 1,
437 'is_contact' => 0,
438 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
439 'help_text' => NULL,
440 ),
441 'doNotAttachPDFReceipt' => array(
442 'group_name' => 'CiviCRM Preferences',
443 'group' => 'core',
444 'name' => 'doNotAttachPDFReceipt',
445 'prefetch' => 1,
446 // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
447 'config_only' => 1,
448 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
449 'type' => 'Boolean',
450 'quick_form_type' => 'YesNo',
451 'default' => 1,
452 'add' => '4.3',
453 'title' => 'Attach PDF copy to receipts',
454 'is_domain' => 1,
455 'is_contact' => 0,
456 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
457 'help_text' => NULL,
458 ),
459 'wkhtmltopdfPath' => array(
460 'group_name' => 'CiviCRM Preferences',
461 'group' => 'core',
462 'name' => 'wkhtmltopdfPath',
463 'prefetch' => 1,
464 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
465 'config_only' => 1,
466 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
467 'type' => 'String',
468 'quick_form_type' => 'Element',
469 'html_attributes' => array(
470 'size' => 64,
471 'maxlength' => 256,
472 ),
473 'html_type' => 'Text',
474 'default' => NULL,
475 'add' => '4.3',
476 'title' => 'Path to wkhtmltopdf executable',
477 'is_domain' => 1,
478 'is_contact' => 0,
479 'description' => NULL,
480 'help_text' => NULL,
481 ),
482 'recaptchaPublicKey' => array(
483 'group_name' => 'CiviCRM Preferences',
484 'group' => 'core',
485 'name' => 'recaptchaPublicKey',
486 'prefetch' => 1,
487 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
488 'config_only' => 1,
489 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
490 'type' => 'String',
491 'quick_form_type' => 'Element',
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 Public Key',
500 'is_domain' => 1,
501 'is_contact' => 0,
502 'description' => NULL,
503 'help_text' => NULL,
504 ),
505 'recaptchaPrivateKey' => array(
506 'group_name' => 'CiviCRM Preferences',
507 'group' => 'core',
508 'name' => 'recaptchaPrivateKey',
509 'prefetch' => 1,
510 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
511 'config_only' => 1,
512 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
513 'type' => 'String',
514 'quick_form_type' => 'Element',
515 'html_attributes' => array(
516 'size' => 64,
517 'maxlength' => 64,
518 ),
519 'html_type' => 'Text',
520 'default' => NULL,
521 'add' => '4.3',
522 'title' => 'Recaptcha Private Key',
523 'is_domain' => 1,
524 'is_contact' => 0,
525 'description' => NULL,
526 'help_text' => NULL,
527 ),
528 'dashboardCacheTimeout' => array(
529 'group_name' => 'CiviCRM Preferences',
530 'group' => 'core',
531 'name' => 'dashboardCacheTimeout',
532 'prefetch' => 1,
533 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
534 'config_only' => 1,
535 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
536 'type' => 'Integer',
537 'quick_form_type' => 'Element',
538 'html_attributes' => array(
539 'size' => 3,
540 'maxlength' => 5,
541 ),
542 'html_type' => 'Text',
543 'default' => NULL,
544 'add' => '4.3',
545 'title' => 'Dashboard cache timeout',
546 'is_domain' => 1,
547 'is_contact' => 0,
548 'description' => NULL,
549 'help_text' => NULL,
550 ),
551 'checksumTimeout' => array(
552 'group_name' => 'CiviCRM Preferences',
553 'group' => 'core',
554 'name' => 'checksumTimeout',
555 'prefetch' => 1,
556 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
557 'type' => 'Integer',
558 'quick_form_type' => 'Element',
559 'html_attributes' => array(
560 'size' => 2,
561 'maxlength' => 8,
562 ),
563 'html_type' => 'Text',
564 'default' => 7,
565 'add' => '4.3',
566 'title' => 'Checksum Lifespan',
567 'is_domain' => 1,
568 'is_contact' => 0,
569 'description' => NULL,
570 'help_text' => NULL,
571 ),
572 'blogUrl' => array(
573 'group_name' => 'CiviCRM Preferences',
574 'group' => 'core',
575 'name' => 'blogUrl',
576 'prefetch' => 0,
577 'type' => 'String',
578 'quick_form_type' => 'Element',
579 'html_attributes' => array(
580 'size' => 64,
581 'maxlength' => 128,
582 ),
583 'html_type' => 'Text',
584 'default' => '*default*',
585 'add' => '4.3',
586 'title' => 'Blog Feed URL',
587 'is_domain' => 1,
588 'is_contact' => 0,
589 'description' => 'Blog feed URL used by the blog dashlet',
590 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
591 ),
592 'communityMessagesUrl' => array(
593 'group_name' => 'CiviCRM Preferences',
594 'group' => 'core',
595 'name' => 'communityMessagesUrl',
596 'prefetch' => 0,
597 'type' => 'String',
598 'quick_form_type' => 'Element',
599 'html_attributes' => array(
600 'size' => 64,
601 'maxlength' => 128,
602 ),
603 'html_type' => 'Text',
604 'default' => '*default*',
605 'add' => '4.3',
606 'title' => 'Community Messages URL',
607 'is_domain' => 1,
608 'is_contact' => 0,
609 'description' => 'Service providing CiviCRM community messages',
610 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
611 ),
612 'resCacheCode' => array(
613 'group_name' => 'CiviCRM Preferences',
614 'group' => 'core',
615 'name' => 'resCacheCode',
616 'prefetch' => 1,
617 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
618 'config_only' => 1,
619 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
620 'type' => 'String',
621 'quick_form_type' => 'Element',
622 'html_attributes' => array(
623 'size' => 16,
624 'maxlength' => 16,
625 ),
626 'html_type' => 'Text',
627 'default' => NULL,
628 'add' => '4.3',
629 'title' => 'Resource Cache Code',
630 'is_domain' => 1,
631 'is_contact' => 0,
632 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
633 'help_text' => NULL,
634 ),
635 'verifySSL' => array(
636 'group_name' => 'CiviCRM Preferences',
637 'group' => 'core',
638 'name' => 'verifySSL',
639 'type' => 'Boolean',
640 'quick_form_type' => 'YesNo',
641 'default' => 1,
642 'add' => '4.3',
643 'title' => 'Verify SSL?',
644 'is_domain' => 1,
645 'is_contact' => 0,
646 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
647 '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',
648 ),
649 'wpBasePage' => array(
650 'group_name' => 'CiviCRM Preferences',
651 'group' => 'core',
652 'name' => 'wpBasePage',
653 'type' => 'String',
654 'html_type' => 'text',
655 'quick_form_type' => 'Element',
656 'prefetch' => 1,
657 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
658 'default' => '',
659 'add' => '4.3',
660 'title' => 'WordPress Base Page',
661 'is_domain' => 1,
662 'is_contact' => 0,
663 'description' => 'If set, CiviCRM will use this setting as the base url.',
664 '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.',
665 ),
666 'secondDegRelPermissions' => array(
667 'group_name' => 'CiviCRM Preferences',
668 'group' => 'core',
669 'name' => 'secondDegRelPermissions',
670 'prefetch' => 1,
671 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
672 'type' => 'Boolean',
673 'quick_form_type' => 'YesNo',
674 'default' => 0,
675 'add' => '4.3',
676 'title' => 'Allow second-degree relationship permissions',
677 'is_domain' => 1,
678 'is_contact' => 0,
679 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
680 'help_text' => NULL,
681 ),
682 'enable_components' => array(
683 'group_name' => 'CiviCRM Preferences',
684 'group' => 'core',
685 'name' => 'enable_components',
686 'type' => 'Array',
687 'quick_form_type' => 'Element',
688 'html_type' => 'advmultiselect',
689 'html_attributes' => array(
690 'size' => 5,
691 'style' => 'width:150px',
692 'class' => 'advmultiselect',
693 ),
694 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
695 'add' => '4.4',
696 'title' => 'Enable Components',
697 'is_domain' => '1',
698 'is_contact' => 0,
699 'description' => NULL,
700 'help_text' => NULL,
701 'on_change' => array(
702 array('CRM_Case_Info', 'onToggleComponents'),
703 array('CRM_Core_Component', 'flushEnabledComponents'),
704 ),
705 ),
706 'disable_core_css' => array(
707 'group_name' => 'CiviCRM Preferences',
708 'group' => 'core',
709 'name' => 'disable_core_css',
710 'type' => 'Boolean',
711 'quick_form_type' => 'YesNo',
712 'default' => '0',
713 'add' => '4.4',
714 'title' => 'Disable CiviCRM css',
715 'is_domain' => 1,
716 'is_contact' => 0,
717 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
718 'help_text' => NULL,
719 ),
720 'empoweredBy' => array(
721 'group_name' => 'CiviCRM Preferences',
722 'group' => 'core',
723 'name' => 'empoweredBy',
724 'prefetch' => 1,
725 // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'default' => 1,
729 'add' => '4.5',
730 'title' => 'Display "empowered by CiviCRM"',
731 'is_domain' => 1,
732 'is_contact' => 0,
733 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
734 'help_text' => NULL,
735 ),
736 );