Diff for /cdn/www/sources2.html between versions 1.2 and 1.3

version 1.2, 2003/02/22 04:04:11 version 1.3, 2003/02/22 04:07:18
Line 72  cvs -d :pserver:guest@mozdev.org:/cvs co Line 72  cvs -d :pserver:guest@mozdev.org:/cvs co
     print '<h4 id="CVS-h4">' . "Today's CVS Commits for " . $_project . " Project</h4>\n";      print '<h4 id="CVS-h4">' . "Today's CVS Commits for " . $_project . " Project</h4>\n";
     print '<table border="0" cellpadding="0" cellspacing="2" id="CVS-table">' . "\n";      print '<table border="0" cellpadding="0" cellspacing="2" id="CVS-table">' . "\n";
   
printprint '<tr><th>When</th><th>Who</th><th>File</th><th>Rev</th><th>+/-</th><th>Description</th></tr>';
'<tr><th>When</th><th>Who</th><th>File</th><th>Rev</th><th>+/-</th><th>Description</th></tr> 
   
     if($len) {      if($len) {
       for($i=0;$i<$len;$i++) {        for($i=0;$i<$len;$i++) {
Line 82  print Line 81  print
   
         if(ereg("  Date: $today", $contents[$i])) {          if(ereg("  Date: $today", $contents[$i])) {
           $r++;            $r++;
$result[$r] = '<tr>';$result[$r] = '<tr>\n';
 // When  // When
$result[$r] .= '<td>' . htmlspecialchars($contents[$i])   . '</td>';$result[$r] .= '<td>' . htmlspecialchars($contents[$i])   . '</td>\n';
 // Who  // Who
$result[$r] .= '<td>' . htmlspecialchars($contents[$i-1]) . '</td>';$result[$r] .= '<td>' . htmlspecialchars($contents[$i-1]) . '</td>\n';
 // File  // File
 $result[$r] .= '<td>' .  $result[$r] .= '<td>' .
   eregi_replace("((https|http|mailto|ftp):\/\/[^[:space:]<>]{1,})",    eregi_replace("((https|http|mailto|ftp):\/\/[^[:space:]<>]{1,})",
   "<a href='\\1'>\\1</a>", htmlspecialchars($contents[$i+1])) .    "<a href='\\1'>\\1</a>", htmlspecialchars($contents[$i+1])) .
  '</td>';  '</td>\n';
 // Rev  // Rev
$result[$r] .= '<td>' . '</td>';$result[$r] .= '<td>' . '</td>\n';
 // plus/minus  // plus/minus
$result[$r] .= '<td>' . '</td>';$result[$r] .= '<td>' . '</td>\n';
 // Description  // Description
 $result[$r] .= '<td>' . htmlspecialchars($contents[$i+3]) . '</td>';  $result[$r] .= '<td>' . htmlspecialchars($contents[$i+3]) . '</td>';
   

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>