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

version 1.1, 2003/02/22 03:36:32 version 1.2, 2003/02/22 04:04:11
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";
   
   print
   '<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++) {
         if(ereg("Modified:    www", $contents[$l]) && !$local_conf_commits)          if(ereg("Modified:    www", $contents[$l]) && !$local_conf_commits)
Line 79  cvs -d :pserver:guest@mozdev.org:/cvs co Line 82  cvs -d :pserver:guest@mozdev.org:/cvs co
   
         if(ereg("  Date: $today", $contents[$i])) {          if(ereg("  Date: $today", $contents[$i])) {
           $r++;            $r++;
          $result[$r] = $result[$r] = '<tr>';
          '<tr class="CVS-tr-header" valign="top"><td class="CVS-td-900">' . "\n" .// When
          "<strong>" . htmlspecialchars($contents[$i-1]) . "</strong>\n" .$result[$r] .= '<td>' . htmlspecialchars($contents[$i])   . '</td>';
          "</td></tr>\n" .// Who
          '<tr class="CVS-tr-date">' .$result[$r] .= '<td>' . htmlspecialchars($contents[$i-1]) . '</td>';
          '<td class="CVS-td-f90">' . "\n" . htmlspecialchars($contents[$i]) .// File
          "\n</td></tr>\n" .$result[$r] .= '<td>' .
          '<tr class="CVS-tr-checkins"><td class="CVS-td-checkins">' . "\n";  eregi_replace("((https|http|mailto|ftp):\/\/[^[:space:]<>]{1,})",
  "<a href='\\1'>\\1</a>", htmlspecialchars($contents[$i+1])) .
          for($l=$i+1;$l<$len;$l++) {  '</td>';
            if(ereg("  Revision  Changes    Path", $contents[$l]))// Rev
              break;$result[$r] .= '<td>' . '</td>';
// plus/minus
            if(ereg("  User:", $contents[$l]))$result[$r] .= '<td>' . '</td>';
              break;// Description
$result[$r] .= '<td>' . htmlspecialchars($contents[$i+3]) . '</td>';
            $result[$r] .= '<div class="CVS-div-checkins">' .
            eregi_replace("((https|http|mailto|ftp):\/\/[^[:space:]<>]{1,})",  
            "<a href='\\1'>\\1</a>", htmlspecialchars($contents[$l])) . 
            "</div>\n"; 
          } 
   
          $result[$r]     .= "</td></tr>\n";          $result[$r]     .= '</tr>\n';
         }          }
       }        }
     }      }

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


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