+print `$updatecmd`;
+
+my $modulelist = `ls $cvsroot`;
+my(@modules) = split (/\s+/, $modulelist);
+
+foreach my $module (@modules) {
+
+ print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">";
+ print "<tr><td><font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font></td></tr>";
+ print "<tr><td bgcolor=\"white\">\n";
+
+ my(@lines) = `$logcmd $module 2>&1`;
+ if(@lines == 0) {
+ print "There have been no commits in this module during this period.\n";
+ }
+ else {
+ foreach my $line (@lines) {
+
+ if ($line =~ /^([0-9]{4}-[0-9]{2}-[0-9]{2}.*?)([^\s]+)$/) {
+ print "<font color=\"blue\"><b>";
+ print HTML_encode($1);
+ print "</b><i>";
+ print HTML_encode("by $2");
+ print "</i></font>"
+ }
+ else {
+ chop $line;
+ print "<code>";
+ print HTML_encode($line);
+ print "</code><br>"
+ }
+ }
+ }
+ print "</td></tr>\n";
+
+ print "</table><p>\n\n";