]> git.mxchange.org Git - friendica.git/commitdiff
fix tabs in notifications
authorFabio Comuni <fabrix.xm@gmail.com>
Mon, 17 Oct 2011 14:54:21 +0000 (16:54 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Mon, 17 Oct 2011 14:54:21 +0000 (16:54 +0200)
mod/notifications.php

index 9761a944d7a4d1125f9bf4df9738852388e56549..3182a790c6f93bb2104deda92c40cb711751d89a 100644 (file)
@@ -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'
                ));