From bbd2e4abc192afc48650713887a987ae4b55c25f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 17 Jul 2015 17:05:55 +0200 Subject: [PATCH 1/2] make the 'noshare' checkbox checked by default for photo upload --- view/templates/photos_upload.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/templates/photos_upload.tpl b/view/templates/photos_upload.tpl index 4431dd2805..aeb6e5957b 100644 --- a/view/templates/photos_upload.tpl +++ b/view/templates/photos_upload.tpl @@ -20,7 +20,7 @@
- +
From 9bb805f3dc3441aed56ab4f5f03d4a7a67163925 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 18 Jul 2015 10:57:31 +0200 Subject: [PATCH 2/2] 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}}