get markup template
implement getMarkupTemplate function
This commit is contained in:
@@ -899,7 +899,7 @@ class Event extends BaseObject
|
||||
// Construct the profile link (magic-auth).
|
||||
$profile_link = Contact::magicLinkById($item['author-id']);
|
||||
|
||||
$tpl = get_markup_template('event_stream_item.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('event_stream_item.tpl');
|
||||
$return = Renderer::replaceMacros($tpl, [
|
||||
'$id' => $item['event-id'],
|
||||
'$title' => prepare_text($item['event-summary']),
|
||||
|
||||
Reference in New Issue
Block a user