If displaying an archived bug, print a message to that effect and warn that
it can't be changed.
require '/etc/debbugs/config';
require '/etc/debbugs/text';
-use vars(qw($gHTMLTail $gWebDomain));
+use vars(qw($gHTMLTail $gSpoolDir $gWebDomain));
my %param = readparse();
my $buglog = buglog($ref);
open L, "<$buglog" or &quit("open log for $ref: $!");
+if ($buglog !~ m#^\Q$gSpoolDir/db-h/#) {
+ $descriptivehead .= "\n<br>Bug is <strong>archived</strong>. No further changes may be made.";
+}
my $log='';