Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
81621fee | 4 | | CiviCRM version 4.7 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
e7112fa7 | 6 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
d25dd0ee | 26 | */ |
6a488035 TO |
27 | |
28 | /** | |
29 | * | |
30 | * @package CRM | |
e7112fa7 | 31 | * @copyright CiviCRM LLC (c) 2004-2015 |
6a488035 TO |
32 | * $Id$ |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
08e57c58 | 38 | return array( |
6a488035 TO |
39 | 'contact_view_options' => array( |
40 | 'group_name' => 'CiviCRM Preferences', | |
41 | 'group' => 'core', | |
42 | 'name' => 'contact_view_options', | |
43 | 'type' => 'String', | |
44 | 'html_type' => 'checkboxes', | |
45 | 'pseudoconstant' => array( | |
46 | 'optionGroupName' => 'contact_view_options', | |
47 | ), | |
48 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1', | |
49 | 'add' => '4.1', | |
50 | 'title' => 'Viewing Contacts', | |
51 | 'is_domain' => '1', | |
52 | 'is_contact' => 0, | |
08e57c58 TO |
53 | 'description' => NULL, |
54 | 'help_text' => NULL, | |
6a488035 | 55 | ), |
6a488035 TO |
56 | 'contact_edit_options' => array( |
57 | 'group_name' => 'CiviCRM Preferences', | |
58 | 'group' => 'core', | |
59 | 'name' => 'contact_edit_options', | |
60 | 'type' => 'String', | |
61 | 'html_type' => 'checkboxes', | |
62 | 'pseudoconstant' => array( | |
63 | 'optionGroupName' => 'contact_edit_options', | |
64 | ), | |
65 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 1', | |
66 | 'add' => '4.1', | |
67 | 'title' => 'Editing Contacts', | |
68 | 'is_domain' => 1, | |
69 | 'is_contact' => 0, | |
08e57c58 | 70 | 'description' => NULL, |
56fdfc52 | 71 | 'help_text' => NULL, |
6a488035 TO |
72 | ), |
73 | 'advanced_search_options' => array( | |
74 | 'group_name' => 'CiviCRM Preferences', | |
75 | 'name' => 'advanced_search_options', | |
76 | 'type' => 'String', | |
77 | 'html_type' => 'checkboxes', | |
78 | 'pseudoconstant' => array( | |
79 | 'optionGroupName' => 'advanced_search_options', | |
80 | ), | |
81 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1', | |
82 | 'add' => '4.1', | |
83 | 'title' => 'Contact Search', | |
84 | 'is_domain' => 1, | |
85 | 'is_contact' => 0, | |
08e57c58 TO |
86 | 'description' => NULL, |
87 | 'help_text' => NULL, | |
6a488035 | 88 | ), |
56fdfc52 | 89 | 'user_dashboard_options' => array( |
6a488035 TO |
90 | 'group_name' => 'CiviCRM Preferences', |
91 | 'group' => 'core', | |
92 | 'name' => 'user_dashboard_options', | |
93 | 'type' => 'String', | |
94 | 'html_type' => 'checkboxes', | |
95 | 'pseudoconstant' => array( | |
96 | 'optionGroupName' => 'user_dashboard_options', | |
56fdfc52 | 97 | ), |
6a488035 TO |
98 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 19\ 1', |
99 | 'add' => '4.1', | |
100 | 'title' => 'Contact Dashboard', | |
101 | 'is_domain' => 1, | |
102 | 'is_contact' => 0, | |
08e57c58 | 103 | 'description' => NULL, |
56fdfc52 | 104 | 'help_text' => NULL, |
6a488035 TO |
105 | ), |
106 | 'address_options' => array( | |
107 | 'group_name' => 'CiviCRM Preferences', | |
108 | 'group' => 'core', | |
109 | 'name' => 'address_options', | |
110 | 'type' => 'String', | |
111 | 'html_type' => 'Text', | |
112 | 'pseudoconstant' => array( | |
113 | 'optionGroupName' => 'address_options', | |
114 | ), | |
115 | 'default' => '\ 11\ 12\ 14\ 15\ 18\ 19\ 110\ 111\ 1', | |
116 | 'add' => '4.1', | |
117 | 'title' => 'Addressing Options', | |
118 | 'is_domain' => 1, | |
119 | 'is_contact' => 0, | |
08e57c58 TO |
120 | 'description' => NULL, |
121 | 'help_text' => NULL, | |
6a488035 TO |
122 | ), |
123 | 'address_format' => array( | |
124 | 'group_name' => 'CiviCRM Preferences', | |
125 | 'group' => 'core', | |
126 | 'name' => 'address_format', | |
127 | 'type' => 'String', | |
77d87f6e | 128 | 'html_type' => 'TextArea', |
6a488035 TO |
129 | 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}", |
130 | 'add' => '4.1', | |
131 | 'title' => 'Address Format', | |
132 | 'is_domain' => 1, | |
133 | 'is_contact' => 0, | |
08e57c58 | 134 | 'description' => NULL, |
56fdfc52 | 135 | 'help_text' => NULL, |
6a488035 TO |
136 | ), |
137 | 'mailing_format' => array( | |
138 | 'group_name' => 'CiviCRM Preferences', | |
139 | 'group' => 'core', | |
140 | 'name' => 'mailing_format', | |
141 | 'type' => 'String', | |
142 | 'html_type' => 'Text', | |
143 | 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}", | |
144 | 'add' => '4.1', | |
145 | 'title' => 'Mailing Format', | |
146 | 'is_domain' => 1, | |
147 | 'is_contact' => 0, | |
08e57c58 | 148 | 'description' => NULL, |
56fdfc52 | 149 | 'help_text' => NULL, |
6a488035 TO |
150 | ), |
151 | 'display_name_format' => array( | |
152 | 'group_name' => 'CiviCRM Preferences', | |
153 | 'group' => 'core', | |
154 | 'name' => 'display_name_format', | |
155 | 'type' => 'String', | |
156 | 'html_type' => 'Text', | |
157 | 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}', | |
158 | 'add' => '4.1', | |
159 | 'title' => 'Display Name Format', | |
160 | 'is_domain' => 1, | |
161 | 'is_contact' => 0, | |
08e57c58 TO |
162 | 'description' => NULL, |
163 | 'help_text' => NULL, | |
6a488035 TO |
164 | ), |
165 | 'sort_name_format' => array( | |
166 | 'group_name' => 'CiviCRM Preferences', | |
167 | 'group' => 'core', | |
168 | 'name' => 'sort_name_format', | |
169 | 'type' => 'String', | |
170 | 'html_type' => 'Text', | |
171 | 'default' => '{contact.last_name}{, }{contact.first_name}', | |
172 | 'add' => '4.1', | |
66f90900 | 173 | 'title' => 'Sort Name Format', |
6a488035 TO |
174 | 'is_domain' => 1, |
175 | 'is_contact' => 0, | |
08e57c58 | 176 | 'description' => NULL, |
56fdfc52 | 177 | 'help_text' => NULL, |
6a488035 TO |
178 | ), |
179 | 'editor_id' => array( | |
180 | 'group_name' => 'CiviCRM Preferences', | |
181 | 'group' => 'core', | |
182 | 'name' => 'editor_id', | |
183 | 'type' => 'String', | |
72f03b4f CW |
184 | 'html_type' => 'Select', |
185 | 'default' => 'CKEditor', | |
6a488035 | 186 | 'add' => '4.1', |
66f90900 | 187 | 'title' => 'Wysiwig Editor', |
6a488035 TO |
188 | 'is_domain' => 1, |
189 | 'is_contact' => 0, | |
08e57c58 TO |
190 | 'description' => NULL, |
191 | 'help_text' => NULL, | |
6a488035 TO |
192 | ), |
193 | 'contact_ajax_check_similar' => array( | |
194 | 'group_name' => 'CiviCRM Preferences', | |
195 | 'group' => 'core', | |
196 | 'name' => 'contact_ajax_check_similar', | |
197 | 'type' => 'String', | |
198 | 'html_type' => 'Text', | |
08e57c58 | 199 | 'default' => NULL, |
6a488035 | 200 | 'add' => '4.1', |
66f90900 | 201 | 'title' => 'Ajax Check Similar', |
6a488035 TO |
202 | 'is_domain' => 1, |
203 | 'is_contact' => 0, | |
08e57c58 TO |
204 | 'description' => NULL, |
205 | 'help_text' => NULL, | |
f1cf499b | 206 | ), |
53f2643c | 207 | 'ajaxPopupsEnabled' => array( |
f1cf499b CW |
208 | 'group_name' => 'CiviCRM Preferences', |
209 | 'group' => 'core', | |
53f2643c | 210 | 'name' => 'ajaxPopupsEnabled', |
f1cf499b CW |
211 | 'type' => 'Boolean', |
212 | 'quick_form_type' => 'YesNo', | |
213 | 'default' => 1, | |
214 | 'add' => '4.5', | |
66f90900 | 215 | 'title' => 'Ajax Popups Enabled', |
f1cf499b CW |
216 | 'is_domain' => 1, |
217 | 'is_contact' => 0, | |
08e57c58 TO |
218 | 'description' => NULL, |
219 | 'help_text' => NULL, | |
6a488035 TO |
220 | ), |
221 | 'activity_assignee_notification' => array( | |
222 | 'group_name' => 'CiviCRM Preferences', | |
223 | 'group' => 'core', | |
224 | 'name' => 'activity_assignee_notification', | |
225 | 'type' => 'String', | |
226 | 'html_type' => 'Text', | |
08e57c58 | 227 | 'default' => NULL, |
6a488035 TO |
228 | 'add' => '4.1', |
229 | 'title' => 'Notify Activity Assignees', | |
230 | 'is_domain' => 1, | |
231 | 'is_contact' => 0, | |
08e57c58 | 232 | 'description' => NULL, |
56fdfc52 | 233 | 'help_text' => NULL, |
6a488035 TO |
234 | ), |
235 | 'activity_assignee_notification_ics' => array( | |
236 | 'group_name' => 'CiviCRM Preferences', | |
237 | 'group' => 'core', | |
238 | 'name' => 'activity_assignee_notification_ics', | |
239 | 'type' => 'String', | |
240 | 'html_type' => 'Text', | |
08e57c58 | 241 | 'default' => NULL, |
6a488035 TO |
242 | 'add' => '4.3', |
243 | 'title' => 'Include ICal Invite to Activity Assignees', | |
244 | 'is_domain' => 1, | |
245 | 'is_contact' => 0, | |
08e57c58 | 246 | 'description' => NULL, |
56fdfc52 | 247 | 'help_text' => NULL, |
6a488035 TO |
248 | ), |
249 | 'contact_autocomplete_options' => array( | |
250 | 'group_name' => 'CiviCRM Preferences', | |
251 | 'group' => 'core', | |
252 | 'name' => 'contact_autocomplete_options', | |
253 | 'type' => 'String', | |
254 | 'html_type' => 'checkboxes', | |
77d87f6e | 255 | 'pseudoconstant' => array( |
256 | 'optionGroupName' => 'contact_autocomplete_options', | |
257 | ), | |
6a488035 TO |
258 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1', |
259 | 'add' => '4.1', | |
260 | 'title' => 'Contact Reference Autocomplete Options', | |
261 | 'is_domain' => 1, | |
262 | 'is_contact' => 0, | |
08e57c58 | 263 | 'description' => NULL, |
56fdfc52 | 264 | 'help_text' => NULL, |
6a488035 TO |
265 | ), |
266 | 'contact_reference_options' => array( | |
267 | 'group_name' => 'CiviCRM Preferences', | |
268 | 'group' => 'core', | |
269 | 'name' => 'contact_reference_options', | |
270 | 'type' => 'String', | |
271 | 'html_type' => 'checkboxes', | |
272 | 'pseudoconstant' => array( | |
273 | 'optionGroupName' => 'contact_reference_options', | |
274 | ), | |
275 | 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 1', | |
276 | 'add' => '4.1', | |
66f90900 | 277 | 'title' => 'Contact Reference Options', |
6a488035 TO |
278 | 'is_domain' => 1, |
279 | 'is_contact' => 0, | |
08e57c58 | 280 | 'description' => NULL, |
56fdfc52 | 281 | 'help_text' => NULL, |
6a488035 TO |
282 | ), |
283 | 'max_attachments' => array( | |
284 | 'group_name' => 'CiviCRM Preferences', | |
285 | 'group' => 'core', | |
286 | 'name' => 'max_attachments', | |
287 | 'legacy_key' => 'maxAttachments', | |
288 | 'prefetch' => 0, | |
289 | 'type' => 'Integer', | |
290 | 'quick_form_type' => 'Element', | |
291 | 'html_type' => 'text', | |
292 | 'html_attributes' => array( | |
293 | 'size' => 2, | |
294 | 'maxlength' => 8, | |
56fdfc52 TO |
295 | ), |
296 | 'default' => 3, | |
297 | 'add' => '4.3', | |
298 | 'title' => 'Maximum Attachments', | |
299 | 'is_domain' => 1, | |
300 | 'is_contact' => 0, | |
301 | 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.', | |
302 | 'help_text' => NULL, | |
6a488035 TO |
303 | ), |
304 | 'maxFileSize' => array( | |
305 | 'group_name' => 'CiviCRM Preferences', | |
306 | 'group' => 'core', | |
307 | 'name' => 'maxFileSize', | |
56fdfc52 TO |
308 | 'prefetch' => 1, |
309 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
310 | 'config_only' => 1, | |
311 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
312 | 'type' => 'Integer', |
313 | 'quick_form_type' => 'Element', | |
314 | 'html_type' => 'text', | |
315 | 'html_attributes' => array( | |
316 | 'size' => 2, | |
317 | 'maxlength' => 8, | |
318 | ), | |
319 | 'default' => 3, | |
320 | 'add' => '4.3', | |
321 | 'title' => 'Maximum File Size (in MB)', | |
322 | 'is_domain' => 1, | |
323 | 'is_contact' => 0, | |
324 | 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.<br />Note: php.ini should support this file size.', | |
08e57c58 | 325 | 'help_text' => NULL, |
6a488035 TO |
326 | ), |
327 | 'contact_undelete' => array( | |
328 | 'group_name' => 'CiviCRM Preferences', | |
329 | 'group' => 'core', | |
330 | 'name' => 'contact_undelete', | |
331 | 'type' => 'Boolean', | |
332 | 'quick_form_type' => 'YesNo', | |
333 | 'default' => 1, | |
334 | 'add' => '4.3', | |
335 | 'title' => 'Contact Trash and Undelete', | |
336 | 'is_domain' => 1, | |
337 | 'is_contact' => 0, | |
338 | 'description' => 'If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).', | |
08e57c58 | 339 | 'help_text' => NULL, |
6a488035 | 340 | ), |
f182074e PN |
341 | 'allowPermDeleteFinancial' => array( |
342 | 'group_name' => 'CiviCRM Preferences', | |
343 | 'group' => 'core', | |
344 | 'name' => 'allowPermDeleteFinancial', | |
345 | 'type' => 'Boolean', | |
346 | 'quick_form_type' => 'YesNo', | |
347 | 'default' => FALSE, | |
348 | 'add' => '4.3', | |
349 | 'title' => 'Contact Permanent Delete', | |
350 | 'is_domain' => 1, | |
351 | 'is_contact' => 0, | |
352 | 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions', | |
08e57c58 | 353 | 'help_text' => NULL, |
f182074e | 354 | ), |
b7aba061 CW |
355 | 'versionAlert' => array( |
356 | 'group_name' => 'CiviCRM Preferences', | |
357 | 'group' => 'core', | |
358 | 'name' => 'versionAlert', | |
06576a03 AH |
359 | 'type' => 'Boolean', |
360 | 'quick_form_type' => 'YesNo', | |
b7aba061 CW |
361 | 'default' => 1, |
362 | 'add' => '4.3', | |
363 | 'title' => 'New Version Alerts', | |
364 | 'is_domain' => 1, | |
365 | 'is_contact' => 0, | |
fa8dc18c | 366 | 'description' => "", |
08e57c58 | 367 | 'help_text' => NULL, |
fa8dc18c | 368 | ), |
6a488035 TO |
369 | 'versionCheck' => array( |
370 | 'group_name' => 'CiviCRM Preferences', | |
371 | 'group' => 'core', | |
372 | 'name' => 'versionCheck', | |
6a488035 TO |
373 | 'type' => 'Boolean', |
374 | 'quick_form_type' => 'YesNo', | |
375 | 'default' => 1, | |
376 | 'add' => '4.3', | |
fa8dc18c | 377 | 'title' => 'Automatically Check for Updates', |
6a488035 TO |
378 | 'is_domain' => 1, |
379 | 'is_contact' => 0, | |
fa8dc18c | 380 | 'description' => "", |
08e57c58 | 381 | 'help_text' => NULL, |
6a488035 | 382 | ), |
3a39a8b5 CW |
383 | 'versionCheckIgnoreDate' => array( |
384 | 'group_name' => 'CiviCRM Preferences', | |
385 | 'group' => 'core', | |
386 | 'name' => 'versionCheckIgnoreDate', | |
387 | 'type' => 'String', | |
388 | 'quick_form_type' => 'Element', | |
389 | 'html_type' => 'text', | |
390 | 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'), | |
391 | 'default' => '', | |
392 | 'add' => '4.6', | |
393 | 'title' => 'Ignore Updates Prior to', | |
394 | 'is_domain' => 1, | |
395 | 'is_contact' => 0, | |
396 | 'description' => "", | |
08e57c58 | 397 | 'help_text' => NULL, |
3a39a8b5 | 398 | ), |
439a9f1b TO |
399 | 'securityAlert' => array( |
400 | 'group_name' => 'CiviCRM Preferences', | |
401 | 'group' => 'core', | |
fa8dc18c | 402 | 'name' => 'securityAlert', |
439a9f1b TO |
403 | 'type' => 'Boolean', |
404 | 'quick_form_type' => 'YesNo', | |
405 | 'default' => 1, | |
406 | 'add' => '4.4', | |
06576a03 | 407 | 'title' => 'Status Alerts', |
439a9f1b TO |
408 | 'is_domain' => 1, |
409 | 'is_contact' => 0, | |
06576a03 | 410 | 'description' => "If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check.", |
08e57c58 | 411 | 'help_text' => NULL, |
439a9f1b | 412 | ), |
6a488035 TO |
413 | 'doNotAttachPDFReceipt' => array( |
414 | 'group_name' => 'CiviCRM Preferences', | |
415 | 'group' => 'core', | |
416 | 'name' => 'doNotAttachPDFReceipt', | |
56fdfc52 TO |
417 | 'prefetch' => 1, |
418 | // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
419 | 'config_only' => 1, | |
420 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
421 | 'type' => 'Boolean', |
422 | 'quick_form_type' => 'YesNo', | |
423 | 'default' => 1, | |
424 | 'add' => '4.3', | |
425 | 'title' => 'Attach PDF copy to receipts', | |
426 | 'is_domain' => 1, | |
427 | 'is_contact' => 0, | |
428 | 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.", | |
08e57c58 | 429 | 'help_text' => NULL, |
6a488035 TO |
430 | ), |
431 | 'wkhtmltopdfPath' => array( | |
432 | 'group_name' => 'CiviCRM Preferences', | |
433 | 'group' => 'core', | |
434 | 'name' => 'wkhtmltopdfPath', | |
56fdfc52 TO |
435 | 'prefetch' => 1, |
436 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
437 | 'config_only' => 1, | |
438 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
439 | 'type' => 'String', |
440 | 'quick_form_type' => 'Element', | |
6a488035 TO |
441 | 'html_attributes' => array( |
442 | 'size' => 64, | |
443 | 'maxlength' => 256, | |
444 | ), | |
445 | 'html_type' => 'Text', | |
08e57c58 | 446 | 'default' => NULL, |
6a488035 TO |
447 | 'add' => '4.3', |
448 | 'title' => 'Path to wkhtmltopdf executable', | |
449 | 'is_domain' => 1, | |
450 | 'is_contact' => 0, | |
08e57c58 TO |
451 | 'description' => NULL, |
452 | 'help_text' => NULL, | |
6a488035 TO |
453 | ), |
454 | 'recaptchaPublicKey' => array( | |
455 | 'group_name' => 'CiviCRM Preferences', | |
456 | 'group' => 'core', | |
457 | 'name' => 'recaptchaPublicKey', | |
56fdfc52 TO |
458 | 'prefetch' => 1, |
459 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
460 | 'config_only' => 1, | |
461 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
462 | 'type' => 'String', |
463 | 'quick_form_type' => 'Element', | |
6a488035 TO |
464 | 'html_attributes' => array( |
465 | 'size' => 64, | |
466 | 'maxlength' => 64, | |
467 | ), | |
468 | 'html_type' => 'Text', | |
08e57c58 | 469 | 'default' => NULL, |
6a488035 TO |
470 | 'add' => '4.3', |
471 | 'title' => 'Recaptcha Public Key', | |
472 | 'is_domain' => 1, | |
473 | 'is_contact' => 0, | |
08e57c58 TO |
474 | 'description' => NULL, |
475 | 'help_text' => NULL, | |
6a488035 TO |
476 | ), |
477 | 'recaptchaPrivateKey' => array( | |
478 | 'group_name' => 'CiviCRM Preferences', | |
479 | 'group' => 'core', | |
480 | 'name' => 'recaptchaPrivateKey', | |
56fdfc52 TO |
481 | 'prefetch' => 1, |
482 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
483 | 'config_only' => 1, | |
484 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
485 | 'type' => 'String', |
486 | 'quick_form_type' => 'Element', | |
6a488035 TO |
487 | 'html_attributes' => array( |
488 | 'size' => 64, | |
489 | 'maxlength' => 64, | |
490 | ), | |
491 | 'html_type' => 'Text', | |
08e57c58 | 492 | 'default' => NULL, |
6a488035 TO |
493 | 'add' => '4.3', |
494 | 'title' => 'Recaptcha Private Key', | |
495 | 'is_domain' => 1, | |
496 | 'is_contact' => 0, | |
08e57c58 TO |
497 | 'description' => NULL, |
498 | 'help_text' => NULL, | |
6a488035 TO |
499 | ), |
500 | 'dashboardCacheTimeout' => array( | |
501 | 'group_name' => 'CiviCRM Preferences', | |
502 | 'group' => 'core', | |
503 | 'name' => 'dashboardCacheTimeout', | |
56fdfc52 TO |
504 | 'prefetch' => 1, |
505 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
506 | 'config_only' => 1, | |
507 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
508 | 'type' => 'Integer', |
509 | 'quick_form_type' => 'Element', | |
6a488035 TO |
510 | 'html_attributes' => array( |
511 | 'size' => 3, | |
512 | 'maxlength' => 5, | |
513 | ), | |
514 | 'html_type' => 'Text', | |
08e57c58 | 515 | 'default' => NULL, |
6a488035 TO |
516 | 'add' => '4.3', |
517 | 'title' => 'Dashboard cache timeout', | |
518 | 'is_domain' => 1, | |
519 | 'is_contact' => 0, | |
08e57c58 TO |
520 | 'description' => NULL, |
521 | 'help_text' => NULL, | |
56fdfc52 | 522 | ), |
92a8de72 | 523 | 'checksum_timeout' => array( |
6a488035 TO |
524 | 'group_name' => 'CiviCRM Preferences', |
525 | 'group' => 'core', | |
92a8de72 | 526 | 'name' => 'checksum_timeout', |
6a488035 TO |
527 | 'type' => 'Integer', |
528 | 'quick_form_type' => 'Element', | |
6a488035 TO |
529 | 'html_attributes' => array( |
530 | 'size' => 2, | |
531 | 'maxlength' => 8, | |
532 | ), | |
533 | 'html_type' => 'Text', | |
534 | 'default' => 7, | |
535 | 'add' => '4.3', | |
d5f1ee75 | 536 | 'title' => 'Checksum Lifespan', |
6a488035 TO |
537 | 'is_domain' => 1, |
538 | 'is_contact' => 0, | |
08e57c58 TO |
539 | 'description' => NULL, |
540 | 'help_text' => NULL, | |
6a488035 | 541 | ), |
4b030206 TO |
542 | 'blogUrl' => array( |
543 | 'group_name' => 'CiviCRM Preferences', | |
544 | 'group' => 'core', | |
545 | 'name' => 'blogUrl', | |
546 | 'prefetch' => 0, | |
4b030206 TO |
547 | 'type' => 'String', |
548 | 'quick_form_type' => 'Element', | |
4b030206 TO |
549 | 'html_attributes' => array( |
550 | 'size' => 64, | |
551 | 'maxlength' => 128, | |
552 | ), | |
553 | 'html_type' => 'Text', | |
554 | 'default' => '*default*', | |
555 | 'add' => '4.3', | |
556 | 'title' => 'Blog Feed URL', | |
557 | 'is_domain' => 1, | |
558 | 'is_contact' => 0, | |
559 | 'description' => 'Blog feed URL used by the blog dashlet', | |
560 | 'help_text' => 'Use "*default*" for the system default or override with a custom URL', | |
561 | ), | |
847c93ac TO |
562 | 'communityMessagesUrl' => array( |
563 | 'group_name' => 'CiviCRM Preferences', | |
564 | 'group' => 'core', | |
565 | 'name' => 'communityMessagesUrl', | |
566 | 'prefetch' => 0, | |
847c93ac TO |
567 | 'type' => 'String', |
568 | 'quick_form_type' => 'Element', | |
847c93ac TO |
569 | 'html_attributes' => array( |
570 | 'size' => 64, | |
571 | 'maxlength' => 128, | |
572 | ), | |
573 | 'html_type' => 'Text', | |
574 | 'default' => '*default*', | |
575 | 'add' => '4.3', | |
576 | 'title' => 'Community Messages URL', | |
577 | 'is_domain' => 1, | |
578 | 'is_contact' => 0, | |
579 | 'description' => 'Service providing CiviCRM community messages', | |
580 | 'help_text' => 'Use "*default*" for the system default or override with a custom URL', | |
581 | ), | |
6a488035 TO |
582 | 'resCacheCode' => array( |
583 | 'group_name' => 'CiviCRM Preferences', | |
584 | 'group' => 'core', | |
585 | 'name' => 'resCacheCode', | |
56fdfc52 TO |
586 | 'prefetch' => 1, |
587 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
588 | 'config_only' => 1, | |
589 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
590 | 'type' => 'String', |
591 | 'quick_form_type' => 'Element', | |
6a488035 TO |
592 | 'html_attributes' => array( |
593 | 'size' => 16, | |
594 | 'maxlength' => 16, | |
595 | ), | |
596 | 'html_type' => 'Text', | |
08e57c58 | 597 | 'default' => NULL, |
6a488035 TO |
598 | 'add' => '4.3', |
599 | 'title' => 'Resource Cache Code', | |
600 | 'is_domain' => 1, | |
601 | 'is_contact' => 0, | |
602 | 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching', | |
08e57c58 | 603 | 'help_text' => NULL, |
6a488035 TO |
604 | ), |
605 | 'verifySSL' => array( | |
606 | 'group_name' => 'CiviCRM Preferences', | |
607 | 'group' => 'core', | |
608 | 'name' => 'verifySSL', | |
609 | 'type' => 'Boolean', | |
610 | 'quick_form_type' => 'YesNo', | |
611 | 'default' => 1, | |
612 | 'add' => '4.3', | |
66f90900 | 613 | 'title' => 'Verify SSL?', |
6a488035 TO |
614 | 'is_domain' => 1, |
615 | 'is_contact' => 0, | |
28f07f05 | 616 | 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections', |
6a488035 TO |
617 | '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', |
618 | ), | |
28f07f05 TO |
619 | 'enableSSL' => array( |
620 | 'group_name' => 'CiviCRM Preferences', | |
621 | 'group' => 'core', | |
622 | 'name' => 'enableSSL', | |
623 | 'type' => 'Boolean', | |
624 | 'quick_form_type' => 'YesNo', | |
625 | 'default' => 0, | |
626 | 'add' => '4.5', | |
627 | 'title' => 'Force SSL?', | |
628 | 'is_domain' => 1, | |
629 | 'is_contact' => 0, | |
630 | 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', | |
631 | 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', | |
632 | ), | |
94c11eeb DL |
633 | 'wpBasePage' => array( |
634 | 'group_name' => 'CiviCRM Preferences', | |
635 | 'group' => 'core', | |
636 | 'name' => 'wpBasePage', | |
637 | 'type' => 'String', | |
638 | 'html_type' => 'text', | |
639 | 'quick_form_type' => 'Element', | |
56fdfc52 TO |
640 | 'prefetch' => 1, |
641 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
94c11eeb DL |
642 | 'default' => '', |
643 | 'add' => '4.3', | |
644 | 'title' => 'WordPress Base Page', | |
645 | 'is_domain' => 1, | |
646 | 'is_contact' => 0, | |
647 | 'description' => 'If set, CiviCRM will use this setting as the base url.', | |
648 | '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.', | |
649 | ), | |
d5f1ee75 DG |
650 | 'secondDegRelPermissions' => array( |
651 | 'group_name' => 'CiviCRM Preferences', | |
652 | 'group' => 'core', | |
653 | 'name' => 'secondDegRelPermissions', | |
56fdfc52 TO |
654 | 'prefetch' => 1, |
655 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
d5f1ee75 DG |
656 | 'type' => 'Boolean', |
657 | 'quick_form_type' => 'YesNo', | |
658 | 'default' => 0, | |
659 | 'add' => '4.3', | |
660 | 'title' => 'Allow second-degree relationship permissions', | |
661 | 'is_domain' => 1, | |
662 | 'is_contact' => 0, | |
663 | 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts", | |
08e57c58 | 664 | 'help_text' => NULL, |
d5f1ee75 | 665 | ), |
86eeab72 DS |
666 | 'enable_components' => array( |
667 | 'group_name' => 'CiviCRM Preferences', | |
668 | 'group' => 'core', | |
56fdfc52 | 669 | 'name' => 'enable_components', |
86eeab72 DS |
670 | 'type' => 'Array', |
671 | 'quick_form_type' => 'Element', | |
672 | 'html_type' => 'advmultiselect', | |
673 | 'html_attributes' => array( | |
674 | 'size' => 5, | |
675 | 'style' => 'width:150px', | |
676 | 'class' => 'advmultiselect', | |
677 | ), | |
64fea50a | 678 | 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'), |
56fdfc52 | 679 | 'add' => '4.4', |
86eeab72 DS |
680 | 'title' => 'Enable Components', |
681 | 'is_domain' => '1', | |
682 | 'is_contact' => 0, | |
08e57c58 | 683 | 'description' => NULL, |
56fdfc52 | 684 | 'help_text' => NULL, |
2bc3bd8f | 685 | 'on_change' => array( |
c8074a93 TO |
686 | 'CRM_Case_Info::onToggleComponents', |
687 | 'CRM_Core_Component::flushEnabledComponents', | |
688 | 'call://resources/resetCacheCode', | |
2bc3bd8f | 689 | ), |
86eeab72 | 690 | ), |
14f20d22 CW |
691 | 'disable_core_css' => array( |
692 | 'group_name' => 'CiviCRM Preferences', | |
693 | 'group' => 'core', | |
694 | 'name' => 'disable_core_css', | |
695 | 'type' => 'Boolean', | |
696 | 'quick_form_type' => 'YesNo', | |
697 | 'default' => '0', | |
698 | 'add' => '4.4', | |
699 | 'title' => 'Disable CiviCRM css', | |
700 | 'is_domain' => 1, | |
701 | 'is_contact' => 0, | |
702 | 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.', | |
703 | 'help_text' => NULL, | |
704 | ), | |
466913fc AH |
705 | 'empoweredBy' => array( |
706 | 'group_name' => 'CiviCRM Preferences', | |
707 | 'group' => 'core', | |
708 | 'name' => 'empoweredBy', | |
56fdfc52 TO |
709 | 'prefetch' => 1, |
710 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
466913fc AH |
711 | 'type' => 'Boolean', |
712 | 'quick_form_type' => 'YesNo', | |
713 | 'default' => 1, | |
714 | 'add' => '4.5', | |
715 | 'title' => 'Display "empowered by CiviCRM"', | |
716 | 'is_domain' => 1, | |
717 | 'is_contact' => 0, | |
718 | 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.', | |
08e57c58 | 719 | 'help_text' => NULL, |
466913fc | 720 | ), |
e299c1d0 TO |
721 | 'logging' => array( |
722 | 'add' => '4.7', | |
723 | 'prefetch' => 1, | |
724 | 'help_text' => NULL, | |
725 | 'is_domain' => 1, | |
726 | 'is_contact' => 0, | |
727 | 'group_name' => 'CiviCRM Preferences', | |
728 | 'group' => 'core', | |
729 | 'name' => 'logging', | |
730 | 'type' => 'Boolean', | |
731 | 'quick_form_type' => 'YesNo', | |
732 | 'html_type' => '', | |
733 | 'default' => '0', | |
734 | 'title' => 'Logging', | |
735 | 'description' => 'If enabled, all actions will be logged with a complete record of changes.', | |
736 | 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport', | |
737 | 'on_change' => array( | |
738 | 'CRM_Logging_Schema::onToggle', | |
739 | ), | |
740 | ), | |
348754d5 TO |
741 | 'userFrameworkUsersTableName' => array( |
742 | 'add' => '4.7', | |
743 | 'help_text' => NULL, | |
744 | 'is_domain' => 1, | |
745 | 'is_contact' => 0, | |
746 | 'group_name' => 'CiviCRM Preferences', | |
747 | 'group' => 'core', | |
748 | 'name' => 'userFrameworkUsersTableName', | |
749 | 'type' => 'String', | |
750 | 'quick_form_type' => 'Element', | |
751 | 'html_type' => 'text', | |
752 | 'html_attributes' => array( | |
753 | 'size' => '32', | |
754 | 'maxlength' => '64', | |
755 | ), | |
756 | 'default' => NULL, | |
757 | 'title' => 'Drupal Users Table Name', | |
758 | 'description' => '', | |
759 | ), | |
fdd770db KC |
760 | 'wpLoadPhp' => array( |
761 | 'group_name' => 'CiviCRM Preferences', | |
762 | 'group' => 'core', | |
763 | 'name' => 'wpLoadPhp', | |
764 | 'type' => 'String', | |
765 | 'html_type' => 'text', | |
766 | 'quick_form_type' => 'Element', | |
d1677deb KC |
767 | 'prefetch' => 1, |
768 | // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent | |
fdd770db KC |
769 | 'default' => '', |
770 | 'add' => '4.6', | |
771 | 'title' => 'WordPress Path to wp-load.php', | |
772 | 'is_domain' => 1, | |
773 | 'is_contact' => 0, | |
774 | 'description' => 'CiviCRM will use this setting as path to bootstrap WP.', | |
775 | 'help_text' => NULL, | |
776 | ), | |
b7aba061 | 777 | ); |