From fac01cb13d3c0800f7a39b86117e944966744fcb Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 26 Oct 2015 14:49:17 -0700 Subject: [PATCH] CRM-17271 - Change all references to profile field visibility to use new language (help and drop-downs in php and js). ---------------------------------------- * CRM-17271: Change Profile Field Label from Public Pages to Expose Publicly https://issues.civicrm.org/jira/browse/CRM-17271 --- CRM/Core/SelectValues.php | 4 ++-- js/model/crm.uf.js | 4 ++-- templates/CRM/UF/Form/Field.hlp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Core/SelectValues.php b/CRM/Core/SelectValues.php index 9b8056952c..4138538dd4 100644 --- a/CRM/Core/SelectValues.php +++ b/CRM/Core/SelectValues.php @@ -357,8 +357,8 @@ class CRM_Core_SelectValues { public static function ufVisibility() { return array( 'User and User Admin Only' => ts('User and User Admin Only'), - 'Public Pages' => ts('Public Pages'), - 'Public Pages and Listings' => ts('Public Pages and Listings'), + 'Public Pages' => ts('Expose Publicly'), + 'Public Pages and Listings' => ts('Expose Publicly and for Listings'), ); } diff --git a/js/model/crm.uf.js b/js/model/crm.uf.js index 095acddc0d..98727ffb24 100644 --- a/js/model/crm.uf.js +++ b/js/model/crm.uf.js @@ -8,8 +8,8 @@ var VISIBILITY = [ {val: 'User and User Admin Only', label: ts('User and User Admin Only'), isInSelectorAllowed: false}, - {val: 'Public Pages', label: ts('Public Pages'), isInSelectorAllowed: true}, - {val: 'Public Pages and Listings', label: ts('Public Pages and Listings'), isInSelectorAllowed: true} + {val: 'Public Pages', label: ts('Expose Publicly'), isInSelectorAllowed: true}, + {val: 'Public Pages and Listings', label: ts('Expose Publicly and for Listings'), isInSelectorAllowed: true} ]; var LOCATION_TYPES = _.map(CRM.PseudoConstant.locationType, function(value, key) { diff --git a/templates/CRM/UF/Form/Field.hlp b/templates/CRM/UF/Form/Field.hlp index 4164df4d3a..6b0a0c8b80 100644 --- a/templates/CRM/UF/Form/Field.hlp +++ b/templates/CRM/UF/Form/Field.hlp @@ -60,7 +60,7 @@ {ts}Is this field hidden from public search ('User and User Admin Only'), or is it visible to the public and potentially searchable in the Profile Search form ('Expose Publicly' or 'Expose Publicly and for Listings')? ('User and User Admin Only') fields can still be used for Edit and Create mode.{/ts}

- {ts}When visibility is 'Public Pages and Listings', users can also click the field value when viewing a contact in order to locate other contacts with the same value(s) (i.e. other contacts who live in Poland).{/ts} + {ts}When visibility is 'Expose Publicly and for Listings', users can also click the field value when viewing a contact in order to locate other contacts with the same value(s) (i.e. other contacts who live in Poland).{/ts}

{/htxt} -- 2.25.1