Don't try and do anything clever with 1 year courses for now (it didn't seem to display correctly).
Display a full description of the year's 'course' if it is available.
Altered to accomodate changes to underlying API.
Refer to Moodle course idnumber rather than shortname.
Add get_moodle_course() to allow us to provide a link to the 'Course (all years)' page.
1. Need to display Moodle course events where available.
2. Add new function print_overview() to provide the output HTML describing course modules' events (e.g. assignment deadlines).
1. Test to determine if a user is enrolled on a Moodle course. If they are then display the link and if they're not then don't.
2. Add orphaned courses and units to the $results array so that they are displayed as a 'primary item'.
Display a link to a course only if the user is enrolled on that course. Note that if automatic enrolments are working as they should then this would never happen (assuming the enrolment data is correct).
Don't want to query for sectioncache.
Tidy code.
1. Bug fix: change the 'id's ("programme", "course_all_years", etc) to 'classes'. 'id' should be unique on page.
2. Wrap primary item in <h2>.
Fix bug: see http://tracker.moodle.org/browse/MDL-35089 for details.
'Course (all years)' and 'Course' links should be at the same level in the tree.
Fix bug: need to indicate if a node type isn't known.
Fix bug: 'My Moodle' is inheriting styles that it shouldn’t from the left-hand navigation. Remove 'course menu' class.
A modified htmllize_tree() function implemented but remarked out for the moment (see comments above function for more details).
Fix bug: 'checkbox' element doesn't return anything if it's empty (see http://docs.moodle.org/dev/lib/formslib.php_Form_Definition#checkbox).
Improvement: list Moodle courses a user is enrolled in but for which there is no enrolment data from the IDM.
Specify a link to the admin db tool.
Increase version number to allow for extra configuration options.