From f43ad29499df6960844a15cf276079a21de406bd Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Wed, 20 Apr 2016 19:32:19 +0200 Subject: [PATCH] replace pm & poke links in contact_photo_menu and use js for modal instead --- templates/contact_template.tpl | 2 ++ templates/contacts-template.tpl | 4 ++-- theme.php | 35 ++++++++++++++++++++++++++++++++- 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/templates/contact_template.tpl b/templates/contact_template.tpl index 21241d0ab0..31d7971ac3 100644 --- a/templates/contact_template.tpl +++ b/templates/contact_template.tpl @@ -22,6 +22,8 @@ {{foreach $contact.photo_menu as $c}} {{if $c.2}}
  • {{$c.0}}
  • + {{elseif $c.3}} +
  • {{$c.0}}
  • {{else}}
  • {{$c.0}}
  • {{/if}} diff --git a/templates/contacts-template.tpl b/templates/contacts-template.tpl index e33855b6d5..9c5b0498c4 100644 --- a/templates/contacts-template.tpl +++ b/templates/contacts-template.tpl @@ -74,8 +74,8 @@ this needs to be removed and do it with js *}}