Ian province abbreviation patch - issue 724
[civicrm-core.git] / settings / Localization.setting.php
index 37ebf6f28d867a8d38958cf054970db2d88be4b9..d7775c5602f222ebf6e78d5ad3a7a81eba165852 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
@@ -163,6 +163,27 @@ return array(
     'description' => 'This value is selected by default when adding a new contact address.',
     'help_text' => NULL,
   ),
+  'defaultContactStateProvince' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'config_only' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'defaultContactStateProvince',
+    'type' => 'Integer',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Core_PseudoConstant::stateProvince',
+    ),
+    'html_attributes',
+    'default' => '',
+    'title' => 'Default State/Province',
+    'description' => 'This value is selected by default when adding a new contact address.',
+  ),
   'countryLimit' => array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
@@ -280,6 +301,104 @@ return array(
     'description' => '',
     'help_text' => NULL,
   ),
+  'dateformatTime' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'config_only' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'dateformatTime',
+    'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => array(
+      'size' => '12',
+      'maxlength' => '60',
+    ),
+    'default' => '%l:%M %P',
+    'title' => 'Date Format: Time Only',
+    'description' => '',
+  ),
+  'dateformatYear' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'config_only' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'dateformatYear',
+    'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => array(
+      'size' => '12',
+      'maxlength' => '60',
+    ),
+    'default' => '%Y',
+    'title' => 'Date Format: Year Only',
+    'description' => '',
+  ),
+  'dateInputFormat' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'dateInputFormat',
+    'type' => 'String',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Core_SelectValues::getDatePluginInputFormats',
+    ),
+    'default' => 'mm/dd/yy',
+    'title' => 'Date Input Format',
+    'description' => '',
+  ),
+  'fieldSeparator' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'config_only' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'fieldSeparator',
+    'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => array(
+      'size' => '2',
+      'maxlength' => '8',
+    ),
+    'default' => ',',
+    'title' => 'Import / Export Field Separator',
+    'description' => 'Global CSV separator character. Modify this setting to enable import and export of different kinds of CSV files (for example: \',\' \';\' \':\' \'|\' ).',
+  ),
+  'fiscalYearStart' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'fiscalYearStart',
+    'type' => 'Array',
+    'quick_form_type' => 'MonthDay',
+    'html_type' => 'MonthDay',
+    'default' => ',',
+    'title' => 'Fiscal Year Start',
+    'description' => '',
+  ),
   'lcMessages' => array(
     'group_name' => 'Localization Preferences',
     'group' => 'localization',
@@ -297,4 +416,65 @@ return array(
     'description' => '',
     'help_text' => NULL,
   ),
+  'legacyEncoding' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'config_only' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'legacyEncoding',
+    'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => array(
+      'size' => '12',
+      'maxlength' => '30',
+    ),
+    'default' => 'Windows-1252',
+    'title' => 'Legacy Encoding',
+    'description' => 'If import files are NOT encoded as UTF-8, specify an alternate character encoding for these files. The default of Windows-1252 will work for Excel-created .CSV files on many computers.',
+  ),
+  'timeInputFormat' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'timeInputFormat',
+    'type' => 'String',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Core_SelectValues::getTimeFormats',
+    ),
+    'default' => '1',
+    'title' => 'Time Input Format',
+    'description' => '',
+    'on_change' => array(
+      'CRM_Core_BAO_PreferencesDate::onChangeSetting',
+    ),
+  ),
+  'weekBegins' => array(
+    'group_name' => 'Localization Preferences',
+    'group' => 'localization',
+    'name' => 'weekBegins',
+    'type' => 'String',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Utils_Date::getFullWeekdayNames',
+    ),
+    'default' => '0',
+    'add' => '4.7',
+    'title' => 'Week begins on',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "",
+    'help_text' => NULL,
+  ),
 );