';
echo '
'.Display::return_icon('compose_message.png', get_lang('ComposeMessage'), array(), 32).'';
diff --git a/main/messages/new_message.php b/main/messages/new_message.php
index 9b51af02e7..d562835155 100755
--- a/main/messages/new_message.php
+++ b/main/messages/new_message.php
@@ -20,7 +20,7 @@ require_once '../inc/global.inc.php';
api_block_anonymous_users();
-if (api_get_setting('allow_message_tool')!='true'){
+if (api_get_setting('allow_message_tool') !='true' ){
api_not_allowed();
}
@@ -288,15 +288,14 @@ function manage_form ($default, $select_from_user_list = null) {
/* MAIN SECTION */
if ($_GET['f']=='social') {
$this_section = SECTION_SOCIAL;
- $interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/social/home.php','name' => get_lang('Social'));
- $interbreadcrumb[]= array ('url' => '#','name' => $nameTools);
+ $interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/social/home.php','name' => get_lang('Social'));
} else {
$this_section = SECTION_MYPROFILE;
$interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/auth/profile.php','name' => get_lang('Profile'));
- $interbreadcrumb[]= array ('url' => 'inbox.php','name' => get_lang('Inbox'));
+ //$interbreadcrumb[]= array ('url' => '#','name' => get_lang('ComposeMessage'));
}
-Display::display_header('');
+Display::display_header(get_lang('ComposeMessage'));
$group_id = intval($_REQUEST['group_id']);
@@ -315,9 +314,12 @@ if ($group_id != 0) {
echo '
'.Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).' '.get_lang('ViewSharedProfile').'';
}
if (api_get_setting('allow_message_tool') == 'true') {
- echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+ // echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+ echo '
'.Display::return_icon('message_new.png',get_lang('ComposeMessage')).get_lang('ComposeMessage').'';
+ echo '
'.Display::return_icon('inbox.png',get_lang('Inbox')).get_lang('Inbox').'';
+ echo '
'.Display::return_icon('outbox.png',get_lang('Outbox')).get_lang('Outbox').'';
}
- echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
+ //echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
echo '
';
//LEFT COLUMN
if (api_get_setting('allow_social_tool') != 'true') {
$id_content_right = 'inbox';
- echo '';*/
} else {
require_once api_get_path(LIBRARY_PATH).'social.lib.php';
echo '
';
diff --git a/main/messages/outbox.php b/main/messages/outbox.php
index 032accd7f1..7f9b12a517 100755
--- a/main/messages/outbox.php
+++ b/main/messages/outbox.php
@@ -69,7 +69,7 @@ if ($_GET['f']=='social') {
} else {
$this_section = SECTION_MYPROFILE;
$interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/auth/profile.php','name' => get_lang('Profile'));
- $interbreadcrumb[]= array ('url' => '#','name' => get_lang('Inbox'));
+ $interbreadcrumb[]= array ('url' => '#','name' => get_lang('Outbox'));
}
Display::display_header('');
@@ -85,9 +85,14 @@ if ($_GET['f']=='social') {
echo '
'.Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).' '.get_lang('ViewSharedProfile').'';
}
if (api_get_setting('allow_message_tool') == 'true') {
- echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+ //echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+ echo '
'.Display::return_icon('message_new.png',get_lang('ComposeMessage')).get_lang('ComposeMessage').'';
+ echo '
'.Display::return_icon('inbox.png',get_lang('Inbox')).get_lang('Inbox').'';
+ echo '
'.Display::return_icon('outbox.png',get_lang('Outbox')).get_lang('Outbox').'';
+
+
}
- echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
+ //echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
echo '
';
}
}
@@ -118,13 +123,14 @@ echo '
';
//LEFT COLUMN
if (api_get_setting('allow_social_tool') != 'true') {
$id_content_right = 'outbox';
+ /*
echo '';
+ echo '
';*/
} else {
require_once api_get_path(LIBRARY_PATH).'social.lib.php';
$id_content_right = 'social-content-right';
diff --git a/main/messages/view_message.php b/main/messages/view_message.php
index ef091d7b2e..91916a9a0a 100755
--- a/main/messages/view_message.php
+++ b/main/messages/view_message.php
@@ -21,11 +21,10 @@ if ($_REQUEST['f']=='social') {
$interbreadcrumb[]= array ('url' => 'inbox.php?f=social','name' => get_lang('Inbox'));
} else {
$this_section = SECTION_MYPROFILE;
- $interbreadcrumb[]= array ('url' => '#','name' => get_lang('Profile'));
- $interbreadcrumb[]= array ('url' => 'inbox.php','name' => get_lang('Inbox'));
+ $interbreadcrumb[]= array ('url' => api_get_path(WEB_PATH).'main/auth/profile.php','name' => get_lang('Profile'));
}
-$interbreadcrumb[]= array ('url' => '#','name' => get_lang('View'));
-Display::display_header('');
+
+Display::display_header(get_lang('View'));
if ($_GET['f']=='social') {
$social_parameter = '?f=social';
@@ -37,9 +36,14 @@ if ($_GET['f']=='social') {
echo '
'.Display::return_icon('shared_profile.png', get_lang('ViewSharedProfile')).' '.get_lang('ViewSharedProfile').'';
}
if (api_get_setting('allow_message_tool') == 'true') {
- echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+ //echo '
'.Display::return_icon('inbox.png').' '.get_lang('Messages').'';
+
+ echo '
'.Display::return_icon('message_new.png',get_lang('ComposeMessage')).get_lang('ComposeMessage').'';
+ echo '
'.Display::return_icon('inbox.png',get_lang('Inbox')).get_lang('Inbox').'';
+ echo '
'.Display::return_icon('outbox.png',get_lang('Outbox')).get_lang('Outbox').'';
+
}
- echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
+ //echo '
'.Display::return_icon('edit.gif', get_lang('EditNormalProfile')).' '.get_lang('EditNormalProfile').'';
echo '
';
//LEFT COLUMN
if (api_get_setting('allow_social_tool') != 'true') {
$id_content_right = 'inbox';
- echo '';*/
} else {
require_once api_get_path(LIBRARY_PATH).'social.lib.php';
$id_content_right = 'social-content-right';
diff --git a/user_portal.php b/user_portal.php
index bbe60e8a41..b0f4ad2e45 100755
--- a/user_portal.php
+++ b/user_portal.php
@@ -560,7 +560,7 @@ if (api_get_setting('allow_social_tool') == 'true') {
$profile_content .= '