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