From 3283cc9493cf3c11f15b85a1da45b8cc0c8b1da5 Mon Sep 17 00:00:00 2001 From: systopia Date: Fri, 23 May 2014 14:59:21 +0200 Subject: [PATCH] EventInfo: use a title and localized status names --- CRM/Event/Page/EventInfo.php | 4 ++-- templates/CRM/Event/Page/EventInfo.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Event/Page/EventInfo.php b/CRM/Event/Page/EventInfo.php index 051aa75805..fd0f1786e2 100644 --- a/CRM/Event/Page/EventInfo.php +++ b/CRM/Event/Page/EventInfo.php @@ -219,8 +219,8 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page { if (CRM_Core_Permission::check('view event participants') && CRM_Core_Permission::check('view all contacts') ) { - $statusTypes = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 1'); - $statusTypesPending = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 0'); + $statusTypes = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 1', 'label'); + $statusTypesPending = CRM_Event_PseudoConstant::participantStatus(NULL, 'is_counted = 0', 'label'); $findParticipants['statusCounted'] = implode(', ', array_values($statusTypes)); $findParticipants['statusNotCounted'] = implode(', ', array_values($statusTypesPending)); $this->assign('findParticipants', $findParticipants); diff --git a/templates/CRM/Event/Page/EventInfo.tpl b/templates/CRM/Event/Page/EventInfo.tpl index 716cae9155..47fa762740 100644 --- a/templates/CRM/Event/Page/EventInfo.tpl +++ b/templates/CRM/Event/Page/EventInfo.tpl @@ -64,11 +64,11 @@