CRM-16373 - Localization - Rearrange load/save logic
[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',
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',
06576a03
AH
359 'type' => 'Boolean',
360 'quick_form_type' => 'YesNo',
b7aba061
CW
361 'default' => 1,
362 'add' => '4.3',
363 'title' => 'New Version Alerts',
364 'is_domain' => 1,
365 'is_contact' => 0,
fa8dc18c 366 'description' => "",
08e57c58 367 'help_text' => NULL,
fa8dc18c 368 ),
6a488035
TO
369 'versionCheck' => array(
370 'group_name' => 'CiviCRM Preferences',
371 'group' => 'core',
372 'name' => 'versionCheck',
6a488035
TO
373 'type' => 'Boolean',
374 'quick_form_type' => 'YesNo',
375 'default' => 1,
376 'add' => '4.3',
fa8dc18c 377 'title' => 'Automatically Check for Updates',
6a488035
TO
378 'is_domain' => 1,
379 'is_contact' => 0,
fa8dc18c 380 'description' => "",
08e57c58 381 'help_text' => NULL,
6a488035 382 ),
3a39a8b5
CW
383 'versionCheckIgnoreDate' => array(
384 'group_name' => 'CiviCRM Preferences',
385 'group' => 'core',
386 'name' => 'versionCheckIgnoreDate',
387 'type' => 'String',
388 'quick_form_type' => 'Element',
389 'html_type' => 'text',
390 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
391 'default' => '',
392 'add' => '4.6',
393 'title' => 'Ignore Updates Prior to',
394 'is_domain' => 1,
395 'is_contact' => 0,
396 'description' => "",
08e57c58 397 'help_text' => NULL,
3a39a8b5 398 ),
439a9f1b
TO
399 'securityAlert' => array(
400 'group_name' => 'CiviCRM Preferences',
401 'group' => 'core',
fa8dc18c 402 'name' => 'securityAlert',
439a9f1b
TO
403 'type' => 'Boolean',
404 'quick_form_type' => 'YesNo',
405 'default' => 1,
406 'add' => '4.4',
06576a03 407 'title' => 'Status Alerts',
439a9f1b
TO
408 'is_domain' => 1,
409 'is_contact' => 0,
06576a03 410 '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 411 'help_text' => NULL,
439a9f1b 412 ),
6a488035
TO
413 'doNotAttachPDFReceipt' => array(
414 'group_name' => 'CiviCRM Preferences',
415 'group' => 'core',
416 'name' => 'doNotAttachPDFReceipt',
56fdfc52
TO
417 'prefetch' => 1,
418 // 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
419 'config_only' => 1,
420 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
421 'type' => 'Boolean',
422 'quick_form_type' => 'YesNo',
423 'default' => 1,
424 'add' => '4.3',
425 'title' => 'Attach PDF copy to receipts',
426 'is_domain' => 1,
427 'is_contact' => 0,
428 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
08e57c58 429 'help_text' => NULL,
6a488035
TO
430 ),
431 'wkhtmltopdfPath' => array(
432 'group_name' => 'CiviCRM Preferences',
433 'group' => 'core',
434 'name' => 'wkhtmltopdfPath',
56fdfc52
TO
435 'prefetch' => 1,
436 // 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
437 'type' => 'String',
438 'quick_form_type' => 'Element',
6a488035
TO
439 'html_attributes' => array(
440 'size' => 64,
441 'maxlength' => 256,
442 ),
443 'html_type' => 'Text',
08e57c58 444 'default' => NULL,
6a488035
TO
445 'add' => '4.3',
446 'title' => 'Path to wkhtmltopdf executable',
447 'is_domain' => 1,
448 'is_contact' => 0,
08e57c58
TO
449 'description' => NULL,
450 'help_text' => NULL,
6a488035 451 ),
53b0f6c3
TO
452 'recaptchaOptions' => array(
453 'group_name' => 'CiviCRM Preferences',
454 'group' => 'core',
455 'name' => 'recaptchaOptions',
456 'prefetch' => 1,
457 // 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
458 'type' => 'String',
459 'quick_form_type' => 'Element',
460 'html_attributes' => array(
461 'size' => 64,
462 'maxlength' => 64,
463 ),
464 'html_type' => 'Text',
465 'default' => NULL,
466 'add' => '4.3',
467 'title' => 'Recaptcha Options',
468 'is_domain' => 1,
469 'is_contact' => 0,
470 '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>.',
471 'help_text' => NULL,
472 ),
6a488035
TO
473 'recaptchaPublicKey' => array(
474 'group_name' => 'CiviCRM Preferences',
475 'group' => 'core',
476 'name' => 'recaptchaPublicKey',
56fdfc52
TO
477 'prefetch' => 1,
478 // 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
479 'type' => 'String',
480 'quick_form_type' => 'Element',
6a488035
TO
481 'html_attributes' => array(
482 'size' => 64,
483 'maxlength' => 64,
484 ),
485 'html_type' => 'Text',
08e57c58 486 'default' => NULL,
6a488035
TO
487 'add' => '4.3',
488 'title' => 'Recaptcha Public Key',
489 'is_domain' => 1,
490 'is_contact' => 0,
08e57c58
TO
491 'description' => NULL,
492 'help_text' => NULL,
6a488035
TO
493 ),
494 'recaptchaPrivateKey' => array(
495 'group_name' => 'CiviCRM Preferences',
496 'group' => 'core',
497 'name' => 'recaptchaPrivateKey',
56fdfc52
TO
498 'prefetch' => 1,
499 // 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
500 'type' => 'String',
501 'quick_form_type' => 'Element',
6a488035
TO
502 'html_attributes' => array(
503 'size' => 64,
504 'maxlength' => 64,
505 ),
506 'html_type' => 'Text',
08e57c58 507 'default' => NULL,
6a488035
TO
508 'add' => '4.3',
509 'title' => 'Recaptcha Private Key',
510 'is_domain' => 1,
511 'is_contact' => 0,
08e57c58
TO
512 'description' => NULL,
513 'help_text' => NULL,
6a488035
TO
514 ),
515 'dashboardCacheTimeout' => array(
516 'group_name' => 'CiviCRM Preferences',
517 'group' => 'core',
518 'name' => 'dashboardCacheTimeout',
56fdfc52
TO
519 'prefetch' => 1,
520 // 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
521 'type' => 'Integer',
522 'quick_form_type' => 'Element',
6a488035
TO
523 'html_attributes' => array(
524 'size' => 3,
525 'maxlength' => 5,
526 ),
527 'html_type' => 'Text',
08e57c58 528 'default' => NULL,
6a488035
TO
529 'add' => '4.3',
530 'title' => 'Dashboard cache timeout',
531 'is_domain' => 1,
532 'is_contact' => 0,
08e57c58
TO
533 'description' => NULL,
534 'help_text' => NULL,
56fdfc52 535 ),
92a8de72 536 'checksum_timeout' => array(
6a488035
TO
537 'group_name' => 'CiviCRM Preferences',
538 'group' => 'core',
92a8de72 539 'name' => 'checksum_timeout',
6a488035
TO
540 'type' => 'Integer',
541 'quick_form_type' => 'Element',
6a488035
TO
542 'html_attributes' => array(
543 'size' => 2,
544 'maxlength' => 8,
545 ),
546 'html_type' => 'Text',
547 'default' => 7,
548 'add' => '4.3',
d5f1ee75 549 'title' => 'Checksum Lifespan',
6a488035
TO
550 'is_domain' => 1,
551 'is_contact' => 0,
08e57c58
TO
552 'description' => NULL,
553 'help_text' => NULL,
6a488035 554 ),
4b030206
TO
555 'blogUrl' => array(
556 'group_name' => 'CiviCRM Preferences',
557 'group' => 'core',
558 'name' => 'blogUrl',
559 'prefetch' => 0,
4b030206
TO
560 'type' => 'String',
561 'quick_form_type' => 'Element',
4b030206
TO
562 'html_attributes' => array(
563 'size' => 64,
564 'maxlength' => 128,
565 ),
566 'html_type' => 'Text',
567 'default' => '*default*',
568 'add' => '4.3',
569 'title' => 'Blog Feed URL',
570 'is_domain' => 1,
571 'is_contact' => 0,
572 'description' => 'Blog feed URL used by the blog dashlet',
573 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
574 ),
847c93ac
TO
575 'communityMessagesUrl' => array(
576 'group_name' => 'CiviCRM Preferences',
577 'group' => 'core',
578 'name' => 'communityMessagesUrl',
579 'prefetch' => 0,
847c93ac
TO
580 'type' => 'String',
581 'quick_form_type' => 'Element',
847c93ac
TO
582 'html_attributes' => array(
583 'size' => 64,
584 'maxlength' => 128,
585 ),
586 'html_type' => 'Text',
587 'default' => '*default*',
588 'add' => '4.3',
589 'title' => 'Community Messages URL',
590 'is_domain' => 1,
591 'is_contact' => 0,
592 'description' => 'Service providing CiviCRM community messages',
593 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
594 ),
6a488035
TO
595 'resCacheCode' => array(
596 'group_name' => 'CiviCRM Preferences',
597 'group' => 'core',
598 'name' => 'resCacheCode',
56fdfc52
TO
599 'prefetch' => 1,
600 // 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
601 'config_only' => 1,
602 //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value
6a488035
TO
603 'type' => 'String',
604 'quick_form_type' => 'Element',
6a488035
TO
605 'html_attributes' => array(
606 'size' => 16,
607 'maxlength' => 16,
608 ),
609 'html_type' => 'Text',
08e57c58 610 'default' => NULL,
6a488035
TO
611 'add' => '4.3',
612 'title' => 'Resource Cache Code',
613 'is_domain' => 1,
614 'is_contact' => 0,
615 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
08e57c58 616 'help_text' => NULL,
6a488035
TO
617 ),
618 'verifySSL' => array(
619 'group_name' => 'CiviCRM Preferences',
620 'group' => 'core',
621 'name' => 'verifySSL',
622 'type' => 'Boolean',
623 'quick_form_type' => 'YesNo',
624 'default' => 1,
625 'add' => '4.3',
66f90900 626 'title' => 'Verify SSL?',
6a488035
TO
627 'is_domain' => 1,
628 'is_contact' => 0,
28f07f05 629 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections',
6a488035
TO
630 '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',
631 ),
28f07f05
TO
632 'enableSSL' => array(
633 'group_name' => 'CiviCRM Preferences',
634 'group' => 'core',
635 'name' => 'enableSSL',
636 'type' => 'Boolean',
637 'quick_form_type' => 'YesNo',
638 'default' => 0,
639 'add' => '4.5',
640 'title' => 'Force SSL?',
641 'is_domain' => 1,
642 'is_contact' => 0,
643 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
644 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.',
645 ),
94c11eeb
DL
646 'wpBasePage' => array(
647 'group_name' => 'CiviCRM Preferences',
648 'group' => 'core',
649 'name' => 'wpBasePage',
650 'type' => 'String',
651 'html_type' => 'text',
652 'quick_form_type' => 'Element',
56fdfc52
TO
653 'prefetch' => 1,
654 // 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
655 'default' => '',
656 'add' => '4.3',
657 'title' => 'WordPress Base Page',
658 'is_domain' => 1,
659 'is_contact' => 0,
660 'description' => 'If set, CiviCRM will use this setting as the base url.',
661 '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.',
662 ),
d5f1ee75
DG
663 'secondDegRelPermissions' => array(
664 'group_name' => 'CiviCRM Preferences',
665 'group' => 'core',
666 'name' => 'secondDegRelPermissions',
56fdfc52
TO
667 'prefetch' => 1,
668 // 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
669 'type' => 'Boolean',
670 'quick_form_type' => 'YesNo',
671 'default' => 0,
672 'add' => '4.3',
673 'title' => 'Allow second-degree relationship permissions',
674 'is_domain' => 1,
675 'is_contact' => 0,
676 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
08e57c58 677 'help_text' => NULL,
d5f1ee75 678 ),
86eeab72
DS
679 'enable_components' => array(
680 'group_name' => 'CiviCRM Preferences',
681 'group' => 'core',
56fdfc52 682 'name' => 'enable_components',
86eeab72
DS
683 'type' => 'Array',
684 'quick_form_type' => 'Element',
685 'html_type' => 'advmultiselect',
686 'html_attributes' => array(
687 'size' => 5,
688 'style' => 'width:150px',
689 'class' => 'advmultiselect',
690 ),
64fea50a 691 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
56fdfc52 692 'add' => '4.4',
86eeab72
DS
693 'title' => 'Enable Components',
694 'is_domain' => '1',
695 'is_contact' => 0,
08e57c58 696 'description' => NULL,
56fdfc52 697 'help_text' => NULL,
2bc3bd8f 698 'on_change' => array(
c8074a93
TO
699 'CRM_Case_Info::onToggleComponents',
700 'CRM_Core_Component::flushEnabledComponents',
701 'call://resources/resetCacheCode',
2bc3bd8f 702 ),
86eeab72 703 ),
14f20d22
CW
704 'disable_core_css' => array(
705 'group_name' => 'CiviCRM Preferences',
706 'group' => 'core',
707 'name' => 'disable_core_css',
708 'type' => 'Boolean',
709 'quick_form_type' => 'YesNo',
710 'default' => '0',
711 'add' => '4.4',
712 'title' => 'Disable CiviCRM css',
713 'is_domain' => 1,
714 'is_contact' => 0,
715 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
716 'help_text' => NULL,
717 ),
466913fc
AH
718 'empoweredBy' => array(
719 'group_name' => 'CiviCRM Preferences',
720 'group' => 'core',
721 'name' => 'empoweredBy',
56fdfc52
TO
722 'prefetch' => 1,
723 // 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
724 'type' => 'Boolean',
725 'quick_form_type' => 'YesNo',
726 'default' => 1,
727 'add' => '4.5',
728 'title' => 'Display "empowered by CiviCRM"',
729 'is_domain' => 1,
730 'is_contact' => 0,
731 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
08e57c58 732 'help_text' => NULL,
466913fc 733 ),
e299c1d0
TO
734 'logging' => array(
735 'add' => '4.7',
736 'prefetch' => 1,
737 'help_text' => NULL,
738 'is_domain' => 1,
739 'is_contact' => 0,
740 'group_name' => 'CiviCRM Preferences',
741 'group' => 'core',
742 'name' => 'logging',
743 'type' => 'Boolean',
744 'quick_form_type' => 'YesNo',
745 'html_type' => '',
746 'default' => '0',
747 'title' => 'Logging',
748 'description' => 'If enabled, all actions will be logged with a complete record of changes.',
749 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
750 'on_change' => array(
751 'CRM_Logging_Schema::onToggle',
752 ),
753 ),
348754d5
TO
754 'userFrameworkUsersTableName' => array(
755 'add' => '4.7',
756 'help_text' => NULL,
757 'is_domain' => 1,
758 'is_contact' => 0,
759 'group_name' => 'CiviCRM Preferences',
760 'group' => 'core',
761 'name' => 'userFrameworkUsersTableName',
762 'type' => 'String',
763 'quick_form_type' => 'Element',
764 'html_type' => 'text',
765 'html_attributes' => array(
766 'size' => '32',
767 'maxlength' => '64',
768 ),
769 'default' => NULL,
770 'title' => 'Drupal Users Table Name',
771 'description' => '',
772 ),
fdd770db
KC
773 'wpLoadPhp' => array(
774 'group_name' => 'CiviCRM Preferences',
775 'group' => 'core',
776 'name' => 'wpLoadPhp',
777 'type' => 'String',
778 'html_type' => 'text',
779 'quick_form_type' => 'Element',
d1677deb
KC
780 'prefetch' => 1,
781 // 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
fdd770db
KC
782 'default' => '',
783 'add' => '4.6',
784 'title' => 'WordPress Path to wp-load.php',
785 'is_domain' => 1,
786 'is_contact' => 0,
787 'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
788 'help_text' => NULL,
789 ),
b7aba061 790);