Merge pull request #13027 from eileenmcnaughton/settings_event
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
6a488035 5 +--------------------------------------------------------------------+
4a99ac35 6 | Copyright CiviCRM LLC (c) 2004-2017 |
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
4a99ac35 31 * @copyright CiviCRM LLC (c) 2004-2017
6a488035 32 */
1bfe4abf
CB
33
34/**
6a488035
TO
35 * Settings metadata file
36 */
08e57c58 37return array(
6a488035
TO
38 'contact_view_options' => array(
39 'group_name' => 'CiviCRM Preferences',
40 'group' => 'core',
41 'name' => 'contact_view_options',
42 'type' => 'String',
a55c9b35 43 'quick_form_type' => 'CheckBoxes',
6a488035
TO
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',
a55c9b35 50 'title' => ts('Viewing Contacts'),
6a488035
TO
51 'is_domain' => '1',
52 'is_contact' => 0,
a55c9b35 53 'description' => ts("Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site."),
08e57c58 54 'help_text' => NULL,
6821aa1d 55 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
6a488035 56 ),
6a488035
TO
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 ),
007e3bdc 66 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035 67 'add' => '4.1',
629c8513 68 'title' => ts('Editing Contacts'),
6a488035
TO
69 'is_domain' => 1,
70 'is_contact' => 0,
629c8513 71 'description' => ts('Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.'),
56fdfc52 72 'help_text' => NULL,
629c8513 73 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
6a488035
TO
74 ),
75 'advanced_search_options' => array(
76 'group_name' => 'CiviCRM Preferences',
629c8513 77 'group' => 'core',
6a488035
TO
78 'name' => 'advanced_search_options',
79 'type' => 'String',
80 'html_type' => 'checkboxes',
81 'pseudoconstant' => array(
82 'optionGroupName' => 'advanced_search_options',
83 ),
007e3bdc 84 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035 85 'add' => '4.1',
629c8513 86 'title' => ts('Contact Search'),
6a488035
TO
87 'is_domain' => 1,
88 'is_contact' => 0,
629c8513 89 'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
2e94f477 90 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
6a488035 91 ),
56fdfc52 92 'user_dashboard_options' => array(
6a488035
TO
93 'group_name' => 'CiviCRM Preferences',
94 'group' => 'core',
95 'name' => 'user_dashboard_options',
96 'type' => 'String',
97 'html_type' => 'checkboxes',
98 'pseudoconstant' => array(
99 'optionGroupName' => 'user_dashboard_options',
56fdfc52 100 ),
007e3bdc 101 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035 102 'add' => '4.1',
732b1d05 103 'title' => ts('Contact Dashboard'),
6a488035
TO
104 'is_domain' => 1,
105 'is_contact' => 0,
94b60b64 106 'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
56fdfc52 107 'help_text' => NULL,
94b60b64 108 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
6a488035
TO
109 ),
110 'address_options' => array(
111 'group_name' => 'CiviCRM Preferences',
112 'group' => 'core',
113 'name' => 'address_options',
114 'type' => 'String',
115 'html_type' => 'Text',
116 'pseudoconstant' => array(
117 'optionGroupName' => 'address_options',
118 ),
007e3bdc 119 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
6a488035
TO
120 'add' => '4.1',
121 'title' => 'Addressing Options',
122 'is_domain' => 1,
123 'is_contact' => 0,
08e57c58
TO
124 'description' => NULL,
125 'help_text' => NULL,
6a488035
TO
126 ),
127 'address_format' => array(
128 'group_name' => 'CiviCRM Preferences',
129 'group' => 'core',
130 'name' => 'address_format',
131 'type' => 'String',
77d87f6e 132 'html_type' => 'TextArea',
207f62c6 133 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035
TO
134 'add' => '4.1',
135 'title' => 'Address Format',
136 'is_domain' => 1,
137 'is_contact' => 0,
08e57c58 138 'description' => NULL,
56fdfc52 139 'help_text' => NULL,
6a488035
TO
140 ),
141 'mailing_format' => array(
142 'group_name' => 'CiviCRM Preferences',
143 'group' => 'core',
144 'name' => 'mailing_format',
145 'type' => 'String',
146 'html_type' => 'Text',
207f62c6 147 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035
TO
148 'add' => '4.1',
149 'title' => 'Mailing Format',
150 'is_domain' => 1,
151 'is_contact' => 0,
08e57c58 152 'description' => NULL,
56fdfc52 153 'help_text' => NULL,
6a488035
TO
154 ),
155 'display_name_format' => array(
156 'group_name' => 'CiviCRM Preferences',
157 'group' => 'core',
158 'name' => 'display_name_format',
159 'type' => 'String',
7399a0a6 160 'html_type' => 'textarea',
6a488035
TO
161 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
162 'add' => '4.1',
732b1d05 163 'title' => ts('Individual Display Name Format'),
6a488035
TO
164 'is_domain' => 1,
165 'is_contact' => 0,
7399a0a6 166 'description' => ts('Display name format for individual contact display names.'),
6a488035
TO
167 ),
168 'sort_name_format' => array(
169 'group_name' => 'CiviCRM Preferences',
170 'group' => 'core',
171 'name' => 'sort_name_format',
172 'type' => 'String',
7399a0a6 173 'html_type' => 'textarea',
6a488035
TO
174 'default' => '{contact.last_name}{, }{contact.first_name}',
175 'add' => '4.1',
732b1d05 176 'title' => ts('Individual Sort Name Format'),
6a488035
TO
177 'is_domain' => 1,
178 'is_contact' => 0,
7399a0a6 179 'description' => ts('Sort name format for individual contact display names.'),
6a488035 180 ),
e8a64b98 181 'remote_profile_submissions' => array(
61f53f0d
PN
182 'group_name' => 'CiviCRM Preferences',
183 'group' => 'core',
e8a64b98 184 'name' => 'remote_profile_submissions',
61f53f0d
PN
185 'type' => 'Boolean',
186 'quick_form_type' => 'YesNo',
187 'default' => FALSE,
188 'html_type' => 'radio',
189 'add' => '4.7',
1bfe4abf 190 'title' => 'Accept profile submissions from external sites',
61f53f0d
PN
191 'is_domain' => 1,
192 'is_contact' => 0,
732b1d05 193 'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
61f53f0d
PN
194 'help_text' => NULL,
195 ),
d19abfd1
AP
196 'allow_alert_autodismissal' => array(
197 'group_name' => 'CiviCRM Preferences',
198 'group' => 'core',
199 'name' => 'allow_alert_autodismissal',
200 'type' => 'Boolean',
201 'quick_form_type' => 'YesNo',
202 'default' => TRUE,
203 'html_type' => 'radio',
204 'add' => '4.7',
205 'title' => 'Allow alerts to auto-dismiss?',
206 'is_domain' => 1,
207 'is_contact' => 0,
732b1d05 208 'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
d19abfd1
AP
209 'help_text' => NULL,
210 ),
6a488035
TO
211 'editor_id' => array(
212 'group_name' => 'CiviCRM Preferences',
213 'group' => 'core',
214 'name' => 'editor_id',
215 'type' => 'String',
72f03b4f
CW
216 'html_type' => 'Select',
217 'default' => 'CKEditor',
6a488035 218 'add' => '4.1',
732b1d05 219 'title' => ts('Wysiwig Editor'),
6a488035
TO
220 'is_domain' => 1,
221 'is_contact' => 0,
08e57c58
TO
222 'description' => NULL,
223 'help_text' => NULL,
6a488035
TO
224 ),
225 'contact_ajax_check_similar' => array(
226 'group_name' => 'CiviCRM Preferences',
227 'group' => 'core',
228 'name' => 'contact_ajax_check_similar',
229 'type' => 'String',
d6def514 230 'html_type' => 'radio',
007e3bdc 231 'default' => '1',
6a488035 232 'add' => '4.1',
732b1d05 233 'title' => ts('Check for Similar Contacts'),
6a488035
TO
234 'is_domain' => 1,
235 'is_contact' => 0,
08e57c58
TO
236 'description' => NULL,
237 'help_text' => NULL,
f1cf499b 238 ),
53f2643c 239 'ajaxPopupsEnabled' => array(
f1cf499b
CW
240 'group_name' => 'CiviCRM Preferences',
241 'group' => 'core',
53f2643c 242 'name' => 'ajaxPopupsEnabled',
f1cf499b 243 'type' => 'Boolean',
74f89a9f 244 'html_type' => 'checkbox',
f1cf499b
CW
245 'default' => 1,
246 'add' => '4.5',
732b1d05 247 'title' => ts('Enable Popup Forms'),
f1cf499b
CW
248 'is_domain' => 1,
249 'is_contact' => 0,
08e57c58
TO
250 'description' => NULL,
251 'help_text' => NULL,
6a488035
TO
252 ),
253 'activity_assignee_notification' => array(
254 'group_name' => 'CiviCRM Preferences',
255 'group' => 'core',
256 'name' => 'activity_assignee_notification',
74f89a9f 257 'type' => 'Boolean',
258 'html_type' => 'checkbox',
007e3bdc 259 'default' => '1',
6a488035 260 'add' => '4.1',
732b1d05 261 'title' => ts('Notify Activity Assignees'),
6a488035
TO
262 'is_domain' => 1,
263 'is_contact' => 0,
08e57c58 264 'description' => NULL,
56fdfc52 265 'help_text' => NULL,
6a488035
TO
266 ),
267 'activity_assignee_notification_ics' => array(
268 'group_name' => 'CiviCRM Preferences',
269 'group' => 'core',
270 'name' => 'activity_assignee_notification_ics',
74f89a9f 271 'type' => 'Boolean',
272 'html_type' => 'checkbox',
007e3bdc 273 'default' => '0',
6a488035 274 'add' => '4.3',
732b1d05 275 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
276 'is_domain' => 1,
277 'is_contact' => 0,
08e57c58 278 'description' => NULL,
56fdfc52 279 'help_text' => NULL,
6a488035
TO
280 ),
281 'contact_autocomplete_options' => array(
282 'group_name' => 'CiviCRM Preferences',
283 'group' => 'core',
284 'name' => 'contact_autocomplete_options',
285 'type' => 'String',
d434f797 286 'quick_form_type' => 'CheckBox',
77d87f6e 287 'pseudoconstant' => array(
d434f797 288 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
77d87f6e 289 ),
d434f797 290 'default' => '\ 11\ 12\ 1',
6a488035 291 'add' => '4.1',
732b1d05 292 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
293 'is_domain' => 1,
294 'is_contact' => 0,
732b1d05 295 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 296 'help_text' => NULL,
6a488035
TO
297 ),
298 'contact_reference_options' => array(
299 'group_name' => 'CiviCRM Preferences',
300 'group' => 'core',
301 'name' => 'contact_reference_options',
302 'type' => 'String',
d434f797 303 'quick_form_type' => 'CheckBox',
6a488035 304 'pseudoconstant' => array(
d434f797 305 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
6a488035 306 ),
d434f797 307 'default' => '\ 11\ 12\ 1',
6a488035 308 'add' => '4.1',
732b1d05 309 'title' => ts('Contact Reference Options'),
6a488035
TO
310 'is_domain' => 1,
311 'is_contact' => 0,
732b1d05 312 'description' => ts("Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list."),
56fdfc52 313 'help_text' => NULL,
6a488035 314 ),
007e3bdc
TO
315 'contact_smart_group_display' => array(
316 'group_name' => 'CiviCRM Preferences',
317 'group' => 'core',
318 'name' => 'contact_smart_group_display',
319 'type' => 'String',
320 'html_type' => 'radio',
321 'default' => '1',
322 'add' => '4.7',
323 'title' => ts('Viewing Smart Groups'),
324 'is_domain' => 1,
325 'is_contact' => 0,
c5af8245 326 'description' => ts('Controls display of the smart groups that a contact is part of in each contact\'s "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.'),
007e3bdc 327 'help_text' => NULL,
c5af8245 328 'pseudoconstant' => array(
329 'optionGroupName' => 'contact_smart_group_display',
330 ),
007e3bdc 331 ),
801bafd7 332 'smart_group_cache_refresh_mode' => array(
333 'group_name' => 'CiviCRM Preferences',
334 'group' => 'core',
335 'name' => 'smart_group_cache_refresh_mode',
336 'type' => 'String',
337 'html_type' => 'radio',
338 'default' => 'opportunistic',
339 'add' => '4.7',
732b1d05 340 'title' => ts('Smart Group Refresh Mode'),
801bafd7 341 'is_domain' => 1,
342 'is_contact' => 0,
343 'pseudoconstant' => array(
a8eb1fe6 344 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
801bafd7 345 ),
732b1d05 346 'description' => ts('Should the smart groups be by cron jobs or user actions'),
347 'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.'),
801bafd7 348 ),
801c5335
C
349 'installed' => array(
350 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
351 'group_name' => 'CiviCRM Preferences',
352 'group' => 'core',
353 'name' => 'installed',
354 'type' => 'Boolean',
355 'quick_form_type' => 'YesNo',
356 'default' => FALSE,
357 'add' => '4.7',
732b1d05 358 'title' => ts('System Installed'),
801c5335
C
359 'is_domain' => 1,
360 'is_contact' => 0,
732b1d05 361 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335
C
362 'help_text' => NULL,
363 ),
6a488035
TO
364 'max_attachments' => array(
365 'group_name' => 'CiviCRM Preferences',
366 'group' => 'core',
367 'name' => 'max_attachments',
368 'legacy_key' => 'maxAttachments',
6a488035
TO
369 'type' => 'Integer',
370 'quick_form_type' => 'Element',
371 'html_type' => 'text',
372 'html_attributes' => array(
373 'size' => 2,
374 'maxlength' => 8,
56fdfc52
TO
375 ),
376 'default' => 3,
377 'add' => '4.3',
732b1d05 378 'title' => ts('Maximum Attachments'),
56fdfc52
TO
379 'is_domain' => 1,
380 'is_contact' => 0,
732b1d05 381 'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities.'),
56fdfc52 382 'help_text' => NULL,
6a488035
TO
383 ),
384 'maxFileSize' => array(
385 'group_name' => 'CiviCRM Preferences',
386 'group' => 'core',
387 'name' => 'maxFileSize',
6a488035
TO
388 'type' => 'Integer',
389 'quick_form_type' => 'Element',
390 'html_type' => 'text',
391 'html_attributes' => array(
392 'size' => 2,
393 'maxlength' => 8,
394 ),
395 'default' => 3,
396 'add' => '4.3',
732b1d05 397 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
398 'is_domain' => 1,
399 'is_contact' => 0,
732b1d05 400 'description' => ts('Maximum Size of file (documents, images, etc.) which can be attached to emails or activities.<br />Note: php.ini should support this file size.'),
08e57c58 401 'help_text' => NULL,
6a488035
TO
402 ),
403 'contact_undelete' => array(
404 'group_name' => 'CiviCRM Preferences',
405 'group' => 'core',
406 'name' => 'contact_undelete',
407 'type' => 'Boolean',
408 'quick_form_type' => 'YesNo',
409 'default' => 1,
410 'add' => '4.3',
732b1d05 411 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
412 'is_domain' => 1,
413 'is_contact' => 0,
732b1d05 414 'description' => ts('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 415 'help_text' => NULL,
6a488035 416 ),
f182074e
PN
417 'allowPermDeleteFinancial' => array(
418 'group_name' => 'CiviCRM Preferences',
419 'group' => 'core',
420 'name' => 'allowPermDeleteFinancial',
421 'type' => 'Boolean',
422 'quick_form_type' => 'YesNo',
423 'default' => FALSE,
424 'add' => '4.3',
732b1d05 425 'title' => ts('Contact Permanent Delete'),
f182074e
PN
426 'is_domain' => 1,
427 'is_contact' => 0,
732b1d05 428 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 429 'help_text' => NULL,
f182074e 430 ),
439a9f1b
TO
431 'securityAlert' => array(
432 'group_name' => 'CiviCRM Preferences',
433 'group' => 'core',
fa8dc18c 434 'name' => 'securityAlert',
439a9f1b
TO
435 'type' => 'Boolean',
436 'quick_form_type' => 'YesNo',
437 'default' => 1,
438 'add' => '4.4',
732b1d05 439 'title' => ts('Status Alerts'),
439a9f1b
TO
440 'is_domain' => 1,
441 'is_contact' => 0,
732b1d05 442 'description' => ts("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 443 'help_text' => NULL,
439a9f1b 444 ),
6a488035
TO
445 'doNotAttachPDFReceipt' => array(
446 'group_name' => 'CiviCRM Preferences',
447 'group' => 'core',
448 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
449 'type' => 'Boolean',
450 'quick_form_type' => 'YesNo',
f825dba2 451 'default' => 0,
6a488035 452 'add' => '4.3',
732b1d05 453 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
454 'is_domain' => 1,
455 'is_contact' => 0,
732b1d05 456 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 457 'help_text' => NULL,
6a488035 458 ),
cc144465
TO
459 'recordGeneratedLetters' => array(
460 'group_name' => 'CiviCRM Preferences',
461 'group' => 'core',
462 'name' => 'recordGeneratedLetters',
463 'type' => 'String',
464 'quick_form_type' => 'Select',
465 'html_type' => 'Select',
466 'html_attributes' => array(
467 'class' => 'crm-select2',
468 ),
469 'default' => 'multiple',
3ff77806 470 'add' => '4.7',
732b1d05 471 'title' => ts('Record generated letters'),
cc144465
TO
472 'is_domain' => 1,
473 'is_contact' => 0,
732b1d05 474 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465
TO
475 'help_text' => NULL,
476 'pseudoconstant' => array(
477 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
478 ),
479 ),
6a488035
TO
480 'wkhtmltopdfPath' => array(
481 'group_name' => 'CiviCRM Preferences',
482 'group' => 'core',
483 'name' => 'wkhtmltopdfPath',
6a488035
TO
484 'type' => 'String',
485 'quick_form_type' => 'Element',
6a488035
TO
486 'html_attributes' => array(
487 'size' => 64,
488 'maxlength' => 256,
489 ),
490 'html_type' => 'Text',
08e57c58 491 'default' => NULL,
6a488035 492 'add' => '4.3',
732b1d05 493 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
494 'is_domain' => 1,
495 'is_contact' => 0,
08e57c58
TO
496 'description' => NULL,
497 'help_text' => NULL,
6a488035 498 ),
53b0f6c3
TO
499 'recaptchaOptions' => array(
500 'group_name' => 'CiviCRM Preferences',
501 'group' => 'core',
502 'name' => 'recaptchaOptions',
53b0f6c3
TO
503 'type' => 'String',
504 'quick_form_type' => 'Element',
505 'html_attributes' => array(
506 'size' => 64,
507 'maxlength' => 64,
508 ),
509 'html_type' => 'Text',
510 'default' => NULL,
511 'add' => '4.3',
732b1d05 512 'title' => ts('Recaptcha Options'),
53b0f6c3
TO
513 'is_domain' => 1,
514 'is_contact' => 0,
732b1d05 515 'description' => ts('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>.'),
53b0f6c3
TO
516 'help_text' => NULL,
517 ),
6a488035
TO
518 'recaptchaPublicKey' => array(
519 'group_name' => 'CiviCRM Preferences',
520 'group' => 'core',
521 'name' => 'recaptchaPublicKey',
6a488035
TO
522 'type' => 'String',
523 'quick_form_type' => 'Element',
6a488035
TO
524 'html_attributes' => array(
525 'size' => 64,
526 'maxlength' => 64,
527 ),
528 'html_type' => 'Text',
08e57c58 529 'default' => NULL,
6a488035 530 'add' => '4.3',
732b1d05 531 'title' => ts('Recaptcha Site Key'),
6a488035
TO
532 'is_domain' => 1,
533 'is_contact' => 0,
08e57c58
TO
534 'description' => NULL,
535 'help_text' => NULL,
6a488035 536 ),
ce287b85
AP
537 'forceRecaptcha' => array(
538 'add' => '4.7',
539 'help_text' => NULL,
540 'is_domain' => 1,
541 'is_contact' => 0,
542 'group_name' => 'CiviCRM Preferences',
543 'group' => 'core',
544 'name' => 'forceRecaptcha',
545 'type' => 'Boolean',
546 'quick_form_type' => 'YesNo',
547 'html_type' => '',
548 'default' => '0',
732b1d05 549 'title' => ts('Force reCAPTCHA on Contribution pages'),
550 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
ce287b85 551 ),
6a488035
TO
552 'recaptchaPrivateKey' => array(
553 'group_name' => 'CiviCRM Preferences',
554 'group' => 'core',
555 'name' => 'recaptchaPrivateKey',
6a488035
TO
556 'type' => 'String',
557 'quick_form_type' => 'Element',
6a488035
TO
558 'html_attributes' => array(
559 'size' => 64,
560 'maxlength' => 64,
561 ),
562 'html_type' => 'Text',
08e57c58 563 'default' => NULL,
6a488035 564 'add' => '4.3',
732b1d05 565 'title' => ts('Recaptcha Secret Key'),
6a488035
TO
566 'is_domain' => 1,
567 'is_contact' => 0,
08e57c58
TO
568 'description' => NULL,
569 'help_text' => NULL,
6a488035 570 ),
92a8de72 571 'checksum_timeout' => array(
6a488035
TO
572 'group_name' => 'CiviCRM Preferences',
573 'group' => 'core',
92a8de72 574 'name' => 'checksum_timeout',
6a488035
TO
575 'type' => 'Integer',
576 'quick_form_type' => 'Element',
6a488035
TO
577 'html_attributes' => array(
578 'size' => 2,
579 'maxlength' => 8,
580 ),
581 'html_type' => 'Text',
582 'default' => 7,
583 'add' => '4.3',
732b1d05 584 'title' => ts('Checksum Lifespan'),
6a488035
TO
585 'is_domain' => 1,
586 'is_contact' => 0,
08e57c58
TO
587 'description' => NULL,
588 'help_text' => NULL,
6a488035 589 ),
4b030206
TO
590 'blogUrl' => array(
591 'group_name' => 'CiviCRM Preferences',
592 'group' => 'core',
593 'name' => 'blogUrl',
4b030206
TO
594 'type' => 'String',
595 'quick_form_type' => 'Element',
4b030206
TO
596 'html_attributes' => array(
597 'size' => 64,
598 'maxlength' => 128,
599 ),
600 'html_type' => 'Text',
601 'default' => '*default*',
602 'add' => '4.3',
732b1d05 603 'title' => ts('Blog Feed URL'),
4b030206
TO
604 'is_domain' => 1,
605 'is_contact' => 0,
732b1d05 606 'description' => ts('Blog feed URL used by the blog dashlet'),
607 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
4b030206 608 ),
847c93ac
TO
609 'communityMessagesUrl' => array(
610 'group_name' => 'CiviCRM Preferences',
611 'group' => 'core',
612 'name' => 'communityMessagesUrl',
847c93ac
TO
613 'type' => 'String',
614 'quick_form_type' => 'Element',
847c93ac
TO
615 'html_attributes' => array(
616 'size' => 64,
617 'maxlength' => 128,
618 ),
619 'html_type' => 'Text',
620 'default' => '*default*',
621 'add' => '4.3',
732b1d05 622 'title' => ts('Community Messages URL'),
847c93ac
TO
623 'is_domain' => 1,
624 'is_contact' => 0,
732b1d05 625 'description' => ts('Service providing CiviCRM community messages'),
626 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
1f957d1e
TO
627 ),
628 'gettingStartedUrl' => array(
629 'group_name' => 'CiviCRM Preferences',
630 'group' => 'core',
631 'name' => 'gettingStartedUrl',
632 'type' => 'String',
633 'quick_form_type' => 'Element',
634 'html_attributes' => array(
635 'size' => 64,
636 'maxlength' => 128,
637 ),
638 'html_type' => 'Text',
639 'default' => '*default*',
640 'add' => '4.3',
732b1d05 641 'title' => ts('Getting Started URL'),
1f957d1e
TO
642 'is_domain' => 1,
643 'is_contact' => 0,
732b1d05 644 'description' => ts('Service providing the Getting Started data'),
645 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
847c93ac 646 ),
6a488035
TO
647 'resCacheCode' => array(
648 'group_name' => 'CiviCRM Preferences',
649 'group' => 'core',
650 'name' => 'resCacheCode',
6a488035 651 'type' => 'String',
30fcf833 652 'quick_form_type' => 'Element',
653 'html_type' => 'text',
08e57c58 654 'default' => NULL,
6a488035 655 'add' => '4.3',
732b1d05 656 'title' => ts('resCacheCode'),
6a488035
TO
657 'is_domain' => 1,
658 'is_contact' => 0,
732b1d05 659 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 660 'help_text' => NULL,
6a488035
TO
661 ),
662 'verifySSL' => array(
663 'group_name' => 'CiviCRM Preferences',
664 'group' => 'core',
665 'name' => 'verifySSL',
666 'type' => 'Boolean',
667 'quick_form_type' => 'YesNo',
668 'default' => 1,
669 'add' => '4.3',
732b1d05 670 'title' => ts('Verify SSL?'),
6a488035
TO
671 'is_domain' => 1,
672 'is_contact' => 0,
732b1d05 673 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
674 'help_text' => ts('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'),
6a488035 675 ),
28f07f05
TO
676 'enableSSL' => array(
677 'group_name' => 'CiviCRM Preferences',
678 'group' => 'core',
679 'name' => 'enableSSL',
680 'type' => 'Boolean',
681 'quick_form_type' => 'YesNo',
682 'default' => 0,
683 'add' => '4.5',
732b1d05 684 'title' => ts('Force SSL?'),
28f07f05
TO
685 'is_domain' => 1,
686 'is_contact' => 0,
732b1d05 687 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
688 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
28f07f05 689 ),
94c11eeb
DL
690 'wpBasePage' => array(
691 'group_name' => 'CiviCRM Preferences',
692 'group' => 'core',
693 'name' => 'wpBasePage',
694 'type' => 'String',
695 'html_type' => 'text',
696 'quick_form_type' => 'Element',
94c11eeb
DL
697 'default' => '',
698 'add' => '4.3',
732b1d05 699 'title' => ts('WordPress Base Page'),
94c11eeb
DL
700 'is_domain' => 1,
701 'is_contact' => 0,
732b1d05 702 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
703 'help_text' => ts('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.'),
94c11eeb 704 ),
d5f1ee75
DG
705 'secondDegRelPermissions' => array(
706 'group_name' => 'CiviCRM Preferences',
707 'group' => 'core',
708 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
709 'type' => 'Boolean',
710 'quick_form_type' => 'YesNo',
711 'default' => 0,
712 'add' => '4.3',
732b1d05 713 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
714 'is_domain' => 1,
715 'is_contact' => 0,
732b1d05 716 'description' => ts("If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts"),
08e57c58 717 'help_text' => NULL,
d5f1ee75 718 ),
86eeab72 719 'enable_components' => array(
ac47f7ca 720 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
721 'group_name' => 'CiviCRM Preferences',
722 'group' => 'core',
56fdfc52 723 'name' => 'enable_components',
86eeab72
DS
724 'type' => 'Array',
725 'quick_form_type' => 'Element',
726 'html_type' => 'advmultiselect',
727 'html_attributes' => array(
728 'size' => 5,
729 'style' => 'width:150px',
730 'class' => 'advmultiselect',
731 ),
ac47f7ca 732 'default' => NULL,
56fdfc52 733 'add' => '4.4',
732b1d05 734 'title' => ts('Enable Components'),
86eeab72
DS
735 'is_domain' => '1',
736 'is_contact' => 0,
08e57c58 737 'description' => NULL,
56fdfc52 738 'help_text' => NULL,
2bc3bd8f 739 'on_change' => array(
c8074a93
TO
740 'CRM_Case_Info::onToggleComponents',
741 'CRM_Core_Component::flushEnabledComponents',
742 'call://resources/resetCacheCode',
2bc3bd8f 743 ),
86eeab72 744 ),
14f20d22
CW
745 'disable_core_css' => array(
746 'group_name' => 'CiviCRM Preferences',
747 'group' => 'core',
748 'name' => 'disable_core_css',
749 'type' => 'Boolean',
750 'quick_form_type' => 'YesNo',
751 'default' => '0',
752 'add' => '4.4',
732b1d05 753 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
754 'is_domain' => 1,
755 'is_contact' => 0,
732b1d05 756 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22
CW
757 'help_text' => NULL,
758 ),
466913fc
AH
759 'empoweredBy' => array(
760 'group_name' => 'CiviCRM Preferences',
761 'group' => 'core',
762 'name' => 'empoweredBy',
763 'type' => 'Boolean',
764 'quick_form_type' => 'YesNo',
765 'default' => 1,
766 'add' => '4.5',
732b1d05 767 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
768 'is_domain' => 1,
769 'is_contact' => 0,
732b1d05 770 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 771 'help_text' => NULL,
466913fc 772 ),
f76ec559
TO
773 'logging_no_trigger_permission' => array(
774 'add' => '4.7',
775 'is_domain' => 1,
776 'is_contact' => 0,
777 'group_name' => 'CiviCRM Preferences',
778 'group' => 'core',
779 'help_text' => ts('(EXPERIMENTAL) If the MySQL user does not have permission to administer triggers, then you must create the triggers outside CiviCRM. No support is provided for this configuration.'),
780 'name' => 'logging_no_trigger_permission',
781 'type' => 'Boolean',
782 'quick_form_type' => 'YesNo',
783 'html_type' => '',
784 'default' => 0,
732b1d05 785 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
786 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
f76ec559 787 ),
e299c1d0
TO
788 'logging' => array(
789 'add' => '4.7',
e299c1d0
TO
790 'help_text' => NULL,
791 'is_domain' => 1,
792 'is_contact' => 0,
793 'group_name' => 'CiviCRM Preferences',
794 'group' => 'core',
795 'name' => 'logging',
796 'type' => 'Boolean',
797 'quick_form_type' => 'YesNo',
798 'html_type' => '',
799 'default' => '0',
732b1d05 800 'title' => ts('Logging'),
801 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0
TO
802 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
803 'on_change' => array(
804 'CRM_Logging_Schema::onToggle',
805 ),
806 ),
8dd883ca 807 'logging_uniqueid_date' => array(
808 'add' => '4.7',
809 'help_text' => ts('This is the date when CRM-18193 was implemented'),
810 'is_domain' => 1,
811 'is_contact' => 0,
812 'group_name' => 'CiviCRM Preferences',
813 'group' => 'core',
814 'name' => 'logging_uniqueid_date',
815 'type' => 'Date',
816 'quick_form_type' => 'DateTime',
817 'html_type' => '',
818 'default' => NULL,
732b1d05 819 'title' => ts('Logging Unique ID not recorded before'),
820 'description' => ts('This is the date when CRM-18193 was implemented'),
8dd883ca 821 ),
822 'logging_all_tables_uniquid' => array(
823 'add' => '4.7',
824 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
825 'is_domain' => 1,
826 'is_contact' => 0,
827 'group_name' => 'CiviCRM Preferences',
828 'group' => 'core',
829 'name' => 'logging_all_tables_uniquid',
830 'type' => 'Boolean',
831 'quick_form_type' => 'YesNo',
832 'html_type' => '',
833 'default' => 0,
732b1d05 834 'title' => ts('All tables use Unique Connection ID'),
835 'description' => ts('Do some tables pre-date CRM-18193?'),
8dd883ca 836 ),
348754d5
TO
837 'userFrameworkUsersTableName' => array(
838 'add' => '4.7',
839 'help_text' => NULL,
840 'is_domain' => 1,
841 'is_contact' => 0,
842 'group_name' => 'CiviCRM Preferences',
843 'group' => 'core',
844 'name' => 'userFrameworkUsersTableName',
845 'type' => 'String',
846 'quick_form_type' => 'Element',
847 'html_type' => 'text',
848 'html_attributes' => array(
849 'size' => '32',
850 'maxlength' => '64',
851 ),
852 'default' => NULL,
732b1d05 853 'title' => ts('Drupal Users Table Name'),
348754d5
TO
854 'description' => '',
855 ),
fdd770db
KC
856 'wpLoadPhp' => array(
857 'group_name' => 'CiviCRM Preferences',
858 'group' => 'core',
859 'name' => 'wpLoadPhp',
860 'type' => 'String',
861 'html_type' => 'text',
862 'quick_form_type' => 'Element',
fdd770db
KC
863 'default' => '',
864 'add' => '4.6',
732b1d05 865 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
866 'is_domain' => 1,
867 'is_contact' => 0,
732b1d05 868 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db
KC
869 'help_text' => NULL,
870 ),
87334e0f
TO
871 'secure_cache_timeout_minutes' => array(
872 'group_name' => 'CiviCRM Preferences',
873 'group' => 'core',
874 'name' => 'secure_cache_timeout_minutes',
875 'type' => 'Integer',
876 'quick_form_type' => 'Element',
877 'html_type' => 'text',
878 'html_attributes' => array(
879 'size' => 2,
880 'maxlength' => 8,
881 ),
882 'default' => 20,
883 'add' => '4.7',
732b1d05 884 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
885 'is_domain' => 1,
886 'is_contact' => 0,
732b1d05 887 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f
TO
888 'help_text' => NULL,
889 ),
1ab26c95
CW
890 'site_id' => array(
891 'group_name' => 'CiviCRM Preferences',
892 'group' => 'core',
893 'name' => 'site_id',
894 'type' => 'String',
30fcf833 895 'quick_form_type' => 'Element',
896 'html_type' => 'text',
1ab26c95
CW
897 'default' => '',
898 'add' => '4.6',
732b1d05 899 'title' => ts('Unique Site ID'),
1ab26c95
CW
900 'is_domain' => 1,
901 'is_contact' => 0,
902 'description' => NULL,
903 'help_text' => NULL,
904 ),
ac5f7c7f
NH
905 'recentItemsMaxCount' => array(
906 'group_name' => 'CiviCRM Preferences',
907 'group' => 'core',
908 'name' => 'recentItemsMaxCount',
909 'type' => 'Integer',
910 'quick_form_type' => 'Element',
911 'html_type' => 'text',
912 'html_attributes' => array(
913 'size' => 2,
136b401b 914 'maxlength' => 3,
ac5f7c7f
NH
915 ),
916 'default' => 20,
917 'add' => '4.7',
732b1d05 918 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
919 'is_domain' => 1,
920 'is_contact' => 0,
732b1d05 921 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f
NH
922 'help_text' => NULL,
923 ),
924 'recentItemsProviders' => array(
925 'group_name' => 'CiviCRM Preferences',
926 'group' => 'core',
927 'name' => 'recentItemsProviders',
928 'type' => 'Array',
929 'html_type' => 'Select',
930 'quick_form_type' => 'Select',
931 'html_attributes' => array(
932 'multiple' => 1,
933 'class' => 'crm-select2',
934 ),
935 'default' => '',
936 'add' => '4.7',
732b1d05 937 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
938 'is_domain' => 1,
939 'is_contact' => 0,
732b1d05 940 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f
NH
941 'help_text' => NULL,
942 'pseudoconstant' => array(
136b401b 943 'callback' => 'CRM_Utils_Recent::getProviders',
ac5f7c7f
NH
944 ),
945 ),
30fcf833 946 'dedupe_default_limit' => array(
947 'group_name' => 'CiviCRM Preferences',
948 'group' => 'core',
949 'name' => 'dedupe_default_limit',
950 'type' => 'Integer',
951 'default' => 0,
952 'quick_form_type' => 'Element',
953 'html_type' => 'text',
954 'add' => '4.7',
732b1d05 955 'title' => ts('Default limit for dedupe screen'),
30fcf833 956 'is_domain' => 1,
957 'is_contact' => 0,
958 'description' => ts('Default to only loading matches against this number of contacts'),
959 'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
960 ),
5e7f101a 961 'syncCMSEmail' => array(
962 'group_name' => 'CiviCRM Preferences',
963 'group' => 'core',
964 'name' => 'syncCMSEmail',
965 'type' => 'Boolean',
c89a43b3 966 'html_type' => 'YesNo',
5e7f101a 967 'quick_form_type' => 'YesNo',
968 'default' => 1,
969 'add' => '4.7',
c89a43b3 970 'title' => ts('Sync CMS Email'),
5e7f101a 971 'is_domain' => 1,
972 'is_contact' => 0,
c89a43b3 973 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 974 'help_text' => NULL,
975 ),
a6d192c8 976 'preserve_activity_tab_filter' => array(
977 'group_name' => 'CiviCRM Preferences',
978 'group' => 'core',
979 'name' => 'preserve_activity_tab_filter',
c89a43b3 980 'type' => 'Boolean',
981 'html_type' => 'checkbox',
a6d192c8 982 'default' => '0',
983 'add' => '4.7',
c89a43b3 984 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 985 'is_domain' => 1,
986 'is_contact' => 0,
c89a43b3 987 'description' => ts('When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts.'),
a6d192c8 988 ),
b5407aa9
JP
989 'do_not_notify_assignees_for' => array(
990 'group_name' => 'CiviCRM Preferences',
ac983377 991 'group' => 'core',
b5407aa9 992 'name' => 'do_not_notify_assignees_for',
ac983377
JP
993 'type' => 'Array',
994 'add' => '4.7',
995 'is_domain' => 1,
e74d9a43 996 'is_contact' => 0,
d236326e 997 'default' => array(),
b5407aa9
JP
998 'title' => 'Do not notify assignees for',
999 'help_text' => 'These activity types will be excluded from automated email notifications to assignees.',
1000 'html_type' => 'Select',
ac983377 1001 'html_attributes' => array(
b5407aa9
JP
1002 'multiple' => 1,
1003 'class' => 'huge crm-select2',
ac983377
JP
1004 ),
1005 'pseudoconstant' => array(
1006 'optionGroupName' => 'activity_type',
1007 ),
b5407aa9 1008 'quick_form_type' => 'Select',
ac983377 1009 ),
b7aba061 1010);