Commit graph

202 commits

Author SHA1 Message Date
mjollnir_
e4103b6a59 & instead of & in participants list base url (from last commit - make participants list searchable) 2005-11-17 03:10:53 +00:00
mjollnir_
f1e24e7a1b Make participants list searchable 2005-11-17 03:09:07 +00:00
mjollnir_
31b7133683 Add a last access filter to the participants list - show users inactive for more than x time period 2005-11-17 02:46:27 +00:00
patrickslee
db0a8174c6 Made action_redir.php take posted parameters, fixing a problem in IE that when trying to add a lot user (say 150+) to the actions this fails to work 2005-11-08 02:34:19 +00:00
defacer
e5ada99f2b Merged from STABLE:
Fix for bug 4127:

In the course participants page, selecting an initials filter in one course
and then moving to another (the filter would propagate) could result in few
or no results being displayed. The teacher would then have no way of
resetting the filter and viewing all (or possibly any) participants.

Fixed by making each course participant page independent. They no longer
share sort orders, collapsed column state, or initials filters.
2005-10-21 01:18:30 +00:00
patrickslee
0f24c257b6 Modified some words to be more generic 2005-10-05 22:22:03 +00:00
patrickslee
5e2c3024a3 Added javascript check before submitting form when using drop down menu 2005-10-05 21:44:03 +00:00
patrickslee
6746bb8ad4 New feature to extend student enrolment period and improvements to the action list in participants list 2005-09-29 06:30:58 +00:00
patrickslee
d937f3ab19 Removed a block of redundant code in participants list (Merged from MOODLE_15_STABLE) 2005-09-29 01:41:50 +00:00
mjollnir_
d7aba64b5a Trying to prevent user table allowing ordering by non-existant fields (I added for bulk IM) 2005-09-04 20:57:43 +00:00
mjollnir_
f19570d0ec Initial checkin of new feature to select users from participants page for a recipient list for sending an IM to. Please test. 2005-08-22 05:44:13 +00:00
defacer
a5a3f48a4a Merging from STABLE:
Augment tablelib so that it can accept a default sort order.
Adding default sort order to participant lists to reinstate 1.4-style behavior.
2005-06-20 03:47:19 +00:00
defacer
bf845f2b30 Merging from STABLE:
Forgot to prepend country codes to the teacher list as well when sorting.
2005-06-03 23:41:06 +00:00
defacer
cc038b4772 Merging from STABLE:
Converted the students table to use the new table class

Fixed bug 3114: when sorting by country, prepend country code to the country name

Fixed behavior of autohiding teacher list; now there is a hide/show icon to be
consistent with the rest of Moodle

Fixed "show all" option so that the user can control it instead of relying on auto behavior

Fixed HTML, removed all inline styles

Improved accessibility (alt tags for images)

Updated obsolete optional_variable calls to optional_param

Several cosmetic and other improvements I 've already forgotten :P
2005-06-03 23:20:01 +00:00
moodler
2c27cd193e Hiding icon as per bug 3098 2005-05-03 18:11:34 +00:00
defacer
68b38e8d02 Teachers table is now displayed with the new table class. 2005-04-27 18:30:02 +00:00
fiedorow
cf9f97c2dd Fix for Bug #3015 2005-04-25 20:32:49 +00:00
moodler
63c1418986 Groups are more sticky for students browsing participants 2005-04-11 18:25:09 +00:00
moodler
ff3caf30c0 Big tidy up of Group listing, User listing and how they interact.
It's still not perfect but it's much much better I think.
2005-03-22 16:04:10 +00:00
gustav_delius
ec99b88e97 $isteacheredit was not defined 2005-02-13 13:23:46 +00:00
gustav_delius
eb58929bbb Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530 2005-02-13 11:22:48 +00:00
moodler
333f44dab0 Handle longtimenosee of zero 2005-02-07 01:23:44 +00:00
defacer
2107c1f721 Changing the inline centering with an id. 2005-01-31 01:20:43 +00:00
defacer
af04e86a78 Removing deprecated <font> and <center>. 2005-01-31 01:03:41 +00:00
defacer
40d4f7362a Removing <font> tags. I didn't add any styles because there was no
visible difference in text size after the removal.
2005-01-31 01:00:21 +00:00
defacer
686fafc187 Bugfix: don't revert to full details display when clicking on the sorting
links in the table headers. Remain in the display mode you were before.
2005-01-31 00:56:00 +00:00
gustav_delius
ea2d8d8a27 fixed bug in paging bar on participants list 2005-01-24 17:40:47 +00:00
defacer
9407d4563f According to the final comments in SC#65:
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.

The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
moodler
f20ff20449 Merged fix from STABLE to hide hidden teachers in a course with separate groups 2004-11-11 08:10:01 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler
031c49fabb HTML code tidy up 2004-09-07 08:05:25 +00:00
defacer
480dda610c Fix for bug 1892:
Hidden teachers are not shown anymore in the less detailed participants view.

PS1: Can you believe I didn't know you could hide a teacher? :o
PS2: I just _LOVE_ using lambda functions! It's soooooooo very cool it makes
     me think I may be programming in the wrong language! :P
2004-09-06 08:06:55 +00:00
defacer
74aa7233f5 For small courses, "more details" is default. 2004-09-04 14:41:14 +00:00
gustav_delius
03f191ad65 added little edit icons on participants list, see bug 1896 2004-09-04 13:51:19 +00:00
defacer
4bc162b7a5 Lots of things going on:
1. Added a dropdown box at the top right which allows you to manually choose
   the display mode for the user lists.
2. Fixed the bug where "Show all X users" was displayed when it shouldn't.
3. Merged the latest changes from the MOODLE_14_STABLE branch. This wasn't
   done before and it gave me the creeps. All changes seem to be good, so
   I hope I didn't checkin anything dangerous.

   Will synchronize the MERGED tag on the branch, too.
2004-09-01 13:56:12 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
gustav_delius
a5db6f8a49 got rid of some undefined index notices 2004-07-01 08:27:58 +00:00
gustav_delius
62b8075632 Changed participants list for site couse, see http://moodle.org/mod/forum/discuss.php?d=8455 2004-05-30 18:46:42 +00:00
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