fixed the title in the header of the page to match with the current 'when=' value

This commit is contained in:
Jordi Sanfeliu 2017-06-26 10:09:45 +02:00
parent 9010d71bde
commit 880d2c5cab
1 changed files with 3 additions and 1 deletions

View File

@ -477,12 +477,14 @@ EOF
}
}
$title =~ s/ / /g;
my $twhen = $tf{nwhen} > 1 ? "$tf{nwhen} $tf{twhen}" : $tf{twhen};
$twhen .= "s" if $tf{nwhen} > 1;
print(" <font size='5'><b>&nbsp;&nbsp;$title&nbsp;&nbsp;</b></font>\n");
print(" </font>\n");
print(" </td>\n");
print(" <td bgcolor='" . $colors{title_bg_color} . "'>\n");
print(" <font face='Verdana, sans-serif' color='" . $colors{title_fg_color} . "'>\n");
print(" <font size='5'><b>&nbsp;&nbsp;last&nbsp;$tf{twhen}&nbsp;&nbsp;</b></font>\n");
print(" <font size='5'><b>&nbsp;&nbsp;last&nbsp;$twhen&nbsp;&nbsp;</b></font>\n");
print(" </font>\n");
print(" </td>\n");
print(" </tr>\n");