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.10 by tdb, Wed Jun 13 15:53:51 2001 UTC vs.
Revision 1.11 by tdb, Wed Jun 13 16:32:41 2001 UTC

# Line 59 | Line 59 | my(@modules) = split (/\s+/, $modulelist);
59  
60   foreach my $module (@modules) {
61  
62 <    print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">";
63 <    print "<tr><td><font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font></td></tr>";
62 >    print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">\n\n";
63 >    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";
64      print "<tr><td bgcolor=\"white\">\n";
65  
66      my(@lines) = `$logcmd $module 2>&1`;
# Line 71 | Line 71 | foreach my $module (@modules) {
71          foreach my $line (@lines) {
72  
73              if ($line =~ /^([0-9]{4}-[0-9]{2}-[0-9]{2}.*?)([^\s]+)$/) {
74 <                print "<font color=\"blue\"><b>";
74 >                print "\n<font color=\"blue\"><b>";
75                  print HTML_encode($1);
76                  print "</b><i>";
77                  print HTML_encode("by $2");
78 <                print "</i></font>"
78 >                print "</i></font>\n"
79              }
80              else {
81                  chop $line;
82                  print "<code>";
83                  print HTML_encode($line);
84 <                print "</code><br>"
84 >                print "</code><br>\n"
85              }
86          }
87      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines