Use the template for the header.

This commit is contained in:
Michael Vogel 2015-11-29 23:33:32 +01:00
bovenliggende 42d903dd68
commit a7ea6ef096
1 gewijzigde bestanden met toevoegingen van 5 en 2 verwijderingen

Bestand weergeven

@ -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 = "<h2>".htmlentities($header)."</h2>".$tab_str;
$o .= $tab_str;
$o .= conversation($a,$r,'community',false);