ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/web/cgi-bin/cvslog.cgi
(Generate patch)

Comparing web/cgi-bin/cvslog.cgi (file contents):
Revision 1.7 by tdb, Wed Jun 13 15:18:55 2001 UTC vs.
Revision 1.9 by tdb, Wed Jun 13 15:29:51 2001 UTC

# Line 45 | Line 45 | print <<"END";
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>&nbsp;</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) {
# Line 83 | Line 84 | foreach my $module (@modules) {
84              }
85          }
86      }
87 <    print "</td></tr>";
87 >    print "</td></tr>\n";
88  
89      print "</table><p>\n\n";
90   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines