MDL-7097 - API debug. Change the control of debugging over to SCORM admin settings.
[moodle.git] / mod / scorm / settings.php
1 <?php  //$Id$
3 $settings->add(new admin_setting_configtext('scorm_framewidth', get_string('width', 'scorm'),
4                    get_string('framewidth', 'scorm'), 100));
6 $settings->add(new admin_setting_configtext('scorm_frameheight', get_string('height', 'scorm'),
7                    get_string('frameheight', 'scorm'), 500));
9 $settings->add(new admin_setting_configtext('scorm_maxattempts', get_string('maximumattempts', 'scorm'),
10                    '', 6));
12 $settings->add(new admin_setting_configtext('scorm_updatetime', get_string('updatetime', 'scorm'),
13                    '', 2));
15 $settings->add(new admin_setting_configcheckbox('scorm_allowtypeexternal', get_string('allowtypeexternal', 'scorm'),
16                    '', 0));
18 $settings->add(new admin_setting_configcheckbox('scorm_allowtypelocalsync', get_string('allowtypelocalsync', 'scorm'),
19                    '', 0));
21 $settings->add(new admin_setting_configcheckbox('scorm_allowtypeimsrepository', get_string('allowtypeimsrepository', 'scorm'),
22                    '', 0));
24 $settings->add(new admin_setting_configcheckbox('scorm_allowapidebug', get_string('allowapidebug', 'scorm'),
25                    '', 0));
27 $settings->add(new admin_setting_configtext('scorm_apidebugmask', get_string('apidebugmask', 'scorm'),
28                    '', '.*'));