INFRA-132 - CRM/Dedupe - phpcbf
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
39de6fd5 4 | CiviCRM version 4.6 |
6a488035 5 +--------------------------------------------------------------------+
f5721b07 6 | Copyright CiviCRM LLC (c) 2004-2014 |
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 +--------------------------------------------------------------------+
26*/
27
28/**
29 *
30 * @package CRM
f5721b07 31 * @copyright CiviCRM LLC (c) 2004-2014
6a488035
TO
32 * $Id$
33 *
34 */
35/*
36 * Settings metadata file
37 */
38return array (
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,
53 'description' => null,
54 'help_text' => null,
55 ),
56
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 ),
66 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 1',
67 'add' => '4.1',
68 'title' => 'Editing Contacts',
69 'is_domain' => 1,
70 'is_contact' => 0,
71 'description' => null,
72 'help_text' => null,
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 ),
82 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
83 'add' => '4.1',
84 'title' => 'Contact Search',
85 'is_domain' => 1,
86 'is_contact' => 0,
87 'description' => null,
88 'help_text' => null,
89 ),
90 'user_dashboard_options' => array(
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',
98 ),
99 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 19\ 1',
100 'add' => '4.1',
101 'title' => 'Contact Dashboard',
102 'is_domain' => 1,
103 'is_contact' => 0,
104 'description' => null,
105 'help_text' => null,
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 ),
116 'default' => '\ 11\ 12\ 14\ 15\ 18\ 19\ 110\ 111\ 1',
117 'add' => '4.1',
118 'title' => 'Addressing Options',
119 'is_domain' => 1,
120 'is_contact' => 0,
121 'description' => null,
122 'help_text' => null,
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,
135 'description' => null,
136 'help_text' => null,
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,
149 'description' => null,
150 'help_text' => null,
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,
163 'description' => null,
164 'help_text' => null,
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,
177 'description' => null,
178 'help_text' => null,
179 ),
180 'editor_id' => array(
181 'group_name' => 'CiviCRM Preferences',
182 'group' => 'core',
183 'name' => 'editor_id',
184 'type' => 'String',
185 'html_type' => 'Text',
186 'default' => null,
187 'add' => '4.1',
66f90900 188 'title' => 'Wysiwig Editor',
6a488035
TO
189 'is_domain' => 1,
190 'is_contact' => 0,
191 'description' => null,
192 'help_text' => null,
193 ),
194 'contact_ajax_check_similar' => array(
195 'group_name' => 'CiviCRM Preferences',
196 'group' => 'core',
197 'name' => 'contact_ajax_check_similar',
198 'type' => 'String',
199 'html_type' => 'Text',
200 'default' => null,
201 'add' => '4.1',
66f90900 202 'title' => 'Ajax Check Similar',
6a488035
TO
203 'is_domain' => 1,
204 'is_contact' => 0,
205 'description' => null,
206 'help_text' => null,
f1cf499b 207 ),
53f2643c 208 'ajaxPopupsEnabled' => array(
f1cf499b
CW
209 'group_name' => 'CiviCRM Preferences',
210 'group' => 'core',
53f2643c 211 'name' => 'ajaxPopupsEnabled',
f1cf499b
CW
212 'type' => 'Boolean',
213 'quick_form_type' => 'YesNo',
214 'default' => 1,
215 'add' => '4.5',
66f90900 216 'title' => 'Ajax Popups Enabled',
f1cf499b
CW
217 'is_domain' => 1,
218 'is_contact' => 0,
219 'description' => null,
220 'help_text' => null,
6a488035
TO
221 ),
222 'activity_assignee_notification' => array(
223 'group_name' => 'CiviCRM Preferences',
224 'group' => 'core',
225 'name' => 'activity_assignee_notification',
226 'type' => 'String',
227 'html_type' => 'Text',
228 'default' => null,
229 'add' => '4.1',
230 'title' => 'Notify Activity Assignees',
231 'is_domain' => 1,
232 'is_contact' => 0,
233 'description' => null,
234 'help_text' => null,
235 ),
236 'activity_assignee_notification_ics' => array(
237 'group_name' => 'CiviCRM Preferences',
238 'group' => 'core',
239 'name' => 'activity_assignee_notification_ics',
240 'type' => 'String',
241 'html_type' => 'Text',
242 'default' => null,
243 'add' => '4.3',
244 'title' => 'Include ICal Invite to Activity Assignees',
245 'is_domain' => 1,
246 'is_contact' => 0,
247 'description' => null,
248 'help_text' => null,
249 ),
250 'contact_autocomplete_options' => array(
251 'group_name' => 'CiviCRM Preferences',
252 'group' => 'core',
253 'name' => 'contact_autocomplete_options',
254 'type' => 'String',
255 'html_type' => 'checkboxes',
77d87f6e 256 'pseudoconstant' => array(
257 'optionGroupName' => 'contact_autocomplete_options',
258 ),
6a488035
TO
259 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
260 'add' => '4.1',
261 'title' => 'Contact Reference Autocomplete Options',
262 'is_domain' => 1,
263 'is_contact' => 0,
264 'description' => null,
265 'help_text' => null,
266 ),
267 'contact_reference_options' => array(
268 'group_name' => 'CiviCRM Preferences',
269 'group' => 'core',
270 'name' => 'contact_reference_options',
271 'type' => 'String',
272 'html_type' => 'checkboxes',
273 'pseudoconstant' => array(
274 'optionGroupName' => 'contact_reference_options',
275 ),
276 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
277 'add' => '4.1',
66f90900 278 'title' => 'Contact Reference Options',
6a488035
TO
279 'is_domain' => 1,
280 'is_contact' => 0,
281 'description' => null,
282 'help_text' => null,
283 ),
284 'max_attachments' => array(
285 'group_name' => 'CiviCRM Preferences',
286 'group' => 'core',
287 'name' => 'max_attachments',
288 'legacy_key' => 'maxAttachments',
289 'prefetch' => 0,
290 'type' => 'Integer',
291 'quick_form_type' => 'Element',
292 'html_type' => 'text',
293 'html_attributes' => array(
294 'size' => 2,
295 'maxlength' => 8,
296 ),
297 'default' => 3,
298 'add' => '4.3',
299 'title' => 'Maximum Attachments',
300 'is_domain' => 1,
301 'is_contact' => 0,
302 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
303 'help_text' => null,
304 ),
305 'maxFileSize' => array(
306 'group_name' => 'CiviCRM Preferences',
307 'group' => 'core',
308 'name' => 'maxFileSize',
35aaa019 309 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 310 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
311 'type' => 'Integer',
312 'quick_form_type' => 'Element',
313 'html_type' => 'text',
314 'html_attributes' => array(
315 'size' => 2,
316 'maxlength' => 8,
317 ),
318 'default' => 3,
319 'add' => '4.3',
320 'title' => 'Maximum File Size (in MB)',
321 'is_domain' => 1,
322 'is_contact' => 0,
323 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
324 'help_text' => null,
325 ),
326 'contact_undelete' => array(
327 'group_name' => 'CiviCRM Preferences',
328 'group' => 'core',
329 'name' => 'contact_undelete',
330 'type' => 'Boolean',
331 'quick_form_type' => 'YesNo',
332 'default' => 1,
333 'add' => '4.3',
334 'title' => 'Contact Trash and Undelete',
335 'is_domain' => 1,
336 'is_contact' => 0,
337 '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).',
338 'help_text' => null,
339 ),
f182074e
PN
340 'allowPermDeleteFinancial' => array(
341 'group_name' => 'CiviCRM Preferences',
342 'group' => 'core',
343 'name' => 'allowPermDeleteFinancial',
344 'type' => 'Boolean',
345 'quick_form_type' => 'YesNo',
346 'default' => FALSE,
347 'add' => '4.3',
348 'title' => 'Contact Permanent Delete',
349 'is_domain' => 1,
350 'is_contact' => 0,
351 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
352 'help_text' => null,
353 ),
b7aba061
CW
354 'versionAlert' => array(
355 'group_name' => 'CiviCRM Preferences',
356 'group' => 'core',
357 'name' => 'versionAlert',
fa8dc18c
CW
358 'type' => 'Integer',
359 'quick_form_type' => 'Element',
360 'html_type' => 'select',
361 'option_values' => array(
362 ts('Disabled'),
363 ts('Display In Page Footer'),
364 ts('Display As Popup Alert'),
365 ts('Page Footer + Popup Alert'),
366 ),
b7aba061
CW
367 'default' => 1,
368 'add' => '4.3',
369 'title' => 'New Version Alerts',
370 'is_domain' => 1,
371 'is_contact' => 0,
fa8dc18c
CW
372 'description' => "",
373 'help_text' => null,
374 ),
375 'securityUpdateAlert' => array(
376 'group_name' => 'CiviCRM Preferences',
377 'group' => 'core',
378 'name' => 'securityUpdateAlert',
379 'type' => 'Integer',
380 'quick_form_type' => 'Element',
381 'html_type' => 'select',
382 'option_values' => array(
383 ts('Disabled'),
384 ts('Display In Page Footer'),
385 ts('Display As Popup Alert'),
386 ts('Page Footer + Popup Alert'),
387 ),
388 'default' => 3,
389 'add' => '4.6',
390 'title' => 'Security Update Alerts',
391 'is_domain' => 1,
392 'is_contact' => 0,
393 'description' => "",
b7aba061
CW
394 'help_text' => null,
395 ),
6a488035
TO
396 'versionCheck' => array(
397 'group_name' => 'CiviCRM Preferences',
398 'group' => 'core',
399 'name' => 'versionCheck',
6a488035
TO
400 'type' => 'Boolean',
401 'quick_form_type' => 'YesNo',
402 'default' => 1,
403 'add' => '4.3',
fa8dc18c 404 'title' => 'Automatically Check for Updates',
6a488035
TO
405 'is_domain' => 1,
406 'is_contact' => 0,
fa8dc18c 407 'description' => "",
6a488035
TO
408 'help_text' => null,
409 ),
3a39a8b5
CW
410 'versionCheckIgnoreDate' => array(
411 'group_name' => 'CiviCRM Preferences',
412 'group' => 'core',
413 'name' => 'versionCheckIgnoreDate',
414 'type' => 'String',
415 'quick_form_type' => 'Element',
416 'html_type' => 'text',
417 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
418 'default' => '',
419 'add' => '4.6',
420 'title' => 'Ignore Updates Prior to',
421 'is_domain' => 1,
422 'is_contact' => 0,
423 'description' => "",
424 'help_text' => null,
425 ),
439a9f1b
TO
426 'securityAlert' => array(
427 'group_name' => 'CiviCRM Preferences',
428 'group' => 'core',
fa8dc18c 429 'name' => 'securityAlert',
439a9f1b
TO
430 'type' => 'Boolean',
431 'quick_form_type' => 'YesNo',
432 'default' => 1,
433 'add' => '4.4',
fa8dc18c 434 'title' => 'Security Audits',
439a9f1b
TO
435 'is_domain' => 1,
436 'is_contact' => 0,
437 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
438 'help_text' => null,
439 ),
6a488035
TO
440 'doNotAttachPDFReceipt' => array(
441 'group_name' => 'CiviCRM Preferences',
442 'group' => 'core',
443 'name' => 'doNotAttachPDFReceipt',
35aaa019 444 'prefetch' => 1, // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 445 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
446 'type' => 'Boolean',
447 'quick_form_type' => 'YesNo',
448 'default' => 1,
449 'add' => '4.3',
450 'title' => 'Attach PDF copy to receipts',
451 'is_domain' => 1,
452 'is_contact' => 0,
453 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
454 'help_text' => null,
455 ),
456 'wkhtmltopdfPath' => array(
457 'group_name' => 'CiviCRM Preferences',
458 'group' => 'core',
459 'name' => 'wkhtmltopdfPath',
35aaa019 460 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 461 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
462 'type' => 'String',
463 'quick_form_type' => 'Element',
464 'html_type' => 'text',
465 'html_attributes' => array(
466 'size' => 64,
467 'maxlength' => 256,
468 ),
469 'html_type' => 'Text',
470 'default' => null,
471 'add' => '4.3',
472 'title' => 'Path to wkhtmltopdf executable',
473 'is_domain' => 1,
474 'is_contact' => 0,
475 'description' => null,
476 'help_text' => null,
477 ),
478 'recaptchaPublicKey' => array(
479 'group_name' => 'CiviCRM Preferences',
480 'group' => 'core',
481 'name' => 'recaptchaPublicKey',
35aaa019 482 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 483 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
484 'type' => 'String',
485 'quick_form_type' => 'Element',
486 'html_type' => 'text',
487 'html_attributes' => array(
488 'size' => 64,
489 'maxlength' => 64,
490 ),
491 'html_type' => 'Text',
492 'default' => null,
493 'add' => '4.3',
494 'title' => 'Recaptcha Public Key',
495 'is_domain' => 1,
496 'is_contact' => 0,
497 'description' => null,
498 'help_text' => null,
499 ),
500 'recaptchaPrivateKey' => array(
501 'group_name' => 'CiviCRM Preferences',
502 'group' => 'core',
503 'name' => 'recaptchaPrivateKey',
35aaa019 504 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 505 'config_only'=> 1,//@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
506 'type' => 'String',
507 'quick_form_type' => 'Element',
508 'html_type' => 'text',
509 'html_attributes' => array(
510 'size' => 64,
511 'maxlength' => 64,
512 ),
513 'html_type' => 'Text',
514 'default' => null,
515 'add' => '4.3',
516 'title' => 'Recaptcha Private Key',
517 'is_domain' => 1,
518 'is_contact' => 0,
519 'description' => null,
520 'help_text' => null,
521 ),
522 'recaptchaPrivateKey' => array(
523 'group_name' => 'CiviCRM Preferences',
524 'group' => 'core',
525 'name' => 'recaptchaPrivateKey',
35aaa019 526 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 527 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
528 'type' => 'String',
529 'quick_form_type' => 'Element',
530 'html_type' => 'text',
531 'html_attributes' => array(
532 'size' => 64,
533 'maxlength' => 64,
534 ),
535 'html_type' => 'Text',
536 'default' => null,
537 'add' => '4.3',
538 'title' => 'Recaptcha Private Key',
539 'is_domain' => 1,
540 'is_contact' => 0,
541 'description' => null,
542 'help_text' => null,
543 ),
544 'dashboardCacheTimeout' => array(
545 'group_name' => 'CiviCRM Preferences',
546 'group' => 'core',
547 'name' => 'dashboardCacheTimeout',
35aaa019 548 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 549 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
550 'type' => 'Integer',
551 'quick_form_type' => 'Element',
552 'html_type' => 'text',
553 'html_attributes' => array(
554 'size' => 3,
555 'maxlength' => 5,
556 ),
557 'html_type' => 'Text',
558 'default' => null,
559 'add' => '4.3',
560 'title' => 'Dashboard cache timeout',
561 'is_domain' => 1,
562 'is_contact' => 0,
563 'description' => null,
564 'help_text' => null,
565 ),
566 'checksumTimeout' => array(
567 'group_name' => 'CiviCRM Preferences',
568 'group' => 'core',
569 'name' => 'checksumTimeout',
35aaa019 570 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
6a488035
TO
571 'type' => 'Integer',
572 'quick_form_type' => 'Element',
573 'html_type' => 'text',
574 'html_attributes' => array(
575 'size' => 2,
576 'maxlength' => 8,
577 ),
578 'html_type' => 'Text',
579 'default' => 7,
580 'add' => '4.3',
d5f1ee75 581 'title' => 'Checksum Lifespan',
6a488035
TO
582 'is_domain' => 1,
583 'is_contact' => 0,
584 'description' => null,
585 'help_text' => null,
586 ),
4b030206
TO
587 'blogUrl' => array(
588 'group_name' => 'CiviCRM Preferences',
589 'group' => 'core',
590 'name' => 'blogUrl',
591 'prefetch' => 0,
4b030206
TO
592 'type' => 'String',
593 'quick_form_type' => 'Element',
594 'html_type' => 'text',
595 'html_attributes' => array(
596 'size' => 64,
597 'maxlength' => 128,
598 ),
599 'html_type' => 'Text',
600 'default' => '*default*',
601 'add' => '4.3',
602 'title' => 'Blog Feed URL',
603 'is_domain' => 1,
604 'is_contact' => 0,
605 'description' => 'Blog feed URL used by the blog dashlet',
606 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
607 ),
847c93ac
TO
608 'communityMessagesUrl' => array(
609 'group_name' => 'CiviCRM Preferences',
610 'group' => 'core',
611 'name' => 'communityMessagesUrl',
612 'prefetch' => 0,
847c93ac
TO
613 'type' => 'String',
614 'quick_form_type' => 'Element',
615 'html_type' => 'text',
616 'html_attributes' => array(
617 'size' => 64,
618 'maxlength' => 128,
619 ),
620 'html_type' => 'Text',
621 'default' => '*default*',
622 'add' => '4.3',
623 'title' => 'Community Messages URL',
624 'is_domain' => 1,
625 'is_contact' => 0,
626 'description' => 'Service providing CiviCRM community messages',
627 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
628 ),
6a488035
TO
629 'resCacheCode' => array(
630 'group_name' => 'CiviCRM Preferences',
631 'group' => 'core',
632 'name' => 'resCacheCode',
35aaa019 633 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
e5f3a057 634 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
635 'type' => 'String',
636 'quick_form_type' => 'Element',
637 'html_type' => 'text',
638 'html_attributes' => array(
639 'size' => 16,
640 'maxlength' => 16,
641 ),
642 'html_type' => 'Text',
643 'default' => null,
644 'add' => '4.3',
645 'title' => 'Resource Cache Code',
646 'is_domain' => 1,
647 'is_contact' => 0,
648 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
649 'help_text' => null,
650 ),
651 'verifySSL' => array(
652 'group_name' => 'CiviCRM Preferences',
653 'group' => 'core',
654 'name' => 'verifySSL',
655 'type' => 'Boolean',
656 'quick_form_type' => 'YesNo',
657 'default' => 1,
658 'add' => '4.3',
66f90900 659 'title' => 'Verify SSL?',
6a488035
TO
660 'is_domain' => 1,
661 'is_contact' => 0,
662 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
663 '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',
664 ),
94c11eeb
DL
665 'wpBasePage' => array(
666 'group_name' => 'CiviCRM Preferences',
667 'group' => 'core',
668 'name' => 'wpBasePage',
669 'type' => 'String',
670 'html_type' => 'text',
671 'quick_form_type' => 'Element',
35aaa019 672 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
94c11eeb
DL
673 'default' => '',
674 'add' => '4.3',
675 'title' => 'WordPress Base Page',
676 'is_domain' => 1,
677 'is_contact' => 0,
678 'description' => 'If set, CiviCRM will use this setting as the base url.',
679 '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.',
680 ),
d5f1ee75
DG
681 'secondDegRelPermissions' => array(
682 'group_name' => 'CiviCRM Preferences',
683 'group' => 'core',
684 'name' => 'secondDegRelPermissions',
35aaa019 685 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
d5f1ee75
DG
686 'type' => 'Boolean',
687 'quick_form_type' => 'YesNo',
688 'default' => 0,
689 'add' => '4.3',
690 'title' => 'Allow second-degree relationship permissions',
691 'is_domain' => 1,
692 'is_contact' => 0,
693 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
694 'help_text' => null,
695 ),
86eeab72
DS
696
697 'enable_components' => array(
698 'group_name' => 'CiviCRM Preferences',
699 'group' => 'core',
700 'name' => 'enable_components',
701 'type' => 'Array',
702 'quick_form_type' => 'Element',
703 'html_type' => 'advmultiselect',
704 'html_attributes' => array(
705 'size' => 5,
706 'style' => 'width:150px',
707 'class' => 'advmultiselect',
708 ),
64fea50a 709 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
86eeab72
DS
710 'add' => '4.4',
711 'title' => 'Enable Components',
712 'is_domain' => '1',
713 'is_contact' => 0,
714 'description' => null,
715 'help_text' => null,
2bc3bd8f 716 'on_change' => array(
b516fae1
TO
717 array('CRM_Case_Info', 'onToggleComponents'),
718 array('CRM_Core_Component', 'flushEnabledComponents'),
2bc3bd8f 719 ),
86eeab72 720 ),
14f20d22
CW
721
722 'disable_core_css' => array(
723 'group_name' => 'CiviCRM Preferences',
724 'group' => 'core',
725 'name' => 'disable_core_css',
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'default' => '0',
729 'add' => '4.4',
730 'title' => 'Disable CiviCRM css',
731 'is_domain' => 1,
732 'is_contact' => 0,
733 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
734 'help_text' => NULL,
735 ),
466913fc
AH
736 'empoweredBy' => array(
737 'group_name' => 'CiviCRM Preferences',
738 'group' => 'core',
739 'name' => 'empoweredBy',
35aaa019 740 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent
466913fc
AH
741 'type' => 'Boolean',
742 'quick_form_type' => 'YesNo',
743 'default' => 1,
744 'add' => '4.5',
745 'title' => 'Display "empowered by CiviCRM"',
746 'is_domain' => 1,
747 'is_contact' => 0,
748 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
749 'help_text' => null,
750 ),
b7aba061 751);