|
|
|
|
@ -94,14 +94,20 @@ if (is_array($_GET) && count($_GET)>0) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$social_left_content = SocialManager::show_social_menu('myfiles'); |
|
|
|
|
$social_right_content .= '<a href=""></a>';//TODO: hack and delete this line |
|
|
|
|
$social_right_content .= '<br />'; |
|
|
|
|
$social_right_content .= '<table><tr><td><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:700px; float:left"></iframe></td></tr></table>'; |
|
|
|
|
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>'; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
$social_right_content .= '<a href=""></a>';//TODO: hack and delete this line |
|
|
|
|
$social_right_content .= '<br />'; |
|
|
|
|
} |
|
|
|
|
$social_right_content .= '<table><tr><td><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:700px; float:left"></iframe></td></tr></table>'; |
|
|
|
|
$social_right_content .= '</div>'; |
|
|
|
|
$social_right_content .= '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$tpl = new Template(get_lang('Social')); |
|
|
|
|
$tpl->assign('social_left_content', $social_left_content); |
|
|
|
|
$tpl->assign('social_left_menu', $social_left_menu); |
|
|
|
|
|