';
/*
MAIN CODE
*/
//$nameTools = get_lang('Messages');
//api_display_tool_title(api_xml_http_response_encode(get_lang('Inbox')));
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' => get_lang('Outbox'));
} 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'));
}
Display::display_header('');
if ($_GET['f']=='social') {
} else {
if (api_get_setting('extended_profile') == 'true') {
echo '
';
$id_content_right = '';
//LEFT COLUMN
if (api_get_setting('allow_social_tool') != 'true') {
$id_content_right = 'outbox';
echo '';
} else {
require_once api_get_path(LIBRARY_PATH).'social.lib.php';
$id_content_right = 'social-content-right';
echo '
';
//this include the social menu div
SocialManager::show_social_menu('messages_outbox');
echo '
';
}
echo '
';
if (api_get_setting('allow_social_tool') == 'true'){
echo '
';
echo '
'.Display::return_icon('content-post-group1.jpg',get_lang('Outbox')).'
';
echo '
';
}
//MAIN CONTENT
if ($_REQUEST['action']=='delete') {
$delete_list_id=array();
if (isset($_POST['out'])) {
$delete_list_id=$_POST['out'];
}
if (isset($_POST['id'])) {
$delete_list_id=$_POST['id'];
}
for ($i=0;$i';
echo '
';
}
echo '
';
echo '
';
/*
FOOTER
*/
Display::display_footer();
?>
'; 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 '
'; echo '