X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCore.setting.php;h=262dfbd92c1139f9f620b9d04f5557c3dd47a915;hb=103c68223410c8d5b251d7e044a2010501a262a0;hp=77dc4cce90ef31229eca1d4869907fb0de31149c;hpb=ad360847512dded44b9d891409a8f093676108af;p=civicrm-core.git diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 77dc4cce90..262dfbd92c 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -1062,4 +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' => '5.16', + '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' => '5.16', + '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.14', + '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'), + ], ];