1 Aug 2010 20:49
bagder: curl-www/auto last5commits.pl,1.9,1.10
<cvs <at> giant.haxx.se>
2010-08-01 18:49:22 GMT
2010-08-01 18:49:22 GMT
Update of /cvsroot/curl/curl-www/auto
In directory giant.haxx.se:/var/tmp/cvs-serv32479
Modified Files:
last5commits.pl
Log Message:
nicer look
Index: last5commits.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/last5commits.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- last5commits.pl 28 Mar 2010 21:29:49 -0000 1.9
+++ last5commits.pl 1 Aug 2010 18:49:20 -0000 1.10
<at> <at> -27,19 +27,17 <at> <at>
if($c{'commit'}) {
my $auth = $c{'Author:'};
my $desc = $c{'desc'};
- $auth =~ s/</[/g;
- $auth =~ s/>/]/g;
- $auth =~ s/ <at> / at /g;
- $auth =~ s/ at (.)/ at $1 /;
-
+ my $date = $c{'Date:'};
+ $auth =~ s/<.*//g;
$desc =~ s/ */<p>/g;
- printf("<tr class=\"%s\"><td nowrap><a href=\"%s/%s\">%s</a></td><td>%s</td><td><pre>%s</pre></td><td>%s</td></tr>\n",
(Continue reading)
RSS Feed