Commit Graph

62 Commits

Author SHA1 Message Date
moodler f8f63ecdd5 On second thoughts, Eloy was right - showall is useless. :-) 2004-02-17 12:18:02 +00:00
moodler 987ecd9806 showall is an optional variable that will showall the people in one list 2004-02-17 12:16:14 +00:00
moodler 2cb2ce61ad When separate groups are being used, only show teachers and students who have
access to that group
2004-01-31 04:08:10 +00:00
moodler 951b22a829 Completely got rid of user/lib.php
- print_user() went to weblib.php and got tidied up

  - The graphics functions went to lib/gdlib.php

See Bug 922
2004-01-10 16:41:29 +00:00
moodler eca1c454d7 Use fullname display for actual name in list 2003-11-28 16:16:59 +00:00
moodler 959e11bf24 Fixed paging bar at the bottom of the page 2003-11-12 07:40:09 +00:00
moodler a328425d17 New feature based on code from Gustav Delius
-> A-Z subsets on the participant list.

http://moodle.org/mod/forum/discuss.php?d=3162

I also made a new datalib function called count_course_students()
2003-11-04 12:09:52 +00:00
stronk7 40c9e047e0 Another small typo, == instead of =. :-D 2003-10-31 14:24:44 +00:00
stronk7 8c844d2d40 Small typo preventing users to be sorted. :-) 2003-10-31 14:22:37 +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 1b6a4b1db2 Some cleanups for some of the HTML, including addition of new styles 2003-10-21 06:40:39 +00:00
moodler 5833a6c8eb The list of countries has finally been moved into the language packs
so it can be translated.

There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.

get_string("AU", "countries")   will also work if needed
2003-09-26 08:04:48 +00:00
moodler 30bacddc59 Fixed user display with less than 20 students 2003-09-20 05:19:02 +00:00
moodler 4969ad7400 First attempt at proper paging for the user page.
Still needs some work ...
2003-09-18 04:46:34 +00:00
moodler 55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00
moodler 02e44e7cf4 Print better loggedin info at the top of the page 2003-05-26 07:54:34 +00:00
moodler 69ec0a8b1d Moved info about automatic unenrolling to the top where it makes more sense
I think.
2003-05-16 06:27:23 +00:00
moodler dc95f4a11b Always print full number of student at the top 2003-04-29 12:51:21 +00:00
moodler 81f186b47a I'm getting wierd numbers of records returned on moodle.org.
This fix makes the page a bit more robust even if this is
happening.
2003-04-28 16:13:46 +00:00
moodler dc0dc7d5dd Tidying up the way pix images are used.
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler 8b72b41bf9 Better looking code 2003-04-14 05:44:47 +00:00
moodler b610b4c2fd Showall is sticky, and also you get a warning about the number 2003-04-14 03:02:25 +00:00
moodler dea49bdd6c Changed wording a little 2003-04-14 02:56:31 +00:00
moodler a625debc38 Simplified display - less unnecessary clutter 2003-04-14 02:52:11 +00:00
moodler 15c715211e Mucking with the formtting 2003-04-14 02:48:40 +00:00
moodler 980d545f4f Smaller info 2003-04-14 02:45:03 +00:00
moodler c5b6666eaf Better support for large classes 2003-04-14 02:42:40 +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 9ae472a374 New message about users being automatically unenrolled 2002-11-22 17:28:55 +00:00
moodler cbb0fee071 For very large classes don't even try to show all the participants 2002-11-12 03:02:51 +00:00
moodler 8dbed6be60 format_time() now supports language strings for day(s)/hour(s)/min(s)/sec(s)
String lookups are cached in user/index.php for efficiency
2002-10-03 04:04:59 +00:00
martin a58977a2a0 Forgot country display change 2002-09-22 16:17:11 +00:00
martin adcb3ac53d Better country sorting on user index in a course 2002-09-22 16:16:13 +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 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 6b281f1fec Better display of users in shortened form, for testing 2002-09-21 05:42:16 +00:00
martin 6abee98964 First go at an abbreviated user listing 2002-09-20 15:40:20 +00:00
martin 40a1d986f9 Changes to improve display of teachers 2002-09-08 03:34:12 +00:00
martin b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin f144c3054a DOn't print teachers with no authority 2002-09-01 14:30:39 +00:00
martin cd052f8ccc Performance enhancement for user listing (caching of language strings) 2002-08-06 09:21:14 +00:00
martin ae642af6c5 Slight rearrangement 2002-08-01 06:15:43 +00:00
martin 4b232245df Changed to use the new functions for lists of students, teachers etc 2002-07-29 06:53:09 +00:00
martin 803b2c7606 Altered buttons from index and view pages 2002-07-27 10:23:45 +00:00