version 1.82, 2004/03/22 17:25:27
|
version 1.84, 2004/04/01 15:32:06
|
Line 1320 sub build_foil_index {
|
Line 1320 sub build_foil_index {
|
if (@Concepts > 1) { |
if (@Concepts > 1) { |
$table .= '<tr>'. |
$table .= '<tr>'. |
'<td>'.$conceptindex.'</td>'. |
'<td>'.$conceptindex.'</td>'. |
'<td>'.&HTML::Entities::encode($concept->{'name'}).'</td>'. |
'<td>'.&HTML::Entities::encode($concept->{'name'},'<>&"').'</td>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.$foilindex++.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'}).'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'},'<>&"').'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($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>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'}).'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$firstfoil}->{'name'},'<>&"').'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.$Foildata{$firstfoil}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($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 1340 sub build_foil_index {
|
Line 1340 sub build_foil_index {
|
'<td></td>'. |
'<td></td>'. |
'<td></td>'. |
'<td></td>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.$foilindex.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'}).'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'},'<>&"').'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($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>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'}).'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'name'},'<>&"').'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.$Foildata{$foilid}->{'text'}.'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'value'}).'</td>'. |
'<td>'.&HTML::Entities::encode($Foildata{$foilid}->{'value'},'<>&"').'</td>'. |
"</tr>\n"; |
"</tr>\n"; |
} |
} |
} continue { |
} continue { |
Line 1374 sub build_option_index {
|
Line 1374 sub build_option_index {
|
'<tr>'. |
'<tr>'. |
'<td bgcolor="'.$plotcolors->[$optionindex++].'">'. |
'<td bgcolor="'.$plotcolors->[$optionindex++].'">'. |
(' 'x4).'</td>'. |
(' 'x4).'</td>'. |
'<td>'.&HTML::Entities::encode($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 |