]> i-scream Git - www.i-scream.org.git/blobdiff - cgi-bin/cvslog.cgi
VRMLgraph is still on i-scream.org.uk until Paul moves it :-)
[www.i-scream.org.git] / cgi-bin / cvslog.cgi
index 5d542c7529a36d67b1ac67b36e9c48c7cf81fac0..2c5c8eeeebdfac56fd0b6b5c6fc4bdae97bff49d 100755 (executable)
@@ -14,8 +14,7 @@ if($period eq "days") {
     if ($days < 1) {$days = 1};
     $heading = "i-scream CVS$moduleext commits in the past $days day(s)";
     $days--;
-    $days .= "d"; # because we can't write "$daysd" below :-)
-    $firstdate = ">" . `/bin/date -v-$days +%Y/%m/%d`;
+    $firstdate = ">" . `/bin/date -v-${days}d +%Y/%m/%d`;
 }
 elsif($period eq "date") {
     my($date)=$query->param('date');
@@ -105,7 +104,7 @@ foreach my $module (@modules) {
                 print "\n<font color=\"blue\">\n<b>";
                 print HTML_encode($1);
                 print "</b>\n<i>";
-                print " commited by <a href=\"mailto:$3\" style=\"text-decoration: none;\">";
+                print " committed by <a href=\"mailto:$3\" style=\"text-decoration: none;\">";
                 print HTML_encode("$2");
                 print "</a></i>\n</font>\n"
             }
@@ -113,7 +112,7 @@ foreach my $module (@modules) {
                 print "\n<font color=\"blue\">\n<b>";
                 print HTML_encode($1);
                 print "</b>\n<i>";
-                print " commited by ";
+                print " committed by ";
                 print HTML_encode("$2");
                 print "</i>\n</font>\n"
             }