$deletedParticipants += $additionalCount;
}
- $status = array(
- ts('Participant(s) Deleted: %1', array(1 => $deletedParticipants)),
- ts('Total Selected Participant(s): %1', array(1 => $deletedParticipants)),
- );
-
-
+ $status = array(ts('Participant(s) Deleted: %1 (Total Selected: %2)', array(1 => $deletedParticipants, 2 => count($this->_participantIds))));
if (!empty($participantLinks)) {
$status[] = ts('The following participants no longer have an event fee recorded. You can edit their registration and record a replacement contribution by clicking the links below:') . '<br>' . $participantLinks;
}
- CRM_Core_Session::setStatus($status);
+ foreach ($status as $text) {
+ CRM_Core_Session::setStatus($text, '', 'info');
+ }
}
}
}
}
- CRM_Core_Session::setStatus(ts('Updated Grant(s): %1', array(1 => $updatedGrants)), '', 'info');
- CRM_Core_Session::setStatus(ts('Total Selected Grant(s): %1', array(1 => count($this->_grantIds))), '', 'info');
+ $status = ts('Updated Grant(s): %1 (Total Selected: %2)', array(1 => $updatedGrants, 2 => count($this->_grantIds)));
+ CRM_Core_Session::setStatus($status, '', 'info');
CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/grant/search', 'force=1&qfKey=' . $qfKey));
}
}
}
}
- $status = array(
- ts('Deleted Pledge(s): %1', array(1 => $deletedPledges)),
- ts('Total Selected Pledge(s): %1', array(1 => count($this->_pledgeIds))),
- );
+ $status = ts('Deleted Pledge(s): %1 (Total Selected: %2) ', array(1 => $deletedPledges, 2 => count($this->_pledgeIds)));
CRM_Core_Session::setStatus($status, '', 'info');
}
}