'profile.php', 'name' => get_lang('SocialNetwork') ); $interbreadcrumb[] = array('url' => '#', 'name' => get_lang('MyFiles')); $htmlHeadXtra[] = ' '; // Social Menu Block $social_menu_block = SocialManager::show_social_menu('myfiles'); $actions = null; if (isset($_GET['cidReq'])) { $actions = '' . Display::return_icon( 'back.png', get_lang('BackTo') . ' ' . get_lang('Documents') . ' (' . get_lang('Course') . ')' ) . ''; } $tpl = Container::getTwig(); SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'myfiles'); $tpl->addGlobal('course_id', ''); $tpl->addGlobal('session_id', ''); $tpl->addGlobal('social_right_content', ''); $tpl->addGlobal('social_menu_block', $social_menu_block); $tpl->addGlobal('actions', $actions); echo $tpl->render('@template_style/social/myfiles.html.twig');