);
if (empty($imagecrop)) {
- $tpl = get_markup_template('profile_photo.tpl');
+ $tpl = Renderer::getMarkupTemplate('profile_photo.tpl');
$o = Renderer::replaceMacros($tpl,
[
return $o;
} else {
$filename = $imagecrop['hash'] . '-' . $imagecrop['resolution'] . '.' . $imagecrop['ext'];
- $tpl = get_markup_template("cropbody.tpl");
+ $tpl = Renderer::getMarkupTemplate("cropbody.tpl");
$o = Renderer::replaceMacros($tpl,
[
'$filename' => $filename,
}
}
- $a->page['htmlhead'] .= Renderer::replaceMacros(get_markup_template("crophead.tpl"), []);
+ $a->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate("crophead.tpl"), []);
$imagecrop = [
'hash' => $hash,