From 30a3791ac318f4fb2e57a4d7b46f353ee93118c2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sun, 2 Nov 2014 18:37:48 -0800 Subject: [PATCH] CRM-15578 - crmMailing2 - Add "publication.html" --- CRM/Mailing/Info.php | 4 ++++ partials/crmMailing2/publication.html | 24 +++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index c220bd977a..4b2ecf00d5 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -132,6 +132,10 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { 'mailTokens' => array_values($mailTokens), 'contactid' => $contactID, 'fromAddress' => array_values($fromAddress['values'][0]['api.OptionValue.get']['values']), + 'visibility' => array( + array('value' => 'Public Pages', 'label' => ts('Public Pages')), + array('value' => 'User and User Admin Only', 'label' => ts('User and User Admin Only')), + ), ), )); diff --git a/partials/crmMailing2/publication.html b/partials/crmMailing2/publication.html index 8bd61f038f..3e0e8b23ef 100644 --- a/partials/crmMailing2/publication.html +++ b/partials/crmMailing2/publication.html @@ -1 +1,23 @@ -publication.html + + + + + + +
+ + + +
-- 2.25.1