diff options
author | Friendika <info@friendika.com> | 2010-12-25 15:01:02 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-25 15:01:02 -0800 |
commit | f6556e0a720bb3de29107520464aa4de242e1631 (patch) | |
tree | dfe09eba4c994669333977243f9e906871d8f2c9 /mod/directory.php | |
parent | d6a75a0391bfe2021cca0bba9f054044ef79cab7 (diff) | |
download | volse-hubzilla-f6556e0a720bb3de29107520464aa4de242e1631.tar.gz volse-hubzilla-f6556e0a720bb3de29107520464aa4de242e1631.tar.bz2 volse-hubzilla-f6556e0a720bb3de29107520464aa4de242e1631.zip |
more plugin hooks
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); |