|
|
|
@ -35,6 +35,11 @@ include_once ('../inc/global.inc.php'); |
|
|
|
|
require_once '../messages/message.class.php'; |
|
|
|
|
include_once(api_get_path(LIBRARY_PATH).'/message.lib.php'); |
|
|
|
|
api_block_anonymous_users(); |
|
|
|
|
if (isset($_GET['messages_page_nr'])) { |
|
|
|
|
if (api_get_setting('allow_social_tool')=='true' && api_get_setting('allow_message_tool')=='true') { |
|
|
|
|
header('Location:../social/index.php?pager="'.$_GET['messages_page_nr'].'"&remote=2#remote-tab-2'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (api_get_setting('allow_message_tool')!='true'){ |
|
|
|
|
api_not_allowed(); |
|
|
|
|
} |
|
|
|
@ -64,7 +69,6 @@ function deselect_all(formita) |
|
|
|
|
//--> |
|
|
|
|
</script>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
============================================================================== |
|
|
|
|
MAIN CODE |
|
|
|
|