]> git.mxchange.org Git - friendica.git/blobdiff - mod/community.php
get markup template
[friendica.git] / mod / community.php
index a85a79c05106a4dc54e8dcde1b6e032b7374bcc5..36668817323c2357e0c5c1cf09748cc2f3c26a1c 100644 (file)
@@ -120,7 +120,7 @@ function community_content(App $a, $update = 0)
                        ];
                }
 
-               $tab_tpl = get_markup_template('common_tabs.tpl');
+               $tab_tpl = Renderer::getMarkupTemplate('common_tabs.tpl');
                $o .= Renderer::replaceMacros($tab_tpl, ['$tabs' => $tabs]);
 
                Nav::setSelected('community');
@@ -199,7 +199,7 @@ function community_content(App $a, $update = 0)
                $o .= $pager->renderMinimal(count($r));
        }
 
-       $t = get_markup_template("community.tpl");
+       $t = Renderer::getMarkupTemplate("community.tpl");
        return Renderer::replaceMacros($t, [
                '$content' => $o,
                '$header' => '',