From: Tim Otten Date: Mon, 3 Nov 2014 02:37:48 +0000 (-0800) Subject: CRM-15578 - crmMailing2 - Add "publication.html" X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=30a3791ac318f4fb2e57a4d7b46f353ee93118c2;p=civicrm-core.git CRM-15578 - crmMailing2 - Add "publication.html" --- 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 + + + + + + +
+ + + +