Git commits in Moodle 1.8.5 by tjhunt

commit 8db9017fd8d473a49c8fc8d5c2460fe35904a480
Author: tjhunt <tjhunt>
Date:   Wed, 02 Apr 2008 00:51:03 +0800
Tag:    v1.8.5

MDL-8682 - once again. It won't work all the time if the javascript is inside an if statement.

commit c612c32231ab9464eb1817fdc1e2d9afe5ca8615
Author: tjhunt <tjhunt>
Date:   Mon, 31 Mar 2008 23:09:41 +0800
Tag:    v1.8.5

Backport JS improvements from MDL-8682.

commit 1ba41a5caf0baed2c7b698b544cd68a76613f66a
Author: tjhunt <tjhunt>
Date:   Fri, 29 Feb 2008 07:09:40 +0900
Tag:    v1.8.5

MDL-12695 - Symantec Norton internet security pop up blocker seems to be stopping user starting a quiz attempt. Backport Jamie's fix from 1.9 now that it has had a time to cook and hasn't thrown up any problems.

commit 7f761c27eb80eab827c1676a57ff942e87f12e96
Author: tjhunt <tjhunt>
Date:   Thu, 28 Feb 2008 21:53:05 +0900
Tag:    v1.8.5

MDL-13189 - replace the $QTYPE_MENU global with a function call, so that we can set up the language strings later, after $COURSE is initialised. This ensures that the quesion names appear in the right language.

commit 33cc11661bfbf0b7169a3e259ba2b1a24d21f80c
Author: tjhunt <tjhunt>
Date:   Fri, 22 Feb 2008 07:34:45 +0900
Tag:    v1.8.5

MDL-13551 - preview question capability wrongly denied to student who has moodle/question:manage capability - This was already fixed in 1.9.

commit cda98581a5d0c2000b6651e633c023bd50a40ea2
Author: tjhunt <tjhunt>
Date:   Wed, 20 Feb 2008 02:14:13 +0900
Tag:    v1.8.5

Fix dangerous comment. (MDL-13536)

commit df6447ef653243b48931954fd1fa914d917a547f
Author: tjhunt <tjhunt>
Date:   Thu, 31 Jan 2008 03:18:38 +0900
Tag:    v1.8.5

MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres.

commit e3d41efc04a934f7677b8b26bb58e1320e63022f
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:26:58 +0900
Tag:    v1.8.5

MDL-13096 - Student can view all text for all questions in a course.

commit 1b3fa338bb5062743cb7b499028338a0060f6d8e
Author: tjhunt <tjhunt>
Date:   Fri, 25 Jan 2008 00:06:46 +0900
Tag:    v1.8.5

MDL-13150 - Remove extra <br /> tag for XHTML strict validation - Thanks to Joseph Rzeau