SettingsManager::getSystemDefaults() - Return defaults even for critical boot settings
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
81621fee 4 | CiviCRM version 4.7 |
6a488035 5 +--------------------------------------------------------------------+
e7112fa7 6 | Copyright CiviCRM LLC (c) 2004-2015 |
6a488035
TO
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
e7112fa7 31 * @copyright CiviCRM LLC (c) 2004-2015
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
08e57c58 38return array(
6a488035
TO
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,
08e57c58
TO
53 'description' => NULL,
54 'help_text' => NULL,
6a488035 55 ),
6a488035
TO
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 ),
007e3bdc 65 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035
TO
66 'add' => '4.1',
67 'title' => 'Editing Contacts',
68 'is_domain' => 1,
69 'is_contact' => 0,
08e57c58 70 'description' => NULL,
56fdfc52 71 'help_text' => NULL,
6a488035
TO
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 ),
007e3bdc 81 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035
TO
82 'add' => '4.1',
83 'title' => 'Contact Search',
84 'is_domain' => 1,
85 'is_contact' => 0,
08e57c58
TO
86 'description' => NULL,
87 'help_text' => NULL,
6a488035 88 ),
56fdfc52 89 'user_dashboard_options' => array(
6a488035
TO
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',
56fdfc52 97 ),
007e3bdc 98 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035
TO
99 'add' => '4.1',
100 'title' => 'Contact Dashboard',
101 'is_domain' => 1,
102 'is_contact' => 0,
08e57c58 103 'description' => NULL,
56fdfc52 104 'help_text' => NULL,
6a488035
TO
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 ),
007e3bdc 115 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
6a488035
TO
116 'add' => '4.1',
117 'title' => 'Addressing Options',
118 'is_domain' => 1,
119 'is_contact' => 0,
08e57c58
TO
120 'description' => NULL,
121 'help_text' => NULL,
6a488035
TO
122 ),
123 'address_format' => array(
124 'group_name' => 'CiviCRM Preferences',
125 'group' => 'core',
126 'name' => 'address_format',
127 'type' => 'String',
77d87f6e 128 'html_type' => 'TextArea',
6a488035
TO
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,
08e57c58 134 'description' => NULL,
56fdfc52 135 'help_text' => NULL,
6a488035
TO
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,
08e57c58 148 'description' => NULL,
56fdfc52 149 'help_text' => NULL,
6a488035
TO
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,
08e57c58
TO
162 'description' => NULL,
163 'help_text' => NULL,
6a488035
TO
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',
66f90900 173 'title' => 'Sort Name Format',
6a488035
TO
174 'is_domain' => 1,
175 'is_contact' => 0,
08e57c58 176 'description' => NULL,
56fdfc52 177 'help_text' => NULL,
6a488035
TO
178 ),
179 'editor_id' => array(
180 'group_name' => 'CiviCRM Preferences',
181 'group' => 'core',
182 'name' => 'editor_id',
183 'type' => 'String',
72f03b4f
CW
184 'html_type' => 'Select',
185 'default' => 'CKEditor',
6a488035 186 'add' => '4.1',
66f90900 187 'title' => 'Wysiwig Editor',
6a488035
TO
188 'is_domain' => 1,
189 'is_contact' => 0,
08e57c58
TO
190 'description' => NULL,
191 'help_text' => NULL,
6a488035
TO
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',
007e3bdc 199 'default' => '1',
6a488035 200 'add' => '4.1',
66f90900 201 'title' => 'Ajax Check Similar',
6a488035
TO
202 'is_domain' => 1,
203 'is_contact' => 0,
08e57c58
TO
204 'description' => NULL,
205 'help_text' => NULL,
f1cf499b 206 ),
53f2643c 207 'ajaxPopupsEnabled' => array(
f1cf499b
CW
208 'group_name' => 'CiviCRM Preferences',
209 'group' => 'core',
53f2643c 210 'name' => 'ajaxPopupsEnabled',
f1cf499b
CW
211 'type' => 'Boolean',
212 'quick_form_type' => 'YesNo',
213 'default' => 1,
214 'add' => '4.5',
66f90900 215 'title' => 'Ajax Popups Enabled',
f1cf499b
CW
216 'is_domain' => 1,
217 'is_contact' => 0,
08e57c58
TO
218 'description' => NULL,
219 'help_text' => NULL,
6a488035
TO
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',
007e3bdc 227 'default' => '1',
6a488035
TO
228 'add' => '4.1',
229 'title' => 'Notify Activity Assignees',
230 'is_domain' => 1,
231 'is_contact' => 0,
08e57c58 232 'description' => NULL,
56fdfc52 233 'help_text' => NULL,
6a488035
TO
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',
007e3bdc 241 'default' => '0',
6a488035
TO
242 'add' => '4.3',
243 'title' => 'Include ICal Invite to Activity Assignees',
244 'is_domain' => 1,
245 'is_contact' => 0,
08e57c58 246 'description' => NULL,
56fdfc52 247 'help_text' => NULL,
6a488035
TO
248 ),
249 'contact_autocomplete_options' => array(
250 'group_name' => 'CiviCRM Preferences',
251 'group' => 'core',
252 'name' => 'contact_autocomplete_options',
253 'type' => 'String',
d434f797 254 'quick_form_type' => 'CheckBox',
77d87f6e 255 'pseudoconstant' => array(
d434f797 256 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
77d87f6e 257 ),
d434f797 258 'default' => '\ 11\ 12\ 1',
6a488035 259 'add' => '4.1',
d434f797 260 'title' => 'Autocomplete Contact Search',
6a488035
TO
261 'is_domain' => 1,
262 'is_contact' => 0,
d434f797 263 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
56fdfc52 264 'help_text' => NULL,
6a488035
TO
265 ),
266 'contact_reference_options' => array(
267 'group_name' => 'CiviCRM Preferences',
268 'group' => 'core',
269 'name' => 'contact_reference_options',
270 'type' => 'String',
d434f797 271 'quick_form_type' => 'CheckBox',
6a488035 272 'pseudoconstant' => array(
d434f797 273 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
6a488035 274 ),
d434f797 275 'default' => '\ 11\ 12\ 1',
6a488035 276 'add' => '4.1',
66f90900 277 'title' => 'Contact Reference Options',
6a488035
TO
278 'is_domain' => 1,
279 'is_contact' => 0,
d434f797 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.",
56fdfc52 281 'help_text' => NULL,
6a488035 282 ),
007e3bdc
TO
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 ),
6a488035
TO
297 'max_attachments' => array(
298 'group_name' => 'CiviCRM Preferences',
299 'group' => 'core',
300 'name' => 'max_attachments',
301 'legacy_key' => 'maxAttachments',
6a488035
TO
302 'type' => 'Integer',
303 'quick_form_type' => 'Element',
304 'html_type' => 'text',
305 'html_attributes' => array(
306 'size' => 2,
307 'maxlength' => 8,
56fdfc52
TO
308 ),
309 'default' => 3,
310 'add' => '4.3',
311 'title' => 'Maximum Attachments',
312 'is_domain' => 1,
313 'is_contact' => 0,
314 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
315 'help_text' => NULL,
6a488035
TO
316 ),
317 'maxFileSize' => array(
318 'group_name' => 'CiviCRM Preferences',
319 'group' => 'core',
320 'name' => 'maxFileSize',
6a488035
TO
321 'type' => 'Integer',
322 'quick_form_type' => 'Element',
323 'html_type' => 'text',
324 'html_attributes' => array(
325 'size' => 2,
326 'maxlength' => 8,
327 ),
328 'default' => 3,
329 'add' => '4.3',
330 'title' => 'Maximum File Size (in MB)',
331 'is_domain' => 1,
332 'is_contact' => 0,
333 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
08e57c58 334 'help_text' => NULL,
6a488035
TO
335 ),
336 'contact_undelete' => array(
337 'group_name' => 'CiviCRM Preferences',
338 'group' => 'core',
339 'name' => 'contact_undelete',
340 'type' => 'Boolean',
341 'quick_form_type' => 'YesNo',
342 'default' => 1,
343 'add' => '4.3',
344 'title' => 'Contact Trash and Undelete',
345 'is_domain' => 1,
346 'is_contact' => 0,
347 'description' => 'If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).',
08e57c58 348 'help_text' => NULL,
6a488035 349 ),
f182074e
PN
350 'allowPermDeleteFinancial' => array(
351 'group_name' => 'CiviCRM Preferences',
352 'group' => 'core',
353 'name' => 'allowPermDeleteFinancial',
354 'type' => 'Boolean',
355 'quick_form_type' => 'YesNo',
356 'default' => FALSE,
357 'add' => '4.3',
358 'title' => 'Contact Permanent Delete',
359 'is_domain' => 1,
360 'is_contact' => 0,
361 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
08e57c58 362 'help_text' => NULL,
f182074e 363 ),
b7aba061
CW
364 'versionAlert' => array(
365 'group_name' => 'CiviCRM Preferences',
366 'group' => 'core',
367 'name' => 'versionAlert',
06576a03
AH
368 'type' => 'Boolean',
369 'quick_form_type' => 'YesNo',
b7aba061
CW
370 'default' => 1,
371 'add' => '4.3',
372 'title' => 'New Version Alerts',
373 'is_domain' => 1,
374 'is_contact' => 0,
fa8dc18c 375 'description' => "",
08e57c58 376 'help_text' => NULL,
fa8dc18c 377 ),
6a488035
TO
378 'versionCheck' => array(
379 'group_name' => 'CiviCRM Preferences',
380 'group' => 'core',
381 'name' => 'versionCheck',
6a488035
TO
382 'type' => 'Boolean',
383 'quick_form_type' => 'YesNo',
384 'default' => 1,
385 'add' => '4.3',
fa8dc18c 386 'title' => 'Automatically Check for Updates',
6a488035
TO
387 'is_domain' => 1,
388 'is_contact' => 0,
fa8dc18c 389 'description' => "",
08e57c58 390 'help_text' => NULL,
6a488035 391 ),
3a39a8b5
CW
392 'versionCheckIgnoreDate' => array(
393 'group_name' => 'CiviCRM Preferences',
394 'group' => 'core',
395 'name' => 'versionCheckIgnoreDate',
396 'type' => 'String',
397 'quick_form_type' => 'Element',
398 'html_type' => 'text',
399 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
400 'default' => '',
401 'add' => '4.6',
402 'title' => 'Ignore Updates Prior to',
403 'is_domain' => 1,
404 'is_contact' => 0,
405 'description' => "",
08e57c58 406 'help_text' => NULL,
3a39a8b5 407 ),
439a9f1b
TO
408 'securityAlert' => array(
409 'group_name' => 'CiviCRM Preferences',
410 'group' => 'core',
fa8dc18c 411 'name' => 'securityAlert',
439a9f1b
TO
412 'type' => 'Boolean',
413 'quick_form_type' => 'YesNo',
414 'default' => 1,
415 'add' => '4.4',
06576a03 416 'title' => 'Status Alerts',
439a9f1b
TO
417 'is_domain' => 1,
418 'is_contact' => 0,
06576a03 419 'description' => "If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.",
08e57c58 420 'help_text' => NULL,
439a9f1b 421 ),
6a488035
TO
422 'doNotAttachPDFReceipt' => array(
423 'group_name' => 'CiviCRM Preferences',
424 'group' => 'core',
425 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
426 'type' => 'Boolean',
427 'quick_form_type' => 'YesNo',
f825dba2 428 'default' => 0,
6a488035
TO
429 'add' => '4.3',
430 'title' => 'Attach PDF copy to receipts',
431 'is_domain' => 1,
432 'is_contact' => 0,
433 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 434 'help_text' => NULL,
6a488035
TO
435 ),
436 'wkhtmltopdfPath' => array(
437 'group_name' => 'CiviCRM Preferences',
438 'group' => 'core',
439 'name' => 'wkhtmltopdfPath',
6a488035
TO
440 'type' => 'String',
441 'quick_form_type' => 'Element',
6a488035
TO
442 'html_attributes' => array(
443 'size' => 64,
444 'maxlength' => 256,
445 ),
446 'html_type' => 'Text',
08e57c58 447 'default' => NULL,
6a488035
TO
448 'add' => '4.3',
449 'title' => 'Path to wkhtmltopdf executable',
450 'is_domain' => 1,
451 'is_contact' => 0,
08e57c58
TO
452 'description' => NULL,
453 'help_text' => NULL,
6a488035 454 ),
53b0f6c3
TO
455 'recaptchaOptions' => array(
456 'group_name' => 'CiviCRM Preferences',
457 'group' => 'core',
458 'name' => 'recaptchaOptions',
53b0f6c3
TO
459 'type' => 'String',
460 'quick_form_type' => 'Element',
461 'html_attributes' => array(
462 'size' => 64,
463 'maxlength' => 64,
464 ),
465 'html_type' => 'Text',
466 'default' => NULL,
467 'add' => '4.3',
468 'title' => 'Recaptcha Options',
469 'is_domain' => 1,
470 'is_contact' => 0,
471 '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>.',
472 'help_text' => NULL,
473 ),
6a488035
TO
474 'recaptchaPublicKey' => array(
475 'group_name' => 'CiviCRM Preferences',
476 'group' => 'core',
477 'name' => 'recaptchaPublicKey',
6a488035
TO
478 'type' => 'String',
479 'quick_form_type' => 'Element',
6a488035
TO
480 'html_attributes' => array(
481 'size' => 64,
482 'maxlength' => 64,
483 ),
484 'html_type' => 'Text',
08e57c58 485 'default' => NULL,
6a488035
TO
486 'add' => '4.3',
487 'title' => 'Recaptcha Public Key',
488 'is_domain' => 1,
489 'is_contact' => 0,
08e57c58
TO
490 'description' => NULL,
491 'help_text' => NULL,
6a488035
TO
492 ),
493 'recaptchaPrivateKey' => array(
494 'group_name' => 'CiviCRM Preferences',
495 'group' => 'core',
496 'name' => 'recaptchaPrivateKey',
6a488035
TO
497 'type' => 'String',
498 'quick_form_type' => 'Element',
6a488035
TO
499 'html_attributes' => array(
500 'size' => 64,
501 'maxlength' => 64,
502 ),
503 'html_type' => 'Text',
08e57c58 504 'default' => NULL,
6a488035
TO
505 'add' => '4.3',
506 'title' => 'Recaptcha Private Key',
507 'is_domain' => 1,
508 'is_contact' => 0,
08e57c58
TO
509 'description' => NULL,
510 'help_text' => NULL,
6a488035
TO
511 ),
512 'dashboardCacheTimeout' => array(
513 'group_name' => 'CiviCRM Preferences',
514 'group' => 'core',
515 'name' => 'dashboardCacheTimeout',
6a488035
TO
516 'type' => 'Integer',
517 'quick_form_type' => 'Element',
6a488035
TO
518 'html_attributes' => array(
519 'size' => 3,
520 'maxlength' => 5,
521 ),
522 'html_type' => 'Text',
08e57c58 523 'default' => NULL,
6a488035
TO
524 'add' => '4.3',
525 'title' => 'Dashboard cache timeout',
526 'is_domain' => 1,
527 'is_contact' => 0,
08e57c58
TO
528 'description' => NULL,
529 'help_text' => NULL,
56fdfc52 530 ),
92a8de72 531 'checksum_timeout' => array(
6a488035
TO
532 'group_name' => 'CiviCRM Preferences',
533 'group' => 'core',
92a8de72 534 'name' => 'checksum_timeout',
6a488035
TO
535 'type' => 'Integer',
536 'quick_form_type' => 'Element',
6a488035
TO
537 'html_attributes' => array(
538 'size' => 2,
539 'maxlength' => 8,
540 ),
541 'html_type' => 'Text',
542 'default' => 7,
543 'add' => '4.3',
d5f1ee75 544 'title' => 'Checksum Lifespan',
6a488035
TO
545 'is_domain' => 1,
546 'is_contact' => 0,
08e57c58
TO
547 'description' => NULL,
548 'help_text' => NULL,
6a488035 549 ),
4b030206
TO
550 'blogUrl' => array(
551 'group_name' => 'CiviCRM Preferences',
552 'group' => 'core',
553 'name' => 'blogUrl',
4b030206
TO
554 'type' => 'String',
555 'quick_form_type' => 'Element',
4b030206
TO
556 'html_attributes' => array(
557 'size' => 64,
558 'maxlength' => 128,
559 ),
560 'html_type' => 'Text',
561 'default' => '*default*',
562 'add' => '4.3',
563 'title' => 'Blog Feed URL',
564 'is_domain' => 1,
565 'is_contact' => 0,
566 'description' => 'Blog feed URL used by the blog dashlet',
567 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
568 ),
847c93ac
TO
569 'communityMessagesUrl' => array(
570 'group_name' => 'CiviCRM Preferences',
571 'group' => 'core',
572 'name' => 'communityMessagesUrl',
847c93ac
TO
573 'type' => 'String',
574 'quick_form_type' => 'Element',
847c93ac
TO
575 'html_attributes' => array(
576 'size' => 64,
577 'maxlength' => 128,
578 ),
579 'html_type' => 'Text',
580 'default' => '*default*',
581 'add' => '4.3',
582 'title' => 'Community Messages URL',
583 'is_domain' => 1,
584 'is_contact' => 0,
585 'description' => 'Service providing CiviCRM community messages',
586 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
587 ),
6a488035
TO
588 'resCacheCode' => array(
589 'group_name' => 'CiviCRM Preferences',
590 'group' => 'core',
591 'name' => 'resCacheCode',
6a488035
TO
592 'type' => 'String',
593 'quick_form_type' => 'Element',
6a488035
TO
594 'html_attributes' => array(
595 'size' => 16,
596 'maxlength' => 16,
597 ),
598 'html_type' => 'Text',
08e57c58 599 'default' => NULL,
6a488035
TO
600 'add' => '4.3',
601 'title' => 'Resource Cache Code',
602 'is_domain' => 1,
603 'is_contact' => 0,
604 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
08e57c58 605 'help_text' => NULL,
6a488035
TO
606 ),
607 'verifySSL' => array(
608 'group_name' => 'CiviCRM Preferences',
609 'group' => 'core',
610 'name' => 'verifySSL',
611 'type' => 'Boolean',
612 'quick_form_type' => 'YesNo',
613 'default' => 1,
614 'add' => '4.3',
66f90900 615 'title' => 'Verify SSL?',
6a488035
TO
616 'is_domain' => 1,
617 'is_contact' => 0,
28f07f05 618 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
6a488035
TO
619 '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',
620 ),
28f07f05
TO
621 'enableSSL' => array(
622 'group_name' => 'CiviCRM Preferences',
623 'group' => 'core',
624 'name' => 'enableSSL',
625 'type' => 'Boolean',
626 'quick_form_type' => 'YesNo',
627 'default' => 0,
628 'add' => '4.5',
629 'title' => 'Force SSL?',
630 'is_domain' => 1,
631 'is_contact' => 0,
632 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
633 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
634 ),
94c11eeb
DL
635 'wpBasePage' => array(
636 'group_name' => 'CiviCRM Preferences',
637 'group' => 'core',
638 'name' => 'wpBasePage',
639 'type' => 'String',
640 'html_type' => 'text',
641 'quick_form_type' => 'Element',
94c11eeb
DL
642 'default' => '',
643 'add' => '4.3',
644 'title' => 'WordPress Base Page',
645 'is_domain' => 1,
646 'is_contact' => 0,
647 'description' => 'If set, CiviCRM will use this setting as the base url.',
648 '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.',
649 ),
d5f1ee75
DG
650 'secondDegRelPermissions' => array(
651 'group_name' => 'CiviCRM Preferences',
652 'group' => 'core',
653 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
654 'type' => 'Boolean',
655 'quick_form_type' => 'YesNo',
656 'default' => 0,
657 'add' => '4.3',
658 'title' => 'Allow second-degree relationship permissions',
659 'is_domain' => 1,
660 'is_contact' => 0,
661 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
08e57c58 662 'help_text' => NULL,
d5f1ee75 663 ),
86eeab72 664 'enable_components' => array(
ac47f7ca 665 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
666 'group_name' => 'CiviCRM Preferences',
667 'group' => 'core',
56fdfc52 668 'name' => 'enable_components',
86eeab72
DS
669 'type' => 'Array',
670 'quick_form_type' => 'Element',
671 'html_type' => 'advmultiselect',
672 'html_attributes' => array(
673 'size' => 5,
674 'style' => 'width:150px',
675 'class' => 'advmultiselect',
676 ),
ac47f7ca 677 'default' => NULL,
56fdfc52 678 'add' => '4.4',
86eeab72
DS
679 'title' => 'Enable Components',
680 'is_domain' => '1',
681 'is_contact' => 0,
08e57c58 682 'description' => NULL,
56fdfc52 683 'help_text' => NULL,
2bc3bd8f 684 'on_change' => array(
c8074a93
TO
685 'CRM_Case_Info::onToggleComponents',
686 'CRM_Core_Component::flushEnabledComponents',
687 'call://resources/resetCacheCode',
2bc3bd8f 688 ),
86eeab72 689 ),
14f20d22
CW
690 'disable_core_css' => array(
691 'group_name' => 'CiviCRM Preferences',
692 'group' => 'core',
693 'name' => 'disable_core_css',
694 'type' => 'Boolean',
695 'quick_form_type' => 'YesNo',
696 'default' => '0',
697 'add' => '4.4',
698 'title' => 'Disable CiviCRM css',
699 'is_domain' => 1,
700 'is_contact' => 0,
701 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
702 'help_text' => NULL,
703 ),
466913fc
AH
704 'empoweredBy' => array(
705 'group_name' => 'CiviCRM Preferences',
706 'group' => 'core',
707 'name' => 'empoweredBy',
708 'type' => 'Boolean',
709 'quick_form_type' => 'YesNo',
710 'default' => 1,
711 'add' => '4.5',
712 'title' => 'Display "empowered by CiviCRM"',
713 'is_domain' => 1,
714 'is_contact' => 0,
715 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
08e57c58 716 'help_text' => NULL,
466913fc 717 ),
e299c1d0
TO
718 'logging' => array(
719 'add' => '4.7',
e299c1d0
TO
720 'help_text' => NULL,
721 'is_domain' => 1,
722 'is_contact' => 0,
723 'group_name' => 'CiviCRM Preferences',
724 'group' => 'core',
725 'name' => 'logging',
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'html_type' => '',
729 'default' => '0',
730 'title' => 'Logging',
731 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
732 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
733 'on_change' => array(
734 'CRM_Logging_Schema::onToggle',
735 ),
736 ),
348754d5
TO
737 'userFrameworkUsersTableName' => array(
738 'add' => '4.7',
739 'help_text' => NULL,
740 'is_domain' => 1,
741 'is_contact' => 0,
742 'group_name' => 'CiviCRM Preferences',
743 'group' => 'core',
744 'name' => 'userFrameworkUsersTableName',
745 'type' => 'String',
746 'quick_form_type' => 'Element',
747 'html_type' => 'text',
748 'html_attributes' => array(
749 'size' => '32',
750 'maxlength' => '64',
751 ),
752 'default' => NULL,
753 'title' => 'Drupal Users Table Name',
754 'description' => '',
755 ),
fdd770db
KC
756 'wpLoadPhp' => array(
757 'group_name' => 'CiviCRM Preferences',
758 'group' => 'core',
759 'name' => 'wpLoadPhp',
760 'type' => 'String',
761 'html_type' => 'text',
762 'quick_form_type' => 'Element',
fdd770db
KC
763 'default' => '',
764 'add' => '4.6',
765 'title' => 'WordPress Path to wp-load.php',
766 'is_domain' => 1,
767 'is_contact' => 0,
768 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
769 'help_text' => NULL,
770 ),
b7aba061 771);