1
1
Fork 0

get markup template

implement getMarkupTemplate function
This commit is contained in:
Adam Magness 2018-10-31 10:44:06 -04:00
commit 35abc4bb64
89 changed files with 243 additions and 243 deletions

View file

@ -94,7 +94,7 @@ function fbrowser_content(App $a)
}
$files = array_map("_map_files1", $r);
$tpl = get_markup_template($template_file);
$tpl = Renderer::getMarkupTemplate($template_file);
$o = Renderer::replaceMacros($tpl, [
'$type' => 'image',
@ -126,7 +126,7 @@ function fbrowser_content(App $a)
$files = array_map("_map_files2", $files);
$tpl = get_markup_template($template_file);
$tpl = Renderer::getMarkupTemplate($template_file);
$o = Renderer::replaceMacros($tpl, [
'$type' => 'file',
'$baseurl' => System::baseUrl(),