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 "

-Be aware that you are looking at an old hook!

\n"; + print "

+Be aware that this is not the current +hook!

\n"; +} else { + print "
" . time2str("%m/%d/%Y %T %Z", time()).":"; } - -print "" . time2str("%m/%d/%Y %T %Z", time()) . - ": The tree is currently $openword
\n"; +print " The tree is currently $openword
\n"; unless ($::TreeOpen) { print "The tree has been closed since " . MyFmtClock($::CloseTimeStamp) . ".
\n"; } -print "The last known good tree had a timestamp of "; +print "
The last known good tree had a timestamp of "; print time2str("%m/%d/%Y %T %Z", $::LastGoodTimeStamp) . ".
"; print "
$::MOTD

"; print "
"; @@ -204,9 +211,8 @@ Can't contact the directory server at $ldapserver:$ldapport\n"; my $cvsqueryurl = "cvsqueryform.cgi?" . "cvsroot=$::TreeInfo{$::TreeID}{repository}" . - "&module=$::TreeInfo{$::TreeID}{module}"; -$cvsqueryurl.= "&branch=$::TreeInfo{$::TreeID}{branch}" - if ($::TreeInfo{$::TreeID}{branch}); + "&module=$::TreeInfo{$::TreeID}{module}" . + $branchpart; my $bip = BatchIdPart('?'); my $tinderboxbase = Param('tinderboxbase'); my $tinderboxlink = ''; diff --git a/webtools/bonsai/viewold.cgi b/webtools/bonsai/viewold.cgi index 514734752fcf..8112fbfde8db 100755 --- a/webtools/bonsai/viewold.cgi +++ b/webtools/bonsai/viewold.cgi @@ -55,7 +55,14 @@ foreach my $i (glob(DataDir() . "/batch-*\[0-9\].pl")) { @list = sort {$b <=> $a} @list; -print "
\n"; +print ' +'; print "\n"; print "
\n";