CRM-18713 - simple fix, ensure mobile # is not overwritten by primary.
[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 */
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 ),
801bafd7 297 'smart_group_cache_refresh_mode' => array(
298 'group_name' => 'CiviCRM Preferences',
299 'group' => 'core',
300 'name' => 'smart_group_cache_refresh_mode',
301 'type' => 'String',
302 'html_type' => 'radio',
303 'default' => 'opportunistic',
304 'add' => '4.7',
305 'title' => 'Smart Group Refresh Mode',
306 'is_domain' => 1,
307 'is_contact' => 0,
308 'pseudoconstant' => array(
a8eb1fe6 309 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
801bafd7 310 ),
311 'description' => 'Should the smart groups be by cron jobs or user actions',
a8eb1fe6 312 '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 313 ),
801c5335
C
314 'installed' => array(
315 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
316 'group_name' => 'CiviCRM Preferences',
317 'group' => 'core',
318 'name' => 'installed',
319 'type' => 'Boolean',
320 'quick_form_type' => 'YesNo',
321 'default' => FALSE,
322 'add' => '4.7',
323 'title' => 'System Installed',
324 'is_domain' => 1,
325 'is_contact' => 0,
326 'description' => 'A flag indicating whether this system has run a post-installation routine',
327 'help_text' => NULL,
328 ),
6a488035
TO
329 'max_attachments' => array(
330 'group_name' => 'CiviCRM Preferences',
331 'group' => 'core',
332 'name' => 'max_attachments',
333 'legacy_key' => 'maxAttachments',
6a488035
TO
334 'type' => 'Integer',
335 'quick_form_type' => 'Element',
336 'html_type' => 'text',
337 'html_attributes' => array(
338 'size' => 2,
339 'maxlength' => 8,
56fdfc52
TO
340 ),
341 'default' => 3,
342 'add' => '4.3',
343 'title' => 'Maximum Attachments',
344 'is_domain' => 1,
345 'is_contact' => 0,
346 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
347 'help_text' => NULL,
6a488035
TO
348 ),
349 'maxFileSize' => array(
350 'group_name' => 'CiviCRM Preferences',
351 'group' => 'core',
352 'name' => 'maxFileSize',
6a488035
TO
353 'type' => 'Integer',
354 'quick_form_type' => 'Element',
355 'html_type' => 'text',
356 'html_attributes' => array(
357 'size' => 2,
358 'maxlength' => 8,
359 ),
360 'default' => 3,
361 'add' => '4.3',
362 'title' => 'Maximum File Size (in MB)',
363 'is_domain' => 1,
364 'is_contact' => 0,
365 '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 366 'help_text' => NULL,
6a488035
TO
367 ),
368 'contact_undelete' => array(
369 'group_name' => 'CiviCRM Preferences',
370 'group' => 'core',
371 'name' => 'contact_undelete',
372 'type' => 'Boolean',
373 'quick_form_type' => 'YesNo',
374 'default' => 1,
375 'add' => '4.3',
376 'title' => 'Contact Trash and Undelete',
377 'is_domain' => 1,
378 'is_contact' => 0,
379 '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 380 'help_text' => NULL,
6a488035 381 ),
f182074e
PN
382 'allowPermDeleteFinancial' => array(
383 'group_name' => 'CiviCRM Preferences',
384 'group' => 'core',
385 'name' => 'allowPermDeleteFinancial',
386 'type' => 'Boolean',
387 'quick_form_type' => 'YesNo',
388 'default' => FALSE,
389 'add' => '4.3',
390 'title' => 'Contact Permanent Delete',
391 'is_domain' => 1,
392 'is_contact' => 0,
393 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
08e57c58 394 'help_text' => NULL,
f182074e 395 ),
439a9f1b
TO
396 'securityAlert' => array(
397 'group_name' => 'CiviCRM Preferences',
398 'group' => 'core',
fa8dc18c 399 'name' => 'securityAlert',
439a9f1b
TO
400 'type' => 'Boolean',
401 'quick_form_type' => 'YesNo',
402 'default' => 1,
403 'add' => '4.4',
06576a03 404 'title' => 'Status Alerts',
439a9f1b
TO
405 'is_domain' => 1,
406 'is_contact' => 0,
06576a03 407 '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 408 'help_text' => NULL,
439a9f1b 409 ),
6a488035
TO
410 'doNotAttachPDFReceipt' => array(
411 'group_name' => 'CiviCRM Preferences',
412 'group' => 'core',
413 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
414 'type' => 'Boolean',
415 'quick_form_type' => 'YesNo',
f825dba2 416 'default' => 0,
6a488035
TO
417 'add' => '4.3',
418 'title' => 'Attach PDF copy to receipts',
419 'is_domain' => 1,
420 'is_contact' => 0,
421 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 422 'help_text' => NULL,
6a488035
TO
423 ),
424 'wkhtmltopdfPath' => array(
425 'group_name' => 'CiviCRM Preferences',
426 'group' => 'core',
427 'name' => 'wkhtmltopdfPath',
6a488035
TO
428 'type' => 'String',
429 'quick_form_type' => 'Element',
6a488035
TO
430 'html_attributes' => array(
431 'size' => 64,
432 'maxlength' => 256,
433 ),
434 'html_type' => 'Text',
08e57c58 435 'default' => NULL,
6a488035
TO
436 'add' => '4.3',
437 'title' => 'Path to wkhtmltopdf executable',
438 'is_domain' => 1,
439 'is_contact' => 0,
08e57c58
TO
440 'description' => NULL,
441 'help_text' => NULL,
6a488035 442 ),
53b0f6c3
TO
443 'recaptchaOptions' => array(
444 'group_name' => 'CiviCRM Preferences',
445 'group' => 'core',
446 'name' => 'recaptchaOptions',
53b0f6c3
TO
447 'type' => 'String',
448 'quick_form_type' => 'Element',
449 'html_attributes' => array(
450 'size' => 64,
451 'maxlength' => 64,
452 ),
453 'html_type' => 'Text',
454 'default' => NULL,
455 'add' => '4.3',
456 'title' => 'Recaptcha Options',
457 'is_domain' => 1,
458 'is_contact' => 0,
459 '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>.',
460 'help_text' => NULL,
461 ),
6a488035
TO
462 'recaptchaPublicKey' => array(
463 'group_name' => 'CiviCRM Preferences',
464 'group' => 'core',
465 'name' => 'recaptchaPublicKey',
6a488035
TO
466 'type' => 'String',
467 'quick_form_type' => 'Element',
6a488035
TO
468 'html_attributes' => array(
469 'size' => 64,
470 'maxlength' => 64,
471 ),
472 'html_type' => 'Text',
08e57c58 473 'default' => NULL,
6a488035 474 'add' => '4.3',
cf7eb07b 475 'title' => 'Recaptcha Site Key',
6a488035
TO
476 'is_domain' => 1,
477 'is_contact' => 0,
08e57c58
TO
478 'description' => NULL,
479 'help_text' => NULL,
6a488035
TO
480 ),
481 'recaptchaPrivateKey' => array(
482 'group_name' => 'CiviCRM Preferences',
483 'group' => 'core',
484 'name' => 'recaptchaPrivateKey',
6a488035
TO
485 'type' => 'String',
486 'quick_form_type' => 'Element',
6a488035
TO
487 'html_attributes' => array(
488 'size' => 64,
489 'maxlength' => 64,
490 ),
491 'html_type' => 'Text',
08e57c58 492 'default' => NULL,
6a488035 493 'add' => '4.3',
cf7eb07b 494 'title' => 'Recaptcha Secret Key',
6a488035
TO
495 'is_domain' => 1,
496 'is_contact' => 0,
08e57c58
TO
497 'description' => NULL,
498 'help_text' => NULL,
6a488035
TO
499 ),
500 'dashboardCacheTimeout' => array(
501 'group_name' => 'CiviCRM Preferences',
502 'group' => 'core',
503 'name' => 'dashboardCacheTimeout',
6a488035
TO
504 'type' => 'Integer',
505 'quick_form_type' => 'Element',
6a488035
TO
506 'html_attributes' => array(
507 'size' => 3,
508 'maxlength' => 5,
509 ),
510 'html_type' => 'Text',
08e57c58 511 'default' => NULL,
6a488035
TO
512 'add' => '4.3',
513 'title' => 'Dashboard cache timeout',
514 'is_domain' => 1,
515 'is_contact' => 0,
08e57c58
TO
516 'description' => NULL,
517 'help_text' => NULL,
56fdfc52 518 ),
92a8de72 519 'checksum_timeout' => array(
6a488035
TO
520 'group_name' => 'CiviCRM Preferences',
521 'group' => 'core',
92a8de72 522 'name' => 'checksum_timeout',
6a488035
TO
523 'type' => 'Integer',
524 'quick_form_type' => 'Element',
6a488035
TO
525 'html_attributes' => array(
526 'size' => 2,
527 'maxlength' => 8,
528 ),
529 'html_type' => 'Text',
530 'default' => 7,
531 'add' => '4.3',
d5f1ee75 532 'title' => 'Checksum Lifespan',
6a488035
TO
533 'is_domain' => 1,
534 'is_contact' => 0,
08e57c58
TO
535 'description' => NULL,
536 'help_text' => NULL,
6a488035 537 ),
4b030206
TO
538 'blogUrl' => array(
539 'group_name' => 'CiviCRM Preferences',
540 'group' => 'core',
541 'name' => 'blogUrl',
4b030206
TO
542 'type' => 'String',
543 'quick_form_type' => 'Element',
4b030206
TO
544 'html_attributes' => array(
545 'size' => 64,
546 'maxlength' => 128,
547 ),
548 'html_type' => 'Text',
549 'default' => '*default*',
550 'add' => '4.3',
551 'title' => 'Blog Feed URL',
552 'is_domain' => 1,
553 'is_contact' => 0,
554 'description' => 'Blog feed URL used by the blog dashlet',
555 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
556 ),
847c93ac
TO
557 'communityMessagesUrl' => array(
558 'group_name' => 'CiviCRM Preferences',
559 'group' => 'core',
560 'name' => 'communityMessagesUrl',
847c93ac
TO
561 'type' => 'String',
562 'quick_form_type' => 'Element',
847c93ac
TO
563 'html_attributes' => array(
564 'size' => 64,
565 'maxlength' => 128,
566 ),
567 'html_type' => 'Text',
568 'default' => '*default*',
569 'add' => '4.3',
570 'title' => 'Community Messages URL',
571 'is_domain' => 1,
572 'is_contact' => 0,
573 'description' => 'Service providing CiviCRM community messages',
1f957d1e
TO
574 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
575 ),
576 'gettingStartedUrl' => array(
577 'group_name' => 'CiviCRM Preferences',
578 'group' => 'core',
579 'name' => 'gettingStartedUrl',
580 'type' => 'String',
581 'quick_form_type' => 'Element',
582 'html_attributes' => array(
583 'size' => 64,
584 'maxlength' => 128,
585 ),
586 'html_type' => 'Text',
587 'default' => '*default*',
588 'add' => '4.3',
589 'title' => 'Getting Started URL',
590 'is_domain' => 1,
591 'is_contact' => 0,
592 'description' => 'Service providing the Getting Started data',
847c93ac
TO
593 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
594 ),
6a488035
TO
595 'resCacheCode' => array(
596 'group_name' => 'CiviCRM Preferences',
597 'group' => 'core',
598 'name' => 'resCacheCode',
6a488035 599 'type' => 'String',
30fcf833 600 'quick_form_type' => 'Element',
601 'html_type' => 'text',
08e57c58 602 'default' => NULL,
6a488035 603 'add' => '4.3',
340cf368 604 'title' => 'resCacheCode',
6a488035
TO
605 'is_domain' => 1,
606 'is_contact' => 0,
607 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
08e57c58 608 'help_text' => NULL,
6a488035
TO
609 ),
610 'verifySSL' => array(
611 'group_name' => 'CiviCRM Preferences',
612 'group' => 'core',
613 'name' => 'verifySSL',
614 'type' => 'Boolean',
615 'quick_form_type' => 'YesNo',
616 'default' => 1,
617 'add' => '4.3',
66f90900 618 'title' => 'Verify SSL?',
6a488035
TO
619 'is_domain' => 1,
620 'is_contact' => 0,
28f07f05 621 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
6a488035
TO
622 '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',
623 ),
28f07f05
TO
624 'enableSSL' => array(
625 'group_name' => 'CiviCRM Preferences',
626 'group' => 'core',
627 'name' => 'enableSSL',
628 'type' => 'Boolean',
629 'quick_form_type' => 'YesNo',
630 'default' => 0,
631 'add' => '4.5',
632 'title' => 'Force SSL?',
633 'is_domain' => 1,
634 'is_contact' => 0,
635 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
636 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
637 ),
94c11eeb
DL
638 'wpBasePage' => array(
639 'group_name' => 'CiviCRM Preferences',
640 'group' => 'core',
641 'name' => 'wpBasePage',
642 'type' => 'String',
643 'html_type' => 'text',
644 'quick_form_type' => 'Element',
94c11eeb
DL
645 'default' => '',
646 'add' => '4.3',
647 'title' => 'WordPress Base Page',
648 'is_domain' => 1,
649 'is_contact' => 0,
650 'description' => 'If set, CiviCRM will use this setting as the base url.',
651 '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.',
652 ),
d5f1ee75
DG
653 'secondDegRelPermissions' => array(
654 'group_name' => 'CiviCRM Preferences',
655 'group' => 'core',
656 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
657 'type' => 'Boolean',
658 'quick_form_type' => 'YesNo',
659 'default' => 0,
660 'add' => '4.3',
661 'title' => 'Allow second-degree relationship permissions',
662 'is_domain' => 1,
663 'is_contact' => 0,
664 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
08e57c58 665 'help_text' => NULL,
d5f1ee75 666 ),
86eeab72 667 'enable_components' => array(
ac47f7ca 668 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
669 'group_name' => 'CiviCRM Preferences',
670 'group' => 'core',
56fdfc52 671 'name' => 'enable_components',
86eeab72
DS
672 'type' => 'Array',
673 'quick_form_type' => 'Element',
674 'html_type' => 'advmultiselect',
675 'html_attributes' => array(
676 'size' => 5,
677 'style' => 'width:150px',
678 'class' => 'advmultiselect',
679 ),
ac47f7ca 680 'default' => NULL,
56fdfc52 681 'add' => '4.4',
86eeab72
DS
682 'title' => 'Enable Components',
683 'is_domain' => '1',
684 'is_contact' => 0,
08e57c58 685 'description' => NULL,
56fdfc52 686 'help_text' => NULL,
2bc3bd8f 687 'on_change' => array(
c8074a93
TO
688 'CRM_Case_Info::onToggleComponents',
689 'CRM_Core_Component::flushEnabledComponents',
690 'call://resources/resetCacheCode',
2bc3bd8f 691 ),
86eeab72 692 ),
14f20d22
CW
693 'disable_core_css' => array(
694 'group_name' => 'CiviCRM Preferences',
695 'group' => 'core',
696 'name' => 'disable_core_css',
697 'type' => 'Boolean',
698 'quick_form_type' => 'YesNo',
699 'default' => '0',
700 'add' => '4.4',
701 'title' => 'Disable CiviCRM css',
702 'is_domain' => 1,
703 'is_contact' => 0,
704 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
705 'help_text' => NULL,
706 ),
466913fc
AH
707 'empoweredBy' => array(
708 'group_name' => 'CiviCRM Preferences',
709 'group' => 'core',
710 'name' => 'empoweredBy',
711 'type' => 'Boolean',
712 'quick_form_type' => 'YesNo',
713 'default' => 1,
714 'add' => '4.5',
715 'title' => 'Display "empowered by CiviCRM"',
716 'is_domain' => 1,
717 'is_contact' => 0,
718 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
08e57c58 719 'help_text' => NULL,
466913fc 720 ),
f76ec559
TO
721 'logging_no_trigger_permission' => array(
722 'add' => '4.7',
723 'is_domain' => 1,
724 'is_contact' => 0,
725 'group_name' => 'CiviCRM Preferences',
726 'group' => 'core',
727 '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.'),
728 'name' => 'logging_no_trigger_permission',
729 'type' => 'Boolean',
730 'quick_form_type' => 'YesNo',
731 'html_type' => '',
732 'default' => 0,
733 'title' => '(EXPERIMENTAL) MySQL user does not have trigger permissions',
734 'description' => 'Set this when you intend to manage trigger creation outside of CiviCRM',
735 ),
e299c1d0
TO
736 'logging' => array(
737 'add' => '4.7',
e299c1d0
TO
738 'help_text' => NULL,
739 'is_domain' => 1,
740 'is_contact' => 0,
741 'group_name' => 'CiviCRM Preferences',
742 'group' => 'core',
743 'name' => 'logging',
744 'type' => 'Boolean',
745 'quick_form_type' => 'YesNo',
746 'html_type' => '',
747 'default' => '0',
748 'title' => 'Logging',
749 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
750 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
751 'on_change' => array(
752 'CRM_Logging_Schema::onToggle',
753 ),
754 ),
8dd883ca 755 'logging_uniqueid_date' => array(
756 'add' => '4.7',
757 'help_text' => ts('This is the date when CRM-18193 was implemented'),
758 'is_domain' => 1,
759 'is_contact' => 0,
760 'group_name' => 'CiviCRM Preferences',
761 'group' => 'core',
762 'name' => 'logging_uniqueid_date',
763 'type' => 'Date',
764 'quick_form_type' => 'DateTime',
765 'html_type' => '',
766 'default' => NULL,
767 'title' => 'Logging Unique ID not recorded before',
768 'description' => 'This is the date when CRM-18193 was implemented',
769 ),
770 'logging_all_tables_uniquid' => array(
771 'add' => '4.7',
772 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
773 'is_domain' => 1,
774 'is_contact' => 0,
775 'group_name' => 'CiviCRM Preferences',
776 'group' => 'core',
777 'name' => 'logging_all_tables_uniquid',
778 'type' => 'Boolean',
779 'quick_form_type' => 'YesNo',
780 'html_type' => '',
781 'default' => 0,
782 'title' => 'All tables use Unique Connection ID',
783 'description' => 'Do some tables pre-date CRM-18193?',
784 ),
348754d5
TO
785 'userFrameworkUsersTableName' => array(
786 'add' => '4.7',
787 'help_text' => NULL,
788 'is_domain' => 1,
789 'is_contact' => 0,
790 'group_name' => 'CiviCRM Preferences',
791 'group' => 'core',
792 'name' => 'userFrameworkUsersTableName',
793 'type' => 'String',
794 'quick_form_type' => 'Element',
795 'html_type' => 'text',
796 'html_attributes' => array(
797 'size' => '32',
798 'maxlength' => '64',
799 ),
800 'default' => NULL,
801 'title' => 'Drupal Users Table Name',
802 'description' => '',
803 ),
fdd770db
KC
804 'wpLoadPhp' => array(
805 'group_name' => 'CiviCRM Preferences',
806 'group' => 'core',
807 'name' => 'wpLoadPhp',
808 'type' => 'String',
809 'html_type' => 'text',
810 'quick_form_type' => 'Element',
fdd770db
KC
811 'default' => '',
812 'add' => '4.6',
813 'title' => 'WordPress Path to wp-load.php',
814 'is_domain' => 1,
815 'is_contact' => 0,
816 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
817 'help_text' => NULL,
818 ),
1ab26c95
CW
819 'site_id' => array(
820 'group_name' => 'CiviCRM Preferences',
821 'group' => 'core',
822 'name' => 'site_id',
823 'type' => 'String',
30fcf833 824 'quick_form_type' => 'Element',
825 'html_type' => 'text',
1ab26c95
CW
826 'default' => '',
827 'add' => '4.6',
828 'title' => 'Unique Site ID',
829 'is_domain' => 1,
830 'is_contact' => 0,
831 'description' => NULL,
832 'help_text' => NULL,
833 ),
f55dd135
CW
834 'systemStatusCheckResult' => array(
835 'group_name' => 'CiviCRM Preferences',
836 'group' => 'core',
837 'name' => 'systemStatusCheckResult',
838 'type' => 'Integer',
30fcf833 839 'quick_form_type' => 'Element',
840 'html_type' => 'text',
f55dd135
CW
841 'default' => 0,
842 'add' => '4.7',
340cf368 843 'title' => 'systemStatusCheckResult',
f55dd135
CW
844 'is_domain' => 1,
845 'is_contact' => 0,
846 'description' => NULL,
847 'help_text' => NULL,
848 ),
ac5f7c7f
NH
849 'recentItemsMaxCount' => array(
850 'group_name' => 'CiviCRM Preferences',
851 'group' => 'core',
852 'name' => 'recentItemsMaxCount',
853 'type' => 'Integer',
854 'quick_form_type' => 'Element',
855 'html_type' => 'text',
856 'html_attributes' => array(
857 'size' => 2,
136b401b 858 'maxlength' => 3,
ac5f7c7f
NH
859 ),
860 'default' => 20,
861 'add' => '4.7',
862 'title' => 'Size of "Recent Items" stack',
863 'is_domain' => 1,
864 'is_contact' => 0,
d75d5eda 865 'description' => 'How many items should CiviCRM store in it\'s "Recently viewed" list.',
ac5f7c7f
NH
866 'help_text' => NULL,
867 ),
868 'recentItemsProviders' => array(
869 'group_name' => 'CiviCRM Preferences',
870 'group' => 'core',
871 'name' => 'recentItemsProviders',
872 'type' => 'Array',
873 'html_type' => 'Select',
874 'quick_form_type' => 'Select',
875 'html_attributes' => array(
876 'multiple' => 1,
877 'class' => 'crm-select2',
878 ),
879 'default' => '',
880 'add' => '4.7',
881 'title' => 'Recent Items Providers',
882 'is_domain' => 1,
883 'is_contact' => 0,
884 'description' => 'What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.',
885 'help_text' => NULL,
886 'pseudoconstant' => array(
136b401b 887 'callback' => 'CRM_Utils_Recent::getProviders',
ac5f7c7f
NH
888 ),
889 ),
30fcf833 890 'dedupe_default_limit' => array(
891 'group_name' => 'CiviCRM Preferences',
892 'group' => 'core',
893 'name' => 'dedupe_default_limit',
894 'type' => 'Integer',
895 'default' => 0,
896 'quick_form_type' => 'Element',
897 'html_type' => 'text',
898 'add' => '4.7',
899 'title' => 'Default limit for dedupe screen',
900 'is_domain' => 1,
901 'is_contact' => 0,
902 'description' => ts('Default to only loading matches against this number of contacts'),
903 '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.'),
904 ),
b7aba061 905);