CRM-12688
authoryashodha <yashodha.chaku@webaccess.co.in>
Fri, 24 May 2013 10:21:17 +0000 (15:51 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Fri, 24 May 2013 10:21:17 +0000 (15:51 +0530)
CRM/Event/Form/ManageEvent/ScheduleReminders.php
templates/CRM/Admin/Form/ScheduleReminders.tpl
templates/CRM/Admin/Page/ScheduleReminders.hlp [new file with mode: 0644]

index 5dc23949915f219eced689887b80e4f2e4d7b363..a5dc1e040686ca4c09337062ab2c373ed1cf34f1 100755 (executable)
@@ -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'),
index 349af4a1acf7d1fd066347186bebe36d9ca2dff0..f3e412c94a539ffa05962cebb94104701fdcdb8a 100644 (file)
      </td>
     </tr>
     <tr class="crm-scheduleReminder-form-block-recipient">
-        <td id="recipientLabel" class="right">{$form.recipient.label}</td><td colspan="3">{$form.recipient.html}</td>
+        <td id="recipientLabel" class="right">{$form.recipient.label}</td><td colspan="3">{$form.recipient.html}&nbsp;&nbsp;{help id="id-recipient"}</td>
     </tr>
     <tr id="recipientList" class="crm-scheduleReminder-form-block-recipientListing">
         <td class="right">{$form.recipient_listing.label}</td><td colspan="3">{$form.recipient_listing.html}</td>
         <td class="label">{$form.group_id.label}</td>
         <td>{$form.group_id.html}</td>
     </tr>
-
   </table>
   <fieldset id="compose_id"><legend>{ts}Email{/ts}</legend>
      <table id="email-field-table" class="form-layout-compressed">
     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 (file)
index 0000000..7d0609d
--- /dev/null
@@ -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}