From d504f5224f82529f238bb0772cb22d839531884c Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 15 Feb 2010 12:01:53 -0500 Subject: [PATCH] Adding the filename when editing the \"add audio\" option in LPs --- main/newscorm/learnpath.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index e755f5cf4d..b444d431a4 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -4710,9 +4710,10 @@ class learnpath { } } else { if ($arrLP[$i]['item_type'] != 'dokeos_chapter' && $arrLP[$i]['item_type'] != 'dokeos_module' && $arrLP[$i]['item_type'] != 'dir') { + $return .= ' '; if (!empty ($arrLP[$i]['audio'])) { - $return .= '
' . get_lang('RemoveAudio'); + $return .= '
'.Security::remove_XSS($arrLP[$i]['audio']).'' . get_lang('RemoveAudio'); } } }