Git commits in Moodle 1.6.7 by arborrow

commit 4497e89c9fca7070ada9c53b9614d53e7712084d
Author: arborrow <arborrow>
Date:   Sat, 05 Jul 2008 06:28:20 +0800
Tag:    v1.6.7

MDL-7571 - shuffles 'mode' before displaying, merged from MOODLE_18_STABLE