From 6402fa11703b094426ed99f53f04ad8e9fbbbf90 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 19 Jul 2012 03:59:32 -0700 Subject: dynamic load on slider change + delay to settle --- mod/network.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'mod') diff --git a/mod/network.php b/mod/network.php index bb4c3e419..99c0f746f 100644 --- a/mod/network.php +++ b/mod/network.php @@ -338,12 +338,6 @@ function network_content(&$a, $update = 0) { set_pconfig( local_user(), 'network.view','tab.selected',array($all_active, $postord_active, $conv_active, $new_active, $starred_active, $bookmarked_active, $spam_active) ); } - $arr = array('tabs' => $tabs); - call_hooks('network_tabs', $arr); - - $o .= replace_macros(get_markup_template('common_tabs.tpl'), array('$tabs'=> $arr['tabs'])); - - // --- end item filter tabs @@ -401,6 +395,14 @@ function network_content(&$a, $update = 0) { '$world' => t('Everybody') )); + $arr = array('tabs' => $tabs); + call_hooks('network_tabs', $arr); + + $o .= replace_macros(get_markup_template('common_tabs.tpl'), array('$tabs'=> $arr['tabs'])); + + // --- end item filter tabs + + // search terms header if($search) $o .= '

' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '

'; -- cgit v1.2.3