get markup template

implement getMarkupTemplate function
This commit is contained in:
Adam Magness 2018-10-31 10:44:06 -04:00
parent 91facd2d0a
commit 35abc4bb64
89 changed files with 243 additions and 243 deletions

View file

@ -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']),