Modifying Empty Titles process For Translations
authorhdl <hdl>
Wed, 30 Mar 2005 08:08:25 +0000 (08:08 +0000)
committerhdl <hdl>
Wed, 30 Mar 2005 08:08:25 +0000 (08:08 +0000)
koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl
reports/cat_issues_top.pl

index 4df22ad..6d514a8 100644 (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 -->
index 0a2d940..dc956d8 100755 (executable)
@@ -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;