]> git.mxchange.org Git - friendica.git/commitdiff
Use the template for the header.
authorMichael Vogel <icarus@dabo.de>
Sun, 29 Nov 2015 22:33:32 +0000 (23:33 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 29 Nov 2015 22:33:32 +0000 (23:33 +0100)
mod/contacts.php

index c3720d2176540daaeb1fe0b14af8992b2018e722..6e1bbe05b8823975d93ddeca65d9c51d445ce86e 100644 (file)
@@ -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);