]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Using random_int directly
[friendica.git] / mod / fbrowser.php
index e1e4dc572f697820d3aee95c4946cef5a218cc12..cc51d41995301def0f1fe7f7a43ed910da538aa2 100644 (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(),