diff --git a/mozilla/webtools/bonsai/cvslog.cgi b/mozilla/webtools/bonsai/cvslog.cgi index 85349737f0a..79135f9a006 100755 --- a/mozilla/webtools/bonsai/cvslog.cgi +++ b/mozilla/webtools/bonsai/cvslog.cgi @@ -66,6 +66,7 @@ if ($filename eq '') { print "Content-Type:text/html\n\n"; &print_usage; + PutsTrailer(); exit; } my ($file_head, $file_tail) = $filename =~ m@(.*/)?(.+)@; @@ -96,8 +97,7 @@ if (defined $root && $root ne '') { print "Content-Type:text/html\n\n"; &print_top; print "Error: Root, $root, is not a directory.

\n"; - print "\n"; - &print_bottom; + PutsTrailer(); exit; } } @@ -124,7 +124,7 @@ unless ($found_rcs_file) { my $escaped_filename = html_quote($filename); print "Rcs file, $escaped_filename, does not exist.

\n"; print "\n"; - &print_bottom; + PutsTrailer(); exit; } @@ -367,7 +367,7 @@ foreach $revision (@revisions) print $output; } print ""; -&print_bottom; +PutsTrailer(); } sub display_rss { @@ -573,7 +573,7 @@ Add parameters to the query string to view a file. author -- slamm,mtoy - Filter out these authors + Only show changes by these authors #<rev_number> @@ -601,21 +601,7 @@ Add parameters to the query string to view a file. You may also begin a query with the CVS Query Form.

__USAGE__ - &print_bottom; -} # sub print_usage - -sub print_bottom { - my $maintainer = Param('maintainer'); - - print <<__BOTTOM__; -
- -Page configuration and help. -Mail feedback to <$maintainer>. - - -__BOTTOM__ -} # print_bottom +} sub print_useful_links { my ($path) = @_;