Import from SVN (r45945, r596)
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.3 |
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',
129 'html_type' => 'Text',
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',
242 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
243 'add' => '4.1',
244 'title' => 'Contact Reference Autocomplete Options',
245 'is_domain' => 1,
246 'is_contact' => 0,
247 'description' => null,
248 'help_text' => null,
249 ),
250 'contact_reference_options' => array(
251 'group_name' => 'CiviCRM Preferences',
252 'group' => 'core',
253 'name' => 'contact_reference_options',
254 'type' => 'String',
255 'html_type' => 'checkboxes',
256 'pseudoconstant' => array(
257 'optionGroupName' => 'contact_reference_options',
258 ),
259 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1',
260 'add' => '4.1',
261 'title' => null,
262 'is_domain' => 1,
263 'is_contact' => 0,
264 'description' => null,
265 'help_text' => null,
266 ),
267 'max_attachments' => array(
268 'group_name' => 'CiviCRM Preferences',
269 'group' => 'core',
270 'name' => 'max_attachments',
271 'legacy_key' => 'maxAttachments',
272 'prefetch' => 0,
273 'type' => 'Integer',
274 'quick_form_type' => 'Element',
275 'html_type' => 'text',
276 'html_attributes' => array(
277 'size' => 2,
278 'maxlength' => 8,
279 ),
280 'default' => 3,
281 'add' => '4.3',
282 'title' => 'Maximum Attachments',
283 'is_domain' => 1,
284 'is_contact' => 0,
285 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.',
286 'help_text' => null,
287 ),
288 'maxFileSize' => array(
289 'group_name' => 'CiviCRM Preferences',
290 'group' => 'core',
291 'name' => 'maxFileSize',
292 'prefetch' => 1,
293 'config_only' => 1,
294 'type' => 'Integer',
295 'quick_form_type' => 'Element',
296 'html_type' => 'text',
297 'html_attributes' => array(
298 'size' => 2,
299 'maxlength' => 8,
300 ),
301 'default' => 3,
302 'add' => '4.3',
303 'title' => 'Maximum File Size (in MB)',
304 'is_domain' => 1,
305 'is_contact' => 0,
306 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.',
307 'help_text' => null,
308 ),
309 'contact_undelete' => array(
310 'group_name' => 'CiviCRM Preferences',
311 'group' => 'core',
312 'name' => 'contact_undelete',
313 'type' => 'Boolean',
314 'quick_form_type' => 'YesNo',
315 'default' => 1,
316 'add' => '4.3',
317 'title' => 'Contact Trash and Undelete',
318 'is_domain' => 1,
319 'is_contact' => 0,
320 '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).',
321 'help_text' => null,
322 ),
323 'versionCheck' => array(
324 'group_name' => 'CiviCRM Preferences',
325 'group' => 'core',
326 'name' => 'versionCheck',
327 'prefetch' => 1,
328 'config_only'=> 1,
329 'type' => 'Boolean',
330 'quick_form_type' => 'YesNo',
331 'default' => 1,
332 'add' => '4.3',
333 'title' => 'Version Check & Statistics Reporting',
334 'is_domain' => 1,
335 'is_contact' => 0,
336 '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.
337When 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.",
338 'help_text' => null,
339 ),
340 'doNotAttachPDFReceipt' => array(
341 'group_name' => 'CiviCRM Preferences',
342 'group' => 'core',
343 'name' => 'doNotAttachPDFReceipt',
344 'prefetch' => 1,
345 'config_only'=> 1,
346 'type' => 'Boolean',
347 'quick_form_type' => 'YesNo',
348 'default' => 1,
349 'add' => '4.3',
350 'title' => 'Attach PDF copy to receipts',
351 'is_domain' => 1,
352 'is_contact' => 0,
353 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.",
354 'help_text' => null,
355 ),
356 'wkhtmltopdfPath' => array(
357 'group_name' => 'CiviCRM Preferences',
358 'group' => 'core',
359 'name' => 'wkhtmltopdfPath',
360 'prefetch' => 1,
361 'config_only'=> 1,
362 'type' => 'String',
363 'quick_form_type' => 'Element',
364 'html_type' => 'text',
365 'html_attributes' => array(
366 'size' => 64,
367 'maxlength' => 256,
368 ),
369 'html_type' => 'Text',
370 'default' => null,
371 'add' => '4.3',
372 'title' => 'Path to wkhtmltopdf executable',
373 'is_domain' => 1,
374 'is_contact' => 0,
375 'description' => null,
376 'help_text' => null,
377 ),
378 'recaptchaPublicKey' => array(
379 'group_name' => 'CiviCRM Preferences',
380 'group' => 'core',
381 'name' => 'recaptchaPublicKey',
382 'prefetch' => 1,
383 'config_only'=> 1,
384 'type' => 'String',
385 'quick_form_type' => 'Element',
386 'html_type' => 'text',
387 'html_attributes' => array(
388 'size' => 64,
389 'maxlength' => 64,
390 ),
391 'html_type' => 'Text',
392 'default' => null,
393 'add' => '4.3',
394 'title' => 'Recaptcha Public Key',
395 'is_domain' => 1,
396 'is_contact' => 0,
397 'description' => null,
398 'help_text' => null,
399 ),
400 'recaptchaPrivateKey' => array(
401 'group_name' => 'CiviCRM Preferences',
402 'group' => 'core',
403 'name' => 'recaptchaPrivateKey',
404 'prefetch' => 1,
405 'config_only'=> 1,
406 'type' => 'String',
407 'quick_form_type' => 'Element',
408 'html_type' => 'text',
409 'html_attributes' => array(
410 'size' => 64,
411 'maxlength' => 64,
412 ),
413 'html_type' => 'Text',
414 'default' => null,
415 'add' => '4.3',
416 'title' => 'Recaptcha Private Key',
417 'is_domain' => 1,
418 'is_contact' => 0,
419 'description' => null,
420 'help_text' => null,
421 ),
422 'recaptchaPrivateKey' => array(
423 'group_name' => 'CiviCRM Preferences',
424 'group' => 'core',
425 'name' => 'recaptchaPrivateKey',
426 'prefetch' => 1,
427 'config_only'=> 1,
428 'type' => 'String',
429 'quick_form_type' => 'Element',
430 'html_type' => 'text',
431 'html_attributes' => array(
432 'size' => 64,
433 'maxlength' => 64,
434 ),
435 'html_type' => 'Text',
436 'default' => null,
437 'add' => '4.3',
438 'title' => 'Recaptcha Private Key',
439 'is_domain' => 1,
440 'is_contact' => 0,
441 'description' => null,
442 'help_text' => null,
443 ),
444 'dashboardCacheTimeout' => array(
445 'group_name' => 'CiviCRM Preferences',
446 'group' => 'core',
447 'name' => 'dashboardCacheTimeout',
448 'prefetch' => 1,
449 'config_only'=> 1,
450 'type' => 'Integer',
451 'quick_form_type' => 'Element',
452 'html_type' => 'text',
453 'html_attributes' => array(
454 'size' => 3,
455 'maxlength' => 5,
456 ),
457 'html_type' => 'Text',
458 'default' => null,
459 'add' => '4.3',
460 'title' => 'Dashboard cache timeout',
461 'is_domain' => 1,
462 'is_contact' => 0,
463 'description' => null,
464 'help_text' => null,
465 ),
466 'checksumTimeout' => array(
467 'group_name' => 'CiviCRM Preferences',
468 'group' => 'core',
469 'name' => 'checksumTimeout',
470 'prefetch' => 1,
471 'config_only'=> 1,
472 'type' => 'Integer',
473 'quick_form_type' => 'Element',
474 'html_type' => 'text',
475 'html_attributes' => array(
476 'size' => 2,
477 'maxlength' => 8,
478 ),
479 'html_type' => 'Text',
480 'default' => 7,
481 'add' => '4.3',
482 'title' => 'Dashboard cache timeout',
483 'is_domain' => 1,
484 'is_contact' => 0,
485 'description' => null,
486 'help_text' => null,
487 ),
488 'resCacheCode' => array(
489 'group_name' => 'CiviCRM Preferences',
490 'group' => 'core',
491 'name' => 'resCacheCode',
492 'prefetch' => 1,
493 'config_only'=> 1,
494 'type' => 'String',
495 'quick_form_type' => 'Element',
496 'html_type' => 'text',
497 'html_attributes' => array(
498 'size' => 16,
499 'maxlength' => 16,
500 ),
501 'html_type' => 'Text',
502 'default' => null,
503 'add' => '4.3',
504 'title' => 'Resource Cache Code',
505 'is_domain' => 1,
506 'is_contact' => 0,
507 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
508 'help_text' => null,
509 ),
510 'verifySSL' => array(
511 'group_name' => 'CiviCRM Preferences',
512 'group' => 'core',
513 'name' => 'verifySSL',
514 'type' => 'Boolean',
515 'quick_form_type' => 'YesNo',
516 'default' => 1,
517 'add' => '4.3',
518 'title' => '',
519 'is_domain' => 1,
520 'is_contact' => 0,
521 'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
522 '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',
523 ),
524);