|
|
|
@ -47,7 +47,7 @@ if ($allowTimePerQuestion) { |
|
|
|
|
|
|
|
|
|
$showPreviousButton = true; |
|
|
|
|
$showGlossary = in_array($glossaryExtraTools, ['true', 'exercise', 'exercise_and_lp']); |
|
|
|
|
if ('learnpath' == $origin) { |
|
|
|
|
if ('learnpath' === $origin) { |
|
|
|
|
$showGlossary = in_array($glossaryExtraTools, ['true', 'lp', 'exercise_and_lp']); |
|
|
|
|
} |
|
|
|
|
if ($showGlossary) { |
|
|
|
@ -78,9 +78,6 @@ if (api_get_configuration_value('quiz_prevent_copy_paste')) { |
|
|
|
|
|
|
|
|
|
if ('true' === api_get_setting('enable_record_audio')) { |
|
|
|
|
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_JS_PATH).'rtc/RecordRTC.js"></script>'; |
|
|
|
|
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'wami-recorder/recorder.js"></script>'; |
|
|
|
|
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'wami-recorder/gui.js"></script>'; |
|
|
|
|
$htmlHeadXtra[] = '<script type="text/javascript" src="'.api_get_path(WEB_LIBRARY_PATH).'swfobject/swfobject.js"></script>'; |
|
|
|
|
$htmlHeadXtra[] = api_get_js('record_audio/record_audio.js'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|