X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FAddress.setting.php;h=417788353b6a4509d6ba132b702ccf5f26ac91d2;hb=7696d552a61bf69903df0fb439f70c2fc7c37e47;hp=e5e7824fdeef7a7481e2a8136d56680832b133ab;hpb=1bf0c1aee7763286d31559d4719239fea7383f0e;p=civicrm-core.git diff --git a/settings/Address.setting.php b/settings/Address.setting.php index e5e7824fde..417788353b 100644 --- a/settings/Address.setting.php +++ b/settings/Address.setting.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * $Id$ * */ @@ -79,4 +79,18 @@ return array( 'help_text' => 'Web Service URL', 'validate_callback' => 'CRM_Utils_Rule::url', ), + 'hideCountryMailingLabels' => array( + 'group_name' => 'Address Preferences', + 'group' => 'address', + 'name' => 'hideCountryMailingLabels', + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'default' => 0, + 'add' => '4.7', + 'title' => 'Hide Country in Mailing Labels when same as domain country', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'Do not display the country field in mailing labels when the country is the same as that of the domain', + 'help_text' => NULL, + ), );