diff --git a/webtools/bonsai/showcheckins.cgi b/webtools/bonsai/showcheckins.cgi
index f84a7e0d35a4..d7072f795730 100755
--- a/webtools/bonsai/showcheckins.cgi
+++ b/webtools/bonsai/showcheckins.cgi
@@ -88,10 +88,19 @@ if (exists($::FORM{'person'})) {
@list = @::CheckInList;
}
+my $treepart = '';
+$treepart = "&treeid=$::TreeID" if ($::TreeID ne "default");
+my $branchpart = '';
+$branchpart = "&branch=$::TreeInfo{$::TreeID}{branch}"
+ if ($::TreeInfo{$::TreeID}{branch});
$subhead .= "
-Be aware that you are looking at an old hook!"
+These checkins are not from the current
+hook!
"
if (Param('readonly'));
+$subhead .= "View a different
+day's checkins.
";
PutsHeader($title, $head, $subhead);
@@ -201,10 +210,6 @@ print "
my $count = 0;
my $maxcount = 100;
-my $branchpart = '';
-
-$branchpart = "&branch=$::TreeInfo{$::TreeID}{branch}"
- if ($::TreeInfo{$::TreeID}{branch});
foreach $checkin (@list) {
$info = eval("\\\%$checkin");
diff --git a/webtools/bonsai/toplevel.cgi b/webtools/bonsai/toplevel.cgi
index c3252abb3b0a..76338f3d3786 100755
--- a/webtools/bonsai/toplevel.cgi
+++ b/webtools/bonsai/toplevel.cgi
@@ -76,19 +76,26 @@ foreach my $tree (@::TreeList) {
print "\n";
+my $treepart = '';
+$treepart = "&treeid=$::TreeID"
+ if ($::TreeID ne "default");
+my $branchpart='';
+$branchpart="&branch=$::TreeInfo{$::TreeID}{branch}"
+ if $::TreeInfo{$::TreeID}{branch};
if (Param('readonly')) {
- print "
$::MOTD