Browse Source

Fix style of social network - refs #7304

aragonc 10 years ago
parent
commit
0333b1ba4a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/inc/lib/social.lib.php

+ 2 - 2
main/inc/lib/social.lib.php

@@ -622,7 +622,7 @@ class SocialManager extends UserManager
         $total_invitations = (!empty($total_invitations) ? Display::badge($total_invitations) : '');
         $showUserImage = user_is_online($user_id) || api_is_platform_admin();
 
-        $html = '<div class="social-menu">';
+        $html = '<div>';
         if (in_array($show, $show_groups) && !empty($group_id)) {
             //--- Group image
             $group_info = GroupPortalManager::get_group_data($group_id);
@@ -661,8 +661,8 @@ class SocialManager extends UserManager
                 $html .= '<a href="'.api_get_path(WEB_PATH).'main/auth/profile.php">'.get_lang('EditProfile').'</a></div>';
             }
             $html .= '</div>';
-            $html .= '</div>';
         }
+        $html .= '</div>';
         return $html;
     }