diff --git a/main/inc/lib/tracking.lib.php b/main/inc/lib/tracking.lib.php
index 7ae9223c2a..9f2861d325 100755
--- a/main/inc/lib/tracking.lib.php
+++ b/main/inc/lib/tracking.lib.php
@@ -2158,7 +2158,7 @@ class Tracking {
$time_spent_in_lp = Tracking::get_time_spent_in_lp($user_id, $course, array($learnpath['id']), $session_id);
$time_spent_in_lp = api_time_to_hms($time_spent_in_lp);
- $html .= "
";
+ $html .= '
';
$html .= Display::tag('td', $learnpath['name']);
$html .= Display::tag('td', $time_spent_in_lp, array('align'=>'center'));
if (is_numeric($progress)) {
@@ -2181,8 +2181,7 @@ class Tracking {
}
$html .='
-
- ';
+ ';
// This code was commented on purpose see BT#924
@@ -2239,8 +2238,11 @@ class Tracking {
}
$to_graph_exercise_result[$exercices['id']] = array('title'=>$exercices['title'], 'data'=>$exercise_stats);
- $html .= '';
+ $html .= '
';
+ $url = api_get_path(WEB_CODE_PATH)."exercice/exercice_submit.php?cidReq={$course_info['code']}&id_session=$session_id&exerciseId={$exercices['id']}";
+ $exercices['title'] = Display::url($exercices['title'], $url, array('target'=>'_blank'));
$html .= Display::tag('td', $exercices['title']);
+
//Exercise configuration show results
if ($exercices['results_disabled'] == 0) {
$latest_attempt_url = '';
@@ -2379,6 +2381,7 @@ class Tracking {
$data_set->RemoveSerie("Serie3");
$Test->drawBarGraph($data_set->GetData(),$data_set->GetDataDescription(),TRUE);
+ /*
// Finish the graph
$Test->setFontProperties(api_get_path(LIBRARY_PATH).'pchart/fonts/tahoma.ttf',8);
$Test->drawLegend(596,150,$data_set->GetDataDescription(),255,255,255);
@@ -2390,7 +2393,7 @@ class Tracking {
$Test->Stroke();
ob_end_clean();
$img_file = $cache->GetHash($graph_id, $data_set->GetData());
- $html .= '
';
+ $html .= '
'; */
}