mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
this time..... :-)
This commit is contained in:
parent
649084b1e8
commit
74550a3cbd
1 changed files with 4 additions and 2 deletions
|
@ -128,12 +128,14 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CHOICE_DISPLAY_VERTICAL:
|
case CHOICE_DISPLAY_VERTICAL:
|
||||||
|
$options = NULL;
|
||||||
|
$options->para = false;
|
||||||
echo "<table cellpadding=\"10\" cellspacing=\"10\" align=\"center\">";
|
echo "<table cellpadding=\"10\" cellspacing=\"10\" align=\"center\">";
|
||||||
foreach ($choice->option as $optionid => $text) {
|
foreach ($choice->option as $optionid => $text) {
|
||||||
if ($text) {
|
if ($text) {
|
||||||
echo "<tr><td align=\"left\">";
|
echo "<tr><td align=\"left\">";
|
||||||
echo "<input type=\"radio\" name=\"answer\" value=\"".$optionid."\" ".$answerchecked[$optionid]." alt=\"".strip_tags(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_text($text, FORMAT_MOODLE, $options);
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue