get markup template
implement getMarkupTemplate function
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user