From: Seamus Lee Date: Tue, 3 Jan 2023 01:54:11 +0000 (+1100) Subject: CiviEvent - Escape parameters in help text X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8debc870ccc47fc2b76369cfff262f0464b3d6b6;p=civicrm-core.git CiviEvent - Escape parameters in help text --- diff --git a/CRM/Event/Form/ManageEvent.php b/CRM/Event/Form/ManageEvent.php index 1de4476ef3..f630bd7ead 100644 --- a/CRM/Event/Form/ManageEvent.php +++ b/CRM/Event/Form/ManageEvent.php @@ -116,14 +116,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { $participantListingID = $eventInfo['participant_listing_id'] ?? NULL; //CRM_Core_DAO::getFieldValue( 'CRM_Event_DAO_Event', $this->_id, 'participant_listing_id' ); - if ($participantListingID) { - $participantListingURL = CRM_Utils_System::url('civicrm/event/participant', - "reset=1&id={$this->_id}", - TRUE, NULL, TRUE, TRUE - ); - $this->assign('participantListingURL', $participantListingURL); - } - + $this->assign('participantListingID', $participantListingID); $this->assign('isOnlineRegistration', CRM_Utils_Array::value('is_online_registration', $eventInfo)); $this->assign('id', $this->_id); diff --git a/templates/CRM/Contact/Form/Search/Basic.hlp b/templates/CRM/Contact/Form/Search/Basic.hlp index 5d84d1f7f7..9e95863300 100644 --- a/templates/CRM/Contact/Form/Search/Basic.hlp +++ b/templates/CRM/Contact/Form/Search/Basic.hlp @@ -20,7 +20,7 @@ {ts}Group Search{/ts} {/htxt} {htxt id="id-smog-criteria"} -

{ts 1=$params.group_title}Contacts in the %1 group are listed below.{/ts} +

{ts 1=$params.group_title|smarty:nodefaults|escape}Contacts in the %1 group are listed below.{/ts}