aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-21 15:41:00 -0700
committerfriendica <info@friendica.com>2013-03-21 15:41:00 -0700
commitb3417e485486a1aee7a3a21a17e52026bd8330a4 (patch)
treeeaa7d7fcffabd4b5d107f4dacc2e728e84ed2945 /mod/network.php
parent02eb9aa521a17df8aef4af25bb7c68dd495ed395 (diff)
downloadvolse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.tar.gz
volse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.tar.bz2
volse-hubzilla-b3417e485486a1aee7a3a21a17e52026bd8330a4.zip
main_slider hook
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php5
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);