From 8635e9b0d807a8929b02e28a9dbfb217e6a7ff40 Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 24 May 2013 15:51:17 +0530 Subject: [PATCH] CRM-12688 --- .../Form/ManageEvent/ScheduleReminders.php | 2 +- .../CRM/Admin/Form/ScheduleReminders.tpl | 5 ++-- .../CRM/Admin/Page/ScheduleReminders.hlp | 28 +++++++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 templates/CRM/Admin/Page/ScheduleReminders.hlp diff --git a/CRM/Event/Form/ManageEvent/ScheduleReminders.php b/CRM/Event/Form/ManageEvent/ScheduleReminders.php index 5dc2394991..a5dc1e0406 100755 --- a/CRM/Event/Form/ManageEvent/ScheduleReminders.php +++ b/CRM/Event/Form/ManageEvent/ScheduleReminders.php @@ -166,7 +166,7 @@ class CRM_Event_Form_ManageEvent_ScheduleReminders extends CRM_Event_Form_Manage $this->add('select', 'end_date', ts('Date Field'), $sel4, TRUE); $recipient = 'event_contacts'; - $this->add('select', 'recipient', ts('Additional Recipient(s)'), $sel5[$recipient], + $this->add('select', 'recipient', ts('Limit Recipients'), $sel5[$recipient], FALSE, array('onClick' => "showHideByValue('recipient','manual','recipientManual','table-row','select',false); showHideByValue('recipient','group','recipientGroup','table-row','select',false);") ); $recipientListing = $this->add('select', 'recipient_listing', ts('Recipient Listing'), diff --git a/templates/CRM/Admin/Form/ScheduleReminders.tpl b/templates/CRM/Admin/Form/ScheduleReminders.tpl index 349af4a1ac..f3e412c94a 100644 --- a/templates/CRM/Admin/Form/ScheduleReminders.tpl +++ b/templates/CRM/Admin/Form/ScheduleReminders.tpl @@ -108,7 +108,7 @@ - {$form.recipient.label}{$form.recipient.html} + {$form.recipient.label}{$form.recipient.html}  {help id="id-recipient"} {$form.recipient_listing.label}{$form.recipient_listing.html} @@ -122,7 +122,6 @@ {$form.group_id.label} {$form.group_id.html} -
{ts}Email{/ts} @@ -246,7 +245,7 @@ if (entityMapping[entity] == 'civicrm_activity') { cj("#recipientLabel").text("Recipient(s)"); } else { - cj("#recipientLabel").text("Additional Recipient(s)"); + cj("#recipientLabel").text("Limit Recipients"); } } function buildSelect( selectID ) { diff --git a/templates/CRM/Admin/Page/ScheduleReminders.hlp b/templates/CRM/Admin/Page/ScheduleReminders.hlp new file mode 100644 index 0000000000..7d0609dbf1 --- /dev/null +++ b/templates/CRM/Admin/Page/ScheduleReminders.hlp @@ -0,0 +1,28 @@ +{* + +--------------------------------------------------------------------+ + | CiviCRM version 4.3 | + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC (c) 2004-2010 | + +--------------------------------------------------------------------+ + | This file is a part of CiviCRM. | + | | + | CiviCRM is free software; you can copy, modify, and distribute it | + | under the terms of the GNU Affero General Public License | + | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | + | | + | CiviCRM is distributed in the hope that it will be useful, but | + | WITHOUT ANY WARRANTY; without even the implied warranty of | + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | See the GNU Affero General Public License for more details. | + | | + | You should have received a copy of the GNU Affero General Public | + | License and the CiviCRM Licensing Exception along | + | with this program; if not, contact CiviCRM LLC | + | at info[AT]civicrm[DOT]org. If you have questions about the | + | GNU Affero General Public License or the licensing of CiviCRM, | + | see the CiviCRM license FAQ at http://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id="id-recipient"} + {ts}The scheduled reminders will be limited to ONLY the chosen recipients.{/ts} +{/htxt} -- 2.25.1