|
|
|
@ -12,6 +12,7 @@ $cidReset=true; |
|
|
|
|
require_once '../inc/global.inc.php'; |
|
|
|
|
|
|
|
|
|
api_block_anonymous_users(); |
|
|
|
|
|
|
|
|
|
if (api_get_setting('allow_social_tool') !='true') { |
|
|
|
|
api_not_allowed(); |
|
|
|
|
} |
|
|
|
@ -25,7 +26,7 @@ $interbreadcrumb[]= array ('url' =>'profile.php','name' => get_lang('SocialNetwo |
|
|
|
|
$interbreadcrumb[]= array ('url' =>'#','name' => get_lang('MyFiles')); |
|
|
|
|
|
|
|
|
|
$htmlHeadXtra[] = ' |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
function denied_friend (element_input) { |
|
|
|
|
name_button=$(element_input).attr("id"); |
|
|
|
@ -92,10 +93,8 @@ if (is_array($_GET) && count($_GET)>0) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$social_left_content = SocialManager::show_social_menu('myfiles'); |
|
|
|
|
if (isset($_GET['cidReq'])){ |
|
|
|
|
$social_right_content .='<div class="actions">'; |
|
|
|
|
$social_right_content .= '<a href="'.api_get_path(WEB_CODE_PATH).'document/document.php?cidReq='.Security::remove_XSS($_GET['cidReq']).'&id_session='.Security::remove_XSS($_GET['id_session']).'&gidReq='.Security::remove_XSS($_GET['gidReq']).'&id='.Security::remove_XSS($_GET['parent_id']).'">'.Display::return_icon('back.png',get_lang('BackTo').' '.get_lang('Documents').' ('.get_lang('Course').')').get_lang('BackTo').' '.get_lang('Documents').' ('.get_lang('Course').')</a>'; |
|
|
|
|
$social_right_content .= '</div>'; |
|
|
|
|
if (isset($_GET['cidReq'])){ |
|
|
|
|
$actions = '<a href="'.api_get_path(WEB_CODE_PATH).'document/document.php?cidReq='.Security::remove_XSS($_GET['cidReq']).'&id_session='.Security::remove_XSS($_GET['id_session']).'&gidReq='.Security::remove_XSS($_GET['gidReq']).'&id='.Security::remove_XSS($_GET['parent_id']).'">'.Display::return_icon('back.png',get_lang('BackTo').' '.get_lang('Documents').' ('.get_lang('Course').')').'</a>'; |
|
|
|
|
} |
|
|
|
|
$social_right_content .= '<div class="span9">'; |
|
|
|
|
$social_right_content .= '<iframe name="fileManager" id="fileManager" src="'.api_get_path(WEB_PATH).'main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajaxfilemanager.php?editor=stand_alone" scrolling="no" noresize="noresize" frameborder="no" style="height:450px; width:100%; float:left"></iframe>'; |
|
|
|
|