diff options
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/directory.php b/mod/directory.php index 8e31144a9..b105bf787 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -11,11 +11,15 @@ function directory_content(&$a) { $r = q("SELECT * FROM `profile` WHERE `default` = 1 AND `publish` = 1"); if(count($r)) { - $tpl = file_get_contents('view/directory_item'); + $tpl = file_get_contents('view/directory_item.tpl'); foreach($r as $rr) { - $o .= directory_block($a,$rr,$tpl); + $o .= expand_macros($tpl,array( + + + + )); } } |