';
+ echo '
';
echo SocialManager::show_social_menu('home', null, api_get_user_id(), false, $show_delete_account_button);
echo '
';
- echo '
';
+ echo '
';
$form->display();
echo '
';
} else {
diff --git a/main/messages/inbox.php b/main/messages/inbox.php
index be7cb1d725..7fa1580d9e 100755
--- a/main/messages/inbox.php
+++ b/main/messages/inbox.php
@@ -18,6 +18,7 @@ if (isset($_GET['messages_page_nr'])) {
}
if (api_get_setting('allow_social_tool') == 'true' && api_get_setting('allow_message_tool') == 'true') {
header('Location:inbox.php'.$social_link);
+ exit;
}
}
if (api_get_setting('allow_message_tool') != 'true') {
@@ -137,7 +138,7 @@ if (api_get_setting('allow_social_tool') == 'true') {
$social_right_content = null;
if (api_get_setting('allow_social_tool') == 'true') {
- $social_right_content .= '
';
+ $social_right_content .= '
';
$social_right_content .= '