X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FParticipant.php;h=ef44f134932292c7e8f5184d86dc8d2b32f69754;hb=a4d42ed6184ae28d52b0273bcb53597b87605f26;hp=fdfb16e1d0f308860a2148505fafa05f4f531582;hpb=596805c692218355b1a2a3c80c21333b5f584638;p=civicrm-core.git diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index fdfb16e1d0..ef44f13493 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -218,8 +218,10 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task { if ($this->_contactId) { $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactId); $this->assign('displayName', $displayName); - // omitting contactImage from title for now since the summary overlay css doesn't work outside of our crm-container - CRM_Utils_System::setTitle(ts('Event Registration for') . ' ' . $displayName); + $this->setPageTitle(ts('Event Registration for %1', array(1 => $displayName))); + } + else { + $this->setPageTitle(ts('Event Registration')); } // check the current path, if search based, then dont get participantID