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