From 21237ddba603640e4eadd9ca18d4fd5f37b92bdf Mon Sep 17 00:00:00 2001 From: FlxAlbroscheit Date: Tue, 10 Mar 2015 22:44:57 +0100 Subject: [PATCH 1/2] Give access to contact's profile-URL --- mod/contacts.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/contacts.php b/mod/contacts.php index a3263f395..570672d4e 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -32,7 +32,8 @@ function contacts_init(&$a) { $a->data['contact'] = $r[0]; $vcard_widget = replace_macros(get_markup_template("vcard-widget.tpl"),array( '$name' => $a->data['contact']['name'], - '$photo' => $a->data['contact']['photo'] + '$photo' => $a->data['contact']['photo'], + '$url' => $a->data['contact']['url'] )); $follow_widget = ''; } From 82359bb6ccd5a4f04ab2d352b5e0388c44a96c6b Mon Sep 17 00:00:00 2001 From: FlxAlbroscheit Date: Tue, 10 Mar 2015 22:47:38 +0100 Subject: [PATCH 2/2] Give access to contact's profile-URL --- view/templates/vcard-widget.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/vcard-widget.tpl b/view/templates/vcard-widget.tpl index 983a8e9e3..bc1a571be 100644 --- a/view/templates/vcard-widget.tpl +++ b/view/templates/vcard-widget.tpl @@ -1,6 +1,6 @@
-
{{$name}}
-
{{$name}}
+ +
{{$name}}