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

@@ -229,7 +229,7 @@ function register_content(App $a)
if (Config::get('system', 'publish_all')) {
$profile_publish = '<input type="hidden" name="profile_publish_reg" value="1" />';
} else {
$publish_tpl = get_markup_template("profile_publish.tpl");
$publish_tpl = Renderer::getMarkupTemplate("profile_publish.tpl");
$profile_publish = Renderer::replaceMacros($publish_tpl, [
'$instance' => 'reg',
'$pubdesc' => L10n::t('Include your profile in member directory?'),
@@ -245,7 +245,7 @@ function register_content(App $a)
$license = '';
$tpl = get_markup_template("register.tpl");
$tpl = Renderer::getMarkupTemplate("register.tpl");
$arr = ['template' => $tpl];