X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCore.setting.php;h=d015b5dfe20814e676d4ecd50ced0d4f8877239b;hb=8bc883dc7e33eb2836a8cb5af2ddae4f32fea0ec;hp=2ab2010d064ec950fbfded9b34a8717af980a24d;hpb=f85b80630e8324121dcdef2d7aacd432946b541f;p=civicrm-core.git diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 2ab2010d06..d015b5dfe2 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -1,7 +1,7 @@ 'CiviCRM Preferences', 'group' => 'core', 'name' => 'versionAlert', - 'type' => 'Integer', - 'quick_form_type' => 'Element', - 'html_type' => 'select', - 'option_values' => array( - ts('Disabled'), - ts('Display In Page Footer'), - ts('Display As Popup Alert'), - ts('Page Footer + Popup Alert'), - ), + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', 'default' => 1, 'add' => '4.3', 'title' => 'New Version Alerts', @@ -373,27 +366,6 @@ return array( 'description' => "", 'help_text' => NULL, ), - 'securityUpdateAlert' => array( - 'group_name' => 'CiviCRM Preferences', - 'group' => 'core', - 'name' => 'securityUpdateAlert', - 'type' => 'Integer', - 'quick_form_type' => 'Element', - 'html_type' => 'select', - 'option_values' => array( - ts('Disabled'), - ts('Display In Page Footer'), - ts('Display As Popup Alert'), - ts('Page Footer + Popup Alert'), - ), - 'default' => 3, - 'add' => '4.6', - 'title' => 'Security Update Alerts', - 'is_domain' => 1, - 'is_contact' => 0, - 'description' => "", - 'help_text' => NULL, - ), 'versionCheck' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', @@ -432,10 +404,10 @@ return array( 'quick_form_type' => 'YesNo', 'default' => 1, 'add' => '4.4', - 'title' => 'Security Audits', + 'title' => 'Status Alerts', 'is_domain' => 1, 'is_contact' => 0, - 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.", + '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.", 'help_text' => NULL, ), 'doNotAttachPDFReceipt' => array( @@ -748,6 +720,26 @@ return array( 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.', 'help_text' => NULL, ), + 'logging' => array( + 'add' => '4.7', + 'prefetch' => 1, + 'help_text' => NULL, + 'is_domain' => 1, + 'is_contact' => 0, + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'logging', + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'html_type' => '', + 'default' => '0', + 'title' => 'Logging', + 'description' => 'If enabled, all actions will be logged with a complete record of changes.', + 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport', + 'on_change' => array( + 'CRM_Logging_Schema::onToggle', + ), + ), 'wpLoadPhp' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core',