Commit Graph

1275 Commits

Author SHA1 Message Date
moodler fcc0e250bc Just fixing the footer link on course list blocks 2004-05-20 00:55:11 +00:00
moodler 6be91aab91 Changed some CSS to font tags, so that IE looks more consistent 2004-05-18 07:10:17 +00:00
moodler 6f80940b1e Simpler method for recent activity .... I had problems with the other
Use last access to course if it exists, otherwise two days ...
2004-05-16 10:34:17 +00:00
moodler 9e51847a18 Slight change to recent activity calculations in RA block.
Upon login, the last access to each course is stored in the USER session
variable.

The earliest date of recent activity now shown is now the earliest of:

   - this last access time
   - the last login time

If this value is older than two days, then just use two days instead.
2004-05-15 14:58:12 +00:00
moodler 26bba779ff Tweaking the formatting of the footers a bit 2004-05-10 18:12:32 +00:00
moodler d13403fb1b Some tweaks for formatting sideblock footers (esp upcoming events) 2004-05-10 17:09:06 +00:00
moodler f39b489656 Print footers in side_blocks even when non-list $content is supplied 2004-05-10 15:15:44 +00:00
gustav_delius dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler 9d361034ec Much requested: Uploaded resources are now shown using the relevant icon. 2004-04-26 15:31:22 +00:00
moodler 450c3d39cc Link to teacher forum is now shown in the current langage always 2004-04-16 07:13:10 +00:00
stronk7 5fef34d7a9 Avoid one warning where $content and $list were empty. 2004-04-10 22:24:23 +00:00
fiedorow 9ff5310a08 Bug fix for sort order in category display and allow limit on recursive display of categories and courses 2004-04-05 03:13:10 +00:00
moodler 70fb77128f WHoops, my last checkin had a typo 2004-04-03 04:50:30 +00:00
moodler 426b19373d Strip tags in log menus too 2004-04-03 01:32:03 +00:00
moodler b346b424d6 Prevent glossary etc from adding links to activity names that are
about to be turned into links (using <nolink> tags)
2004-03-22 16:16:49 +00:00
moodler dd050b3320 Non-editing teachers should not be able to assign students 2004-03-13 13:42:21 +00:00
moodler 9c08ad13de Hide hidden activities from students on Recent Activity page 2004-03-10 13:38:08 +00:00
selliott 3819ed3115 Fixed incorrect display of time 2004-02-23 21:17:03 +00:00
moodler 0f87cb1d09 1. Recent activity reports now activated!
2. Some cleanup of the reports, using boxes
2004-02-23 18:05:59 +00:00
selliott f5ffb87d24 Cleaned up some string literals 2004-02-20 22:16:28 +00:00
selliott 587510bec5 changes to function print_recent_selector_form for normal/advanced filters in course/recent.php 2004-02-20 21:38:42 +00:00
moodler 352d94cf37 Change course sideblock title depending on contents 2004-02-20 12:43:20 +00:00
moodler 3c89f9a837 If $CFG->filterall is defined true, then activity names are filtered.
Useful in particular for multilang filter

More to come.
2004-02-15 10:08:05 +00:00
selliott 4581271ad1 Changed selector form in course/lib.php for course/recent.php
Rewrote course/recent.php to allow sorting of data before it is output
2004-02-15 06:11:15 +00:00
moodler 32d03b7b85 Better logic for showing group mode buttons
Teacher can now see forced mode more clearly
2004-02-15 04:13:25 +00:00
moodler 110a32e2ca Bug fix - if groupmode is forced then group icons are not even displayed 2004-02-15 03:20:51 +00:00
moodler c469a7efb6 Use $modname if it's defined 2004-02-14 02:44:35 +00:00
selliott aae8c680c9 Used existing string showrecent for button text in print_recent_activity_selector. 2004-02-05 20:48:06 +00:00
selliott cb83c3cb4d added function print_recent_selector_form for course/recent.php 2004-02-05 20:30:26 +00:00
moodler 69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
moodler 16e962a71c Use a looser search when showing an activity module's logs, to get more 2004-01-31 11:55:05 +00:00
moodler 3d575e6f08 Improvements to groups.
- you can now actually turn group modes on and off for each activity. :-)
    "Turn Editing On" to see the new icons.

  - Link to Groups page is now smarter about when it does and doesn't appear
2004-01-31 08:40:38 +00:00
gustav_delius 9928b09e6e added alt text to some icons 2004-01-25 17:00:12 +00:00
gustav_delius 0d0e550f88 apply filter_text to course summary 2004-01-25 16:50:49 +00:00
moodler 4fc2eb7a5e Use is_internal_email function (see bug 978) 2004-01-17 07:08:47 +00:00
moodler eef16119b9 Only editing teachers can see files 2004-01-17 05:39:29 +00:00
moodler bb95c08bc4 Small improvement to log-gathering for activities - works better with
glossary logs
2004-01-16 11:23:40 +00:00
moodler f24cffb995 Logs can now be divided up by activity! 2004-01-15 07:17:12 +00:00
moodler f36b1996a2 Strip tags from activity names when moving 2003-12-17 03:32:30 +00:00
moodler f5104a2b97 Use fullname for Guest name 2003-11-28 10:32:32 +00:00
moodler 33c1770940 Whoops forgot a debugging statement 2003-11-21 12:54:53 +00:00
moodler 0fd7da8138 For recent activity, only parse modules that are enabled 2003-11-21 12:54:09 +00:00
moodler 2ac64806ff Names now use the new fullname function 2003-11-19 16:30:09 +00:00
moodler a0456978ef Changed a style -> categoryname --> categorynumber 2003-11-19 02:52:26 +00:00
moodler b5333476db Search link should go to listing (it has a search box anyway) 2003-11-06 09:05:41 +00:00
moodler 3f125001bc New feature: Allow students to see their own activity reports.
This is a course setting.  By default it is off.  When on, there
is a new link in the course admin menu for students, and they can
browse the same report that teachers see.

The report icon is temporary.
2003-10-31 05:57:30 +00:00
moodler 73d0da8084 New database GIF by Eloy! 2003-10-30 14:25:23 +00:00
moodler 4d744a220a Added a new column to user_students and user_teachers called "timeaccess"
for recording the last access to the COURSE.

This is updated at the same time as add_to_log and is now used instead
of user->lastaccess when course user listings are required.

This means course listings now show what you expect and open up the way
for a "current users" listing and instant messaging etc ...
2003-10-27 12:38:00 +00:00
moodler 6951a89497 Thomas Robb suggested a movehere image instead of the string. I made an image
and I agree it looks/works a lot better.
2003-10-27 08:31:28 +00:00
stronk7 8a59942e4c Take out one notice when the only activity was
create a module and delete it. Strange but possible. :-)
2003-10-22 16:19:21 +00:00