|
|
| Participants: |
Mike Worth
|
| Security Level: |
None
|
| Resolved date: |
02/Jun/09
|
| Affected Branches: |
MOODLE_19_STABLE
|
|
This adds a page userweek.txt, it is based around a stripped down version of week.php but displays all the bookings for a particular user. This is both bookings made by the user, and bookings with a name that matches the shortname of a course which the user is enrolled on (this sounds a bit complicated, but if you make booking names match course shortnames it will make sense)
Any user can look at their own timetable, users with block/mrbs:viewalltt can look at any user's timetable.
This patch doesn't create any links anywhere to userweek.php (except self-referring ones), it is easy to add a link in any menu- just linking to userweek.php will give users their own timetable. I have played with user/view.php in order to override the 'current location' to display a room name and a link to the timetable, I'll upload that later
|
|
Description
|
This adds a page userweek.txt, it is based around a stripped down version of week.php but displays all the bookings for a particular user. This is both bookings made by the user, and bookings with a name that matches the shortname of a course which the user is enrolled on (this sounds a bit complicated, but if you make booking names match course shortnames it will make sense)
Any user can look at their own timetable, users with block/mrbs:viewalltt can look at any user's timetable.
This patch doesn't create any links anywhere to userweek.php (except self-referring ones), it is easy to add a link in any menu- just linking to userweek.php will give users their own timetable. I have played with user/view.php in order to override the 'current location' to display a room name and a link to the timetable, I'll upload that later |
Show » |
|