$urlParams = "_qf_PickOption_display=true&qfKey={$params['qfKey']}";
$urlRedirect = CRM_Utils_System::url('civicrm/activity/search', $urlParams);
CRM_Core_Error::statusBounce(
- ts('It appears you have no contacts with emails from the selected recipients.'),
+ ts('It appears you have no contacts with email addresses from the selected recipients.'),
$urlRedirect
);
}
$validate = FALSE;
//validations
if (count($this->_activityHolderIds) > $this->_maxActivities) {
- CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select for Batch Update is %1. You have selected %2. Please select fewer Activities from your search results and try again.", array(
+ CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select for Batch update is %1. You have selected %2. Please select fewer Activities from your search results and try again.", array(
1 => $this->_maxActivities,
2 => count($this->_activityHolderIds),
)), ts('Maximum Exceeded'), 'error');
}
if (empty($profiles)) {
- CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch Update via Profile. Navigate to Administer > Customize Data and Screens > Profiles to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts("No Profile Configured"), "alert");
+ CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch update activities via profile. Navigate to Administer > Customize Data and Screens > Profiles to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts("No Profile Configured"), "alert");
CRM_Utils_System::redirect($this->_userContext);
}
elseif ($notEditable) {
if (!(self::$_tasks)) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Activities'),
+ 'title' => ts('Delete activities'),
'class' => 'CRM_Activity_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Activity_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Activities'),
+ 'title' => ts('Export activities'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Batch Update Activities Via Profile'),
+ 'title' => ts('Batch update activities via profile'),
'class' => array(
'CRM_Activity_Form_Task_PickProfile',
'CRM_Activity_Form_Task_Batch',
'result' => FALSE,
),
5 => array(
- 'title' => ts('Send Email to Contacts'),
+ 'title' => ts('Email - send now'),
'class' => array(
'CRM_Activity_Form_Task_PickOption',
'CRM_Activity_Form_Task_Email',
'result' => FALSE,
),
6 => array(
- 'title' => ts('Send Reply SMS To Contacts'),
+ 'title' => ts('SMS - send reply'),
'class' => 'CRM_Activity_Form_Task_SMS',
'result' => FALSE,
),
7 => array(
- 'title' => ts('Tag Activities (assign tags)'),
+ 'title' => ts('Tag - add to activities'),
'class' => 'CRM_Activity_Form_Task_AddToTag',
'result' => FALSE,
),
8 => array(
- 'title' => ts('Untag Activities (remove tags)'),
+ 'title' => ts('Tag - remove from activities'),
'class' => 'CRM_Activity_Form_Task_RemoveFromTag',
'result' => FALSE,
),
CRM_Core_Permission::check('access my cases and activities')
) {
self::$_tasks[6] = array(
- 'title' => ts('File on Case'),
+ 'title' => ts('File on case'),
'class' => 'CRM_Activity_Form_Task_FileOnCase',
'result' => FALSE,
);
if (!self::$_tasks) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Cases'),
+ 'title' => ts('Delete cases'),
'class' => 'CRM_Case_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Case_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Cases'),
+ 'title' => ts('Export cases'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Restore Cases'),
+ 'title' => ts('Restore cases'),
'class' => 'CRM_Case_Form_Task_Restore',
'result' => FALSE,
),
*/
/**
- * This class provides the functionality to Merge Contacts.
+ * This class provides the functionality to Merge contacts.
*
*/
class CRM_Contact_Form_Task_Merge extends CRM_Contact_Form_Task {
$validate = FALSE;
//validations
if (count($this->_contactIds) > $this->_maxContacts) {
- CRM_Core_Session::setStatus(ts("The maximum number of contacts you can select for Batch Update is %1. You have selected %2. Please select fewer contacts from your search results and try again.", array(
+ CRM_Core_Session::setStatus(ts("The maximum number of contacts you can select for Batch update is %1. You have selected %2. Please select fewer contacts from your search results and try again.", array(
1 => $this->_maxContacts,
2 => count($this->_contactIds),
)), ts('Maximum Exceeded'), 'error');
if (empty($profiles)) {
$types = implode(' ' . ts('or') . ' ', $this->_contactTypes);
- CRM_Core_Session::setStatus(ts("The contact type selected for Batch Update does not have a corresponding profile. Please set up a profile for %1s and try again.", array(1 => $types)), ts('No Profile Available'), 'error');
+ CRM_Core_Session::setStatus(ts("The contact type selected for Batch update does not have a corresponding profile. Please set up a profile for %1s and try again.", array(1 => $types)), ts('No Profile Available'), 'error');
CRM_Utils_System::redirect($this->_userContext);
}
$ufGroupElement = $this->add('select', 'uf_group_id', ts('Select Profile'), array('' => ts('- select profile -')) + $profiles, TRUE, array('class' => 'crm-select2 huge'));
if (!self::$_tasks) {
self::$_tasks = array(
self::GROUP_CONTACTS => array(
- 'title' => ts('Add Contacts to Group'),
+ 'title' => ts('Group - add contacts'),
'class' => 'CRM_Contact_Form_Task_AddToGroup',
),
self::REMOVE_CONTACTS => array(
- 'title' => ts('Remove Contacts from Group'),
+ 'title' => ts('Group - remove contacts'),
'class' => 'CRM_Contact_Form_Task_RemoveFromGroup',
),
self::TAG_CONTACTS => array(
- 'title' => ts('Tag Contacts (assign tags)'),
+ 'title' => ts('Tag - addto contacts'),
'class' => 'CRM_Contact_Form_Task_AddToTag',
),
self::REMOVE_TAGS => array(
- 'title' => ts('Untag Contacts (remove tags)'),
+ 'title' => ts('Tag - remove from contacts'),
'class' => 'CRM_Contact_Form_Task_RemoveFromTag',
),
self::EXPORT_CONTACTS => array(
- 'title' => ts('Export Contacts'),
+ 'title' => ts('Export contacts'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
self::EMAIL_CONTACTS => array(
- 'title' => ts('Send Email to Contacts'),
+ 'title' => ts('Email - send now (to 50 or less)'),
'class' => 'CRM_Contact_Form_Task_Email',
'result' => TRUE,
),
self::DELETE_CONTACTS => array(
- 'title' => ts('Delete Contacts'),
+ 'title' => ts('Delete contacts'),
'class' => 'CRM_Contact_Form_Task_Delete',
'result' => FALSE,
),
self::RECORD_CONTACTS => array(
- 'title' => ts('Record Activity for Contacts'),
+ 'title' => ts('Add activity'),
'class' => 'CRM_Activity_Form_Activity',
),
self::SAVE_SEARCH => array(
- 'title' => ts('New Smart Group'),
+ 'title' => ts('Smart group - create'),
'class' => 'CRM_Contact_Form_Task_SaveSearch',
'result' => TRUE,
),
self::SAVE_SEARCH_UPDATE => array(
- 'title' => ts('Update Smart Group'),
+ 'title' => ts('Smart group - update'),
'class' => 'CRM_Contact_Form_Task_SaveSearch_Update',
'result' => TRUE,
),
self::PRINT_CONTACTS => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Contact_Form_Task_Print',
'result' => FALSE,
),
self::LABEL_CONTACTS => array(
- 'title' => ts('Mailing Labels'),
+ 'title' => ts('Mailing labels - print'),
'class' => 'CRM_Contact_Form_Task_Label',
'result' => TRUE,
),
self::BATCH_UPDATE => array(
- 'title' => ts('Batch Update via Profile'),
+ 'title' => ts('Batch update contacts via profile'),
'class' => array(
'CRM_Contact_Form_Task_PickProfile',
'CRM_Contact_Form_Task_Batch',
'result' => TRUE,
),
self::PRINT_FOR_CONTACTS => array(
- 'title' => ts('Print PDF Letter for Contacts'),
+ 'title' => ts('PDF letters - print'),
'class' => 'CRM_Contact_Form_Task_PDF',
'result' => TRUE,
),
self::EMAIL_UNHOLD => array(
- 'title' => ts('Unhold Emails'),
+ 'title' => ts('Emails - unhold addresses'),
'class' => 'CRM_Contact_Form_Task_Unhold',
),
self::COMMUNICATION_PREFS => array(
- 'title' => ts('Alter Contact Communication Preferences'),
+ 'title' => ts('Communication preferences - alter'),
'class' => 'CRM_Contact_Form_Task_AlterPreferences',
),
self::RESTORE => array(
- 'title' => ts('Restore Contacts'),
+ 'title' => ts('Restore contacts from trash'),
'class' => 'CRM_Contact_Form_Task_Delete',
'result' => FALSE,
),
self::DELETE_PERMANENTLY => array(
- 'title' => ts('Delete Permanently'),
+ 'title' => ts('Delete permanently'),
'class' => 'CRM_Contact_Form_Task_Delete',
'result' => FALSE,
),
$providersCount = CRM_SMS_BAO_Provider::activeProviderCount();
if ($providersCount) {
self::$_tasks[self::SMS_CONTACTS] = array(
- 'title' => ts('Send SMS to Contacts'),
+ 'title' => ts('SMS - schedule/send'),
'class' => 'CRM_Contact_Form_Task_SMS',
'result' => TRUE,
);
if (CRM_Contact_BAO_ContactType::isActive('Household')) {
$label = CRM_Contact_BAO_ContactType::getLabel('Household');
self::$_tasks[self::HOUSEHOLD_CONTACTS] = array(
- 'title' => ts('Add Contacts to %1',
+ 'title' => ts('Add relationship to %1',
array(1 => $label)
),
'class' => 'CRM_Contact_Form_Task_AddToHousehold',
if (CRM_Contact_BAO_ContactType::isActive('Organization')) {
$label = CRM_Contact_BAO_ContactType::getLabel('Organization');
self::$_tasks[self::ORGANIZATION_CONTACTS] = array(
- 'title' => ts('Add Contacts to %1',
+ 'title' => ts('Add relationship to %1',
array(1 => $label)
),
'class' => 'CRM_Contact_Form_Task_AddToOrganization',
if (CRM_Core_Permission::check('merge duplicate contacts')) {
self::$_tasks[self::MERGE_CONTACTS] = array(
- 'title' => ts('Merge Contacts'),
+ 'title' => ts('Merge contacts'),
'class' => 'CRM_Contact_Form_Task_Merge',
'result' => TRUE,
);
)
) {
self::$_tasks[self::MAP_CONTACTS] = array(
- 'title' => ts('Map Contacts'),
+ 'title' => ts('Map contacts'),
'class' => 'CRM_Contact_Form_Task_Map',
'result' => FALSE,
);
if (CRM_Core_Permission::access('CiviEvent')) {
self::$_tasks[self::ADD_EVENT] = array(
- 'title' => ts('Add Contacts to Event'),
+ 'title' => ts('Register participants for event'),
'class' => 'CRM_Event_Form_Participant',
);
}
if (defined('CIVICRM_CIVIMAIL_UI_LEGACY')) {
if (CRM_Core_Permission::access('CiviMail')) {
self::$_tasks[self::CREATE_MAILING] = array(
- 'title' => ts('Schedule/Send a Mass Mailing'),
+ 'title' => ts('Email - schedule/send via CiviMail'),
'class' => array(
'CRM_Mailing_Form_Group',
'CRM_Mailing_Form_Settings',
|| (CRM_Mailing_Info::workflowEnabled() && CRM_Core_Permission::check('create mailings'))
) {
self::$_tasks[self::CREATE_MAILING] = array(
- 'title' => ts('Schedule/Send a Mass Mailing'),
+ 'title' => ts('Email - schedule/send via CiviMail'),
'class' => 'CRM_Mailing_Form_Task_AdhocMailing',
'result' => FALSE,
);
$validate = FALSE;
//validations
if (count($this->_contributionIds) > $this->_maxContributions) {
- CRM_Core_Session::setStatus(ts("The maximum number of contributions you can select for Batch Update is %1. You have selected %2. Please select fewer contributions from your search results and try again.", array(
+ CRM_Core_Session::setStatus(ts("The maximum number of contributions you can select for Batch update is %1. You have selected %2. Please select fewer contributions from your search results and try again.", array(
1 => $this->_maxContributions,
2 => count($this->_contributionIds),
)), ts('Batch Update Error'), 'error');
$profiles = CRM_Core_BAO_UFGroup::getProfiles($types, TRUE);
if (empty($profiles)) {
- CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch Update via Profile. Navigate to Administer CiviCRM > Customize Data and Screens > CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Profile Required'), 'error');
+ CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch update contributions via profile. Navigate to Administer CiviCRM > Customize Data and Screens > CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Profile Required'), 'error');
CRM_Utils_System::redirect($this->_userContext);
}
if (!(self::$_tasks)) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Contributions'),
+ 'title' => ts('Delete contributions'),
'class' => 'CRM_Contribute_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Contribute_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Contributions'),
+ 'title' => ts('Export contributions'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Batch Update Contributions Via Profile'),
+ 'title' => ts('Batch update contributions via profile'),
'class' => array(
'CRM_Contribute_Form_Task_PickProfile',
'CRM_Contribute_Form_Task_Batch',
'result' => TRUE,
),
5 => array(
- 'title' => ts('Send Email to Contacts'),
+ 'title' => ts('Email - send now'),
'class' => 'CRM_Contribute_Form_Task_Email',
'result' => TRUE,
),
6 => array(
- 'title' => ts('Update Pending Contribution Status'),
+ 'title' => ts('Update pending contribution status'),
'class' => 'CRM_Contribute_Form_Task_Status',
'result' => TRUE,
),
if (!(self::$_tasks)) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Participants'),
+ 'title' => ts('Delete participants from event'),
'class' => 'CRM_Event_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Event_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Participants'),
+ 'title' => ts('Export participants'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Batch Update Participants Via Profile'),
+ 'title' => ts('Batch update participants via profile'),
'class' => array(
'CRM_Event_Form_Task_PickProfile',
'CRM_Event_Form_Task_Batch',
'result' => TRUE,
),
5 => array(
- 'title' => ts('Cancel Registration'),
+ 'title' => ts('Cancel registration'),
'class' => 'CRM_Event_Form_Task_Cancel',
'result' => FALSE,
),
6 => array(
- 'title' => ts('Send Email to Contacts'),
+ 'title' => ts('Email - send now (to 50 or less)'),
'class' => 'CRM_Event_Form_Task_Email',
'result' => TRUE,
),
13 => array(
- 'title' => ts('New Smart Group'),
+ 'title' => ts('Smart group - create'),
'class' => 'CRM_Event_Form_Task_SaveSearch',
'result' => TRUE,
),
14 => array(
- 'title' => ts('Update Smart Group'),
+ 'title' => ts('Smart group - update'),
'class' => 'CRM_Event_Form_Task_SaveSearch_Update',
'result' => TRUE,
),
'result' => TRUE,
),
16 => array(
- 'title' => ts('Print Event Name Badges'),
+ 'title' => ts('Event name badges - print'),
'class' => 'CRM_Event_Form_Task_Badge',
'result' => FALSE,
),
17 => array(
- 'title' => ts('Print PDF Letter for Participants'),
+ 'title' => ts('PDF letter - print for participants'),
'class' => 'CRM_Event_Form_Task_PDF',
'result' => TRUE,
),
20 => array(
- 'title' => ts('Add Contacts to Group'),
+ 'title' => ts('Group - add contacts'),
'class' => 'CRM_Event_Form_Task_AddToGroup',
'result' => FALSE,
),
if (!(self::$_tasks)) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Grants'),
+ 'title' => ts('Delete grants'),
'class' => 'CRM_Grant_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Grant_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Grants'),
+ 'title' => ts('Export grants'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Update Grants'),
+ 'title' => ts('Update grants'),
'class' => 'CRM_Grant_Form_Task_Update',
'result' => FALSE,
),
$validate = FALSE;
//validations
if (count($this->_memberIds) > $this->_maxMembers) {
- CRM_Core_Session::setStatus(ts("The maximum number of members you can select for Batch Update is %1. You have selected %2. Please select fewer members from your search results and try again.", array(
+ CRM_Core_Session::setStatus(ts("The maximum number of members you can select for Batch update is %1. You have selected %2. Please select fewer members from your search results and try again.", array(
1 => $this->_maxMembers,
2 => count($this->_memberIds),
)), ts('Batch Update Error'), 'error');
$profiles = CRM_Core_BAO_UFGroup::getProfiles($types, TRUE);
if (empty($profiles)) {
- CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch Update via Profile. Navigate to Administer CiviCRM >> CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Batch Update Error'), 'error');
+ CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Batch update memberships via profile. Navigate to Administer CiviCRM >> CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Batch Update Error'), 'error');
CRM_Utils_System::redirect($this->_userContext);
}
if (!(self::$_tasks)) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Memberships'),
+ 'title' => ts('Delete memberships'),
'class' => 'CRM_Member_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Member_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Members'),
+ 'title' => ts('Export members'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
'result' => FALSE,
),
4 => array(
- 'title' => ts('Send Email to Contacts'),
+ 'title' => ts('Email send now'),
'class' => 'CRM_Member_Form_Task_Email',
'result' => TRUE,
),
5 => array(
- 'title' => ts('Batch Update Members Via Profile'),
+ 'title' => ts('Batch update memberships via profile'),
'class' => array(
'CRM_Member_Form_Task_PickProfile',
'CRM_Member_Form_Task_Batch',
'result' => TRUE,
),
6 => array(
- 'title' => ts('Mailing Labels'),
+ 'title' => ts('Mailing labels - print'),
'class' => array(
'CRM_Member_Form_Task_Label',
),
'result' => TRUE,
),
7 => array(
- 'title' => ts('Print PDF Letters for Memberships'),
+ 'title' => ts('PDF letters - print for memberships'),
'class' => 'CRM_Member_Form_Task_PDFLetter',
'result' => FALSE,
),
if (!self::$_tasks) {
self::$_tasks = array(
1 => array(
- 'title' => ts('Delete Pledges'),
+ 'title' => ts('Delete pledges'),
'class' => 'CRM_Pledge_Form_Task_Delete',
'result' => FALSE,
),
2 => array(
- 'title' => ts('Print Selected Rows'),
+ 'title' => ts('Print selected rows'),
'class' => 'CRM_Pledge_Form_Task_Print',
'result' => FALSE,
),
3 => array(
- 'title' => ts('Export Pledges'),
+ 'title' => ts('Export pledges'),
'class' => array(
'CRM_Export_Form_Select',
'CRM_Export_Form_Map',
* @param array $tasks
* The current set of tasks for that custom field.
* You can add/remove existing tasks.
- * Each task needs to have a title (eg 'title' => ts( 'Add Contacts to Group')) and a class
+ * Each task needs to have a title (eg 'title' => ts( 'Group - add contacts')) and a class
* (eg 'class' => 'CRM_Contact_Form_Task_AddToGroup').
* Optional result (boolean) may also be provided. Class can be an array of classes (not sure what that does :( ).
* The key for new Task(s) should not conflict with the keys for core tasks of that $objectType, which can be
{capture assign=docLink}{docURL page="CiviMail Mailer Settings" text="CiviMail Mailer Settings and Optimization" resource="wiki"}{/capture}
<div class="crm-block crm-form-block crm-mail-form-block">
<div id="help">
- {ts 1=$docLink}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the %1 documentation, and make sure you understand it before modifying default values. (These settings are NOT used for the built-in 'Send Email to Contacts' feature).{/ts}
+ {ts 1=$docLink}These settings are used to configure mailer properties for the optional CiviMail component and may allow you to significantly optimize performance. Please read the %1 documentation, and make sure you understand it before modifying default values. (These settings are NOT used for the built-in 'Email - send now' feature).{/ts}
</div>
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
<table class="form-layout-compressed">
</table>
<h3>{ts}Default Organization Address{/ts}</h3>
- <div class="description">{ts 1={domain.address}}CiviMail mailings must include the sending organization's address. This is done by putting the %1 token in either the body or footer of the mailing. This token may also be used in regular 'Send Email to Contacts' messages and in other Message Templates. The token is replaced by the address entered below when the message is sent.{/ts}</div>
+ <div class="description">{ts 1={domain.address}}CiviMail mailings must include the sending organization's address. This is done by putting the %1 token in either the body or footer of the mailing. This token may also be used in regular 'Email - send now' messages and in other Message Templates. The token is replaced by the address entered below when the message is sent.{/ts}</div>
{include file="CRM/Contact/Form/Edit/Address.tpl"}
<h3>{ts}Organization Contact Information{/ts}</h3>
<div class="description">{ts}You can also include general email and/or phone contact information in mailings.{/ts} {help id="additional-contact"}</div>
$this->waitForElementPresent("task");
$this->click('radio_ts', 'ts_all');
$this->click('task');
- $this->select('task', 'label=New Smart Group');
+ $this->select('task', 'label=Smart group - create');
$this->waitForPageToLoad($this->getTimeoutMsec());
$smartGroupTitle = "SmartGroup" . substr(sha1(rand()), 0, 4);
$this->type("title", $smartGroupTitle);
$this->waitForElementPresent("xpath=//div[@id='search-status']/table/tbody/tr[2]/td[2]/input[1]");
$this->click("xpath=//div[@id='search-status']/table/tbody/tr[2]/td[2]/input[1]");
- $this->select('task', "label=Add Contacts to Event");
+ $this->select('task', "label=Register participants for event");
// Select event. Based on label for now.
$this->waitForElementPresent('event_id');
$this->waitForElementPresent('search-status');
$this->assertElementContainsText('search-status', '2 Contact');
- $this->select("task", "label=Add Contacts to Group");
+ $this->select("task", "label=Group - add contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("toggleSelect");
$this->waitForTextPresent('2 Selected records only');
- $this->select('task', 'label=Remove Contacts from Group');
+ $this->select('task', 'label=Group - remove contacts');
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->waitForElementPresent('_qf_RemoveFromGroup_back-bottom');
$this->assertElementContainsText('crm-container', 'Number of selected contacts: 2');
// Select the task action to export
$this->click("task");
- $this->select("task", "label=Export Contacts");
+ $this->select("task", "label=Export contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("_qf_Select_next-bottom");
// Click "check all" box and act on "Add to group" action
$this->click('toggleSelect');
$this->waitForText("xpath=//input[@value='ts_sel']/following-sibling::label/span", '2');
- $this->select("task", "label=Add Contacts to Group");
+ $this->select("task", "label=Group - add contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
// Select the new group and click to add
$this->waitForText("xpath=//div[@class='crm-content-block']/div/div[2]/div/span[2]/a", "Next >");
$this->click("toggleSelect");
$this->waitForText("xpath=//input[@value='ts_sel']/following-sibling::label/span", '50');
- $this->select("task", "label=Add Contacts to Group");
+ $this->select("task", "label=Group - add contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
// Select the new group and click to add
// Click "check all" box and act on "Add to group" action
$this->click("//form[@id='Advanced']/div[3]/div/div[2]/table/thead/tr/th[1]/input");
$this->waitForText('search-status', "50 Selected records only");
- $this->select("task", "label=Schedule/Send a Mass Mailing");
+ $this->select("task", "label=Email - schedule/send via CiviMail");
$this->clickLink("Go");
//-------select recipients----------
$this->click('CIVICRM_QFID_ts_all_12');
// Perform a task action
- $this->select("task", "label=Send SMS to Contacts");
+ $this->select("task", "label=SMS - schedule/send");
$this->clickLink("Go", 'activity_subject');
$this->type('activity_subject', "Send SMS to Contacts of {$smsGroupName}");
$this->type('text_message', "Test SMS to Contacts of {$smsGroupName}");
// Select the task action to export.
$this->click("task");
- $this->select("task", "label=Export Contacts");
+ $this->select("task", "label=Export contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
$csvFile = $this->downloadCSV("_qf_Select_next-bottom");
// Is contact present in search result?
$this->assertElementContainsText('css=div.crm-search-results', $childSortName, "Contact did not found in search result!");
- // select to export all the contasct from search result.
+ // select to export all the contacts from search result.
$this->click("CIVICRM_QFID_ts_all_4");
// Select the task action to export.
$this->click("task");
- $this->select("task", "label=Export Contacts");
+ $this->select("task", "label=Export contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
$csvFile = $this->downloadCSV("_qf_Select_next-bottom");
// Select the task action to export.
$this->click("task");
- $this->select("task", "label=Export Contacts");
+ $this->select("task", "label=Export contacts");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("CIVICRM_QFID_2_10");
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');
- $this->select('task', "label=Batch Update via Profile");
+ $this->select('task', "label=Batch update contacts via profile");
$this->waitForElementPresent('_qf_PickProfile_next');
$this->waitForElementPresent('uf_group_id');
$this->select('uf_group_id', "label={$profileTitle}");
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');
- $this->select('task', "label=Batch Update via Profile");
+ $this->select('task', "label=Batch update contacts via profile");
$this->waitForElementPresent('_qf_PickProfile_next');
$this->select('uf_group_id', "label={$profileTitle}");
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');
- $this->select('task', "label=Batch Update via Profile");
+ $this->select('task', "label=Batch update contacts via profile");
$this->waitForElementPresent('_qf_PickProfile_next');
$this->select('uf_group_id', "label={$profileTitle}");