diff --git a/main/external_module/external_module.php b/main/external_module/external_module.php index b0e3b0af57..ed7475dcda 100644 --- a/main/external_module/external_module.php +++ b/main/external_module/external_module.php @@ -164,7 +164,7 @@ if(!empty($msgErr)) : - + : diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index 2ebca18417..cad68865ed 100644 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -333,7 +333,7 @@ if (is_array($list) && count($list) > 0){ $view_score = ($score == 0 ? '/' : ($maxscore === 0 ? $score : $score . '/' . float_format($maxscore, 1))); } $output .= "\n" . "\n" . "$extend_attempt_link\n" . '' . api_convert_encoding(get_lang('Attempt'), $lp_charset, $dokeos_charset) . ' ' . $row['iv_view_count'] . "\n" - //."
".htmlentities($array_status[$lesson_status],ENT_QUOTES,$lp_charset)."
\n" + //."
".api_htmlentities($array_status[$lesson_status],ENT_QUOTES,$lp_charset)."
\n" . '
' . $my_lesson_status . "
\n" . '
' . $view_score . "
\n" . '
'.$time.'
'; if (!empty($export_csv)) { @@ -587,7 +587,7 @@ if (is_array($list) && count($list) > 0){ $correct_test_link = '-'; } - //."
".htmlentities($array_status[$lesson_status],ENT_QUOTES,$lp_charset)."
\n" + //."
".api_htmlentities($array_status[$lesson_status],ENT_QUOTES,$lp_charset)."
\n" $title = Security::remove_XSS($title); if ( (isset($_GET['lp_id']) && $_GET['lp_id'] == $my_lp_id ) && (isset($_GET['my_lp_id']) && $_GET['my_lp_id'] == $my_id)) { $output .= "\n" . "$extend_link\n" . '
' .$title. '
' . "\n"; diff --git a/main/reservation/m_item_origineel.php b/main/reservation/m_item_origineel.php index 3aa412ff95..49c93c5cda 100644 --- a/main/reservation/m_item_origineel.php +++ b/main/reservation/m_item_origineel.php @@ -64,7 +64,7 @@ function modify_filter($id) { * @param - int $id The item-rights-id's */ function modify_rights_filter($id) { - return ' '; + return ' '; } /** diff --git a/main/tracking/userlogCSV.php b/main/tracking/userlogCSV.php index 215de7148f..339d849dbe 100644 --- a/main/tracking/userlogCSV.php +++ b/main/tracking/userlogCSV.php @@ -631,7 +631,7 @@ if( ( $is_allowedToTrack || $is_allowedToTrackEverybodyInCourse ) && $_configura while ($ar3['status'] != '') { require_once('../newscorm/learnpathItem.class.php'); $time = learnpathItem::get_scorm_time('php',$ar3['total_time']); - $title = htmlentities($ar3['title'],ENT_QUOTES,$lp_charset); + $title = api_htmlentities($ar3['title'],ENT_QUOTES,$lp_charset); $line .= $title.';'.$ar3['status'].';'.$ar3['score'].';'.$time."\n"; $ar3=Database::fetch_array($result3); }