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

@ -120,7 +120,7 @@ function community_content(App $a, $update = 0)
];
}
$tab_tpl = get_markup_template('common_tabs.tpl');
$tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
$o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs]);
Nav::setSelected('community');
@ -199,7 +199,7 @@ function community_content(App $a, $update = 0)
$o .= $pager->renderMinimal(count($r));
}
$t = get_markup_template("community.tpl");
$t = Renderer::getMarkupTemplate("community.tpl");
return Renderer::replaceMacros($t, [
'$content' => $o,
'$header' => '',