Index: temp_moodle_dev/moodle/mod/lamstwo/tooladapter_choice.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/lamstwo/tooladapter_choice.php,v diff -u -r1.2 -r1.3 --- temp_moodle_dev/moodle/mod/lamstwo/tooladapter_choice.php 18 Nov 2008 04:02:11 -0000 1.2 +++ temp_moodle_dev/moodle/mod/lamstwo/tooladapter_choice.php 17 Dec 2008 23:38:37 -0000 1.3 @@ -28,6 +28,7 @@ $sectionid = optional_param('section', 1, PARAM_INT); $courseid = optional_param('cs', 1, PARAM_INT); $outputname = optional_param('oname', '', PARAM_TEXT); + $optionid = optional_param('optionID', PARAM_INT); $user = get_record('user', 'username', $username); @@ -48,9 +49,12 @@ echo $text; break; case 'output': - $output = choice_get_tool_output($cmid, $user->id); + $output = choice_get_tool_output($cmid, $user->id,$optionid); echo $output; break; + case 'getoptions': + choice_get_options($cmid); + break; default: } ?> \ No newline at end of file