version 1.44, 2011/01/15 03:10:54
|
version 1.45, 2011/06/05 12:59:47
|
Line 544 sub print_config_box {
|
Line 544 sub print_config_box {
|
my $itemtext = $item->{'itemtext'}; |
my $itemtext = $item->{'itemtext'}; |
my $rowtotal = 0; |
my $rowtotal = 0; |
my $output = |
my $output = |
'<h3><a href="#">'.&mt($item->{text}).'</a></h3> |
'<table class="LC_nested_outer"> |
<div> <span style="float:right">'. |
<tr> |
&Apache::loncommon::help_open_topic($item->{'help'}).'</span>'; |
<th align="left" valign="middle"><span class="LC_nobreak" style="font-size: larger;" >'. |
|
&mt($item->{text}).' '. |
|
&Apache::loncommon::help_open_topic($item->{'help'}).'</span></th>'."\n". |
|
'</tr>'; |
if (($action eq 'feedback') || ($action eq 'classlists')) { |
if (($action eq 'feedback') || ($action eq 'classlists')) { |
$output .= ' |
$output .= ' |
|
<tr> |
|
<td> |
<table class="LC_nested">'; |
<table class="LC_nested">'; |
if (exists $item->{'header'}->[0]->{'col1'} || |
if (exists $item->{'header'}->[0]->{'col1'} || |
exists $item->{'header'}->[0]->{'col2'}) { |
exists $item->{'header'}->[0]->{'col2'}) { |
Line 566 sub print_config_box {
|
Line 571 sub print_config_box {
|
} |
} |
$output .= ' |
$output .= ' |
</table> |
</table> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
<table class="LC_nested"> |
<table class="LC_nested"> |
<tr class="LC_info_row"> |
<tr class="LC_info_row"> |
<td class="LC_left_item">'.&mt($item->{'header'}->[1]->{'col1'}).'</td>'; |
<td class="LC_left_item">'.&mt($item->{'header'}->[1]->{'col1'}).'</td>'; |
Line 576 sub print_config_box {
|
Line 585 sub print_config_box {
|
$output .= &print_classlists('middle',$cdom,$settings,$itemtext,\$rowtotal,$crstype). |
$output .= &print_classlists('middle',$cdom,$settings,$itemtext,\$rowtotal,$crstype). |
' |
' |
</table> |
</table> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td> |
<table class="LC_nested">'; |
<table class="LC_nested">'; |
if (exists $item->{'header'}->[2]->{'col1'} || |
if (exists $item->{'header'}->[2]->{'col1'} || |
exists $item->{'header'}->[2]->{'col2'}) { |
exists $item->{'header'}->[2]->{'col2'}) { |
Line 588 sub print_config_box {
|
Line 601 sub print_config_box {
|
} |
} |
} else { |
} else { |
$output .= ' |
$output .= ' |
|
<tr> |
|
<td> |
<table class="LC_nested">'; |
<table class="LC_nested">'; |
if (exists $item->{'header'}->[0]->{'col1'} || |
if (exists $item->{'header'}->[0]->{'col1'} || |
exists $item->{'header'}->[0]->{'col2'}) { |
exists $item->{'header'}->[0]->{'col2'}) { |
Line 624 sub print_config_box {
|
Line 639 sub print_config_box {
|
} |
} |
$output .= ' |
$output .= ' |
</table> |
</table> |
</div>'; |
</td> |
|
</tr> |
|
</table><br />'; |
return ($output,$rowtotal); |
return ($output,$rowtotal); |
} |
} |
|
|