case 'Contribute':
$attributes = $this->getVar('_attributes');
$subPage = CRM_Utils_Request::retrieveComponent($attributes);
- $subPageName = ucfirst($subPage);
if ($subPage == 'friend') {
$nextPage = 'custom';
}
case 'MembershipBlock':
$subPage = 'membership';
- $subPageName = 'MembershipBlock';
$nextPage = 'thankyou';
break;
default:
$subPage = strtolower($className);
- $subPageName = $className;
$nextPage = strtolower($nextPage);
if ($subPage == 'amount') {
}
CRM_Core_Session::setStatus(ts("'%1' information has been saved.",
- array(1 => $subPageName)
+ array(1 => CRM_Utils_Array::value('title', CRM_Utils_Array::value($subPage, $this->get('tabHeader')), $className))
), ts('Saved'), 'success');
$this->postProcessHook();