diff options
author | friendica <info@friendica.com> | 2013-03-21 15:41:00 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-03-21 15:41:00 -0700 |
commit | b3417e485486a1aee7a3a21a17e52026bd8330a4 (patch) | |
tree | eaa7d7fcffabd4b5d107f4dacc2e728e84ed2945 | |
parent | 02eb9aa521a17df8aef4af25bb7c68dd495ed395 (diff) | |
download | volse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.tar.gz volse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.tar.bz2 volse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.zip |
main_slider hook
-rw-r--r-- | mod/network.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index dae9fa6be..d98a05404 100644 --- a/mod/network.php +++ b/mod/network.php @@ -369,7 +369,7 @@ function network_content(&$a, $update = 0, $load = false) { if(feature_enabled(local_user(),'affinity')) { $tpl = get_markup_template('main_slider.tpl'); - $o .= replace_macros($tpl,array( + $x = replace_macros($tpl,array( '$val' => intval($cmin) . ';' . intval($cmax), '$refresh' => t('Refresh'), '$me' => t('Me'), @@ -380,6 +380,9 @@ function network_content(&$a, $update = 0, $load = false) { '$acquaintances' => t('Acquaintances'), '$world' => t('Everybody') )); + $arr = array('html' => $x); + call_hooks('main_slider',$arr); + $o .= $arr['html']; } $arr = array('tabs' => $tabs); |