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