From f7813b4a0271f5ec9f65a30db30655b340449d4f Mon Sep 17 00:00:00 2001 From: Imanol Losada Date: Mon, 13 Apr 2015 14:35:58 -0500 Subject: [PATCH] Avoid dokeos_chapter iframe in slider - refs BT#9729 --- main/newscorm/lp_impress.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/newscorm/lp_impress.php b/main/newscorm/lp_impress.php index 2688951fa2..99eaeb61b3 100755 --- a/main/newscorm/lp_impress.php +++ b/main/newscorm/lp_impress.php @@ -69,8 +69,10 @@ foreach ($list as $toc) { $html .= '
'; $html .= '

'.$toc['title'].'

'; $src = $_SESSION['oLP']->get_link('http', $toc['id']); - //just showing the src in a iframe ... - $html .= ''; + if ($toc['type'] !== 'dokeos_chapter') { + //just showing the src in a iframe ... + $html .= ''; + } $html .= "
"; $step ++; }