this time..... :-)

This commit is contained in:
danmarsden 2005-03-31 23:58:37 +00:00
parent 649084b1e8
commit 74550a3cbd

View file

@ -128,12 +128,14 @@
break;
case CHOICE_DISPLAY_VERTICAL:
$options = NULL;
$options->para = false;
echo "<table cellpadding=\"10\" cellspacing=\"10\" align=\"center\">";
foreach ($choice->option as $optionid => $text) {
if ($text) {
echo "<tr><td align=\"left\">";
echo "<input type=\"radio\" name=\"answer\" value=\"".$optionid."\" ".$answerchecked[$optionid]." alt=\"".strip_tags(format_text($text))."\" />".
format_text($text);
echo "<input type=\"radio\" name=\"answer\" value=\"".$optionid."\" ".$answerchecked[$optionid]." alt=\"".strip_tags(format_text($text, FORMAT_MOODLE, $options))."\" />".
format_text($text, FORMAT_MOODLE, $options);
echo "</td>";
echo "</tr>";
}