CRM-12578 - Add configuration to disable civicrm.css. Deprecate extras.css.
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
232624b1 4 | CiviCRM version 4.4 |
6a488035
TO
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2013 |
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
31 * @copyright CiviCRM LLC (c) 2004-2013
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',
174 'title' => null,
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',
188 'title' => null,
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',
202 'title' => null,
203 'is_domain' => 1,
204 'is_contact' => 0,
205 'description' => null,
206 'help_text' => null,
207 ),
208 'activity_assignee_notification' => array(
209 'group_name' => 'CiviCRM Preferences',
210 'group' => 'core',
211 'name' => 'activity_assignee_notification',
212 'type' => 'String',
213 'html_type' => 'Text',
214 'default' => null,
215 'add' => '4.1',
216 'title' => 'Notify Activity Assignees',
217 'is_domain' => 1,
218 'is_contact' => 0,
219 'description' => null,
220 'help_text' => null,
221 ),
222 'activity_assignee_notification_ics' => array(
223 'group_name' => 'CiviCRM Preferences',
224 'group' => 'core',
225 'name' => 'activity_assignee_notification_ics',
226 'type' => 'String',
227 'html_type' => 'Text',
228 'default' => null,
229 'add' => '4.3',
230 'title' => 'Include ICal Invite to Activity Assignees',
231 'is_domain' => 1,
232 'is_contact' => 0,
233 'description' => null,
234 'help_text' => null,
235 ),
236 'contact_autocomplete_options' => array(
237 'group_name' => 'CiviCRM Preferences',
238 'group' => 'core',
239 'name' => 'contact_autocomplete_options',
240 'type' => 'String',
241 'html_type' => 'checkboxes',
77d87f6e 242 'pseudoconstant' => array(
243 'optionGroupName' => 'contact_autocomplete_options',
244 ),
6a488035
TO
245 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
246 'add' => '4.1',
247 'title' => 'Contact Reference Autocomplete Options',
248 'is_domain' => 1,
249 'is_contact' => 0,
250 'description' => null,
251 'help_text' => null,
252 ),
253 'contact_reference_options' => array(
254 'group_name' => 'CiviCRM Preferences',
255 'group' => 'core',
256 'name' => 'contact_reference_options',
257 'type' => 'String',
258 'html_type' => 'checkboxes',
259 'pseudoconstant' => array(
260 'optionGroupName' => 'contact_reference_options',
261 ),
262 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
263 'add' => '4.1',
264 'title' => null,
265 'is_domain' => 1,
266 'is_contact' => 0,
267 'description' => null,
268 'help_text' => null,
269 ),
270 'max_attachments' => array(
271 'group_name' => 'CiviCRM Preferences',
272 'group' => 'core',
273 'name' => 'max_attachments',
274 'legacy_key' => 'maxAttachments',
275 'prefetch' => 0,
276 'type' => 'Integer',
277 'quick_form_type' => 'Element',
278 'html_type' => 'text',
279 'html_attributes' => array(
280 'size' => 2,
281 'maxlength' => 8,
282 ),
283 'default' => 3,
284 'add' => '4.3',
285 'title' => 'Maximum Attachments',
286 'is_domain' => 1,
287 'is_contact' => 0,
288 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
289 'help_text' => null,
290 ),
291 'maxFileSize' => array(
292 'group_name' => 'CiviCRM Preferences',
293 'group' => 'core',
294 'name' => 'maxFileSize',
295 'prefetch' => 1,
296 'config_only' => 1,
297 'type' => 'Integer',
298 'quick_form_type' => 'Element',
299 'html_type' => 'text',
300 'html_attributes' => array(
301 'size' => 2,
302 'maxlength' => 8,
303 ),
304 'default' => 3,
305 'add' => '4.3',
306 'title' => 'Maximum File Size (in MB)',
307 'is_domain' => 1,
308 'is_contact' => 0,
309 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
310 'help_text' => null,
311 ),
312 'contact_undelete' => array(
313 'group_name' => 'CiviCRM Preferences',
314 'group' => 'core',
315 'name' => 'contact_undelete',
316 'type' => 'Boolean',
317 'quick_form_type' => 'YesNo',
318 'default' => 1,
319 'add' => '4.3',
320 'title' => 'Contact Trash and Undelete',
321 'is_domain' => 1,
322 'is_contact' => 0,
323 '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).',
324 'help_text' => null,
325 ),
f182074e
PN
326 'allowPermDeleteFinancial' => array(
327 'group_name' => 'CiviCRM Preferences',
328 'group' => 'core',
329 'name' => 'allowPermDeleteFinancial',
330 'type' => 'Boolean',
331 'quick_form_type' => 'YesNo',
332 'default' => FALSE,
333 'add' => '4.3',
334 'title' => 'Contact Permanent Delete',
335 'is_domain' => 1,
336 'is_contact' => 0,
337 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
338 'help_text' => null,
339 ),
b7aba061
CW
340 'versionAlert' => array(
341 'group_name' => 'CiviCRM Preferences',
342 'group' => 'core',
343 'name' => 'versionAlert',
b7aba061
CW
344 'type' => 'Boolean',
345 'quick_form_type' => 'YesNo',
346 'default' => 1,
347 'add' => '4.3',
348 'title' => 'New Version Alerts',
349 'is_domain' => 1,
350 'is_contact' => 0,
351 '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.',
352 'help_text' => null,
353 ),
6a488035
TO
354 'versionCheck' => array(
355 'group_name' => 'CiviCRM Preferences',
356 'group' => 'core',
357 'name' => 'versionCheck',
358 'prefetch' => 1,
359 'config_only'=> 1,
360 'type' => 'Boolean',
361 'quick_form_type' => 'YesNo',
362 'default' => 1,
363 'add' => '4.3',
364 'title' => 'Version Check & Statistics Reporting',
365 'is_domain' => 1,
366 'is_contact' => 0,
367 '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.
368When 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.",
369 'help_text' => null,
370 ),
371 'doNotAttachPDFReceipt' => array(
372 'group_name' => 'CiviCRM Preferences',
373 'group' => 'core',
374 'name' => 'doNotAttachPDFReceipt',
375 'prefetch' => 1,
376 'config_only'=> 1,
377 'type' => 'Boolean',
378 'quick_form_type' => 'YesNo',
379 'default' => 1,
380 'add' => '4.3',
381 'title' => 'Attach PDF copy to receipts',
382 'is_domain' => 1,
383 'is_contact' => 0,
384 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
385 'help_text' => null,
386 ),
387 'wkhtmltopdfPath' => array(
388 'group_name' => 'CiviCRM Preferences',
389 'group' => 'core',
390 'name' => 'wkhtmltopdfPath',
391 'prefetch' => 1,
392 'config_only'=> 1,
393 'type' => 'String',
394 'quick_form_type' => 'Element',
395 'html_type' => 'text',
396 'html_attributes' => array(
397 'size' => 64,
398 'maxlength' => 256,
399 ),
400 'html_type' => 'Text',
401 'default' => null,
402 'add' => '4.3',
403 'title' => 'Path to wkhtmltopdf executable',
404 'is_domain' => 1,
405 'is_contact' => 0,
406 'description' => null,
407 'help_text' => null,
408 ),
409 'recaptchaPublicKey' => array(
410 'group_name' => 'CiviCRM Preferences',
411 'group' => 'core',
412 'name' => 'recaptchaPublicKey',
413 'prefetch' => 1,
414 'config_only'=> 1,
415 'type' => 'String',
416 'quick_form_type' => 'Element',
417 'html_type' => 'text',
418 'html_attributes' => array(
419 'size' => 64,
420 'maxlength' => 64,
421 ),
422 'html_type' => 'Text',
423 'default' => null,
424 'add' => '4.3',
425 'title' => 'Recaptcha Public Key',
426 'is_domain' => 1,
427 'is_contact' => 0,
428 'description' => null,
429 'help_text' => null,
430 ),
431 'recaptchaPrivateKey' => array(
432 'group_name' => 'CiviCRM Preferences',
433 'group' => 'core',
434 'name' => 'recaptchaPrivateKey',
435 'prefetch' => 1,
436 'config_only'=> 1,
437 'type' => 'String',
438 'quick_form_type' => 'Element',
439 'html_type' => 'text',
440 'html_attributes' => array(
441 'size' => 64,
442 'maxlength' => 64,
443 ),
444 'html_type' => 'Text',
445 'default' => null,
446 'add' => '4.3',
447 'title' => 'Recaptcha Private Key',
448 'is_domain' => 1,
449 'is_contact' => 0,
450 'description' => null,
451 'help_text' => null,
452 ),
453 'recaptchaPrivateKey' => array(
454 'group_name' => 'CiviCRM Preferences',
455 'group' => 'core',
456 'name' => 'recaptchaPrivateKey',
457 'prefetch' => 1,
458 'config_only'=> 1,
459 'type' => 'String',
460 'quick_form_type' => 'Element',
461 'html_type' => 'text',
462 'html_attributes' => array(
463 'size' => 64,
464 'maxlength' => 64,
465 ),
466 'html_type' => 'Text',
467 'default' => null,
468 'add' => '4.3',
469 'title' => 'Recaptcha Private Key',
470 'is_domain' => 1,
471 'is_contact' => 0,
472 'description' => null,
473 'help_text' => null,
474 ),
475 'dashboardCacheTimeout' => array(
476 'group_name' => 'CiviCRM Preferences',
477 'group' => 'core',
478 'name' => 'dashboardCacheTimeout',
479 'prefetch' => 1,
480 'config_only'=> 1,
481 'type' => 'Integer',
482 'quick_form_type' => 'Element',
483 'html_type' => 'text',
484 'html_attributes' => array(
485 'size' => 3,
486 'maxlength' => 5,
487 ),
488 'html_type' => 'Text',
489 'default' => null,
490 'add' => '4.3',
491 'title' => 'Dashboard cache timeout',
492 'is_domain' => 1,
493 'is_contact' => 0,
494 'description' => null,
495 'help_text' => null,
496 ),
497 'checksumTimeout' => array(
498 'group_name' => 'CiviCRM Preferences',
499 'group' => 'core',
500 'name' => 'checksumTimeout',
501 'prefetch' => 1,
502 'config_only'=> 1,
503 'type' => 'Integer',
504 'quick_form_type' => 'Element',
505 'html_type' => 'text',
506 'html_attributes' => array(
507 'size' => 2,
508 'maxlength' => 8,
509 ),
510 'html_type' => 'Text',
511 'default' => 7,
512 'add' => '4.3',
d5f1ee75 513 'title' => 'Checksum Lifespan',
6a488035
TO
514 'is_domain' => 1,
515 'is_contact' => 0,
516 'description' => null,
517 'help_text' => null,
518 ),
847c93ac
TO
519 'communityMessagesUrl' => array(
520 'group_name' => 'CiviCRM Preferences',
521 'group' => 'core',
522 'name' => 'communityMessagesUrl',
523 'prefetch' => 0,
524 'config_only'=> 1,
525 'type' => 'String',
526 'quick_form_type' => 'Element',
527 'html_type' => 'text',
528 'html_attributes' => array(
529 'size' => 64,
530 'maxlength' => 128,
531 ),
532 'html_type' => 'Text',
533 'default' => '*default*',
534 'add' => '4.3',
535 'title' => 'Community Messages URL',
536 'is_domain' => 1,
537 'is_contact' => 0,
538 'description' => 'Service providing CiviCRM community messages',
539 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
540 ),
6a488035
TO
541 'resCacheCode' => array(
542 'group_name' => 'CiviCRM Preferences',
543 'group' => 'core',
544 'name' => 'resCacheCode',
545 'prefetch' => 1,
546 'config_only'=> 1,
547 'type' => 'String',
548 'quick_form_type' => 'Element',
549 'html_type' => 'text',
550 'html_attributes' => array(
551 'size' => 16,
552 'maxlength' => 16,
553 ),
554 'html_type' => 'Text',
555 'default' => null,
556 'add' => '4.3',
557 'title' => 'Resource Cache Code',
558 'is_domain' => 1,
559 'is_contact' => 0,
560 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
561 'help_text' => null,
562 ),
563 'verifySSL' => array(
564 'group_name' => 'CiviCRM Preferences',
565 'group' => 'core',
566 'name' => 'verifySSL',
567 'type' => 'Boolean',
568 'quick_form_type' => 'YesNo',
569 'default' => 1,
570 'add' => '4.3',
571 'title' => '',
572 'is_domain' => 1,
573 'is_contact' => 0,
574 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
575 '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',
576 ),
94c11eeb
DL
577 'wpBasePage' => array(
578 'group_name' => 'CiviCRM Preferences',
579 'group' => 'core',
580 'name' => 'wpBasePage',
581 'type' => 'String',
582 'html_type' => 'text',
583 'quick_form_type' => 'Element',
584 'prefetch' => 1,
585 'default' => '',
586 'add' => '4.3',
587 'title' => 'WordPress Base Page',
588 'is_domain' => 1,
589 'is_contact' => 0,
590 'description' => 'If set, CiviCRM will use this setting as the base url.',
591 '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.',
592 ),
d5f1ee75
DG
593 'secondDegRelPermissions' => array(
594 'group_name' => 'CiviCRM Preferences',
595 'group' => 'core',
596 'name' => 'secondDegRelPermissions',
597 'prefetch' => 1,
598 'config_only'=> 1,
599 'type' => 'Boolean',
600 'quick_form_type' => 'YesNo',
601 'default' => 0,
602 'add' => '4.3',
603 'title' => 'Allow second-degree relationship permissions',
604 'is_domain' => 1,
605 'is_contact' => 0,
606 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
607 'help_text' => null,
608 ),
86eeab72
DS
609
610 'enable_components' => array(
611 'group_name' => 'CiviCRM Preferences',
612 'group' => 'core',
613 'name' => 'enable_components',
614 'type' => 'Array',
615 'quick_form_type' => 'Element',
616 'html_type' => 'advmultiselect',
617 'html_attributes' => array(
618 'size' => 5,
619 'style' => 'width:150px',
620 'class' => 'advmultiselect',
621 ),
64fea50a 622 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
86eeab72
DS
623 'add' => '4.4',
624 'title' => 'Enable Components',
625 'is_domain' => '1',
626 'is_contact' => 0,
627 'description' => null,
628 'help_text' => null,
629 ),
b7aba061 630);