Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
39de6fd5 | 4 | | CiviCRM version 4.6 | |
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', | |
184 | 'html_type' => 'Text', | |
08e57c58 | 185 | 'default' => NULL, |
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', | |
fa8dc18c CW |
359 | 'type' => 'Integer', |
360 | 'quick_form_type' => 'Element', | |
361 | 'html_type' => 'select', | |
362 | 'option_values' => array( | |
363 | ts('Disabled'), | |
364 | ts('Display In Page Footer'), | |
365 | ts('Display As Popup Alert'), | |
366 | ts('Page Footer + Popup Alert'), | |
367 | ), | |
b7aba061 CW |
368 | 'default' => 1, |
369 | 'add' => '4.3', | |
370 | 'title' => 'New Version Alerts', | |
371 | 'is_domain' => 1, | |
372 | 'is_contact' => 0, | |
fa8dc18c | 373 | 'description' => "", |
08e57c58 | 374 | 'help_text' => NULL, |
fa8dc18c CW |
375 | ), |
376 | 'securityUpdateAlert' => array( | |
377 | 'group_name' => 'CiviCRM Preferences', | |
378 | 'group' => 'core', | |
379 | 'name' => 'securityUpdateAlert', | |
380 | 'type' => 'Integer', | |
381 | 'quick_form_type' => 'Element', | |
382 | 'html_type' => 'select', | |
383 | 'option_values' => array( | |
384 | ts('Disabled'), | |
385 | ts('Display In Page Footer'), | |
386 | ts('Display As Popup Alert'), | |
387 | ts('Page Footer + Popup Alert'), | |
388 | ), | |
389 | 'default' => 3, | |
390 | 'add' => '4.6', | |
391 | 'title' => 'Security Update Alerts', | |
392 | 'is_domain' => 1, | |
393 | 'is_contact' => 0, | |
394 | 'description' => "", | |
08e57c58 | 395 | 'help_text' => NULL, |
b7aba061 | 396 | ), |
6a488035 TO |
397 | 'versionCheck' => array( |
398 | 'group_name' => 'CiviCRM Preferences', | |
399 | 'group' => 'core', | |
400 | 'name' => 'versionCheck', | |
6a488035 TO |
401 | 'type' => 'Boolean', |
402 | 'quick_form_type' => 'YesNo', | |
403 | 'default' => 1, | |
404 | 'add' => '4.3', | |
fa8dc18c | 405 | 'title' => 'Automatically Check for Updates', |
6a488035 TO |
406 | 'is_domain' => 1, |
407 | 'is_contact' => 0, | |
fa8dc18c | 408 | 'description' => "", |
08e57c58 | 409 | 'help_text' => NULL, |
6a488035 | 410 | ), |
3a39a8b5 CW |
411 | 'versionCheckIgnoreDate' => array( |
412 | 'group_name' => 'CiviCRM Preferences', | |
413 | 'group' => 'core', | |
414 | 'name' => 'versionCheckIgnoreDate', | |
415 | 'type' => 'String', | |
416 | 'quick_form_type' => 'Element', | |
417 | 'html_type' => 'text', | |
418 | 'html_attributes' => array('placeholder' => 'YYYY-MM-DD'), | |
419 | 'default' => '', | |
420 | 'add' => '4.6', | |
421 | 'title' => 'Ignore Updates Prior to', | |
422 | 'is_domain' => 1, | |
423 | 'is_contact' => 0, | |
424 | 'description' => "", | |
08e57c58 | 425 | 'help_text' => NULL, |
3a39a8b5 | 426 | ), |
439a9f1b TO |
427 | 'securityAlert' => array( |
428 | 'group_name' => 'CiviCRM Preferences', | |
429 | 'group' => 'core', | |
fa8dc18c | 430 | 'name' => 'securityAlert', |
439a9f1b TO |
431 | 'type' => 'Boolean', |
432 | 'quick_form_type' => 'YesNo', | |
433 | 'default' => 1, | |
434 | 'add' => '4.4', | |
fa8dc18c | 435 | 'title' => 'Security Audits', |
439a9f1b TO |
436 | 'is_domain' => 1, |
437 | 'is_contact' => 0, | |
438 | 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.", | |
08e57c58 | 439 | 'help_text' => NULL, |
439a9f1b | 440 | ), |
6a488035 TO |
441 | 'doNotAttachPDFReceipt' => array( |
442 | 'group_name' => 'CiviCRM Preferences', | |
443 | 'group' => 'core', | |
444 | 'name' => 'doNotAttachPDFReceipt', | |
56fdfc52 TO |
445 | 'prefetch' => 1, |
446 | // 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 | |
447 | 'config_only' => 1, | |
448 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
449 | 'type' => 'Boolean', |
450 | 'quick_form_type' => 'YesNo', | |
451 | 'default' => 1, | |
452 | 'add' => '4.3', | |
453 | 'title' => 'Attach PDF copy to receipts', | |
454 | 'is_domain' => 1, | |
455 | 'is_contact' => 0, | |
456 | 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.", | |
08e57c58 | 457 | 'help_text' => NULL, |
6a488035 TO |
458 | ), |
459 | 'wkhtmltopdfPath' => array( | |
460 | 'group_name' => 'CiviCRM Preferences', | |
461 | 'group' => 'core', | |
462 | 'name' => 'wkhtmltopdfPath', | |
56fdfc52 TO |
463 | 'prefetch' => 1, |
464 | // 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 | |
465 | 'config_only' => 1, | |
466 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
467 | 'type' => 'String', |
468 | 'quick_form_type' => 'Element', | |
6a488035 TO |
469 | 'html_attributes' => array( |
470 | 'size' => 64, | |
471 | 'maxlength' => 256, | |
472 | ), | |
473 | 'html_type' => 'Text', | |
08e57c58 | 474 | 'default' => NULL, |
6a488035 TO |
475 | 'add' => '4.3', |
476 | 'title' => 'Path to wkhtmltopdf executable', | |
477 | 'is_domain' => 1, | |
478 | 'is_contact' => 0, | |
08e57c58 TO |
479 | 'description' => NULL, |
480 | 'help_text' => NULL, | |
6a488035 TO |
481 | ), |
482 | 'recaptchaPublicKey' => array( | |
483 | 'group_name' => 'CiviCRM Preferences', | |
484 | 'group' => 'core', | |
485 | 'name' => 'recaptchaPublicKey', | |
56fdfc52 TO |
486 | 'prefetch' => 1, |
487 | // 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 | |
488 | 'config_only' => 1, | |
489 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
490 | 'type' => 'String', |
491 | 'quick_form_type' => 'Element', | |
6a488035 TO |
492 | 'html_attributes' => array( |
493 | 'size' => 64, | |
494 | 'maxlength' => 64, | |
495 | ), | |
496 | 'html_type' => 'Text', | |
08e57c58 | 497 | 'default' => NULL, |
6a488035 TO |
498 | 'add' => '4.3', |
499 | 'title' => 'Recaptcha Public Key', | |
500 | 'is_domain' => 1, | |
501 | 'is_contact' => 0, | |
08e57c58 TO |
502 | 'description' => NULL, |
503 | 'help_text' => NULL, | |
6a488035 TO |
504 | ), |
505 | 'recaptchaPrivateKey' => array( | |
506 | 'group_name' => 'CiviCRM Preferences', | |
507 | 'group' => 'core', | |
508 | 'name' => 'recaptchaPrivateKey', | |
56fdfc52 TO |
509 | 'prefetch' => 1, |
510 | // 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 | |
511 | 'config_only' => 1, | |
512 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
513 | 'type' => 'String', |
514 | 'quick_form_type' => 'Element', | |
6a488035 TO |
515 | 'html_attributes' => array( |
516 | 'size' => 64, | |
517 | 'maxlength' => 64, | |
518 | ), | |
519 | 'html_type' => 'Text', | |
08e57c58 | 520 | 'default' => NULL, |
6a488035 TO |
521 | 'add' => '4.3', |
522 | 'title' => 'Recaptcha Private Key', | |
523 | 'is_domain' => 1, | |
524 | 'is_contact' => 0, | |
08e57c58 TO |
525 | 'description' => NULL, |
526 | 'help_text' => NULL, | |
6a488035 TO |
527 | ), |
528 | 'dashboardCacheTimeout' => array( | |
529 | 'group_name' => 'CiviCRM Preferences', | |
530 | 'group' => 'core', | |
531 | 'name' => 'dashboardCacheTimeout', | |
56fdfc52 TO |
532 | 'prefetch' => 1, |
533 | // 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 | |
534 | 'config_only' => 1, | |
535 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
536 | 'type' => 'Integer', |
537 | 'quick_form_type' => 'Element', | |
6a488035 TO |
538 | 'html_attributes' => array( |
539 | 'size' => 3, | |
540 | 'maxlength' => 5, | |
541 | ), | |
542 | 'html_type' => 'Text', | |
08e57c58 | 543 | 'default' => NULL, |
6a488035 TO |
544 | 'add' => '4.3', |
545 | 'title' => 'Dashboard cache timeout', | |
546 | 'is_domain' => 1, | |
547 | 'is_contact' => 0, | |
08e57c58 TO |
548 | 'description' => NULL, |
549 | 'help_text' => NULL, | |
56fdfc52 | 550 | ), |
6a488035 TO |
551 | 'checksumTimeout' => array( |
552 | 'group_name' => 'CiviCRM Preferences', | |
553 | 'group' => 'core', | |
554 | 'name' => 'checksumTimeout', | |
56fdfc52 TO |
555 | 'prefetch' => 1, |
556 | // 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 | |
6a488035 TO |
557 | 'type' => 'Integer', |
558 | 'quick_form_type' => 'Element', | |
6a488035 TO |
559 | 'html_attributes' => array( |
560 | 'size' => 2, | |
561 | 'maxlength' => 8, | |
562 | ), | |
563 | 'html_type' => 'Text', | |
564 | 'default' => 7, | |
565 | 'add' => '4.3', | |
d5f1ee75 | 566 | 'title' => 'Checksum Lifespan', |
6a488035 TO |
567 | 'is_domain' => 1, |
568 | 'is_contact' => 0, | |
08e57c58 TO |
569 | 'description' => NULL, |
570 | 'help_text' => NULL, | |
6a488035 | 571 | ), |
4b030206 TO |
572 | 'blogUrl' => array( |
573 | 'group_name' => 'CiviCRM Preferences', | |
574 | 'group' => 'core', | |
575 | 'name' => 'blogUrl', | |
576 | 'prefetch' => 0, | |
4b030206 TO |
577 | 'type' => 'String', |
578 | 'quick_form_type' => 'Element', | |
4b030206 TO |
579 | 'html_attributes' => array( |
580 | 'size' => 64, | |
581 | 'maxlength' => 128, | |
582 | ), | |
583 | 'html_type' => 'Text', | |
584 | 'default' => '*default*', | |
585 | 'add' => '4.3', | |
586 | 'title' => 'Blog Feed URL', | |
587 | 'is_domain' => 1, | |
588 | 'is_contact' => 0, | |
589 | 'description' => 'Blog feed URL used by the blog dashlet', | |
590 | 'help_text' => 'Use "*default*" for the system default or override with a custom URL', | |
591 | ), | |
847c93ac TO |
592 | 'communityMessagesUrl' => array( |
593 | 'group_name' => 'CiviCRM Preferences', | |
594 | 'group' => 'core', | |
595 | 'name' => 'communityMessagesUrl', | |
596 | 'prefetch' => 0, | |
847c93ac TO |
597 | 'type' => 'String', |
598 | 'quick_form_type' => 'Element', | |
847c93ac TO |
599 | 'html_attributes' => array( |
600 | 'size' => 64, | |
601 | 'maxlength' => 128, | |
602 | ), | |
603 | 'html_type' => 'Text', | |
604 | 'default' => '*default*', | |
605 | 'add' => '4.3', | |
606 | 'title' => 'Community Messages URL', | |
607 | 'is_domain' => 1, | |
608 | 'is_contact' => 0, | |
609 | 'description' => 'Service providing CiviCRM community messages', | |
610 | 'help_text' => 'Use "*default*" for the system default or override with a custom URL', | |
611 | ), | |
6a488035 TO |
612 | 'resCacheCode' => array( |
613 | 'group_name' => 'CiviCRM Preferences', | |
614 | 'group' => 'core', | |
615 | 'name' => 'resCacheCode', | |
56fdfc52 TO |
616 | 'prefetch' => 1, |
617 | // 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 | |
618 | 'config_only' => 1, | |
619 | //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value | |
6a488035 TO |
620 | 'type' => 'String', |
621 | 'quick_form_type' => 'Element', | |
6a488035 TO |
622 | 'html_attributes' => array( |
623 | 'size' => 16, | |
624 | 'maxlength' => 16, | |
625 | ), | |
626 | 'html_type' => 'Text', | |
08e57c58 | 627 | 'default' => NULL, |
6a488035 TO |
628 | 'add' => '4.3', |
629 | 'title' => 'Resource Cache Code', | |
630 | 'is_domain' => 1, | |
631 | 'is_contact' => 0, | |
632 | 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching', | |
08e57c58 | 633 | 'help_text' => NULL, |
6a488035 TO |
634 | ), |
635 | 'verifySSL' => array( | |
636 | 'group_name' => 'CiviCRM Preferences', | |
637 | 'group' => 'core', | |
638 | 'name' => 'verifySSL', | |
639 | 'type' => 'Boolean', | |
640 | 'quick_form_type' => 'YesNo', | |
641 | 'default' => 1, | |
642 | 'add' => '4.3', | |
66f90900 | 643 | 'title' => 'Verify SSL?', |
6a488035 TO |
644 | 'is_domain' => 1, |
645 | 'is_contact' => 0, | |
28f07f05 | 646 | 'description' => 'If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections', |
6a488035 TO |
647 | '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', |
648 | ), | |
28f07f05 TO |
649 | 'enableSSL' => array( |
650 | 'group_name' => 'CiviCRM Preferences', | |
651 | 'group' => 'core', | |
652 | 'name' => 'enableSSL', | |
653 | 'type' => 'Boolean', | |
654 | 'quick_form_type' => 'YesNo', | |
655 | 'default' => 0, | |
656 | 'add' => '4.5', | |
657 | 'title' => 'Force SSL?', | |
658 | 'is_domain' => 1, | |
659 | 'is_contact' => 0, | |
660 | 'description' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', | |
661 | 'help_text' => 'If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.', | |
662 | ), | |
94c11eeb DL |
663 | 'wpBasePage' => array( |
664 | 'group_name' => 'CiviCRM Preferences', | |
665 | 'group' => 'core', | |
666 | 'name' => 'wpBasePage', | |
667 | 'type' => 'String', | |
668 | 'html_type' => 'text', | |
669 | 'quick_form_type' => 'Element', | |
56fdfc52 TO |
670 | 'prefetch' => 1, |
671 | // 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 |
672 | 'default' => '', |
673 | 'add' => '4.3', | |
674 | 'title' => 'WordPress Base Page', | |
675 | 'is_domain' => 1, | |
676 | 'is_contact' => 0, | |
677 | 'description' => 'If set, CiviCRM will use this setting as the base url.', | |
678 | '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.', | |
679 | ), | |
d5f1ee75 DG |
680 | 'secondDegRelPermissions' => array( |
681 | 'group_name' => 'CiviCRM Preferences', | |
682 | 'group' => 'core', | |
683 | 'name' => 'secondDegRelPermissions', | |
56fdfc52 TO |
684 | 'prefetch' => 1, |
685 | // 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 |
686 | 'type' => 'Boolean', |
687 | 'quick_form_type' => 'YesNo', | |
688 | 'default' => 0, | |
689 | 'add' => '4.3', | |
690 | 'title' => 'Allow second-degree relationship permissions', | |
691 | 'is_domain' => 1, | |
692 | 'is_contact' => 0, | |
693 | 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts", | |
08e57c58 | 694 | 'help_text' => NULL, |
d5f1ee75 | 695 | ), |
86eeab72 DS |
696 | 'enable_components' => array( |
697 | 'group_name' => 'CiviCRM Preferences', | |
698 | 'group' => 'core', | |
56fdfc52 | 699 | 'name' => 'enable_components', |
86eeab72 DS |
700 | 'type' => 'Array', |
701 | 'quick_form_type' => 'Element', | |
702 | 'html_type' => 'advmultiselect', | |
703 | 'html_attributes' => array( | |
704 | 'size' => 5, | |
705 | 'style' => 'width:150px', | |
706 | 'class' => 'advmultiselect', | |
707 | ), | |
64fea50a | 708 | 'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'), |
56fdfc52 | 709 | 'add' => '4.4', |
86eeab72 DS |
710 | 'title' => 'Enable Components', |
711 | 'is_domain' => '1', | |
712 | 'is_contact' => 0, | |
08e57c58 | 713 | 'description' => NULL, |
56fdfc52 | 714 | 'help_text' => NULL, |
2bc3bd8f | 715 | 'on_change' => array( |
c8074a93 TO |
716 | 'CRM_Case_Info::onToggleComponents', |
717 | 'CRM_Core_Component::flushEnabledComponents', | |
718 | 'call://resources/resetCacheCode', | |
2bc3bd8f | 719 | ), |
86eeab72 | 720 | ), |
14f20d22 CW |
721 | 'disable_core_css' => array( |
722 | 'group_name' => 'CiviCRM Preferences', | |
723 | 'group' => 'core', | |
724 | 'name' => 'disable_core_css', | |
725 | 'type' => 'Boolean', | |
726 | 'quick_form_type' => 'YesNo', | |
727 | 'default' => '0', | |
728 | 'add' => '4.4', | |
729 | 'title' => 'Disable CiviCRM css', | |
730 | 'is_domain' => 1, | |
731 | 'is_contact' => 0, | |
732 | 'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.', | |
733 | 'help_text' => NULL, | |
734 | ), | |
466913fc AH |
735 | 'empoweredBy' => array( |
736 | 'group_name' => 'CiviCRM Preferences', | |
737 | 'group' => 'core', | |
738 | 'name' => 'empoweredBy', | |
56fdfc52 TO |
739 | 'prefetch' => 1, |
740 | // 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 |
741 | 'type' => 'Boolean', |
742 | 'quick_form_type' => 'YesNo', | |
743 | 'default' => 1, | |
744 | 'add' => '4.5', | |
745 | 'title' => 'Display "empowered by CiviCRM"', | |
746 | 'is_domain' => 1, | |
747 | 'is_contact' => 0, | |
748 | 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.', | |
08e57c58 | 749 | 'help_text' => NULL, |
466913fc | 750 | ), |
fdd770db KC |
751 | 'wpLoadPhp' => array( |
752 | 'group_name' => 'CiviCRM Preferences', | |
753 | 'group' => 'core', | |
754 | 'name' => 'wpLoadPhp', | |
755 | 'type' => 'String', | |
756 | 'html_type' => 'text', | |
757 | 'quick_form_type' => 'Element', | |
d1677deb KC |
758 | 'prefetch' => 1, |
759 | // 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 |
760 | 'default' => '', |
761 | 'add' => '4.6', | |
762 | 'title' => 'WordPress Path to wp-load.php', | |
763 | 'is_domain' => 1, | |
764 | 'is_contact' => 0, | |
765 | 'description' => 'CiviCRM will use this setting as path to bootstrap WP.', | |
766 | 'help_text' => NULL, | |
767 | ), | |
b7aba061 | 768 | ); |