Function to delete relation from recurringentity, xml path correction for ajax calls
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
f5721b07 4 | CiviCRM version 4.5 |
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',
b7aba061
CW
358 'type' => 'Boolean',
359 'quick_form_type' => 'YesNo',
360 'default' => 1,
361 'add' => '4.3',
362 'title' => 'New Version Alerts',
363 'is_domain' => 1,
364 'is_contact' => 0,
365 'description' => 'Displays an on-screen alert to users with "Administer CiviCRM" permissions when a new version of CiviCRM is available. This setting will only work if the "Version Check & Statistics Reporting" setting is enabled.',
366 'help_text' => null,
367 ),
6a488035
TO
368 'versionCheck' => array(
369 'group_name' => 'CiviCRM Preferences',
370 'group' => 'core',
371 'name' => 'versionCheck',
35aaa019 372 '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 373 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
374 'type' => 'Boolean',
375 'quick_form_type' => 'YesNo',
376 'default' => 1,
377 'add' => '4.3',
378 'title' => 'Version Check & Statistics Reporting',
379 'is_domain' => 1,
380 'is_contact' => 0,
381 'description' => "If enabled, CiviCRM automatically checks availablity of a newer version of the software. New version alerts will be displayed on the main CiviCRM Administration page.
382When enabled, statistics about your CiviCRM installation are reported anonymously to the CiviCRM team to assist in prioritizing ongoing development efforts. The following information is gathered: CiviCRM version, versions of PHP, MySQL and framework (Drupal/Joomla/standalone), and default language. Counts (but no actual data) of the following record types are reported: contacts, activities, cases, relationships, contributions, contribution pages, contribution products, contribution widgets, discounts, price sets, profiles, events, participants, tell-a-friend pages, grants, mailings, memberships, membership blocks, pledges, pledge blocks and active payment processor types.",
383 'help_text' => null,
384 ),
439a9f1b
TO
385 'securityAlert' => array(
386 'group_name' => 'CiviCRM Preferences',
387 'group' => 'core',
388 'name' => 'versionCheck',
389 'prefetch' => 0,
439a9f1b
TO
390 'type' => 'Boolean',
391 'quick_form_type' => 'YesNo',
392 'default' => 1,
393 'add' => '4.4',
394 'title' => 'Security Alerts',
395 'is_domain' => 1,
396 'is_contact' => 0,
397 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
398 'help_text' => null,
399 ),
6a488035
TO
400 'doNotAttachPDFReceipt' => array(
401 'group_name' => 'CiviCRM Preferences',
402 'group' => 'core',
403 'name' => 'doNotAttachPDFReceipt',
35aaa019 404 '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 405 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
406 'type' => 'Boolean',
407 'quick_form_type' => 'YesNo',
408 'default' => 1,
409 'add' => '4.3',
410 'title' => 'Attach PDF copy to receipts',
411 'is_domain' => 1,
412 'is_contact' => 0,
413 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
414 'help_text' => null,
415 ),
416 'wkhtmltopdfPath' => array(
417 'group_name' => 'CiviCRM Preferences',
418 'group' => 'core',
419 'name' => 'wkhtmltopdfPath',
35aaa019 420 '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 421 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
422 'type' => 'String',
423 'quick_form_type' => 'Element',
424 'html_type' => 'text',
425 'html_attributes' => array(
426 'size' => 64,
427 'maxlength' => 256,
428 ),
429 'html_type' => 'Text',
430 'default' => null,
431 'add' => '4.3',
432 'title' => 'Path to wkhtmltopdf executable',
433 'is_domain' => 1,
434 'is_contact' => 0,
435 'description' => null,
436 'help_text' => null,
437 ),
438 'recaptchaPublicKey' => array(
439 'group_name' => 'CiviCRM Preferences',
440 'group' => 'core',
441 'name' => 'recaptchaPublicKey',
35aaa019 442 '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 443 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
444 'type' => 'String',
445 'quick_form_type' => 'Element',
446 'html_type' => 'text',
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 Public Key',
455 'is_domain' => 1,
456 'is_contact' => 0,
457 'description' => null,
458 'help_text' => null,
459 ),
460 'recaptchaPrivateKey' => array(
461 'group_name' => 'CiviCRM Preferences',
462 'group' => 'core',
463 'name' => 'recaptchaPrivateKey',
35aaa019 464 '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 465 'config_only'=> 1,//@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
466 'type' => 'String',
467 'quick_form_type' => 'Element',
468 'html_type' => 'text',
469 'html_attributes' => array(
470 'size' => 64,
471 'maxlength' => 64,
472 ),
473 'html_type' => 'Text',
474 'default' => null,
475 'add' => '4.3',
476 'title' => 'Recaptcha Private Key',
477 'is_domain' => 1,
478 'is_contact' => 0,
479 'description' => null,
480 'help_text' => null,
481 ),
482 'recaptchaPrivateKey' => array(
483 'group_name' => 'CiviCRM Preferences',
484 'group' => 'core',
485 'name' => 'recaptchaPrivateKey',
35aaa019 486 '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 487 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
488 'type' => 'String',
489 'quick_form_type' => 'Element',
490 'html_type' => 'text',
491 'html_attributes' => array(
492 'size' => 64,
493 'maxlength' => 64,
494 ),
495 'html_type' => 'Text',
496 'default' => null,
497 'add' => '4.3',
498 'title' => 'Recaptcha Private Key',
499 'is_domain' => 1,
500 'is_contact' => 0,
501 'description' => null,
502 'help_text' => null,
503 ),
504 'dashboardCacheTimeout' => array(
505 'group_name' => 'CiviCRM Preferences',
506 'group' => 'core',
507 'name' => 'dashboardCacheTimeout',
35aaa019 508 '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 509 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
510 'type' => 'Integer',
511 'quick_form_type' => 'Element',
512 'html_type' => 'text',
513 'html_attributes' => array(
514 'size' => 3,
515 'maxlength' => 5,
516 ),
517 'html_type' => 'Text',
518 'default' => null,
519 'add' => '4.3',
520 'title' => 'Dashboard cache timeout',
521 'is_domain' => 1,
522 'is_contact' => 0,
523 'description' => null,
524 'help_text' => null,
525 ),
526 'checksumTimeout' => array(
527 'group_name' => 'CiviCRM Preferences',
528 'group' => 'core',
529 'name' => 'checksumTimeout',
35aaa019 530 '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
531 'type' => 'Integer',
532 'quick_form_type' => 'Element',
533 'html_type' => 'text',
534 'html_attributes' => array(
535 'size' => 2,
536 'maxlength' => 8,
537 ),
538 'html_type' => 'Text',
539 'default' => 7,
540 'add' => '4.3',
d5f1ee75 541 'title' => 'Checksum Lifespan',
6a488035
TO
542 'is_domain' => 1,
543 'is_contact' => 0,
544 'description' => null,
545 'help_text' => null,
546 ),
4b030206
TO
547 'blogUrl' => array(
548 'group_name' => 'CiviCRM Preferences',
549 'group' => 'core',
550 'name' => 'blogUrl',
551 'prefetch' => 0,
4b030206
TO
552 'type' => 'String',
553 'quick_form_type' => 'Element',
554 'html_type' => 'text',
555 'html_attributes' => array(
556 'size' => 64,
557 'maxlength' => 128,
558 ),
559 'html_type' => 'Text',
560 'default' => '*default*',
561 'add' => '4.3',
562 'title' => 'Blog Feed URL',
563 'is_domain' => 1,
564 'is_contact' => 0,
565 'description' => 'Blog feed URL used by the blog dashlet',
566 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
567 ),
847c93ac
TO
568 'communityMessagesUrl' => array(
569 'group_name' => 'CiviCRM Preferences',
570 'group' => 'core',
571 'name' => 'communityMessagesUrl',
572 'prefetch' => 0,
847c93ac
TO
573 'type' => 'String',
574 'quick_form_type' => 'Element',
575 'html_type' => 'text',
576 'html_attributes' => array(
577 'size' => 64,
578 'maxlength' => 128,
579 ),
580 'html_type' => 'Text',
581 'default' => '*default*',
582 'add' => '4.3',
583 'title' => 'Community Messages URL',
584 'is_domain' => 1,
585 'is_contact' => 0,
586 'description' => 'Service providing CiviCRM community messages',
587 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
588 ),
6a488035
TO
589 'resCacheCode' => array(
590 'group_name' => 'CiviCRM Preferences',
591 'group' => 'core',
592 'name' => 'resCacheCode',
35aaa019 593 '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 594 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
595 'type' => 'String',
596 'quick_form_type' => 'Element',
597 'html_type' => 'text',
598 'html_attributes' => array(
599 'size' => 16,
600 'maxlength' => 16,
601 ),
602 'html_type' => 'Text',
603 'default' => null,
604 'add' => '4.3',
605 'title' => 'Resource Cache Code',
606 'is_domain' => 1,
607 'is_contact' => 0,
608 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
609 'help_text' => null,
610 ),
611 'verifySSL' => array(
612 'group_name' => 'CiviCRM Preferences',
613 'group' => 'core',
614 'name' => 'verifySSL',
615 'type' => 'Boolean',
616 'quick_form_type' => 'YesNo',
617 'default' => 1,
618 'add' => '4.3',
66f90900 619 'title' => 'Verify SSL?',
6a488035
TO
620 'is_domain' => 1,
621 'is_contact' => 0,
622 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
623 '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',
624 ),
94c11eeb
DL
625 'wpBasePage' => array(
626 'group_name' => 'CiviCRM Preferences',
627 'group' => 'core',
628 'name' => 'wpBasePage',
629 'type' => 'String',
630 'html_type' => 'text',
631 'quick_form_type' => 'Element',
35aaa019 632 '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
633 'default' => '',
634 'add' => '4.3',
635 'title' => 'WordPress Base Page',
636 'is_domain' => 1,
637 'is_contact' => 0,
638 'description' => 'If set, CiviCRM will use this setting as the base url.',
639 '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.',
640 ),
d5f1ee75
DG
641 'secondDegRelPermissions' => array(
642 'group_name' => 'CiviCRM Preferences',
643 'group' => 'core',
644 'name' => 'secondDegRelPermissions',
35aaa019 645 '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
646 'type' => 'Boolean',
647 'quick_form_type' => 'YesNo',
648 'default' => 0,
649 'add' => '4.3',
650 'title' => 'Allow second-degree relationship permissions',
651 'is_domain' => 1,
652 'is_contact' => 0,
653 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
654 'help_text' => null,
655 ),
86eeab72
DS
656
657 'enable_components' => array(
658 'group_name' => 'CiviCRM Preferences',
659 'group' => 'core',
660 'name' => 'enable_components',
661 'type' => 'Array',
662 'quick_form_type' => 'Element',
663 'html_type' => 'advmultiselect',
664 'html_attributes' => array(
665 'size' => 5,
666 'style' => 'width:150px',
667 'class' => 'advmultiselect',
668 ),
64fea50a 669 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
86eeab72
DS
670 'add' => '4.4',
671 'title' => 'Enable Components',
672 'is_domain' => '1',
673 'is_contact' => 0,
674 'description' => null,
675 'help_text' => null,
2bc3bd8f 676 'on_change' => array(
b516fae1
TO
677 array('CRM_Case_Info', 'onToggleComponents'),
678 array('CRM_Core_Component', 'flushEnabledComponents'),
2bc3bd8f 679 ),
86eeab72 680 ),
14f20d22
CW
681
682 'disable_core_css' => array(
683 'group_name' => 'CiviCRM Preferences',
684 'group' => 'core',
685 'name' => 'disable_core_css',
686 'type' => 'Boolean',
687 'quick_form_type' => 'YesNo',
688 'default' => '0',
689 'add' => '4.4',
690 'title' => 'Disable CiviCRM css',
691 'is_domain' => 1,
692 'is_contact' => 0,
693 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
694 'help_text' => NULL,
695 ),
466913fc
AH
696 'empoweredBy' => array(
697 'group_name' => 'CiviCRM Preferences',
698 'group' => 'core',
699 'name' => 'empoweredBy',
35aaa019 700 '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
701 'type' => 'Boolean',
702 'quick_form_type' => 'YesNo',
703 'default' => 1,
704 'add' => '4.5',
705 'title' => 'Display "empowered by CiviCRM"',
706 'is_domain' => 1,
707 'is_contact' => 0,
708 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
709 'help_text' => null,
710 ),
b7aba061 711);