From 3338f3c5b2be8c70725d0bc930f716e25ffe50ad Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 7 Aug 2016 20:16:14 -0700 Subject: diaspora vcard updates --- include/channel.php | 1 + view/tpl/diaspora_vcard.tpl | 16 +++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/include/channel.php b/include/channel.php index ff2cf24d8..62c35e3ff 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1069,6 +1069,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa $diaspora = array( 'podloc' => z_root(), 'guid' => $profile['channel_guid'] . str_replace('.','',App::get_hostname()), + 'pubkey' => pemtorsa($profile['channel_pubkey']), 'searchable' => (($block) ? 'false' : 'true'), 'nickname' => $profile['channel_address'], 'fullname' => $profile['channel_name'], diff --git a/view/tpl/diaspora_vcard.tpl b/view/tpl/diaspora_vcard.tpl index 3812823da..017eb555c 100644 --- a/view/tpl/diaspora_vcard.tpl +++ b/view/tpl/diaspora_vcard.tpl @@ -8,7 +8,7 @@
Nickname
- {{$diaspora.nickname}} + {{$diaspora.nickname}}
@@ -33,25 +33,25 @@
URL
- {{$diaspora.podloc}}/ + {{$diaspora.podloc}}/
Photo
- +
Photo
- +
Photo
- +
@@ -60,4 +60,10 @@ {{$diaspora.searchable}}
+
+
Key
+
+
{{$diaspora.pubkey}}
+
+
-- cgit v1.2.3