26 Commits

Author SHA1 Message Date
mchurch
69c76405d2 Added group support to log viewing functions. 2004-07-28 15:52:51 +00:00
moodler
c469a7efb6 Use $modname if it's defined 2004-02-14 02:44:35 +00:00
stronk7
d2c3605c83 Changed to calls to print_log_selector_form() with modname not set
to avoid two notices with debug on. I suppose that there isn't problems
with this because modname var doesn't exist in all the file, but...
2004-02-13 23:53:36 +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
9f39874ec5 Double-check bad input data 2004-01-15 07:52:21 +00:00
moodler
f24cffb995 Logs can now be divided up by activity! 2004-01-15 07:17:12 +00:00
moodler
1a5ab4490f Improvements to logs when looking at site logs.
Also, improvements to get_site_users (slower but it works now!)
2003-08-23 06:19:05 +00:00
moodler
519d369f60 Added full paging to all displays of logs! :-) 2003-08-22 06:07:18 +00:00
moodler
783da26290 A bit of an audit and a clean up of require_login to add consistency.
No major problems found, just some code tidy-up
2003-05-24 07:29:17 +00:00
moodler
67b0821af9 Fixed a typo, see bug 361 2003-04-24 14:37:22 +00:00
moodler
dae73c05e9 New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
30d6173ed6 Fixes for Log display 2003-01-01 07:37:19 +00:00
moodler
6aeec7f8f8 Fixes for log display 2002-12-23 10:27:57 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
2c0411e2ed Tweaks and tidy-ups for course home pages (weekly and topics) 2002-08-10 13:42:12 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +00:00
martin
720a43cec7 Improvements to logs for admin user (can view any course) 2002-06-12 04:22:41 +00:00
martin
9481285b84 Fixes related to user timezones. All times are now displayed as expected. 2002-06-10 09:44:37 +00:00
martin
f3ecd2c8da Slight interface tweaks 2002-06-05 06:24:29 +00:00
martin
873960de8c Changes related to timezone display. Datetime display now uses userdate()
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
0d97d1e35f Fixed up use of isteacher (removed isadmin check because it's done in isteacher now) 2002-04-03 06:36:04 +00:00
martin
a69023cf46 Allow admin to do anything the teacher can do 2002-03-16 06:19:02 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00