mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
SCORM MDL-28110 set default for forcejavascript to yes - add string explaining what it does.
This commit is contained in:
parent
ca4eda13b5
commit
0ab985f918
2 changed files with 2 additions and 1 deletions
|
@ -97,6 +97,7 @@ $string['forcenewattempt'] = 'Force new attempt';
|
||||||
$string['forcenewattempt_help'] = 'If enabled, each time a SCORM package is accessed will be counted as a new attempt.';
|
$string['forcenewattempt_help'] = 'If enabled, each time a SCORM package is accessed will be counted as a new attempt.';
|
||||||
$string['forcenewattemptdesc'] = 'This preference sets the default value for the force new attempt setting';
|
$string['forcenewattemptdesc'] = 'This preference sets the default value for the force new attempt setting';
|
||||||
$string['forcejavascript'] = 'Force users to enable JavaScript';
|
$string['forcejavascript'] = 'Force users to enable JavaScript';
|
||||||
|
$string['forcejavascript_help'] = 'If enabled(recommended) this prevents access to SCORM objects when JavaScript is not supported/enabled in a users browser. If disabled the user may view the SCORM but API communication will fail and no grade information will be saved.';
|
||||||
$string['forcejavascriptmessage'] = 'JavaScript is required to view this object, please enable JavaScript in your browser and try again.';
|
$string['forcejavascriptmessage'] = 'JavaScript is required to view this object, please enable JavaScript in your browser and try again.';
|
||||||
$string['found'] = 'Manifest found';
|
$string['found'] = 'Manifest found';
|
||||||
$string['frameheight'] = 'This preference set the default height for stage frame or window';
|
$string['frameheight'] = 'This preference set the default height for stage frame or window';
|
||||||
|
|
|
@ -72,7 +72,7 @@ if ($ADMIN->fulltree) {
|
||||||
|
|
||||||
$settings->add(new admin_setting_configcheckbox('scorm/allowtypeimsrepository', get_string('allowtypeimsrepository', 'scorm'), '', 0));
|
$settings->add(new admin_setting_configcheckbox('scorm/allowtypeimsrepository', get_string('allowtypeimsrepository', 'scorm'), '', 0));
|
||||||
|
|
||||||
$settings->add(new admin_setting_configcheckbox('scorm/forcejavascript', get_string('forcejavascript', 'scorm'), '', 0));
|
$settings->add(new admin_setting_configcheckbox('scorm/forcejavascript', get_string('forcejavascript', 'scorm'), get_string('forcejavascript_help', 'scorm'), 1));
|
||||||
|
|
||||||
$settings->add(new admin_setting_configcheckbox('scorm/allowapidebug', get_string('allowapidebug', 'scorm'), '', 0));
|
$settings->add(new admin_setting_configcheckbox('scorm/allowapidebug', get_string('allowapidebug', 'scorm'), '', 0));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue