Merge pull request #2072 from dlobo/CRM-13815
[civicrm-core.git] / settings / Core.setting.php
index 8e7a982e7e2fff91c9c1089ceecbd9680a45cebe..4f1cfc6192a4f3eabb1aa994e756cbe36fcd6818 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -323,6 +323,34 @@ return array (
     'description' => '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).',
     'help_text' => null,
   ),
+  'allowPermDeleteFinancial' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'allowPermDeleteFinancial',
+    'type' => 'Boolean',
+    'quick_form_type' => 'YesNo',
+    'default' => FALSE,
+    'add' => '4.3',
+    'title' => 'Contact Permanent Delete',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
+    'help_text' => null,
+  ),
+  'versionAlert' => array(
+    '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' => null,
+  ),
   'versionCheck' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',
@@ -482,7 +510,7 @@ When enabled, statistics about your CiviCRM installation are reported anonymousl
     'html_type' => 'Text',
     'default' => 7,
     'add' => '4.3',
-    'title' => 'Dashboard cache timeout',
+    'title' => 'Checksum Lifespan',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => null,
@@ -546,4 +574,76 @@ When enabled, statistics about your CiviCRM installation are reported anonymousl
     'description' => 'If disabled, backend HTTPS services will allow unverified, insecure connections',
     'help_text' => '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',
   ),
-);
\ No newline at end of file
+  'wpBasePage' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'wpBasePage',
+    'type' => 'String',
+    'html_type' => 'text',
+    'quick_form_type' => 'Element',
+    'prefetch' => 1,
+    'default' => '',
+    'add' => '4.3',
+    'title' => 'WordPress Base Page',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'If set, CiviCRM will use this setting as the base url.',
+    'help_text' => '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.',
+  ),
+  'secondDegRelPermissions' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'secondDegRelPermissions',
+    'prefetch' => 1,
+    'config_only'=> 1,
+    'type' => 'Boolean',
+    'quick_form_type' => 'YesNo',
+    'default' => 0,
+    'add' => '4.3',
+    'title' => 'Allow second-degree relationship permissions',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts",
+    'help_text' => null,
+  ),
+
+  'enable_components' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name'  => 'enable_components',
+    'type' => 'Array',
+    'quick_form_type' => 'Element',
+    'html_type' => 'advmultiselect',
+    'html_attributes' => array(
+      'size' => 5,
+      'style' => 'width:150px',
+      'class' => 'advmultiselect',
+    ),
+    'default' => array('CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'),
+    'add'   => '4.4',
+    'title' => 'Enable Components',
+    'is_domain' => '1',
+    'is_contact' => 0,
+    'description' => null,
+    'help_text'   => null,
+    'on_change' => array(
+      array('CRM_Case_Info', 'onToggleComponents'),
+      array('CRM_Core_Component', 'flushEnabledComponents'),
+    ),
+  ),
+
+  'disable_core_css' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'disable_core_css',
+    'type' => 'Boolean',
+    'quick_form_type' => 'YesNo',
+    'default' => '0',
+    'add' => '4.4',
+    'title' => 'Disable CiviCRM css',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'Prevent the stylesheet "civicrm.css" from being loaded.',
+    'help_text' => NULL,
+  ),
+);