### Eclipse Workspace Patch 1.0 #P moodle19dev Index: mod/lesson/mod_form.php =================================================================== RCS file: /cvsroot/moodle/moodle/mod/lesson/mod_form.php,v retrieving revision 1.20.2.4 diff -u -r1.20.2.4 mod_form.php --- mod/lesson/mod_form.php 26 Nov 2008 14:30:22 -0000 1.20.2.4 +++ mod/lesson/mod_form.php 19 Jun 2010 10:14:42 -0000 @@ -269,6 +269,8 @@ } + $mform->addElement('selectyesno', 'highscores', get_string('highscores', 'lesson')); + $mform->setDefault('highscores', 0); $mform->addElement('text', 'maxhighscores', get_string('maxhighscores', 'lesson')); $mform->setHelpButton('maxhighscores', array('maxhighscores', get_string('maxhighscores', 'lesson'), 'lesson')); $mform->setDefault('maxhighscores', 10);