CRM-15928. Rename variable to be more descriptive, update inline docs.
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
81621fee 4 | CiviCRM version 4.7 |
6a488035 5 +--------------------------------------------------------------------+
fa938177 6 | Copyright CiviCRM LLC (c) 2004-2016 |
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
fa938177 31 * @copyright CiviCRM LLC (c) 2004-2016
6a488035
TO
32 * $Id$
33 *
34 */
1bfe4abf
CB
35
36/**
6a488035
TO
37 * Settings metadata file
38 */
08e57c58 39return array(
6a488035
TO
40 'contact_view_options' => array(
41 'group_name' => 'CiviCRM Preferences',
42 'group' => 'core',
43 'name' => 'contact_view_options',
44 'type' => 'String',
45 'html_type' => 'checkboxes',
46 'pseudoconstant' => array(
47 'optionGroupName' => 'contact_view_options',
48 ),
49 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
50 'add' => '4.1',
51 'title' => 'Viewing Contacts',
52 'is_domain' => '1',
53 'is_contact' => 0,
08e57c58
TO
54 'description' => NULL,
55 'help_text' => NULL,
6a488035 56 ),
6a488035
TO
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 ),
007e3bdc 66 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035
TO
67 'add' => '4.1',
68 'title' => 'Editing Contacts',
69 'is_domain' => 1,
70 'is_contact' => 0,
08e57c58 71 'description' => NULL,
56fdfc52 72 'help_text' => NULL,
6a488035
TO
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 ),
007e3bdc 82 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035
TO
83 'add' => '4.1',
84 'title' => 'Contact Search',
85 'is_domain' => 1,
86 'is_contact' => 0,
08e57c58
TO
87 'description' => NULL,
88 'help_text' => NULL,
6a488035 89 ),
56fdfc52 90 'user_dashboard_options' => array(
6a488035
TO
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',
56fdfc52 98 ),
007e3bdc 99 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035
TO
100 'add' => '4.1',
101 'title' => 'Contact Dashboard',
102 'is_domain' => 1,
103 'is_contact' => 0,
08e57c58 104 'description' => NULL,
56fdfc52 105 'help_text' => NULL,
6a488035
TO
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 ),
007e3bdc 116 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
6a488035
TO
117 'add' => '4.1',
118 'title' => 'Addressing Options',
119 'is_domain' => 1,
120 'is_contact' => 0,
08e57c58
TO
121 'description' => NULL,
122 'help_text' => NULL,
6a488035
TO
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,
08e57c58 135 'description' => NULL,
56fdfc52 136 'help_text' => NULL,
6a488035
TO
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,
08e57c58 149 'description' => NULL,
56fdfc52 150 'help_text' => NULL,
6a488035
TO
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,
08e57c58
TO
163 'description' => NULL,
164 'help_text' => NULL,
6a488035
TO
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',
66f90900 174 'title' => 'Sort Name Format',
6a488035
TO
175 'is_domain' => 1,
176 'is_contact' => 0,
08e57c58 177 'description' => NULL,
56fdfc52 178 'help_text' => NULL,
6a488035 179 ),
1bfe4abf 180 'remote_profile_submissions_allowed' => array(
61f53f0d
PN
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
1bfe4abf 183 'name' => 'remote_profile_submissions_allowed',
61f53f0d
PN
184 'type' => 'Boolean',
185 'quick_form_type' => 'YesNo',
186 'default' => FALSE,
187 'html_type' => 'radio',
188 'add' => '4.7',
1bfe4abf 189 'title' => 'Accept profile submissions from external sites',
61f53f0d
PN
190 'is_domain' => 1,
191 'is_contact' => 0,
1bfe4abf 192 'description' => 'If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.',
61f53f0d
PN
193 'help_text' => NULL,
194 ),
6a488035
TO
195 'editor_id' => array(
196 'group_name' => 'CiviCRM Preferences',
197 'group' => 'core',
198 'name' => 'editor_id',
199 'type' => 'String',
72f03b4f
CW
200 'html_type' => 'Select',
201 'default' => 'CKEditor',
6a488035 202 'add' => '4.1',
66f90900 203 'title' => 'Wysiwig Editor',
6a488035
TO
204 'is_domain' => 1,
205 'is_contact' => 0,
08e57c58
TO
206 'description' => NULL,
207 'help_text' => NULL,
6a488035
TO
208 ),
209 'contact_ajax_check_similar' => array(
210 'group_name' => 'CiviCRM Preferences',
211 'group' => 'core',
212 'name' => 'contact_ajax_check_similar',
213 'type' => 'String',
214 'html_type' => 'Text',
007e3bdc 215 'default' => '1',
6a488035 216 'add' => '4.1',
66f90900 217 'title' => 'Ajax Check Similar',
6a488035
TO
218 'is_domain' => 1,
219 'is_contact' => 0,
08e57c58
TO
220 'description' => NULL,
221 'help_text' => NULL,
f1cf499b 222 ),
53f2643c 223 'ajaxPopupsEnabled' => array(
f1cf499b
CW
224 'group_name' => 'CiviCRM Preferences',
225 'group' => 'core',
53f2643c 226 'name' => 'ajaxPopupsEnabled',
f1cf499b
CW
227 'type' => 'Boolean',
228 'quick_form_type' => 'YesNo',
229 'default' => 1,
230 'add' => '4.5',
66f90900 231 'title' => 'Ajax Popups Enabled',
f1cf499b
CW
232 'is_domain' => 1,
233 'is_contact' => 0,
08e57c58
TO
234 'description' => NULL,
235 'help_text' => NULL,
6a488035
TO
236 ),
237 'activity_assignee_notification' => array(
238 'group_name' => 'CiviCRM Preferences',
239 'group' => 'core',
240 'name' => 'activity_assignee_notification',
241 'type' => 'String',
242 'html_type' => 'Text',
007e3bdc 243 'default' => '1',
6a488035
TO
244 'add' => '4.1',
245 'title' => 'Notify Activity Assignees',
246 'is_domain' => 1,
247 'is_contact' => 0,
08e57c58 248 'description' => NULL,
56fdfc52 249 'help_text' => NULL,
6a488035
TO
250 ),
251 'activity_assignee_notification_ics' => array(
252 'group_name' => 'CiviCRM Preferences',
253 'group' => 'core',
254 'name' => 'activity_assignee_notification_ics',
255 'type' => 'String',
256 'html_type' => 'Text',
007e3bdc 257 'default' => '0',
6a488035
TO
258 'add' => '4.3',
259 'title' => 'Include ICal Invite to Activity Assignees',
260 'is_domain' => 1,
261 'is_contact' => 0,
08e57c58 262 'description' => NULL,
56fdfc52 263 'help_text' => NULL,
6a488035
TO
264 ),
265 'contact_autocomplete_options' => array(
266 'group_name' => 'CiviCRM Preferences',
267 'group' => 'core',
268 'name' => 'contact_autocomplete_options',
269 'type' => 'String',
d434f797 270 'quick_form_type' => 'CheckBox',
77d87f6e 271 'pseudoconstant' => array(
d434f797 272 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
77d87f6e 273 ),
d434f797 274 'default' => '\ 11\ 12\ 1',
6a488035 275 'add' => '4.1',
d434f797 276 'title' => 'Autocomplete Contact Search',
6a488035
TO
277 'is_domain' => 1,
278 'is_contact' => 0,
d434f797 279 'description' => "Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included.",
56fdfc52 280 'help_text' => NULL,
6a488035
TO
281 ),
282 'contact_reference_options' => array(
283 'group_name' => 'CiviCRM Preferences',
284 'group' => 'core',
285 'name' => 'contact_reference_options',
286 'type' => 'String',
d434f797 287 'quick_form_type' => 'CheckBox',
6a488035 288 'pseudoconstant' => array(
d434f797 289 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
6a488035 290 ),
d434f797 291 'default' => '\ 11\ 12\ 1',
6a488035 292 'add' => '4.1',
66f90900 293 'title' => 'Contact Reference Options',
6a488035
TO
294 'is_domain' => 1,
295 'is_contact' => 0,
d434f797 296 '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 297 'help_text' => NULL,
6a488035 298 ),
007e3bdc
TO
299 'contact_smart_group_display' => array(
300 'group_name' => 'CiviCRM Preferences',
301 'group' => 'core',
302 'name' => 'contact_smart_group_display',
303 'type' => 'String',
304 'html_type' => 'radio',
305 'default' => '1',
306 'add' => '4.7',
307 'title' => ts('Viewing Smart Groups'),
308 'is_domain' => 1,
309 'is_contact' => 0,
310 'description' => NULL,
311 'help_text' => NULL,
312 ),
801bafd7 313 'smart_group_cache_refresh_mode' => array(
314 'group_name' => 'CiviCRM Preferences',
315 'group' => 'core',
316 'name' => 'smart_group_cache_refresh_mode',
317 'type' => 'String',
318 'html_type' => 'radio',
319 'default' => 'opportunistic',
320 'add' => '4.7',
321 'title' => 'Smart Group Refresh Mode',
322 'is_domain' => 1,
323 'is_contact' => 0,
324 'pseudoconstant' => array(
a8eb1fe6 325 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
801bafd7 326 ),
327 'description' => 'Should the smart groups be by cron jobs or user actions',
a8eb1fe6 328 'help_text' => 'In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.',
801bafd7 329 ),
801c5335
C
330 'installed' => array(
331 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
332 'group_name' => 'CiviCRM Preferences',
333 'group' => 'core',
334 'name' => 'installed',
335 'type' => 'Boolean',
336 'quick_form_type' => 'YesNo',
337 'default' => FALSE,
338 'add' => '4.7',
339 'title' => 'System Installed',
340 'is_domain' => 1,
341 'is_contact' => 0,
342 'description' => 'A flag indicating whether this system has run a post-installation routine',
343 'help_text' => NULL,
344 ),
6a488035
TO
345 'max_attachments' => array(
346 'group_name' => 'CiviCRM Preferences',
347 'group' => 'core',
348 'name' => 'max_attachments',
349 'legacy_key' => 'maxAttachments',
6a488035
TO
350 'type' => 'Integer',
351 'quick_form_type' => 'Element',
352 'html_type' => 'text',
353 'html_attributes' => array(
354 'size' => 2,
355 'maxlength' => 8,
56fdfc52
TO
356 ),
357 'default' => 3,
358 'add' => '4.3',
359 'title' => 'Maximum Attachments',
360 'is_domain' => 1,
361 'is_contact' => 0,
362 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
363 'help_text' => NULL,
6a488035
TO
364 ),
365 'maxFileSize' => array(
366 'group_name' => 'CiviCRM Preferences',
367 'group' => 'core',
368 'name' => 'maxFileSize',
6a488035
TO
369 'type' => 'Integer',
370 'quick_form_type' => 'Element',
371 'html_type' => 'text',
372 'html_attributes' => array(
373 'size' => 2,
374 'maxlength' => 8,
375 ),
376 'default' => 3,
377 'add' => '4.3',
378 'title' => 'Maximum File Size (in MB)',
379 'is_domain' => 1,
380 'is_contact' => 0,
381 '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 382 'help_text' => NULL,
6a488035
TO
383 ),
384 'contact_undelete' => array(
385 'group_name' => 'CiviCRM Preferences',
386 'group' => 'core',
387 'name' => 'contact_undelete',
388 'type' => 'Boolean',
389 'quick_form_type' => 'YesNo',
390 'default' => 1,
391 'add' => '4.3',
392 'title' => 'Contact Trash and Undelete',
393 'is_domain' => 1,
394 'is_contact' => 0,
395 '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 396 'help_text' => NULL,
6a488035 397 ),
f182074e
PN
398 'allowPermDeleteFinancial' => array(
399 'group_name' => 'CiviCRM Preferences',
400 'group' => 'core',
401 'name' => 'allowPermDeleteFinancial',
402 'type' => 'Boolean',
403 'quick_form_type' => 'YesNo',
404 'default' => FALSE,
405 'add' => '4.3',
406 'title' => 'Contact Permanent Delete',
407 'is_domain' => 1,
408 'is_contact' => 0,
409 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
08e57c58 410 'help_text' => NULL,
f182074e 411 ),
439a9f1b
TO
412 'securityAlert' => array(
413 'group_name' => 'CiviCRM Preferences',
414 'group' => 'core',
fa8dc18c 415 'name' => 'securityAlert',
439a9f1b
TO
416 'type' => 'Boolean',
417 'quick_form_type' => 'YesNo',
418 'default' => 1,
419 'add' => '4.4',
06576a03 420 'title' => 'Status Alerts',
439a9f1b
TO
421 'is_domain' => 1,
422 'is_contact' => 0,
06576a03 423 '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 424 'help_text' => NULL,
439a9f1b 425 ),
6a488035
TO
426 'doNotAttachPDFReceipt' => array(
427 'group_name' => 'CiviCRM Preferences',
428 'group' => 'core',
429 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
430 'type' => 'Boolean',
431 'quick_form_type' => 'YesNo',
f825dba2 432 'default' => 0,
6a488035
TO
433 'add' => '4.3',
434 'title' => 'Attach PDF copy to receipts',
435 'is_domain' => 1,
436 'is_contact' => 0,
437 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 438 'help_text' => NULL,
6a488035
TO
439 ),
440 'wkhtmltopdfPath' => array(
441 'group_name' => 'CiviCRM Preferences',
442 'group' => 'core',
443 'name' => 'wkhtmltopdfPath',
6a488035
TO
444 'type' => 'String',
445 'quick_form_type' => 'Element',
6a488035
TO
446 'html_attributes' => array(
447 'size' => 64,
448 'maxlength' => 256,
449 ),
450 'html_type' => 'Text',
08e57c58 451 'default' => NULL,
6a488035
TO
452 'add' => '4.3',
453 'title' => 'Path to wkhtmltopdf executable',
454 'is_domain' => 1,
455 'is_contact' => 0,
08e57c58
TO
456 'description' => NULL,
457 'help_text' => NULL,
6a488035 458 ),
53b0f6c3
TO
459 'recaptchaOptions' => array(
460 'group_name' => 'CiviCRM Preferences',
461 'group' => 'core',
462 'name' => 'recaptchaOptions',
53b0f6c3
TO
463 'type' => 'String',
464 'quick_form_type' => 'Element',
465 'html_attributes' => array(
466 'size' => 64,
467 'maxlength' => 64,
468 ),
469 'html_type' => 'Text',
470 'default' => NULL,
471 'add' => '4.3',
472 'title' => 'Recaptcha Options',
473 'is_domain' => 1,
474 'is_contact' => 0,
475 '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>.',
476 'help_text' => NULL,
477 ),
6a488035
TO
478 'recaptchaPublicKey' => array(
479 'group_name' => 'CiviCRM Preferences',
480 'group' => 'core',
481 'name' => 'recaptchaPublicKey',
6a488035
TO
482 'type' => 'String',
483 'quick_form_type' => 'Element',
6a488035
TO
484 'html_attributes' => array(
485 'size' => 64,
486 'maxlength' => 64,
487 ),
488 'html_type' => 'Text',
08e57c58 489 'default' => NULL,
6a488035 490 'add' => '4.3',
cf7eb07b 491 'title' => 'Recaptcha Site Key',
6a488035
TO
492 'is_domain' => 1,
493 'is_contact' => 0,
08e57c58
TO
494 'description' => NULL,
495 'help_text' => NULL,
6a488035
TO
496 ),
497 'recaptchaPrivateKey' => array(
498 'group_name' => 'CiviCRM Preferences',
499 'group' => 'core',
500 'name' => 'recaptchaPrivateKey',
6a488035
TO
501 'type' => 'String',
502 'quick_form_type' => 'Element',
6a488035
TO
503 'html_attributes' => array(
504 'size' => 64,
505 'maxlength' => 64,
506 ),
507 'html_type' => 'Text',
08e57c58 508 'default' => NULL,
6a488035 509 'add' => '4.3',
cf7eb07b 510 'title' => 'Recaptcha Secret Key',
6a488035
TO
511 'is_domain' => 1,
512 'is_contact' => 0,
08e57c58
TO
513 'description' => NULL,
514 'help_text' => NULL,
6a488035 515 ),
92a8de72 516 'checksum_timeout' => array(
6a488035
TO
517 'group_name' => 'CiviCRM Preferences',
518 'group' => 'core',
92a8de72 519 'name' => 'checksum_timeout',
6a488035
TO
520 'type' => 'Integer',
521 'quick_form_type' => 'Element',
6a488035
TO
522 'html_attributes' => array(
523 'size' => 2,
524 'maxlength' => 8,
525 ),
526 'html_type' => 'Text',
527 'default' => 7,
528 'add' => '4.3',
d5f1ee75 529 'title' => 'Checksum Lifespan',
6a488035
TO
530 'is_domain' => 1,
531 'is_contact' => 0,
08e57c58
TO
532 'description' => NULL,
533 'help_text' => NULL,
6a488035 534 ),
4b030206
TO
535 'blogUrl' => array(
536 'group_name' => 'CiviCRM Preferences',
537 'group' => 'core',
538 'name' => 'blogUrl',
4b030206
TO
539 'type' => 'String',
540 'quick_form_type' => 'Element',
4b030206
TO
541 'html_attributes' => array(
542 'size' => 64,
543 'maxlength' => 128,
544 ),
545 'html_type' => 'Text',
546 'default' => '*default*',
547 'add' => '4.3',
548 'title' => 'Blog Feed URL',
549 'is_domain' => 1,
550 'is_contact' => 0,
551 'description' => 'Blog feed URL used by the blog dashlet',
552 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
553 ),
847c93ac
TO
554 'communityMessagesUrl' => array(
555 'group_name' => 'CiviCRM Preferences',
556 'group' => 'core',
557 'name' => 'communityMessagesUrl',
847c93ac
TO
558 'type' => 'String',
559 'quick_form_type' => 'Element',
847c93ac
TO
560 'html_attributes' => array(
561 'size' => 64,
562 'maxlength' => 128,
563 ),
564 'html_type' => 'Text',
565 'default' => '*default*',
566 'add' => '4.3',
567 'title' => 'Community Messages URL',
568 'is_domain' => 1,
569 'is_contact' => 0,
570 'description' => 'Service providing CiviCRM community messages',
1f957d1e
TO
571 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
572 ),
573 'gettingStartedUrl' => array(
574 'group_name' => 'CiviCRM Preferences',
575 'group' => 'core',
576 'name' => 'gettingStartedUrl',
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' => 'Getting Started URL',
587 'is_domain' => 1,
588 'is_contact' => 0,
589 'description' => 'Service providing the Getting Started data',
847c93ac
TO
590 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
591 ),
6a488035
TO
592 'resCacheCode' => array(
593 'group_name' => 'CiviCRM Preferences',
594 'group' => 'core',
595 'name' => 'resCacheCode',
6a488035 596 'type' => 'String',
30fcf833 597 'quick_form_type' => 'Element',
598 'html_type' => 'text',
08e57c58 599 'default' => NULL,
6a488035 600 'add' => '4.3',
340cf368 601 'title' => 'resCacheCode',
6a488035
TO
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 ),
f76ec559
TO
718 'logging_no_trigger_permission' => array(
719 'add' => '4.7',
720 'is_domain' => 1,
721 'is_contact' => 0,
722 'group_name' => 'CiviCRM Preferences',
723 'group' => 'core',
724 '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.'),
725 'name' => 'logging_no_trigger_permission',
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'html_type' => '',
729 'default' => 0,
730 'title' => '(EXPERIMENTAL) MySQL user does not have trigger permissions',
731 'description' => 'Set this when you intend to manage trigger creation outside of CiviCRM',
732 ),
e299c1d0
TO
733 'logging' => array(
734 'add' => '4.7',
e299c1d0
TO
735 'help_text' => NULL,
736 'is_domain' => 1,
737 'is_contact' => 0,
738 'group_name' => 'CiviCRM Preferences',
739 'group' => 'core',
740 'name' => 'logging',
741 'type' => 'Boolean',
742 'quick_form_type' => 'YesNo',
743 'html_type' => '',
744 'default' => '0',
745 'title' => 'Logging',
746 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
747 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
748 'on_change' => array(
749 'CRM_Logging_Schema::onToggle',
750 ),
751 ),
8dd883ca 752 'logging_uniqueid_date' => array(
753 'add' => '4.7',
754 'help_text' => ts('This is the date when CRM-18193 was implemented'),
755 'is_domain' => 1,
756 'is_contact' => 0,
757 'group_name' => 'CiviCRM Preferences',
758 'group' => 'core',
759 'name' => 'logging_uniqueid_date',
760 'type' => 'Date',
761 'quick_form_type' => 'DateTime',
762 'html_type' => '',
763 'default' => NULL,
764 'title' => 'Logging Unique ID not recorded before',
765 'description' => 'This is the date when CRM-18193 was implemented',
766 ),
767 'logging_all_tables_uniquid' => array(
768 'add' => '4.7',
769 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
770 'is_domain' => 1,
771 'is_contact' => 0,
772 'group_name' => 'CiviCRM Preferences',
773 'group' => 'core',
774 'name' => 'logging_all_tables_uniquid',
775 'type' => 'Boolean',
776 'quick_form_type' => 'YesNo',
777 'html_type' => '',
778 'default' => 0,
779 'title' => 'All tables use Unique Connection ID',
780 'description' => 'Do some tables pre-date CRM-18193?',
781 ),
348754d5
TO
782 'userFrameworkUsersTableName' => array(
783 'add' => '4.7',
784 'help_text' => NULL,
785 'is_domain' => 1,
786 'is_contact' => 0,
787 'group_name' => 'CiviCRM Preferences',
788 'group' => 'core',
789 'name' => 'userFrameworkUsersTableName',
790 'type' => 'String',
791 'quick_form_type' => 'Element',
792 'html_type' => 'text',
793 'html_attributes' => array(
794 'size' => '32',
795 'maxlength' => '64',
796 ),
797 'default' => NULL,
798 'title' => 'Drupal Users Table Name',
799 'description' => '',
800 ),
fdd770db
KC
801 'wpLoadPhp' => array(
802 'group_name' => 'CiviCRM Preferences',
803 'group' => 'core',
804 'name' => 'wpLoadPhp',
805 'type' => 'String',
806 'html_type' => 'text',
807 'quick_form_type' => 'Element',
fdd770db
KC
808 'default' => '',
809 'add' => '4.6',
810 'title' => 'WordPress Path to wp-load.php',
811 'is_domain' => 1,
812 'is_contact' => 0,
813 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
814 'help_text' => NULL,
815 ),
87334e0f
TO
816 'secure_cache_timeout_minutes' => array(
817 'group_name' => 'CiviCRM Preferences',
818 'group' => 'core',
819 'name' => 'secure_cache_timeout_minutes',
820 'type' => 'Integer',
821 'quick_form_type' => 'Element',
822 'html_type' => 'text',
823 'html_attributes' => array(
824 'size' => 2,
825 'maxlength' => 8,
826 ),
827 'default' => 20,
828 'add' => '4.7',
829 'title' => 'Secure Cache Timeout',
830 'is_domain' => 1,
831 'is_contact' => 0,
832 'description' => 'Maximum number of minutes that secure form data should linger',
833 'help_text' => NULL,
834 ),
1ab26c95
CW
835 'site_id' => array(
836 'group_name' => 'CiviCRM Preferences',
837 'group' => 'core',
838 'name' => 'site_id',
839 'type' => 'String',
30fcf833 840 'quick_form_type' => 'Element',
841 'html_type' => 'text',
1ab26c95
CW
842 'default' => '',
843 'add' => '4.6',
844 'title' => 'Unique Site ID',
845 'is_domain' => 1,
846 'is_contact' => 0,
847 'description' => NULL,
848 'help_text' => NULL,
849 ),
f55dd135
CW
850 'systemStatusCheckResult' => array(
851 'group_name' => 'CiviCRM Preferences',
852 'group' => 'core',
853 'name' => 'systemStatusCheckResult',
854 'type' => 'Integer',
30fcf833 855 'quick_form_type' => 'Element',
856 'html_type' => 'text',
f55dd135
CW
857 'default' => 0,
858 'add' => '4.7',
340cf368 859 'title' => 'systemStatusCheckResult',
f55dd135
CW
860 'is_domain' => 1,
861 'is_contact' => 0,
862 'description' => NULL,
863 'help_text' => NULL,
864 ),
ac5f7c7f
NH
865 'recentItemsMaxCount' => array(
866 'group_name' => 'CiviCRM Preferences',
867 'group' => 'core',
868 'name' => 'recentItemsMaxCount',
869 'type' => 'Integer',
870 'quick_form_type' => 'Element',
871 'html_type' => 'text',
872 'html_attributes' => array(
873 'size' => 2,
136b401b 874 'maxlength' => 3,
ac5f7c7f
NH
875 ),
876 'default' => 20,
877 'add' => '4.7',
878 'title' => 'Size of "Recent Items" stack',
879 'is_domain' => 1,
880 'is_contact' => 0,
d75d5eda 881 'description' => 'How many items should CiviCRM store in it\'s "Recently viewed" list.',
ac5f7c7f
NH
882 'help_text' => NULL,
883 ),
884 'recentItemsProviders' => array(
885 'group_name' => 'CiviCRM Preferences',
886 'group' => 'core',
887 'name' => 'recentItemsProviders',
888 'type' => 'Array',
889 'html_type' => 'Select',
890 'quick_form_type' => 'Select',
891 'html_attributes' => array(
892 'multiple' => 1,
893 'class' => 'crm-select2',
894 ),
895 'default' => '',
896 'add' => '4.7',
897 'title' => 'Recent Items Providers',
898 'is_domain' => 1,
899 'is_contact' => 0,
900 'description' => 'What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.',
901 'help_text' => NULL,
902 'pseudoconstant' => array(
136b401b 903 'callback' => 'CRM_Utils_Recent::getProviders',
ac5f7c7f
NH
904 ),
905 ),
30fcf833 906 'dedupe_default_limit' => array(
907 'group_name' => 'CiviCRM Preferences',
908 'group' => 'core',
909 'name' => 'dedupe_default_limit',
910 'type' => 'Integer',
911 'default' => 0,
912 'quick_form_type' => 'Element',
913 'html_type' => 'text',
914 'add' => '4.7',
915 'title' => 'Default limit for dedupe screen',
916 'is_domain' => 1,
917 'is_contact' => 0,
918 'description' => ts('Default to only loading matches against this number of contacts'),
919 'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
920 ),
b7aba061 921);