mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
get markup template
implement getMarkupTemplate function
This commit is contained in:
parent
91facd2d0a
commit
35abc4bb64
89 changed files with 243 additions and 243 deletions
|
@ -300,16 +300,16 @@ class Login extends BaseModule
|
|||
}
|
||||
|
||||
if (local_user()) {
|
||||
$tpl = get_markup_template('logout.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('logout.tpl');
|
||||
} else {
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros(
|
||||
get_markup_template('login_head.tpl'),
|
||||
Renderer::getMarkupTemplate('login_head.tpl'),
|
||||
[
|
||||
'$baseurl' => $a->getBaseURL(true)
|
||||
]
|
||||
);
|
||||
|
||||
$tpl = get_markup_template('login.tpl');
|
||||
$tpl = Renderer::getMarkupTemplate('login.tpl');
|
||||
$_SESSION['return_path'] = $return_path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue