+print `$updatecmd`;
+
+my(@modules) = split (/\s+/, $modulelist);
+
+foreach my $module (@modules) {
+
+ print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">\n\n";
+ print "<tr><td>\n<font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font>\n</td></tr>\n\n";
+ 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 "\n<font color=\"blue\"><b>";
+ print HTML_encode($1);
+ print "</b><i>";
+ print HTML_encode("by $2");
+ print "</i></font>\n"
+ }
+ else {
+ chop $line;
+ print "<code>";
+ print HTML_encode($line);
+ print "</code><br>\n"
+ }
+ }
+ }
+ print "</td></tr>\n";
+
+ print "</table><p>\n\n";