Use the template for the header.

This commit is contained in:
Michael Vogel 2015-11-29 23:33:32 +01:00
부모 42d903dd68
커밋 a7ea6ef096
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -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);