950 Commits

Author SHA1 Message Date
martin
6968fd6656 Updated version 2002-09-22 14:39:09 +00:00
martin
45aa6d563c Fixes to unenrolling students, and unenrol_student() and remove_teacher()
now remove forum_subscriptions correctly
2002-09-22 14:33:21 +00:00
martin
274f62e6d5 Fixes to table widths 2002-09-22 14:11:45 +00:00
martin
b4ead712f2 Arrghh ... foget to remove the debugging thing 2002-09-22 14:07:15 +00:00
martin
d578afc883 Major cleanup of user administration and display, including sortable listings,
confirmation on deletions, removing deleted user from all student lists,
teacher lists and subscription lists and freeing up their username and
email to be used again.
2002-09-22 14:06:38 +00:00
martin
7684ce4b32 Changes (getting close to 1.0.5 now) 2002-09-22 06:49:38 +00:00
martin
1d3ff0711f Updated module template with module_print_recent_activity() 2002-09-22 06:47:11 +00:00
martin
3446205d44 Added assignments under "Recent Activity" 2002-09-22 06:41:56 +00:00
martin
88491cacba When redirecting to admin page go direct to index.php just in case
DirectoryIndex hasn't been fixed yet.
2002-09-22 05:33:54 +00:00
martin
bbe3efd8e1 Some comments to indicate standard and other functions 2002-09-22 04:29:18 +00:00
martin
66ea15f3cc Reaaranged the functions into standard and other 2002-09-22 04:27:45 +00:00
martin
7bca79576f Fixed stupidity 2002-09-22 03:58:41 +00:00
martin
a30cfe1685 Error in the SQL - fixed now 2002-09-22 03:57:56 +00:00
martin
54634efcba New function to show new surveys in recent activity box 2002-09-22 03:51:28 +00:00
martin
a2b71b6d71 Whoops typo - left in some old stuff 2002-09-22 03:17:29 +00:00
martin
03af47eee3 SHow number of journal entries in the teacher link to report 2002-09-22 03:16:40 +00:00
martin
3bf90da5f6 Use log URL for link to journal 2002-09-22 03:13:10 +00:00
martin
01a086c3dd Support for new deleted field in user table 2002-09-22 03:11:05 +00:00
martin
ae2e0dddad Changes to not include deleted users in some things 2002-09-22 03:05:39 +00:00
martin
bb09fb1157 Changes to enable DELETION of user accounts. Accounts aren't actually
deleted, they are just marked with a deleteion flag that prevents them
from logging in, or from being listed anywhere.
2002-09-22 03:01:17 +00:00
martin
3869a2ac3d Changes to print_recent_activity in course/lib.php. It is now more
modular (at slight cost to performance) and every modules can now
have a module_print_recent_activity() function.  This function
takes a list of logs, searches for things to display and does so.

So far I've done forum and journal functions
2002-09-21 17:11:08 +00:00
martin
20aa2257dc Allow 1-minute delay (mostly good for testing) 2002-09-21 08:44:08 +00:00
martin
93e0f85d6c Need more room for language variable (eg pt_br) 2002-09-21 08:42:05 +00:00
martin
a16c2180d0 Make sure user language works OK (it does now) 2002-09-21 08:40:27 +00:00
martin
562bbe9074 Make mail format explicitly 8bit 2002-09-21 08:39:54 +00:00
martin
a5a4cd60cb Make sure mailouts are in the user's chosen language 2002-09-21 07:46:30 +00:00
martin
5319c6adf6 Make sure mailouts are in the chosen language of each user 2002-09-21 07:42:54 +00:00
martin
bcf7ee7a97 Initial (incomplete) version of French translation by Sebastien Nameche <snameche@virtual-net.fr>
Good start!  Thanks, Sebastien.
2002-09-21 07:27:07 +00:00
martin
94cfe58b19 Initial version of Finnish translation, as done by Petri Asikainen <paca@sci.fi>
Thanks, Petri!
2002-09-21 07:22:23 +00:00
martin
1774e33325 Added single quotes around all the keys ... even though PHP works
without them, it will flag errors when errorlevel is turned up, and
I suspect this slows it all down a bit.
2002-09-21 07:18:16 +00:00
martin
13fb5ec074 Added my email address 2002-09-21 07:07:44 +00:00
martin
effbcca27c Don't need to log in to see site-level course 2002-09-21 07:03:54 +00:00
martin
b92ea9450c More options for longtimenosee 2002-09-21 06:45:26 +00:00
martin
c69ce08b49 Don't print pictures at all for very large lists 2002-09-21 06:39:28 +00:00
martin
25fa226dac Make more room in list 2002-09-21 06:30:32 +00:00
martin
32b4b9746a more refinements to sorting display 2002-09-21 06:27:00 +00:00
martin
3f63219688 Fixed typo from testing 2002-09-21 06:13:42 +00:00
martin
e6b9ee042d Much better look for user index 2002-09-21 06:12:54 +00:00
martin
dccd16712a Slight additions to print_table 2002-09-21 05:43:46 +00:00
martin
c07daf5bbc Added lang for users 2002-09-21 05:43:21 +00:00
martin
6b281f1fec Better display of users in shortened form, for testing 2002-09-21 05:42:16 +00:00
martin
7a702c34ea Tweak 2002-09-20 15:42:16 +00:00
martin
6abee98964 First go at an abbreviated user listing 2002-09-20 15:40:20 +00:00
martin
1e4d8ed1d2 Put sitename on debugging info (helpful when comparing two sites) 2002-09-19 14:59:47 +00:00
martin
08056730fa Improved interface for course/teachers.php ... instead of typing numbers
into a box there is now a menu for each user.   Much better!
2002-09-19 14:51:49 +00:00
martin
ae7aafeb53 Got rid of errorlevel configuration - more trouble than it's worth!
Hardcoded it into setup.php now - people who are that keen can change
it there.
2002-09-19 14:07:24 +00:00
martin
1be8717562 Updated for new configuration page 2002-09-19 14:06:28 +00:00
martin
4d0dde9159 Some consistency in headers on editing forms 2002-09-19 13:55:40 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
e80e60a6b2 Slight fix to error page to include site name properly 2002-09-17 14:56:18 +00:00