Modifying Empty Titles process For Translations

This commit is contained in:
hdl 2005-03-30 08:08:25 +00:00
parent 15dde751d0
commit 44b3886050
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ function Dopop(link) {
<!-- TMPL_LOOP NAME="loopcell" -->
<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reference" --><a href="javascript:Dopop('../MARCdetail.pl?bib=<!-- TMPL_VAR NAME="reference" -->')" ><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- TMPL_ELSE -->Item<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reference" --></a><!-- /TMPL_IF -->
</td>
<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->

View file

@ -326,7 +326,7 @@ sub calculate {
my ($row, $rank, $id, $col )=@data;
$col = "zzEMPTY" if ($col eq undef);
$i=1 if (($previous_col) and not($col eq $previous_col));
$table[$i]->{$col}->{'name'}=(($row eq "") or ($row eq undef))?"Title":$row;
$table[$i]->{$col}->{'name'}=$row;
$table[$i]->{$col}->{'count'}=$rank;
$table[$i]->{$col}->{'link'}=$id;
# warn " ".$i." ".$col. " ".$row;