]> git.mxchange.org Git - friendica.git/blobdiff - mod/content.php
Merge pull request #1619 from rabuzarus/block-local-dir
[friendica.git] / mod / content.php
index 1e44bf160c508e2e13f6e3078c7fa2d53eaa03a5..e20345307d9b9b74644485e7bc5d5df3dbcbef8f 100644 (file)
@@ -131,7 +131,9 @@ function content_content(&$a, $update = 0) {
                }
 
                $sql_extra = " AND `item`.`parent` IN ( SELECT DISTINCT(`parent`) FROM `item` WHERE 1 $sql_options AND ( `contact-id` IN ( $contact_str ) OR `allow_gid` like '" . protect_sprintf('%<' . intval($group) . '>%') . "' ) and deleted = 0 ) ";
-               $o = '<h2>' . t('Group: ') . $r[0]['name'] . '</h2>' . $o;
+               $o = replace_macros(get_markup_template("section_title.tpl"),array(
+                       '$title' => sprintf( t('Group: %s'), $r[0]['name'])
+               )) . $o;
        }
        elseif($cid) {