413 Commits

Author SHA1 Message Date
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
moodler
8dddba42ce Modularised some of the processing for "extra" information such as
information for popup windows on resources and labels
2003-10-22 13:14:56 +00:00
moodler
1b6a4b1db2 Some cleanups for some of the HTML, including addition of new styles 2003-10-21 06:40:39 +00:00
moodler
7f98994816 Don't display search buttons if all the courses are being displayed anyway 2003-10-21 02:25:22 +00:00
moodler
0abc815473 Allow uploaded files to be declared in popup windows too. 2003-10-19 14:21:54 +00:00
moodler
e845dee27d Icons for activities should use $CFG->modpixpath so custom icons work 2003-10-17 12:46:33 +00:00
moodler
5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00
moodler
8664309614 Add an "unenrol" link for students on the course page 2003-10-09 16:47:57 +00:00
moodler
e2b7251de9 Whoops, silly typo 2003-09-23 03:13:31 +00:00
moodler
e1d1049893 Trivial change to users listing to compress display a bit 2003-09-23 03:11:36 +00:00
stronk7
3bd4de22f5 Changed !empty to isset to avoid warnings. 2003-09-20 17:33:55 +00:00
stronk7
2832badf38 Added one check to avoid some notices in make_categories_list().
Commented in Moodle's forum: http://moodle.org/mod/forum/discuss.php?d=2627
2003-09-20 17:08:45 +00:00
moodler
a9a070e0fd Make the "guest allowed" icon separate from the user icon. 2003-09-20 06:11:39 +00:00