|
|
| 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 » |
made changes - 22/Apr/09 07:32 PM
| Field |
Original Value |
New Value |
|
Attachment
|
|
mrbsuserttdiff.txt
[ 17004
]
|
made changes - 23/Apr/09 01:37 AM
|
Assignee
|
Anthony Borrow
[ aborrow
]
|
Mike Worth
[ mike1989
]
|
committed 5 files to 'Contrib CVS' - 02/Jun/09 10:09 PM
made changes - 02/Jun/09 10:11 PM
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|