2544 Commits

Author SHA1 Message Date
moodler
a48e8c4b7e Efficiency for forum_count_discussion_replies() from stable 2005-02-18 08:00:00 +00:00
gustav_delius
56c0715e77 The teacher forum has no coursemodule and this led to errors in particular in forum_print_latest_discussions(). 2005-02-18 06:41:12 +00:00
stronk7
92fac4b251 Now 0 rates are supported in glossary. Bug 2582
(http://moodle.org/bugs/bug.php?op=show&bugid=2582)
2005-02-18 01:00:42 +00:00
stronk7
4f746d2aea ARGGG. I spent 1 hour discovering where was the error!!
Under PHP5 we must cast objects to arrays to use them in loops.
But what is really annoying is that, instead of return an error, PHP
returns the 1st element! This should close bug 2581.
(http://moodle.org/bugs/bug.php?op=show&bugid=2581)
2005-02-18 00:19:08 +00:00
stronk7
4837dd1f46 Now globalglossary is working!
Bug 2577
(http://moodle.org/bugs/bug.php?op=show&bugid=2577)
2005-02-17 19:45:12 +00:00
stronk7
73e97c3113 Now the glossary filter only links to concepts in visible glossaries (for everybody!)
Bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566)
2005-02-17 19:28:21 +00:00
gustav_delius
1ee55c41d9 Give groupmode selection to mod.html for all modules that use groupmode. Also fix bug 2576 2005-02-17 19:19:21 +00:00
stronk7
6c3512329b Done. Now:
- students only view entries from visible glossaries.
- teachers view any entry from their course and only visible from global glossaries.
- admins view any entry from any course and any entry from global glossaries too.

Part of bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566)
2005-02-17 18:58:53 +00:00
bobopinna
92a489eb6a First step to SCORM2004, new communication subsystem 2005-02-17 16:04:42 +00:00
thepurpleblob
8b8a1caaaa Dumps a question as an IMS QTI Manifest. Can be called from external programs requiring
this data. Submitted by Brian King.
2005-02-17 14:41:05 +00:00
thepurpleblob
06e273a1c3 Brian King's new QTI export capability - needs some testing yet. 2005-02-17 13:39:35 +00:00
thepurpleblob
425d616a1e Smarty templates used for new qti export feature. 2005-02-17 13:37:49 +00:00
bobopinna
8b1b2407ee New validation procedure 2005-02-17 09:26:13 +00:00
moodler
5e497e4e7a Some more styles 2005-02-17 09:25:05 +00:00
bobopinna
2a0407b7f6 First step for SCORM2004, new communication subsystem 2005-02-17 08:52:54 +00:00
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