aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php14
1 files changed, 8 insertions, 6 deletions
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 .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '</h2>';