From 7acb0685904bd66cd89ef15e181148d31c6813dc Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 2 May 2017 18:24:18 -0700 Subject: profile_sidebar hook ignored the updated html content --- include/channel.php | 3 +- view/tpl/diaspora_vcard.tpl | 69 --------------------------------------------- 2 files changed, 2 insertions(+), 70 deletions(-) delete mode 100644 view/tpl/diaspora_vcard.tpl diff --git a/include/channel.php b/include/channel.php index 890bb8bd6..6220ff179 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1196,7 +1196,8 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa call_hooks('profile_sidebar', $arr); - return $o; + return $arr['entry']; + } diff --git a/view/tpl/diaspora_vcard.tpl b/view/tpl/diaspora_vcard.tpl deleted file mode 100644 index 017eb555c..000000000 --- a/view/tpl/diaspora_vcard.tpl +++ /dev/null @@ -1,69 +0,0 @@ -
-
-
Uid
-
- {{$diaspora.guid}} -
-
-
-
Nickname
-
- {{$diaspora.nickname}} -
-
-
-
Full name
-
- {{$diaspora.fullname}} -
-
- -
-
First name
-
- {{$diaspora.firstname}} -
-
-
-
Family name
-
- {{$diaspora.lastname}} -
-
-
-
URL
-
- {{$diaspora.podloc}}/ -
-
-
-
Photo
-
- -
-
-
-
Photo
-
- -
-
-
-
Photo
-
- -
-
-
-
Searchable
-
- {{$diaspora.searchable}} -
-
-
-
Key
-
-
{{$diaspora.pubkey}}
-
-
-
-- cgit v1.2.3