From: Seamus Lee Date: Sat, 15 Jun 2019 01:45:51 +0000 (+1000) Subject: Merge in 5.15 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d8b3a6a70619ca517d3ac3a3e8a55a4368bd9840;p=civicrm-core.git Merge in 5.15 --- d8b3a6a70619ca517d3ac3a3e8a55a4368bd9840 diff --cc settings/Core.setting.php index f79f52ba4e,2b8bdf3e04..2b3822705f --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@@ -1062,46 -1062,23 +1062,65 @@@ return 'description' => ts('Acceptable Mime Types that can be used as part of file urls'), 'help_text' => NULL, ], + 'theme_frontend' => [ + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'theme_frontend', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array( + 'class' => 'crm-select2', + ), + 'pseudoconstant' => array( + 'callback' => 'call://themes/getAvailable', + ), + 'default' => 'default', + 'add' => '4.7', + 'title' => ts('Frontend Theme'), + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('Theme to use on frontend pages'), + 'help_text' => NULL, + ], + 'theme_backend' => [ + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'theme_backend', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array( + 'class' => 'crm-select2', + ), + 'pseudoconstant' => array( + 'callback' => 'call://themes/getAvailable', + ), + 'default' => 'default', + 'add' => '4.7', + 'title' => ts('Backend Theme'), + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('Theme to use on backend pages'), + 'help_text' => NULL, + ], + 'http_timeout' => [ + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'http_timeout', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => [ + 'size' => 2, + 'maxlength' => 3, + ], + 'default' => 5, + 'add' => '5.15', + 'title' => ts('HTTP request timeout'), + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'), + 'help_text' => ts('Set the number of seconds http requests should run for before terminating'), + ], ];