diff options
author | root <root@diekershoff.homeunix.net> | 2010-12-26 08:18:10 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2010-12-26 08:18:10 +0100 |
commit | 3208d6afcbcf6e74ca5d0ac30be1559327e00bf9 (patch) | |
tree | c940d0870729dbeb70845a96f36a6a15926dd9f2 /mod/directory.php | |
parent | c6a93d5cec05e9282b2f2d26fdfbc93175ed2b06 (diff) | |
parent | 10dda88684331366b10967981e661acf5b229ac6 (diff) | |
download | volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.tar.gz volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.tar.bz2 volse-hubzilla-3208d6afcbcf6e74ca5d0ac30be1559327e00bf9.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php index 49aac657c..062aae516 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -83,7 +83,7 @@ function directory_content(&$a) { if(strlen($rr['gender'])) $details .= '<br />Gender: ' . $rr['gender']; - $o .= replace_macros($tpl,array( + $entry = replace_macros($tpl,array( '$id' => $rr['id'], '$profile-link' => $profile_link, '$photo' => $rr[$photo], @@ -94,7 +94,14 @@ function directory_content(&$a) { )); + $arr = array('contact' => $rr, 'entry' => $entry); + + call_hooks('directory_item', $arr); + + $o .= $entry; + } + $o .= "<div class=\"directory-end\" ></div>\r\n"; $o .= paginate($a); |