- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
case instead of $course = $DB->get_record('course'); we use:
$course = course_get_format($courseorid)->get_course(); This way all format-specific options
are added to the $course object
Originally, the strings were prepared by Helen with _help suffix. But in
IMS Enterprise, there is no place for help icons. So the strings are
used as descriptions at the setting page and therefore they have _desc
suffix now.
AMOS BEGIN
MOV [usecapitafix_help,enrol_imsenterprise],[usecapitafix_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/capita.html,[usecapitafix_desc,enrol_imsenterprise]
MOV [createnewcategories_help,enrol_imsenterprise],[createnewcategories_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/categorisation.html,[createnewcategories_desc,enrol_imsenterprise]
MOV [createnewcourses_help,enrol_imsenterprise],[createnewcourses_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/createnewcourses.html,[createnewcourses_desc,enrol_imsenterprise]
MOV [createnewusers_help,enrol_imsenterprise],[createnewusers_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/createnewusers.html,[createnewusers_desc,enrol_imsenterprise]
MOV [deleteusers_help,enrol_imsenterprise],[deleteusers_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/deleteusers.html,[deleteusers_desc,enrol_imsenterprise]
MOV [sourceddidfallback_help,enrol_imsenterprise],[sourceddidfallback_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/sourceddidfallback.html,[sourceddidfallback_desc,enrol_imsenterprise]
MOV [restricttarget_help,enrol_imsenterprise],[restricttarget_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/target.html,[restricttarget_desc,enrol_imsenterprise]
MOV [truncatecoursecodes_help,enrol_imsenterprise],[truncatecoursecodes_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/truncatecoursecodes.html,[truncatecoursecodes_desc,enrol_imsenterprise]
MOV [allowunenrol_help,enrol_imsenterprise],[allowunenrol_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/unenrol.html,[allowunenrol_desc,enrol_imsenterprise]
AMOS END