Skip to content
Snippets Groups Projects
Commit f5ea9580 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

add only supported event tokens, CRM-13329

----------------------------------------
* CRM-13329: Add 2 more rows to the Badge Layout form (for a total of 6 rows)
  http://issues.civicrm.org/jira/browse/CRM-13329
parent 4cb8f020
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,12 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form {
// get the tokens
$contactTokens = CRM_Core_SelectValues::contactTokens();
$eventTokens = CRM_Core_SelectValues::eventTokens();
$eventTokens = array(
'{event.event_id}' => ts('Event ID'),
'{event.title}' => ts('Event Title'),
'{event.start_date}' => ts('Event Start Date'),
'{event.end_date}' => ts('Event End Date')
);
$participantTokens = CRM_Core_SelectValues::participantTokens();
$tokens = array_merge($contactTokens, $eventTokens, $participantTokens);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment