From 30059f4649021f3bee567affeb6a38a6fb6f6fc8 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 17 May 2007 18:26:48 +0200 Subject: [PATCH] [svn r12432] Replaced static "Attempt" keyword by get_lang() call --- main/newscorm/lp_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index bc0f3e6162..7ba0526e26 100644 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -183,7 +183,7 @@ foreach ($list as $my_item_id) { $my_lesson_status = htmlentities(get_lang($mylanglist[$lesson_status]), ENT_QUOTES, $dokeos_charset); //$my_lesson_status = get_lang($mylanglist[$lesson_status]); if ($row['item_type'] != 'dokeos_chapter') { - $output .= "\n"."\n"."$extend_attempt_link\n".'Attempt '.$row['iv_view_count']."\n" + $output .= "\n"."\n"."$extend_attempt_link\n".''.htmlentities(get_lang('Attempt'), ENT_QUOTES, $dokeos_charset).' '.$row['iv_view_count']."\n" //."
".htmlentities($array_status[$lesson_status],ENT_QUOTES,$charset_lang)."
\n" .'
'.$my_lesson_status."
\n".'
'. ($score == 0 ? '-' : $score.'/'.$maxscore)."
\n".'
'.$time."
\n"."\n"; }