From a7ea6ef09639a76a04ebb9d68360144f65264a00 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 29 Nov 2015 23:33:32 +0100 Subject: [PATCH] Use the template for the header. --- mod/contacts.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mod/contacts.php b/mod/contacts.php index c3720d2176..6e1bbe05b8 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -908,9 +908,12 @@ function contact_posts($a, $contact_id) { $header .= " (".network_to_name($contact['network'], $contact['url']).")"; -//{{include file="section_title.tpl"}} + $tpl = get_markup_template("section_title.tpl"); + $o = replace_macros($tpl,array( + '$title' => htmlentities($header) + )); - $o = "

".htmlentities($header)."

".$tab_str; + $o .= $tab_str; $o .= conversation($a,$r,'community',false);