From 9bb805f3dc3441aed56ab4f5f03d4a7a67163925 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 18 Jul 2015 10:57:31 +0200 Subject: [PATCH] show profile url in contact-edit overview listing --- mod/contacts.php | 2 ++ view/templates/contact_edit.tpl | 1 + 2 files changed, 3 insertions(+) diff --git a/mod/contacts.php b/mod/contacts.php index ffb9f1a461..63dffab67f 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -605,6 +605,8 @@ function contacts_content(&$a) { '$alt_text' => $alt_text, '$sparkle' => $sparkle, '$url' => $url, + '$profileurllabel' => t('Profile URL'), + '$profileurl' => $contact['url'], )); diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl index 1b13dcdad7..06141081cb 100644 --- a/view/templates/contact_edit.tpl +++ b/view/templates/contact_edit.tpl @@ -20,6 +20,7 @@
  • {{$relation_text}}
  • {{/if}}
  • {{$nettype}}
  • +
  • {{$profileurllabel}}: {{$profileurl}}
  • {{if $lost_contact}}
  • {{$lost_contact}}
  • {{/if}}