]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Issue 7285: Perform duplicate check for item URI also with AP
[friendica.git] / mod / videos.php
index 728a71bb5d70495bd6810c2a143e77f71294b78d..9e19ecf11744d4d53da9b6d163095007919b2e52 100644 (file)
@@ -49,7 +49,7 @@ function videos_init(App $a)
 
                $account_type = Contact::getAccountType($profile);
 
-               $tpl = Renderer::getMarkupTemplate("vcard-widget.tpl");
+               $tpl = Renderer::getMarkupTemplate("widget/vcard.tpl");
 
                $vcard_widget = Renderer::replaceMacros($tpl, [
                        '$name' => $profile['name'],
@@ -217,7 +217,7 @@ function videos_content(App $a)
 
        // tabs
        $_is_owner = (local_user() && (local_user() == $owner_uid));
-       $o .= Profile::getTabs($a, $_is_owner, $a->data['user']['nickname']);
+       $o .= Profile::getTabs($a, 'videos', $_is_owner, $a->data['user']['nickname']);
 
        //
        // dispatch request