MDL-16113 add warning to Scorm modedit page if slasharg is disabled. merged from HEAD

This commit is contained in:
danmarsden 2008-08-20 02:30:11 +00:00
parent d8bfab810c
commit 4b51c3fb2f
2 changed files with 5 additions and 2 deletions

View file

@ -8,7 +8,9 @@ class mod_scorm_mod_form extends moodleform_mod {
global $CFG, $COURSE, $SCORM_GRADE_METHOD, $SCORM_WHAT_GRADE;
$mform =& $this->_form;
if (isset($CFG->slasharguments) && !$CFG->slasharguments) {
$mform->addElement('static', '', '',notify(get_string('slashargs', 'scorm'), 'notifyproblem', 'center', true));
}
//-------------------------------------------------------------------------------
$mform->addElement('header', 'general', get_string('general', 'form'));