]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgreport.cgi
Indiciate what machine has built webpages (closes: #507022)
[debbugs.git] / cgi / pkgreport.cgi
index f4ad4490644ff96c4a16a52a69a4d98b8df9d3ed..78a7e884b227a04d0bef96cd08a88cc1f9b70fa8 100755 (executable)
@@ -270,12 +270,6 @@ my $this = munge_url('pkgreport.cgi?',
 my %indexentry;
 my %strings = ();
 
-my $dtime = strftime "%a, %e %b %Y %T UTC", gmtime;
-my $tail_html = $gHTMLTail;
-$tail_html = $gHTMLTail;
-$tail_html =~ s/SUBSTITUTE_DTIME/$dtime/;
-
-
 my @bugs;
 
 # addusers for source and binary packages being searched for
@@ -597,7 +591,9 @@ print option_form(template => 'cgi/pkgreport_options',
 # print "</table></form></div>\n";
 
 print "<hr>\n";
-print "<p>$tail_html";
-
+print fill_in_template(template=>'html/html_tail',
+                      hole_var => {'&strftime' => \&POSIX::strftime,
+                                  },
+                     );
 print "</body></html>\n";