$string['noattemptsmade'] = "Number of attempts you have made";
$string['gradeforattempt'] = "Grade for attempt";
$string['exceededmaxattempts'] = "You have reached the maximum number of attempts.";
+$string['zlibwarning'] ='Warning: PHP Zlib compression has been enabled on this site, some users may experience issues loading SCORM objects in certain web browsers.';
?>
\ No newline at end of file
if (!$CFG->slasharguments) {
$mform->addElement('static', '', '',notify(get_string('slashargs', 'scorm'), 'notifyproblem', 'center', true));
}
+ $zlib = ini_get('zlib.output_compression'); //check for zlib compression - if used, throw error because of IE bug. - SEE MDL-16185
+ if (isset($zlib) && $zlib) {
+ $mform->addElement('static', '', '',notify(get_string('zlibwarning', 'scorm'), 'notifyproblem', 'center', true));
+ }
//-------------------------------------------------------------------------------
$mform->addElement('header', 'general', get_string('general', 'form'));