SettingsBag::setDb() - Merge in CRM_Core_BAO_Setting::_setItem and ::dao()
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
81621fee 4 | CiviCRM version 4.7 |
6a488035 5 +--------------------------------------------------------------------+
e7112fa7 6 | Copyright CiviCRM LLC (c) 2004-2015 |
6a488035
TO
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
e7112fa7 31 * @copyright CiviCRM LLC (c) 2004-2015
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
08e57c58 38return array(
6a488035
TO
39 'contact_view_options' => array(
40 'group_name' => 'CiviCRM Preferences',
41 'group' => 'core',
42 'name' => 'contact_view_options',
43 'type' => 'String',
44 'html_type' => 'checkboxes',
45 'pseudoconstant' => array(
46 'optionGroupName' => 'contact_view_options',
47 ),
48 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
49 'add' => '4.1',
50 'title' => 'Viewing Contacts',
51 'is_domain' => '1',
52 'is_contact' => 0,
08e57c58
TO
53 'description' => NULL,
54 'help_text' => NULL,
6a488035 55 ),
6a488035
TO
56 'contact_edit_options' => array(
57 'group_name' => 'CiviCRM Preferences',
58 'group' => 'core',
59 'name' => 'contact_edit_options',
60 'type' => 'String',
61 'html_type' => 'checkboxes',
62 'pseudoconstant' => array(
63 'optionGroupName' => 'contact_edit_options',
64 ),
65 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 1',
66 'add' => '4.1',
67 'title' => 'Editing Contacts',
68 'is_domain' => 1,
69 'is_contact' => 0,
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 ),
81 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
82 'add' => '4.1',
83 'title' => 'Contact Search',
84 'is_domain' => 1,
85 'is_contact' => 0,
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 ),
6a488035
TO
98 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 19\ 1',
99 'add' => '4.1',
100 'title' => 'Contact Dashboard',
101 'is_domain' => 1,
102 'is_contact' => 0,
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 ),
115 'default' => '\ 11\ 12\ 14\ 15\ 18\ 19\ 110\ 111\ 1',
116 'add' => '4.1',
117 'title' => 'Addressing Options',
118 'is_domain' => 1,
119 'is_contact' => 0,
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',
08e57c58 199 'default' => NULL,
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',
08e57c58 227 'default' => NULL,
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',
08e57c58 241 'default' => NULL,
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
TO
282 ),
283 'max_attachments' => array(
284 'group_name' => 'CiviCRM Preferences',
285 'group' => 'core',
286 'name' => 'max_attachments',
287 'legacy_key' => 'maxAttachments',
6a488035
TO
288 'type' => 'Integer',
289 'quick_form_type' => 'Element',
290 'html_type' => 'text',
291 'html_attributes' => array(
292 'size' => 2,
293 'maxlength' => 8,
56fdfc52
TO
294 ),
295 'default' => 3,
296 'add' => '4.3',
297 'title' => 'Maximum Attachments',
298 'is_domain' => 1,
299 'is_contact' => 0,
300 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
301 'help_text' => NULL,
6a488035
TO
302 ),
303 'maxFileSize' => array(
304 'group_name' => 'CiviCRM Preferences',
305 'group' => 'core',
306 'name' => 'maxFileSize',
6a488035
TO
307 'type' => 'Integer',
308 'quick_form_type' => 'Element',
309 'html_type' => 'text',
310 'html_attributes' => array(
311 'size' => 2,
312 'maxlength' => 8,
313 ),
314 'default' => 3,
315 'add' => '4.3',
316 'title' => 'Maximum File Size (in MB)',
317 'is_domain' => 1,
318 'is_contact' => 0,
319 '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 320 'help_text' => NULL,
6a488035
TO
321 ),
322 'contact_undelete' => array(
323 'group_name' => 'CiviCRM Preferences',
324 'group' => 'core',
325 'name' => 'contact_undelete',
326 'type' => 'Boolean',
327 'quick_form_type' => 'YesNo',
328 'default' => 1,
329 'add' => '4.3',
330 'title' => 'Contact Trash and Undelete',
331 'is_domain' => 1,
332 'is_contact' => 0,
333 '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 334 'help_text' => NULL,
6a488035 335 ),
f182074e
PN
336 'allowPermDeleteFinancial' => array(
337 'group_name' => 'CiviCRM Preferences',
338 'group' => 'core',
339 'name' => 'allowPermDeleteFinancial',
340 'type' => 'Boolean',
341 'quick_form_type' => 'YesNo',
342 'default' => FALSE,
343 'add' => '4.3',
344 'title' => 'Contact Permanent Delete',
345 'is_domain' => 1,
346 'is_contact' => 0,
347 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
08e57c58 348 'help_text' => NULL,
f182074e 349 ),
b7aba061
CW
350 'versionAlert' => array(
351 'group_name' => 'CiviCRM Preferences',
352 'group' => 'core',
353 'name' => 'versionAlert',
06576a03
AH
354 'type' => 'Boolean',
355 'quick_form_type' => 'YesNo',
b7aba061
CW
356 'default' => 1,
357 'add' => '4.3',
358 'title' => 'New Version Alerts',
359 'is_domain' => 1,
360 'is_contact' => 0,
fa8dc18c 361 'description' => "",
08e57c58 362 'help_text' => NULL,
fa8dc18c 363 ),
6a488035
TO
364 'versionCheck' => array(
365 'group_name' => 'CiviCRM Preferences',
366 'group' => 'core',
367 'name' => 'versionCheck',
6a488035
TO
368 'type' => 'Boolean',
369 'quick_form_type' => 'YesNo',
370 'default' => 1,
371 'add' => '4.3',
fa8dc18c 372 'title' => 'Automatically Check for Updates',
6a488035
TO
373 'is_domain' => 1,
374 'is_contact' => 0,
fa8dc18c 375 'description' => "",
08e57c58 376 'help_text' => NULL,
6a488035 377 ),
3a39a8b5
CW
378 'versionCheckIgnoreDate' => array(
379 'group_name' => 'CiviCRM Preferences',
380 'group' => 'core',
381 'name' => 'versionCheckIgnoreDate',
382 'type' => 'String',
383 'quick_form_type' => 'Element',
384 'html_type' => 'text',
385 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
386 'default' => '',
387 'add' => '4.6',
388 'title' => 'Ignore Updates Prior to',
389 'is_domain' => 1,
390 'is_contact' => 0,
391 'description' => "",
08e57c58 392 'help_text' => NULL,
3a39a8b5 393 ),
439a9f1b
TO
394 'securityAlert' => array(
395 'group_name' => 'CiviCRM Preferences',
396 'group' => 'core',
fa8dc18c 397 'name' => 'securityAlert',
439a9f1b
TO
398 'type' => 'Boolean',
399 'quick_form_type' => 'YesNo',
400 'default' => 1,
401 'add' => '4.4',
06576a03 402 'title' => 'Status Alerts',
439a9f1b
TO
403 'is_domain' => 1,
404 'is_contact' => 0,
06576a03 405 '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 406 'help_text' => NULL,
439a9f1b 407 ),
6a488035
TO
408 'doNotAttachPDFReceipt' => array(
409 'group_name' => 'CiviCRM Preferences',
410 'group' => 'core',
411 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
412 'type' => 'Boolean',
413 'quick_form_type' => 'YesNo',
f825dba2 414 'default' => 0,
6a488035
TO
415 'add' => '4.3',
416 'title' => 'Attach PDF copy to receipts',
417 'is_domain' => 1,
418 'is_contact' => 0,
419 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 420 'help_text' => NULL,
6a488035
TO
421 ),
422 'wkhtmltopdfPath' => array(
423 'group_name' => 'CiviCRM Preferences',
424 'group' => 'core',
425 'name' => 'wkhtmltopdfPath',
6a488035
TO
426 'type' => 'String',
427 'quick_form_type' => 'Element',
6a488035
TO
428 'html_attributes' => array(
429 'size' => 64,
430 'maxlength' => 256,
431 ),
432 'html_type' => 'Text',
08e57c58 433 'default' => NULL,
6a488035
TO
434 'add' => '4.3',
435 'title' => 'Path to wkhtmltopdf executable',
436 'is_domain' => 1,
437 'is_contact' => 0,
08e57c58
TO
438 'description' => NULL,
439 'help_text' => NULL,
6a488035 440 ),
53b0f6c3
TO
441 'recaptchaOptions' => array(
442 'group_name' => 'CiviCRM Preferences',
443 'group' => 'core',
444 'name' => 'recaptchaOptions',
53b0f6c3
TO
445 'type' => 'String',
446 'quick_form_type' => 'Element',
447 'html_attributes' => array(
448 'size' => 64,
449 'maxlength' => 64,
450 ),
451 'html_type' => 'Text',
452 'default' => NULL,
453 'add' => '4.3',
454 'title' => 'Recaptcha Options',
455 'is_domain' => 1,
456 'is_contact' => 0,
457 '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>.',
458 'help_text' => NULL,
459 ),
6a488035
TO
460 'recaptchaPublicKey' => array(
461 'group_name' => 'CiviCRM Preferences',
462 'group' => 'core',
463 'name' => 'recaptchaPublicKey',
6a488035
TO
464 'type' => 'String',
465 'quick_form_type' => 'Element',
6a488035
TO
466 'html_attributes' => array(
467 'size' => 64,
468 'maxlength' => 64,
469 ),
470 'html_type' => 'Text',
08e57c58 471 'default' => NULL,
6a488035
TO
472 'add' => '4.3',
473 'title' => 'Recaptcha Public Key',
474 'is_domain' => 1,
475 'is_contact' => 0,
08e57c58
TO
476 'description' => NULL,
477 'help_text' => NULL,
6a488035
TO
478 ),
479 'recaptchaPrivateKey' => array(
480 'group_name' => 'CiviCRM Preferences',
481 'group' => 'core',
482 'name' => 'recaptchaPrivateKey',
6a488035
TO
483 'type' => 'String',
484 'quick_form_type' => 'Element',
6a488035
TO
485 'html_attributes' => array(
486 'size' => 64,
487 'maxlength' => 64,
488 ),
489 'html_type' => 'Text',
08e57c58 490 'default' => NULL,
6a488035
TO
491 'add' => '4.3',
492 'title' => 'Recaptcha Private Key',
493 'is_domain' => 1,
494 'is_contact' => 0,
08e57c58
TO
495 'description' => NULL,
496 'help_text' => NULL,
6a488035
TO
497 ),
498 'dashboardCacheTimeout' => array(
499 'group_name' => 'CiviCRM Preferences',
500 'group' => 'core',
501 'name' => 'dashboardCacheTimeout',
6a488035
TO
502 'type' => 'Integer',
503 'quick_form_type' => 'Element',
6a488035
TO
504 'html_attributes' => array(
505 'size' => 3,
506 'maxlength' => 5,
507 ),
508 'html_type' => 'Text',
08e57c58 509 'default' => NULL,
6a488035
TO
510 'add' => '4.3',
511 'title' => 'Dashboard cache timeout',
512 'is_domain' => 1,
513 'is_contact' => 0,
08e57c58
TO
514 'description' => NULL,
515 'help_text' => NULL,
56fdfc52 516 ),
92a8de72 517 'checksum_timeout' => array(
6a488035
TO
518 'group_name' => 'CiviCRM Preferences',
519 'group' => 'core',
92a8de72 520 'name' => 'checksum_timeout',
6a488035
TO
521 'type' => 'Integer',
522 'quick_form_type' => 'Element',
6a488035
TO
523 'html_attributes' => array(
524 'size' => 2,
525 'maxlength' => 8,
526 ),
527 'html_type' => 'Text',
528 'default' => 7,
529 'add' => '4.3',
d5f1ee75 530 'title' => 'Checksum Lifespan',
6a488035
TO
531 'is_domain' => 1,
532 'is_contact' => 0,
08e57c58
TO
533 'description' => NULL,
534 'help_text' => NULL,
6a488035 535 ),
4b030206
TO
536 'blogUrl' => array(
537 'group_name' => 'CiviCRM Preferences',
538 'group' => 'core',
539 'name' => 'blogUrl',
4b030206
TO
540 'type' => 'String',
541 'quick_form_type' => 'Element',
4b030206
TO
542 'html_attributes' => array(
543 'size' => 64,
544 'maxlength' => 128,
545 ),
546 'html_type' => 'Text',
547 'default' => '*default*',
548 'add' => '4.3',
549 'title' => 'Blog Feed URL',
550 'is_domain' => 1,
551 'is_contact' => 0,
552 'description' => 'Blog feed URL used by the blog dashlet',
553 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
554 ),
847c93ac
TO
555 'communityMessagesUrl' => array(
556 'group_name' => 'CiviCRM Preferences',
557 'group' => 'core',
558 'name' => 'communityMessagesUrl',
847c93ac
TO
559 'type' => 'String',
560 'quick_form_type' => 'Element',
847c93ac
TO
561 'html_attributes' => array(
562 'size' => 64,
563 'maxlength' => 128,
564 ),
565 'html_type' => 'Text',
566 'default' => '*default*',
567 'add' => '4.3',
568 'title' => 'Community Messages URL',
569 'is_domain' => 1,
570 'is_contact' => 0,
571 'description' => 'Service providing CiviCRM community messages',
572 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
573 ),
6a488035
TO
574 'resCacheCode' => array(
575 'group_name' => 'CiviCRM Preferences',
576 'group' => 'core',
577 'name' => 'resCacheCode',
6a488035
TO
578 'type' => 'String',
579 'quick_form_type' => 'Element',
6a488035
TO
580 'html_attributes' => array(
581 'size' => 16,
582 'maxlength' => 16,
583 ),
584 'html_type' => 'Text',
08e57c58 585 'default' => NULL,
6a488035
TO
586 'add' => '4.3',
587 'title' => 'Resource Cache Code',
588 'is_domain' => 1,
589 'is_contact' => 0,
590 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
08e57c58 591 'help_text' => NULL,
6a488035
TO
592 ),
593 'verifySSL' => array(
594 'group_name' => 'CiviCRM Preferences',
595 'group' => 'core',
596 'name' => 'verifySSL',
597 'type' => 'Boolean',
598 'quick_form_type' => 'YesNo',
599 'default' => 1,
600 'add' => '4.3',
66f90900 601 'title' => 'Verify SSL?',
6a488035
TO
602 'is_domain' => 1,
603 'is_contact' => 0,
28f07f05 604 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
6a488035
TO
605 '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',
606 ),
28f07f05
TO
607 'enableSSL' => array(
608 'group_name' => 'CiviCRM Preferences',
609 'group' => 'core',
610 'name' => 'enableSSL',
611 'type' => 'Boolean',
612 'quick_form_type' => 'YesNo',
613 'default' => 0,
614 'add' => '4.5',
615 'title' => 'Force SSL?',
616 'is_domain' => 1,
617 'is_contact' => 0,
618 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
619 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
620 ),
94c11eeb
DL
621 'wpBasePage' => array(
622 'group_name' => 'CiviCRM Preferences',
623 'group' => 'core',
624 'name' => 'wpBasePage',
625 'type' => 'String',
626 'html_type' => 'text',
627 'quick_form_type' => 'Element',
94c11eeb
DL
628 'default' => '',
629 'add' => '4.3',
630 'title' => 'WordPress Base Page',
631 'is_domain' => 1,
632 'is_contact' => 0,
633 'description' => 'If set, CiviCRM will use this setting as the base url.',
634 '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.',
635 ),
d5f1ee75
DG
636 'secondDegRelPermissions' => array(
637 'group_name' => 'CiviCRM Preferences',
638 'group' => 'core',
639 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
640 'type' => 'Boolean',
641 'quick_form_type' => 'YesNo',
642 'default' => 0,
643 'add' => '4.3',
644 'title' => 'Allow second-degree relationship permissions',
645 'is_domain' => 1,
646 'is_contact' => 0,
647 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
08e57c58 648 'help_text' => NULL,
d5f1ee75 649 ),
86eeab72
DS
650 'enable_components' => array(
651 'group_name' => 'CiviCRM Preferences',
652 'group' => 'core',
56fdfc52 653 'name' => 'enable_components',
86eeab72
DS
654 'type' => 'Array',
655 'quick_form_type' => 'Element',
656 'html_type' => 'advmultiselect',
657 'html_attributes' => array(
658 'size' => 5,
659 'style' => 'width:150px',
660 'class' => 'advmultiselect',
661 ),
64fea50a 662 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
56fdfc52 663 'add' => '4.4',
86eeab72
DS
664 'title' => 'Enable Components',
665 'is_domain' => '1',
666 'is_contact' => 0,
08e57c58 667 'description' => NULL,
56fdfc52 668 'help_text' => NULL,
2bc3bd8f 669 'on_change' => array(
c8074a93
TO
670 'CRM_Case_Info::onToggleComponents',
671 'CRM_Core_Component::flushEnabledComponents',
672 'call://resources/resetCacheCode',
2bc3bd8f 673 ),
86eeab72 674 ),
14f20d22
CW
675 'disable_core_css' => array(
676 'group_name' => 'CiviCRM Preferences',
677 'group' => 'core',
678 'name' => 'disable_core_css',
679 'type' => 'Boolean',
680 'quick_form_type' => 'YesNo',
681 'default' => '0',
682 'add' => '4.4',
683 'title' => 'Disable CiviCRM css',
684 'is_domain' => 1,
685 'is_contact' => 0,
686 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
687 'help_text' => NULL,
688 ),
466913fc
AH
689 'empoweredBy' => array(
690 'group_name' => 'CiviCRM Preferences',
691 'group' => 'core',
692 'name' => 'empoweredBy',
693 'type' => 'Boolean',
694 'quick_form_type' => 'YesNo',
695 'default' => 1,
696 'add' => '4.5',
697 'title' => 'Display "empowered by CiviCRM"',
698 'is_domain' => 1,
699 'is_contact' => 0,
700 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
08e57c58 701 'help_text' => NULL,
466913fc 702 ),
e299c1d0
TO
703 'logging' => array(
704 'add' => '4.7',
e299c1d0
TO
705 'help_text' => NULL,
706 'is_domain' => 1,
707 'is_contact' => 0,
708 'group_name' => 'CiviCRM Preferences',
709 'group' => 'core',
710 'name' => 'logging',
711 'type' => 'Boolean',
712 'quick_form_type' => 'YesNo',
713 'html_type' => '',
714 'default' => '0',
715 'title' => 'Logging',
716 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
717 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
718 'on_change' => array(
719 'CRM_Logging_Schema::onToggle',
720 ),
721 ),
348754d5
TO
722 'userFrameworkUsersTableName' => array(
723 'add' => '4.7',
724 'help_text' => NULL,
725 'is_domain' => 1,
726 'is_contact' => 0,
727 'group_name' => 'CiviCRM Preferences',
728 'group' => 'core',
729 'name' => 'userFrameworkUsersTableName',
730 'type' => 'String',
731 'quick_form_type' => 'Element',
732 'html_type' => 'text',
733 'html_attributes' => array(
734 'size' => '32',
735 'maxlength' => '64',
736 ),
737 'default' => NULL,
738 'title' => 'Drupal Users Table Name',
739 'description' => '',
740 ),
fdd770db
KC
741 'wpLoadPhp' => array(
742 'group_name' => 'CiviCRM Preferences',
743 'group' => 'core',
744 'name' => 'wpLoadPhp',
745 'type' => 'String',
746 'html_type' => 'text',
747 'quick_form_type' => 'Element',
fdd770db
KC
748 'default' => '',
749 'add' => '4.6',
750 'title' => 'WordPress Path to wp-load.php',
751 'is_domain' => 1,
752 'is_contact' => 0,
753 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
754 'help_text' => NULL,
755 ),
b7aba061 756);