From: Michael Vogel Date: Sun, 29 Nov 2015 22:33:32 +0000 (+0100) Subject: Use the template for the header. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a7ea6ef09639a76a04ebb9d68360144f65264a00;p=friendica.git Use the template for the header. --- 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);