version 1.62, 2004/01/28 14:53:34
|
version 1.63, 2004/01/30 16:31:36
|
Line 1313 sub build_foil_index {
|
Line 1313 sub build_foil_index {
|
if (@Concepts > 1) { |
if (@Concepts > 1) { |
$table .= '<tr>'. |
$table .= '<tr>'. |
'<td>'.$conceptindex.'</td>'. |
'<td>'.$conceptindex.'</td>'. |
'<td>'.$concept->{'name'}.'</td>'. |
'<td>'.&HTML::Entities::encode($concept->{'name'}).'</td>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'name'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'}).'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'text'}).'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'value'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'value'}).'</td>'. |
"</tr>\n"; |
"</tr>\n"; |
} else { |
} else { |
$table .= '<tr>'. |
$table .= '<tr>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'name'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'}).'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'text'}).'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'value'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'value'}).'</td>'. |
"</tr>\n"; |
"</tr>\n"; |
} |
} |
foreach my $foilid (@FoilsInConcept) { |
foreach my $foilid (@FoilsInConcept) { |
Line 1333 sub build_foil_index {
|
Line 1333 sub build_foil_index {
|
'<td></td>'. |
'<td></td>'. |
'<td></td>'. |
'<td></td>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.$Foildata{$foilid}->{'name'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'}).'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'text'}).'</td>'. |
'<td>'.$Foildata{$foilid}->{'value'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'value'}).'</td>'. |
"</tr>\n"; |
"</tr>\n"; |
} else { |
} else { |
$table .= '<tr>'. |
$table .= '<tr>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.$Foildata{$foilid}->{'name'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'}).'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'text'}).'</td>'. |
'<td>'.$Foildata{$foilid}->{'value'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'value'}).'</td>'. |
"</tr>\n"; |
"</tr>\n"; |
} |
} |
} continue { |
} continue { |
Line 1367 sub build_option_index {
|
Line 1367 sub build_option_index {
|
'<tr>'. |
'<tr>'. |
'<td bgcolor="'.$plotcolors->[$optionindex++].'">'. |
'<td bgcolor="'.$plotcolors->[$optionindex++].'">'. |
(' 'x4).'</td>'. |
(' 'x4).'</td>'. |
'<td>'.$option.'</td>'. |
'<td>'.&HTML::Entities::encode($option).'</td>'. |
"</tr>\n"); |
"</tr>\n"); |
} |
} |
shift(@Rows); # Throw away 'correct option chosen' color |
shift(@Rows); # Throw away 'correct option chosen' color |