'survey_list.php', 'name' => get_lang('SurveyList')); $interbreadcrumb[] = array('url' => 'survey.php?survey_id='.$survey_id, 'name' => strip_tags($survey_data['title'])); Display::display_header(get_lang('Survey'), 'Survey'); if (!survey_manager::survey_generation_hash_available()) { api_not_allowed(true); } $link = survey_manager::generate_survey_link($survey_id, api_get_course_int_id(), api_get_session_id(), api_get_group_id()); echo '
'; echo '
'; echo Display::url(get_lang('GenerateSurveyLink'), $link, array('class' => 'btn btn-primary btn-large')); echo '
'; echo '
'; echo get_lang('GenerateSurveyLinkExplanation'); echo '
';
    echo  $link;
    echo '
'; echo '
'; echo '
';