Merge pull request #5031 from eileenmcnaughton/infra-fix
[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 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
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 */
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',
184 'html_type' => 'Text',
08e57c58 185 'default' => NULL,
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',
254 'html_type' => 'checkboxes',
77d87f6e 255 'pseudoconstant' => array(
256 'optionGroupName' => 'contact_autocomplete_options',
257 ),
6a488035
TO
258 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
259 'add' => '4.1',
260 'title' => 'Contact Reference Autocomplete Options',
261 'is_domain' => 1,
262 'is_contact' => 0,
08e57c58 263 'description' => NULL,
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',
271 'html_type' => 'checkboxes',
272 'pseudoconstant' => array(
273 'optionGroupName' => 'contact_reference_options',
274 ),
275 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
276 'add' => '4.1',
66f90900 277 'title' => 'Contact Reference Options',
6a488035
TO
278 'is_domain' => 1,
279 'is_contact' => 0,
08e57c58 280 'description' => NULL,
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',
288 'prefetch' => 0,
289 'type' => 'Integer',
290 'quick_form_type' => 'Element',
291 'html_type' => 'text',
292 'html_attributes' => array(
293 'size' => 2,
294 'maxlength' => 8,
56fdfc52
TO
295 ),
296 'default' => 3,
297 'add' => '4.3',
298 'title' => 'Maximum Attachments',
299 'is_domain' => 1,
300 'is_contact' => 0,
301 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
302 'help_text' => NULL,
6a488035
TO
303 ),
304 'maxFileSize' => array(
305 'group_name' => 'CiviCRM Preferences',
306 'group' => 'core',
307 'name' => 'maxFileSize',
56fdfc52
TO
308 'prefetch' => 1,
309 // 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
310 'config_only' => 1,
311 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
312 'type' => 'Integer',
313 'quick_form_type' => 'Element',
314 'html_type' => 'text',
315 'html_attributes' => array(
316 'size' => 2,
317 'maxlength' => 8,
318 ),
319 'default' => 3,
320 'add' => '4.3',
321 'title' => 'Maximum File Size (in MB)',
322 'is_domain' => 1,
323 'is_contact' => 0,
324 '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 325 'help_text' => NULL,
6a488035
TO
326 ),
327 'contact_undelete' => array(
328 'group_name' => 'CiviCRM Preferences',
329 'group' => 'core',
330 'name' => 'contact_undelete',
331 'type' => 'Boolean',
332 'quick_form_type' => 'YesNo',
333 'default' => 1,
334 'add' => '4.3',
335 'title' => 'Contact Trash and Undelete',
336 'is_domain' => 1,
337 'is_contact' => 0,
338 '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 339 'help_text' => NULL,
6a488035 340 ),
f182074e
PN
341 'allowPermDeleteFinancial' => array(
342 'group_name' => 'CiviCRM Preferences',
343 'group' => 'core',
344 'name' => 'allowPermDeleteFinancial',
345 'type' => 'Boolean',
346 'quick_form_type' => 'YesNo',
347 'default' => FALSE,
348 'add' => '4.3',
349 'title' => 'Contact Permanent Delete',
350 'is_domain' => 1,
351 'is_contact' => 0,
352 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
08e57c58 353 'help_text' => NULL,
f182074e 354 ),
b7aba061
CW
355 'versionAlert' => array(
356 'group_name' => 'CiviCRM Preferences',
357 'group' => 'core',
358 'name' => 'versionAlert',
fa8dc18c
CW
359 'type' => 'Integer',
360 'quick_form_type' => 'Element',
361 'html_type' => 'select',
362 'option_values' => array(
363 ts('Disabled'),
364 ts('Display In Page Footer'),
365 ts('Display As Popup Alert'),
366 ts('Page Footer + Popup Alert'),
367 ),
b7aba061
CW
368 'default' => 1,
369 'add' => '4.3',
370 'title' => 'New Version Alerts',
371 'is_domain' => 1,
372 'is_contact' => 0,
fa8dc18c 373 'description' => "",
08e57c58 374 'help_text' => NULL,
fa8dc18c
CW
375 ),
376 'securityUpdateAlert' => array(
377 'group_name' => 'CiviCRM Preferences',
378 'group' => 'core',
379 'name' => 'securityUpdateAlert',
380 'type' => 'Integer',
381 'quick_form_type' => 'Element',
382 'html_type' => 'select',
383 'option_values' => array(
384 ts('Disabled'),
385 ts('Display In Page Footer'),
386 ts('Display As Popup Alert'),
387 ts('Page Footer + Popup Alert'),
388 ),
389 'default' => 3,
390 'add' => '4.6',
391 'title' => 'Security Update Alerts',
392 'is_domain' => 1,
393 'is_contact' => 0,
394 'description' => "",
08e57c58 395 'help_text' => NULL,
b7aba061 396 ),
6a488035
TO
397 'versionCheck' => array(
398 'group_name' => 'CiviCRM Preferences',
399 'group' => 'core',
400 'name' => 'versionCheck',
6a488035
TO
401 'type' => 'Boolean',
402 'quick_form_type' => 'YesNo',
403 'default' => 1,
404 'add' => '4.3',
fa8dc18c 405 'title' => 'Automatically Check for Updates',
6a488035
TO
406 'is_domain' => 1,
407 'is_contact' => 0,
fa8dc18c 408 'description' => "",
08e57c58 409 'help_text' => NULL,
6a488035 410 ),
3a39a8b5
CW
411 'versionCheckIgnoreDate' => array(
412 'group_name' => 'CiviCRM Preferences',
413 'group' => 'core',
414 'name' => 'versionCheckIgnoreDate',
415 'type' => 'String',
416 'quick_form_type' => 'Element',
417 'html_type' => 'text',
418 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
419 'default' => '',
420 'add' => '4.6',
421 'title' => 'Ignore Updates Prior to',
422 'is_domain' => 1,
423 'is_contact' => 0,
424 'description' => "",
08e57c58 425 'help_text' => NULL,
3a39a8b5 426 ),
439a9f1b
TO
427 'securityAlert' => array(
428 'group_name' => 'CiviCRM Preferences',
429 'group' => 'core',
fa8dc18c 430 'name' => 'securityAlert',
439a9f1b
TO
431 'type' => 'Boolean',
432 'quick_form_type' => 'YesNo',
433 'default' => 1,
434 'add' => '4.4',
fa8dc18c 435 'title' => 'Security Audits',
439a9f1b
TO
436 'is_domain' => 1,
437 'is_contact' => 0,
438 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
08e57c58 439 'help_text' => NULL,
439a9f1b 440 ),
6a488035
TO
441 'doNotAttachPDFReceipt' => array(
442 'group_name' => 'CiviCRM Preferences',
443 'group' => 'core',
444 'name' => 'doNotAttachPDFReceipt',
56fdfc52
TO
445 'prefetch' => 1,
446 // 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
447 'config_only' => 1,
448 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
449 'type' => 'Boolean',
450 'quick_form_type' => 'YesNo',
451 'default' => 1,
452 'add' => '4.3',
453 'title' => 'Attach PDF copy to receipts',
454 'is_domain' => 1,
455 'is_contact' => 0,
456 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 457 'help_text' => NULL,
6a488035
TO
458 ),
459 'wkhtmltopdfPath' => array(
460 'group_name' => 'CiviCRM Preferences',
461 'group' => 'core',
462 'name' => 'wkhtmltopdfPath',
56fdfc52
TO
463 'prefetch' => 1,
464 // 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
465 'config_only' => 1,
466 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
467 'type' => 'String',
468 'quick_form_type' => 'Element',
6a488035
TO
469 'html_attributes' => array(
470 'size' => 64,
471 'maxlength' => 256,
472 ),
473 'html_type' => 'Text',
08e57c58 474 'default' => NULL,
6a488035
TO
475 'add' => '4.3',
476 'title' => 'Path to wkhtmltopdf executable',
477 'is_domain' => 1,
478 'is_contact' => 0,
08e57c58
TO
479 'description' => NULL,
480 'help_text' => NULL,
6a488035
TO
481 ),
482 'recaptchaPublicKey' => array(
483 'group_name' => 'CiviCRM Preferences',
484 'group' => 'core',
485 'name' => 'recaptchaPublicKey',
56fdfc52
TO
486 'prefetch' => 1,
487 // 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
488 'config_only' => 1,
489 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
490 'type' => 'String',
491 'quick_form_type' => 'Element',
6a488035
TO
492 'html_attributes' => array(
493 'size' => 64,
494 'maxlength' => 64,
495 ),
496 'html_type' => 'Text',
08e57c58 497 'default' => NULL,
6a488035
TO
498 'add' => '4.3',
499 'title' => 'Recaptcha Public Key',
500 'is_domain' => 1,
501 'is_contact' => 0,
08e57c58
TO
502 'description' => NULL,
503 'help_text' => NULL,
6a488035
TO
504 ),
505 'recaptchaPrivateKey' => array(
506 'group_name' => 'CiviCRM Preferences',
507 'group' => 'core',
508 'name' => 'recaptchaPrivateKey',
56fdfc52
TO
509 'prefetch' => 1,
510 // 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
511 'config_only' => 1,
512 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
513 'type' => 'String',
514 'quick_form_type' => 'Element',
6a488035
TO
515 'html_attributes' => array(
516 'size' => 64,
517 'maxlength' => 64,
518 ),
519 'html_type' => 'Text',
08e57c58 520 'default' => NULL,
6a488035
TO
521 'add' => '4.3',
522 'title' => 'Recaptcha Private Key',
523 'is_domain' => 1,
524 'is_contact' => 0,
08e57c58
TO
525 'description' => NULL,
526 'help_text' => NULL,
6a488035
TO
527 ),
528 'dashboardCacheTimeout' => array(
529 'group_name' => 'CiviCRM Preferences',
530 'group' => 'core',
531 'name' => 'dashboardCacheTimeout',
56fdfc52
TO
532 'prefetch' => 1,
533 // 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
534 'config_only' => 1,
535 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
536 'type' => 'Integer',
537 'quick_form_type' => 'Element',
6a488035
TO
538 'html_attributes' => array(
539 'size' => 3,
540 'maxlength' => 5,
541 ),
542 'html_type' => 'Text',
08e57c58 543 'default' => NULL,
6a488035
TO
544 'add' => '4.3',
545 'title' => 'Dashboard cache timeout',
546 'is_domain' => 1,
547 'is_contact' => 0,
08e57c58
TO
548 'description' => NULL,
549 'help_text' => NULL,
56fdfc52 550 ),
6a488035
TO
551 'checksumTimeout' => array(
552 'group_name' => 'CiviCRM Preferences',
553 'group' => 'core',
554 'name' => 'checksumTimeout',
56fdfc52
TO
555 'prefetch' => 1,
556 // 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
557 'type' => 'Integer',
558 'quick_form_type' => 'Element',
6a488035
TO
559 'html_attributes' => array(
560 'size' => 2,
561 'maxlength' => 8,
562 ),
563 'html_type' => 'Text',
564 'default' => 7,
565 'add' => '4.3',
d5f1ee75 566 'title' => 'Checksum Lifespan',
6a488035
TO
567 'is_domain' => 1,
568 'is_contact' => 0,
08e57c58
TO
569 'description' => NULL,
570 'help_text' => NULL,
6a488035 571 ),
4b030206
TO
572 'blogUrl' => array(
573 'group_name' => 'CiviCRM Preferences',
574 'group' => 'core',
575 'name' => 'blogUrl',
576 'prefetch' => 0,
4b030206
TO
577 'type' => 'String',
578 'quick_form_type' => 'Element',
4b030206
TO
579 'html_attributes' => array(
580 'size' => 64,
581 'maxlength' => 128,
582 ),
583 'html_type' => 'Text',
584 'default' => '*default*',
585 'add' => '4.3',
586 'title' => 'Blog Feed URL',
587 'is_domain' => 1,
588 'is_contact' => 0,
589 'description' => 'Blog feed URL used by the blog dashlet',
590 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
591 ),
847c93ac
TO
592 'communityMessagesUrl' => array(
593 'group_name' => 'CiviCRM Preferences',
594 'group' => 'core',
595 'name' => 'communityMessagesUrl',
596 'prefetch' => 0,
847c93ac
TO
597 'type' => 'String',
598 'quick_form_type' => 'Element',
847c93ac
TO
599 'html_attributes' => array(
600 'size' => 64,
601 'maxlength' => 128,
602 ),
603 'html_type' => 'Text',
604 'default' => '*default*',
605 'add' => '4.3',
606 'title' => 'Community Messages URL',
607 'is_domain' => 1,
608 'is_contact' => 0,
609 'description' => 'Service providing CiviCRM community messages',
610 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
611 ),
6a488035
TO
612 'resCacheCode' => array(
613 'group_name' => 'CiviCRM Preferences',
614 'group' => 'core',
615 'name' => 'resCacheCode',
56fdfc52
TO
616 'prefetch' => 1,
617 // 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
618 'config_only' => 1,
619 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
620 'type' => 'String',
621 'quick_form_type' => 'Element',
6a488035
TO
622 'html_attributes' => array(
623 'size' => 16,
624 'maxlength' => 16,
625 ),
626 'html_type' => 'Text',
08e57c58 627 'default' => NULL,
6a488035
TO
628 'add' => '4.3',
629 'title' => 'Resource Cache Code',
630 'is_domain' => 1,
631 'is_contact' => 0,
632 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
08e57c58 633 'help_text' => NULL,
6a488035
TO
634 ),
635 'verifySSL' => array(
636 'group_name' => 'CiviCRM Preferences',
637 'group' => 'core',
638 'name' => 'verifySSL',
639 'type' => 'Boolean',
640 'quick_form_type' => 'YesNo',
641 'default' => 1,
642 'add' => '4.3',
66f90900 643 'title' => 'Verify SSL?',
6a488035
TO
644 'is_domain' => 1,
645 'is_contact' => 0,
646 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
647 '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',
648 ),
94c11eeb
DL
649 'wpBasePage' => array(
650 'group_name' => 'CiviCRM Preferences',
651 'group' => 'core',
652 'name' => 'wpBasePage',
653 'type' => 'String',
654 'html_type' => 'text',
655 'quick_form_type' => 'Element',
56fdfc52
TO
656 'prefetch' => 1,
657 // 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
658 'default' => '',
659 'add' => '4.3',
660 'title' => 'WordPress Base Page',
661 'is_domain' => 1,
662 'is_contact' => 0,
663 'description' => 'If set, CiviCRM will use this setting as the base url.',
664 '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.',
665 ),
d5f1ee75
DG
666 'secondDegRelPermissions' => array(
667 'group_name' => 'CiviCRM Preferences',
668 'group' => 'core',
669 'name' => 'secondDegRelPermissions',
56fdfc52
TO
670 'prefetch' => 1,
671 // 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
672 'type' => 'Boolean',
673 'quick_form_type' => 'YesNo',
674 'default' => 0,
675 'add' => '4.3',
676 'title' => 'Allow second-degree relationship permissions',
677 'is_domain' => 1,
678 'is_contact' => 0,
679 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
08e57c58 680 'help_text' => NULL,
d5f1ee75 681 ),
86eeab72
DS
682 'enable_components' => array(
683 'group_name' => 'CiviCRM Preferences',
684 'group' => 'core',
56fdfc52 685 'name' => 'enable_components',
86eeab72
DS
686 'type' => 'Array',
687 'quick_form_type' => 'Element',
688 'html_type' => 'advmultiselect',
689 'html_attributes' => array(
690 'size' => 5,
691 'style' => 'width:150px',
692 'class' => 'advmultiselect',
693 ),
64fea50a 694 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
56fdfc52 695 'add' => '4.4',
86eeab72
DS
696 'title' => 'Enable Components',
697 'is_domain' => '1',
698 'is_contact' => 0,
08e57c58 699 'description' => NULL,
56fdfc52 700 'help_text' => NULL,
2bc3bd8f 701 'on_change' => array(
b516fae1
TO
702 array('CRM_Case_Info', 'onToggleComponents'),
703 array('CRM_Core_Component', 'flushEnabledComponents'),
2bc3bd8f 704 ),
86eeab72 705 ),
14f20d22
CW
706 'disable_core_css' => array(
707 'group_name' => 'CiviCRM Preferences',
708 'group' => 'core',
709 'name' => 'disable_core_css',
710 'type' => 'Boolean',
711 'quick_form_type' => 'YesNo',
712 'default' => '0',
713 'add' => '4.4',
714 'title' => 'Disable CiviCRM css',
715 'is_domain' => 1,
716 'is_contact' => 0,
717 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
718 'help_text' => NULL,
719 ),
466913fc
AH
720 'empoweredBy' => array(
721 'group_name' => 'CiviCRM Preferences',
722 'group' => 'core',
723 'name' => 'empoweredBy',
56fdfc52
TO
724 'prefetch' => 1,
725 // 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
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'default' => 1,
729 'add' => '4.5',
730 'title' => 'Display "empowered by CiviCRM"',
731 'is_domain' => 1,
732 'is_contact' => 0,
733 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
08e57c58 734 'help_text' => NULL,
466913fc 735 ),
b7aba061 736);