Skip to content

Commit e299ca8

Browse files
committed
Exercise: add iframe code in popup for exercice integration -refs BT#20659
1 parent e4818a8 commit e299ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/exercise/exercise.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9795,7 +9795,7 @@ public static function exerciseGrid(
97959795
'class' => 'ajax',
97969796
'data-title' => get_lang('EmbedExerciseLink'),
97979797
'title' => get_lang('EmbedExerciseLink'),
9798-
'data-content' => get_lang('CopyUrlToIncludeInIframe').'<br>'.$urlEmbed,
9798+
'data-content' => get_lang('CopyUrlToIncludeInIframe').'<br>'.$urlEmbed.'<br><br>'.get_lang('CopyIframCodeToIncludeExercise').'<br><textarea rows=&quot;5&quot; cols=&quot;70&quot;>&lt;iframe width=&quot;840&quot; height=&quot;472&quot; src=&quot;'.$urlEmbed.'&quot; title=&quot;Chamilo exercise&quot;&gt;&lt;/iframe&gt;</textarea>',
97999799
'href' => 'javascript:void(0);',
98009800
]
98019801
);

0 commit comments

Comments
 (0)