version 1.94, 2018/06/07 15:58:10
|
version 1.95, 2025/01/27 15:04:15
|
Line 170 sub end_itemgroup {
|
Line 170 sub end_itemgroup {
|
undef($columns); |
undef($columns); |
} |
} |
if ($target eq 'web') { |
if ($target eq 'web') { |
|
|
my $table='<table class="LC_itemgroup">'; # extra space to match what latex does. |
my $table='<table class="LC_itemgroup">'; # extra space to match what latex does. |
if ((!$columns) || ($columns < 0)) { |
if ((!$columns) || ($columns < 0)) { |
if ($direction eq 'horizontal') { |
if ($direction eq 'horizontal') { |
Line 719 sub displayfoils {
|
Line 718 sub displayfoils {
|
} |
} |
} |
} |
if ($target ne 'tex' && $Apache::lonhomework::type ne 'exam') { |
if ($target ne 'tex' && $Apache::lonhomework::type ne 'exam') { |
$optionlist='<select onchange="javascript:setSubmittedPart(\''. |
$optionlist='<label><select onchange="javascript:setSubmittedPart(\''. |
$part.'\');" name="HWVAL_'. |
$part.'\');" name="HWVAL_'. |
$Apache::inputtags::response[-1].':'.$temp.'">'. |
$Apache::inputtags::response[-1].':'.$temp.'">'. |
$optionlist."</select>\n"; |
$optionlist."</select>\n"; |
Line 746 sub displayfoils {
|
Line 745 sub displayfoils {
|
} |
} |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
if ($Apache::lonhomework::type ne 'exam') { |
if ($Apache::lonhomework::type ne 'exam') { |
$question.="<br />\n".$optionlist.$text; |
$question.="<br />\n".$optionlist.$text/'</label>'; |
} else { |
} else { |
$question.="<br />\n".$text; |
$question.="<br />\n".$text; |
} |
} |
Line 754 sub displayfoils {
|
Line 753 sub displayfoils {
|
my @blank; |
my @blank; |
$question.=&Apache::optionresponse::webbubbles(\@used_letters,\@blank,$temp,$last_letter); |
$question.=&Apache::optionresponse::webbubbles(\@used_letters,\@blank,$temp,$last_letter); |
} |
} |
} else { |
} else { |
# Note that if left or right positioned, we must |
# Note that if left or right positioned, we must |
# confine the bubbles to righttabsize: |
# confine the bubbles to righttabsize: |
# |
# |