440 Commits

Author SHA1 Message Date
moodler
278a229c25 Slight fix to teacheronly coloring 2003-04-26 12:22:52 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
fbca88e692 Show activity log only from visible surveys. Bug #367. 2003-04-26 11:04:46 +00:00
stronk7
2953d5e865 Show activity log only from visible journals. Bug #367. 2003-04-26 10:14:54 +00:00
stronk7
dff0db9ad5 Show activity log only from visible forums. Bug #367. 2003-04-26 00:17:42 +00:00
stronk7
746546a8f8 Show activity log only from visible assignments. Bug #367. 2003-04-25 23:49:35 +00:00
paca70
c4c575979e Allow caseinsensitive search for postgesql 2003-04-25 19:32:38 +00:00
moodler
580f2fbc07 New function to detect visibility of a single module, and
use of this function when displaying list of forums
2003-04-25 05:24:29 +00:00
stronk7
c37053ea2f Changed to show the hidden surveys dimmed (bug #364) 2003-04-24 18:28:30 +00:00
stronk7
e6c136e1bf Changed to show the hidden quizzes dimmed (bug #364) 2003-04-24 18:19:23 +00:00
stronk7
f99d236832 Little update to select the forum info (avoid duplicates). 2003-04-24 17:35:34 +00:00
stronk7
3b0fb381ea Changed to show the hidden forums dimmed (bug #364) 2003-04-24 17:15:59 +00:00
moodler
61367e6417 More robust variable checking 2003-04-24 17:13:52 +00:00
moodler
719e7b04f8 Default value for alltext variable 2003-04-24 17:05:54 +00:00
stronk7
5094d166b7 Changed to show the hidden choices dimmed (bug #364) 2003-04-24 16:47:06 +00:00
stronk7
dd8d521d91 Changed to show the hidden assignments dimmed (bug #364) 2003-04-24 16:38:49 +00:00
stronk7
81cdaada93 Changed to show the hidden resources dimmed (bug #364) 2003-04-24 15:25:21 +00:00
moodler
3395f2d67e Forum posts are now not allowed to have blank subjects or messages,
if a message is entered with one of these blank then the user gets
an error message and a chance to re-edit the message.
2003-04-24 14:05:47 +00:00
moodler
1fc49f0019 New feature to allow teachers to move a discussion from one forum
to another.

A simple popup menu now appears when teachers view any discussion.

Includes a new log entry to log when a discussion is moved.
2003-04-24 08:45:27 +00:00
moodler
c032b59db9 Help button about subscription on forum page 2003-04-23 15:19:01 +00:00
moodler
312447111c Got a bit slash-happy 2003-04-23 15:01:37 +00:00
moodler
3af4a3653c some HTML tags made a bit more XHTMLish 2003-04-23 14:50:44 +00:00
moodler
3ba2985594 Robustness fixes 2003-04-21 08:08:33 +00:00
moodler
9dd0b37817 Make sure to change the ownership of uploaded files 2003-04-21 07:11:29 +00:00
paca70
fe8bc4c9a5 Removed two `'s 2003-04-18 21:05:12 +00:00
moodler
2ab968e937 Trying some optimisations 2003-04-18 09:53:41 +00:00
moodler
03aa0dfa10 Style improvements and upgrades 2003-04-18 06:39:40 +00:00
moodler
9e0a08bd28 Discussion, not subject 2003-04-18 06:14:17 +00:00
moodler
c20b762a06 Fixed location of Older discussions link 2003-04-18 05:57:45 +00:00
moodler
3c8a606d85 Added simple paging ... only top 100 are shown by default. If there
are more then "older discussions" link shows all of them.

Someday proper 1,2,3,4 paging would be nice but this will do for now.
2003-04-18 05:54:18 +00:00
moodler
546be6dd89 don't valign subjects in html 2003-04-18 05:28:08 +00:00
moodler
96e301a7c9 Undoing last checkin 2003-04-18 05:25:46 +00:00
moodler
9ddb00e600 Improved colours 2003-04-18 05:22:49 +00:00
moodler
29507631a9 First pass at a cleaner display for discussion listings 2003-04-18 03:58:12 +00:00
moodler
e1122620b5 Er, similar to the last few changes but this way seems to actually work. :-)
Need sleep ...
2003-04-16 13:48:16 +00:00
moodler
2408867e8c Improvements for shuffleorder in collections of random questions 2003-04-16 13:25:03 +00:00
moodler
96192c4459 After doing a quiz that has been shuffled, present the feedback in the
same order.  Note that shuffled ANSWERS may still appear reshuffled.

When viewing reports, all shuffling is switched off so that quizzes
always appear in the default order (for easier comparison).

Also a few tweaks, robustness etc
2003-04-16 13:10:48 +00:00
moodler
77cff58927 Fixes for bug 268 - Changing answers of questions can lose responses for
existing quizzes with those questions.

When updating a question it now checks for existing answers and updates
those instead of making new ones.
2003-04-15 14:43:29 +00:00
moodler
d6a6331129 Add category to random question names 2003-04-15 13:14:33 +00:00
moodler
5a25f84d25 Fix for off-by-one grade error when 'Save Grades' had not been used 2003-04-14 13:52:59 +00:00
moodler
7c81b6e273 Sort subscribers by email address (easier to find subscribers based on
bounced messages)
2003-04-12 07:52:52 +00:00
moodler
752e1c2b62 Don't pass alltext from mod.html to details.php ... more efficient this way 2003-04-12 03:42:17 +00:00
moodler
0bf2925db8 Minor fixes 2003-04-11 14:44:12 +00:00
moodler
c6eed09730 New "create multiple questions" wizard.
Improvements to the importing routine for AON
2003-04-10 17:55:57 +00:00
moodler
c05eca327c Importing improved to include pre and post-processing.
Removal of Random Matching code from the generic case.
Implementing a particular custom import style aon.php
2003-04-10 13:12:40 +00:00
moodler
da5fb074c3 Minor robustness fix 2003-04-10 13:11:34 +00:00
moodler
b1db099b7e New icons 2003-04-10 13:04:20 +00:00
moodler
52c018a0b5 More logical position for shuffle options 2003-04-09 14:27:58 +00:00
moodler
4b85b71712 New quiz switches to
- shuffle questions order
  - shuffle answers order
2003-04-09 13:57:08 +00:00
moodler
f5cbbecaf5 empty() --> !isset() 2003-04-09 13:41:11 +00:00