moodler
b8340d1938
Removal of THEME, added some classes, general tidy up.
2005-02-17 08:38:50 +00:00
moodler
4d2c0e754c
Initialise a variable
2005-02-17 05:15:50 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler
c8680d86e9
Remove html around paging bar
2005-02-16 07:41:29 +00:00
moodler
c2b552feeb
Some fixes to styles etc
2005-02-16 07:35:57 +00:00
moodler
f51e8d7ed6
FIxed up styles and lots of quotes
2005-02-16 06:17:31 +00:00
moodler
fb83bd5075
Fixed a notice
2005-02-15 17:44:02 +00:00
moodler
d3583b418b
Checking in what I've got so far here ... lots to do.
2005-02-15 17:27:52 +00:00
defacer
ef08e7ad70
Fix a notice if $attemptmark doesn't get set.
2005-02-15 01:39:12 +00:00
stronk7
c6e88f1059
One more use of decimalpoints
2005-02-14 19:57:45 +00:00
stronk7
e37da3a536
Now decimalpoints is used to show grades
...
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
stronk7
f4e56673df
Added backup and restore support for decimalpoints
2005-02-14 19:05:00 +00:00
stronk7
ee40f7a720
Added configuration support for decimalpoints
2005-02-14 18:56:53 +00:00
stronk7
72036f9305
New quiz option addded: decimalpoints
...
(used to decide the number of decimals showed in grades)
2005-02-14 18:24:24 +00:00
stronk7
8a15200d23
Avoid tons of warnings with debug=on creating false answers for this question type.
2005-02-14 00:51:36 +00:00
gustav_delius
f622d17759
Fix bug 1998
2005-02-14 00:05:00 +00:00
gustav_delius
8203d211ad
Fix bug 1937
2005-02-14 00:04:09 +00:00
gustav_delius
c7a5b3b1f7
Forum search now no longer shows posts from other groups from forums that are in separate groups mode, see bug 2308
2005-02-13 20:49:28 +00:00
moodler
0d2c0cfdf8
Added a little class to the "edited by" line
2005-02-13 17:26:13 +00:00
moodler
0936de64a5
Add an "edited by" message to posts when they have been edited by a
...
different person from the original poster. See bug 2392
2005-02-13 17:20:17 +00:00
gustav_delius
e3ff14ca3c
Fixed bug 2392
2005-02-13 16:41:12 +00:00
skodak
68eb9f32e4
added style sheet to message panel
2005-02-13 16:30:16 +00:00
gustav_delius
2f945146d7
Made the quiz paging bar look more like the standard one, see bug 2443.
2005-02-13 14:58:45 +00:00
gustav_delius
17db65ef3f
Added visibility check to all workshop pages, see bug 2450.
2005-02-13 13:12:03 +00:00
moodler
373d5f2083
Choice doesn't have groups
2005-02-13 06:31:37 +00:00
stronk7
95e72c12d0
Now retrieving only needed fields!
2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35
Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
...
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.
If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.
If deleting a coursemodule its events are deleted from the calendar.
The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.
For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
425b4f1abe
Err, fixed a typo
2005-02-12 15:56:03 +00:00
moodler
4e00a4d923
A new discussion is now marked read by the current user right away
2005-02-12 15:01:39 +00:00
moodler
3a68fbbb04
Show group icon or group name on the discussion listing
2005-02-12 14:53:48 +00:00
defacer
e96ba29d6f
Vastly improved styles, lots of inline styles removed, markup improved.
2005-02-12 11:37:09 +00:00
skodak
e7fbd0b3f2
Chatd cleanup finished, from now on only bug fixing.
2005-02-12 10:54:25 +00:00
moodler
9044a3874e
Cleaned up some bodgy search code and formatted according to guidelines ..
2005-02-12 04:41:17 +00:00
gustav_delius
8930d42124
The table on view.php now also shows the marks achieved in each attempt in addition to the rescaled grade.
2005-02-11 19:51:29 +00:00
skodak
2debdf0476
FF issue seems to be solved by explicit call to document.close()
2005-02-10 19:25:42 +00:00
skodak
a32c7772c6
fixed deleting of old users when using chatd, other minor fixes, reverting of changes in chatmsg - found some weird problems in FF
2005-02-10 19:14:53 +00:00
moodler
89f688b6c6
Removed some THEME
2005-02-10 18:22:31 +00:00
moodler
f1c1d2f166
Removing the THEME variable and adding in classes where appropriate
2005-02-10 10:41:22 +00:00
moodler
1ac2128075
No message popups during secure quizzes
2005-02-10 05:13:05 +00:00
defacer
4f0d565da6
Bringing Quiz in line with Martin's "make Chat into a showcase for pages" idea.
2005-02-10 01:59:11 +00:00
michaelpenne
f7ffb898fa
array/object initialization
2005-02-09 22:36:24 +00:00
michaelpenne
078ab023be
array/object initialization and made essay question type work with unanswered lesson flow
2005-02-09 22:34:14 +00:00
michaelpenne
d72b5b56dc
I think just array/object initialization
2005-02-09 22:31:36 +00:00
michaelpenne
0f4be3f608
initialized arrays and objects, fixed a few bugs
2005-02-09 22:29:29 +00:00
moodler
a9d5f810b2
Less $THEME, more white chocolate
2005-02-09 17:15:27 +00:00
moodler
37dfb27974
Moved chat PAGE stuff out of core as an example
2005-02-09 16:44:35 +00:00
defacer
5ccb85f048
Voila! Blocks support now in chats!
2005-02-09 15:47:22 +00:00
defacer
de4505fef3
Removing bad slashes from HTML.
2005-02-09 15:42:05 +00:00
moodler
fafd89a0f1
Removed $THEMEs and stuff.
...
I'm a little worried about this spaghetti code ... it's a mess!
2005-02-09 15:36:29 +00:00
defacer
d1b7d61e74
Oops! Wrong optional_param() calls.
2005-02-09 15:31:47 +00:00