diff --git a/main/exercice/exercise_history.php b/main/exercice/exercise_history.php index 9d2fb316cd..23bda2a92b 100755 --- a/main/exercice/exercise_history.php +++ b/main/exercice/exercise_history.php @@ -25,9 +25,9 @@ if (!$is_allowedToEdit){ exit; } -$interbreadcrumb[]= array ('url' => 'exercise_report.php','name' => get_lang('Exercises')); -$interbreadcrumb[]= array ('url' => 'exercise_report.php'.'?filter=2','name' => get_lang('StudentScore')); -$interbreadcrumb[]= array ('url' => 'exercise_history.php'.'?exe_id='.intval($_GET['exe_id']), 'name' => get_lang('Details')); +$interbreadcrumb[]= array ('url' => 'exercise_report.php?'.api_get_cidreq(),'name' => get_lang('Exercises')); +$interbreadcrumb[]= array ('url' => 'exercise_report.php?filter=2&'.api_get_cidreq(),'name' => get_lang('StudentScore')); +$interbreadcrumb[]= array ('url' => 'exercise_history.php?exe_id='.intval($_GET['exe_id']).'&'.api_get_cidreq(), 'name' => get_lang('Details')); $TBL_USER = Database::get_main_table(TABLE_MAIN_USER); $TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST); @@ -43,7 +43,8 @@ if (isset($_GET['message'])) { } echo '
'; -echo '' . Display :: return_icon('back.png', get_lang('BackToResultList'),'',ICON_SIZE_MEDIUM).''; +echo '' . + Display :: return_icon('back.png', get_lang('BackToResultList'),'',ICON_SIZE_MEDIUM).''; echo '
'; ?> diff --git a/main/exercice/exercise_report.php b/main/exercice/exercise_report.php index e47108e7e3..0094e14bce 100755 --- a/main/exercice/exercise_report.php +++ b/main/exercice/exercise_report.php @@ -289,7 +289,7 @@ if (($is_allowedToEdit || $is_tutor || api_is_coach()) && Database::query($sql); $sql = 'DELETE FROM '.$TBL_TRACK_ATTEMPT.' WHERE exe_id = '.$exe_id; Database::query($sql); - header('Location: exercise_report.php?cidReq='.Security::remove_XSS($_GET['cidReq']).'&exerciseId='.$exercise_id); + header('Location: exercise_report.php?'.api_get_cidreq().'&exerciseId='.$exercise_id); exit; } } @@ -623,7 +623,7 @@ $extra_params['height'] = 'auto'; }); }); -
+ diff --git a/main/exercice/live_stats.php b/main/exercice/live_stats.php index 6b19cb8731..47039bd60c 100755 --- a/main/exercice/live_stats.php +++ b/main/exercice/live_stats.php @@ -76,7 +76,8 @@ $(function() { ' . Display :: return_icon('back.png', get_lang('GoBackToQuestionList'),'',ICON_SIZE_MEDIUM).''; +$actions = '' . + Display :: return_icon('back.png', get_lang('GoBackToQuestionList'),'',ICON_SIZE_MEDIUM).''; echo $actions = Display::div($actions, array('class'=> 'actions')); //echo Display::page_header($objExercise->name); diff --git a/main/exercice/stats.php b/main/exercice/stats.php index b1dda2439e..713347e0bf 100755 --- a/main/exercice/stats.php +++ b/main/exercice/stats.php @@ -276,8 +276,8 @@ foreach ($data as $row_table) { $content .= $table->toHtml(); -$interbreadcrumb[] = array ("url" => "exercise.php?gradebook=$gradebook", "name" => get_lang('Exercises')); -$interbreadcrumb[] = array ("url" => "admin.php?exerciseId=$exercise_id","name" => $objExercise->name); +$interbreadcrumb[] = array("url" => "exercise.php?gradebook=$gradebook&".api_get_cidreq(), "name" => get_lang('Exercises')); +$interbreadcrumb[] = array("url" => "admin.php?exerciseId=$exercise_id&".api_get_cidreq(), "name" => $objExercise->name); $tpl = new Template(get_lang('ReportByQuestion')); @@ -285,7 +285,7 @@ $tpl = new Template(get_lang('ReportByQuestion')); //$actions[]= array(get_lang('Back'), Display::return_icon('back.png', get_lang('Back'), 'exercise_report.php?'.$exercise_id)); //$tpl->set_actions($actions); -$actions = '' . +$actions = '' . Display :: return_icon('back.png', get_lang('GoBackToQuestionList'),'',ICON_SIZE_MEDIUM).''; $actions = Display::div($actions, array('class'=> 'actions')); $content = $actions.$content;