]> git.mxchange.org Git - friendica.git/blobdiff - mod/common.php
Merge remote-tracking branch 'upstream/master' into develop
[friendica.git] / mod / common.php
index 0a84dc56cd89d1e7691dbdf88634b2c22b6e95a6..0f9bc096a27cfbc36acdd6584d448d6c6757622d 100644 (file)
@@ -49,7 +49,7 @@ function common_content(App $a)
                $contact = DBA::selectFirst('contact', ['name', 'url', 'photo', 'uid', 'id'], ['self' => true, 'uid' => $uid]);
 
                if (DBA::isResult($contact)) {
-                       $vcard_widget = Renderer::replaceMacros(get_markup_template("vcard-widget.tpl"), [
+                       $vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate("vcard-widget.tpl"), [
                                '$name'  => htmlentities($contact['name']),
                                '$photo' => $contact['photo'],
                                'url'    => 'contact/' . $cid
@@ -143,7 +143,7 @@ function common_content(App $a)
                $title = L10n::t('Common Friends');
        }
 
-       $tpl = get_markup_template('viewcontact_template.tpl');
+       $tpl = Renderer::getMarkupTemplate('viewcontact_template.tpl');
 
        $o .= Renderer::replaceMacros($tpl, [
                '$title'    => $title,