aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-17 16:54:21 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-17 16:54:21 +0200
commita2dc8bad2ee2358b92b9efe626b527c3f12b2777 (patch)
treeb0e7148ef8b3f707e46dc716444186266334d9bc /mod
parentde44072172b7f56345041358a0be275b482e474c (diff)
downloadvolse-hubzilla-a2dc8bad2ee2358b92b9efe626b527c3f12b2777.tar.gz
volse-hubzilla-a2dc8bad2ee2358b92b9efe626b527c3f12b2777.tar.bz2
volse-hubzilla-a2dc8bad2ee2358b92b9efe626b527c3f12b2777.zip
fix tabs in notifications
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 9761a944d..3182a790c 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -88,10 +88,8 @@ function notifications_content(&$a) {
'sel'=> '',
),
);
- $tpl = get_markup_template('common_tabs.tpl');
- $tab_content = replace_macros($tpl, array('$tabs'=>$tabs));
-
-
+
+ $o = "";
if( (($a->argc > 1) && ($a->argv[1] == 'intros')) || (($a->argc == 1))) {
@@ -197,7 +195,7 @@ function notifications_content(&$a) {
$o .= replace_macros($notif_tpl,array(
'$notif_header' => t('Notifications'),
- '$tabs' => $tab_content,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
'$activetab' => 'intros'
));
@@ -284,7 +282,7 @@ function notifications_content(&$a) {
$o .= replace_macros($notif_tpl,array(
'$notif_header' => t('Notifications'),
- '$tabs' => $tab_content,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
'$activetab' => 'network'
));
@@ -361,7 +359,7 @@ function notifications_content(&$a) {
$o .= replace_macros($notif_tpl,array(
'$notif_header' => t('Notifications'),
- '$tabs' => $tab_content,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
'$activetab' => 'home'
));