]> i-scream Git - www.i-scream.org.git/commitdiff
Added section to deal with users who don't have an e-mail address. Without
authorTim Bishop <tim@bishnet.net>
Sun, 9 Dec 2001 02:53:36 +0000 (02:53 +0000)
committerTim Bishop <tim@bishnet.net>
Sun, 9 Dec 2001 02:53:36 +0000 (02:53 +0000)
this the line doesn't get any special treatment, which doesn't look pretty!

cgi-bin/cvslog.cgi

index da87f362ee5521a9e1f61cbdafc84b21a225950b..1e165941f72438c2256caa467fe0c5cb930f8dbf 100755 (executable)
@@ -108,6 +108,14 @@ foreach my $module (@modules) {
                 print HTML_encode("$2");
                 print "</a></i>\n</font>\n"
             }
+            elsif ($line =~ /^([0-9]{4}-[0-9]{2}-[0-9]{2}.*?)\s+([^\s]+)$/) {
+                print "\n<font color=\"blue\">\n<b>";
+                print HTML_encode($1);
+                print "</b>\n<i>";
+                print " commited by ";
+                print HTML_encode("$2");
+                print "</i>\n</font>\n"
+            }
             elsif($line =~ /(\S+) (\(\S+\))([,:])/ || $line =~ /(\S+) (\(\S+,\s+\S+\))([,:])/) {
                 #chop $line;
                 my ($file, $rest, $ext) = ($1, $2, $3);