- 'group_name' => 'CiviCRM Preferences',
- 'group' => 'core',
- 'name' => 'versionAlert',
- 'type' => 'Boolean',
- 'quick_form_type' => 'YesNo',
- 'default' => 1,
- 'add' => '4.3',
- 'title' => 'New Version Alerts',
- 'is_domain' => 1,
- 'is_contact' => 0,
- 'description' => 'Displays an on-screen alert to users with \"Administer CiviCRM\" permissions when a new version of CiviCRM is available. This setting will only work if the \"Version Check & Statistics Reporting\" setting is enabled.',
- 'help_text' => '',
- ),
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'versionAlert',
+ 'type' => 'Integer',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'select',
+ 'option_values' => array(
+ '0' => 'Disabled',
+ '1' => 'Display In Page Footer',
+ '2' => 'Display As Popup Alert',
+ '3' => 'Page Footer + Popup Alert',
+ ),
+ 'default' => 1,
+ 'add' => '4.3',
+ 'title' => 'New Version Alerts',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => '',
+ 'help_text' => '',
+ ),
+ 'securityUpdateAlert' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'securityUpdateAlert',
+ 'type' => 'Integer',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'select',
+ 'option_values' => array(
+ '0' => 'Disabled',
+ '1' => 'Display In Page Footer',
+ '2' => 'Display As Popup Alert',
+ '3' => 'Page Footer + Popup Alert',
+ ),
+ 'default' => 3,
+ 'add' => '4.6',
+ 'title' => 'Security Update Alerts',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => '',
+ 'help_text' => '',
+ ),