@ -70,13 +70,16 @@ if (isset($_GET['isStudentView'])) {
if ( (isset($_GET['selectcat']) & & $_GET['selectcat']>0) & & (isset($_SESSION['studentview']) & & $_SESSION['studentview']=='studentview') ) {
Display :: display_header(get_lang('Details'));
// The settings here for the online editor are needed and they are specific for the introduction section.
// Please, preserve them.
//Introduction tool: student view
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '300';
$fck_attribute['ToolbarSet'] = 'Gradebook';
Display::display_introduction_section(TOOL_GRADEBOOK);
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
//
$category= $_GET['selectcat'];
$stud_id=api_get_user_id();
$course_code=api_get_course_id();
@ -94,13 +97,16 @@ if ( (isset($_GET['selectcat']) && $_GET['selectcat']>0) && (isset($_SESSION['st
if ( !isset($_GET['selectcat']) & & ($_SESSION['studentview']=='studentview') || (isset($_GET['isStudentView']) & & $_GET['isStudentView']=='true') ) {
// if ( !isset($_GET['selectcat']) & & ($_SESSION['studentview']=='studentview') & & ($status< >1 & & !api_is_platform_admin()) || (isset($_GET['isStudentView']) & & $_GET['isStudentView']=='true' & & $status< >1 & & !api_is_platform_admin()) ) {
Display :: display_header(get_lang('Gradebook'));
// The settings here for the online editor are needed and they are specific for the introduction section.
// Please, preserve them.
//Introduction tool: student view
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '300';
$fck_attribute['ToolbarSet'] = 'Gradebook';
Display::display_introduction_section(TOOL_GRADEBOOK);
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
//
$stud_id=api_get_user_id();
$course_code=api_get_course_id();
$session_id=api_get_session_id();
@ -744,15 +750,13 @@ if (api_is_platform_admin() || api_is_allowed_to_create_course() || $status==1)
-----------------------------------------------------------
*/
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '300';
$fck_attribute['ToolbarSet'] = 'Gradebook';
Display::display_introduction_section(TOOL_GRADEBOOK);
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
//
// The settings here for the online editor are needed and they are specific for the introduction section.
// Please, preserve them.
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '300';
$fck_attribute['ToolbarSet'] = 'Gradebook';
Display::display_introduction_section(TOOL_GRADEBOOK);
$fck_attribute = null; // Clearing this global variable immediatelly after it has been used.
if ( (isset ($_GET['selectcat']) & & $_GET['selectcat']< >0) ) {
//