<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
'description' => null,
'help_text' => null,
),
+ 'ajaxPopupsEnabled' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'ajaxPopupsEnabled',
+ 'type' => 'Boolean',
+ 'quick_form_type' => 'YesNo',
+ 'default' => 1,
+ 'add' => '4.5',
+ 'title' => null,
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => null,
+ 'help_text' => null,
+ ),
'activity_assignee_notification' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
When enabled, statistics about your CiviCRM installation are reported anonymously to the CiviCRM team to assist in prioritizing ongoing development efforts. The following information is gathered: CiviCRM version, versions of PHP, MySQL and framework (Drupal/Joomla/standalone), and default language. Counts (but no actual data) of the following record types are reported: contacts, activities, cases, relationships, contributions, contribution pages, contribution products, contribution widgets, discounts, price sets, profiles, events, participants, tell-a-friend pages, grants, mailings, memberships, membership blocks, pledges, pledge blocks and active payment processor types.",
'help_text' => null,
),
+ 'securityAlert' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'versionCheck',
+ 'prefetch' => 0,
+ 'config_only'=> 0,
+ 'type' => 'Boolean',
+ 'quick_form_type' => 'YesNo',
+ 'default' => 1,
+ 'add' => '4.4',
+ 'title' => 'Security Alerts',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.",
+ 'help_text' => null,
+ ),
'doNotAttachPDFReceipt' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'html_type' => 'Text',
'default' => 7,
'add' => '4.3',
- 'title' => 'Dashboard cache timeout',
+ 'title' => 'Checksum Lifespan',
'is_domain' => 1,
'is_contact' => 0,
'description' => null,
'help_text' => null,
),
+ 'blogUrl' => array(
+ 'group_name' => 'CiviCRM Preferences',
+ 'group' => 'core',
+ 'name' => 'blogUrl',
+ 'prefetch' => 0,
+ 'config_only'=> 0,
+ 'type' => 'String',
+ 'quick_form_type' => 'Element',
+ 'html_type' => 'text',
+ 'html_attributes' => array(
+ 'size' => 64,
+ 'maxlength' => 128,
+ ),
+ 'html_type' => 'Text',
+ 'default' => '*default*',
+ 'add' => '4.3',
+ 'title' => 'Blog Feed URL',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => 'Blog feed URL used by the blog dashlet',
+ 'help_text' => 'Use "*default*" for the system default or override with a custom URL',
+ ),
'communityMessagesUrl' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'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,
+ ),
);