| 45 |
|
|
| 46 |
|
<a href="http://www.i-scream.org.uk"><img border="0" src="../i-scream.gif"></a> |
| 47 |
|
|
| 48 |
< |
<center><table border="0" cellpadding="4" cellspacing="1" bgcolor="#000066" align="center"><tr><td bgcolor="#ffffcc"><font color="#000066" face="arial,sans-serif" size="5"><b><center>$heading</center></b></font></td></tr></table></center> |
| 49 |
< |
<p> </p> |
| 48 |
> |
<h2>$heading</h2> |
| 49 |
|
|
| 50 |
|
END |
| 51 |
|
|
| 52 |
|
print `$updatecmd`; |
| 53 |
|
|
| 54 |
< |
my $modulelist = `ls $cvsroot`; |
| 54 |
> |
my($modulelist)=$query->param('module'); |
| 55 |
> |
$modulelist = `ls $cvsroot` unless defined $modulelist; |
| 56 |
> |
|
| 57 |
|
my(@modules) = split (/\s+/, $modulelist); |
| 58 |
|
|
| 59 |
|
foreach my $module (@modules) { |
| 60 |
|
|
| 61 |
|
print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">"; |
| 62 |
|
print "<tr><td><font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font></td></tr>"; |
| 63 |
< |
print "<tr><td bgcolor=\"white\">"; |
| 63 |
> |
print "<tr><td bgcolor=\"white\">\n"; |
| 64 |
|
|
| 65 |
|
my(@lines) = `$logcmd $module 2>&1`; |
| 66 |
|
if(@lines == 0) { |
| 67 |
< |
print "There have been no commits in this module during this period."; |
| 67 |
> |
print "There have been no commits in this module during this period.\n"; |
| 68 |
|
} |
| 69 |
|
else { |
| 70 |
|
foreach my $line (@lines) { |
| 84 |
|
} |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
< |
print "</td></tr>"; |
| 87 |
> |
print "</td></tr>\n"; |
| 88 |
|
|
| 89 |
|
print "</table><p>\n\n"; |
| 90 |
|
} |