get markup template
implement getMarkupTemplate function
This commit is contained in:
+2
-2
@@ -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' => '',
|
||||
|
||||
Reference in New Issue
Block a user