Browse Source

Merge pull request #1116 from aragonc/1.10.x

fix link unsubscribe social BT#7683
Alex Aragon Calixto 9 years ago
parent
commit
92bd9b577f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      main/inc/lib/social.lib.php

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

@@ -976,7 +976,8 @@ class SocialManager extends UserManager
         }
 
         if ($show_delete_account_button) {
-            $html .= '<div class="sidebar-nav"><ul><li>';
+            $html .= '<div class="panel panel-default"><div class="panel-body">';
+            $html .= '<ul class="nav nav-pills nav-stacked"><li>';
             $url = api_get_path(WEB_CODE_PATH).'auth/unsubscribe_account.php';
             $html .= Display::url(
                 Display::return_icon(
@@ -987,7 +988,8 @@ class SocialManager extends UserManager
                 ).get_lang('Unsubscribe'),
                 $url
             );
-            $html .= '</li></ul></div>';
+            $html .= '</li></ul>';
+            $html .= '</div></div>';
         }
         $html .= '';