Diff for /cdn/www/sources.html between versions 1.42 and 1.45

version 1.42, 2003/02/21 13:00:42 version 1.45, 2003/02/21 13:12:07
Line 77  cvs -d :pserver:guest@mozdev.org:/cvs co Line 77  cvs -d :pserver:guest@mozdev.org:/cvs co
       $_project = PROJECT;        $_project = PROJECT;
     }      }
         
    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 '<h4 id="CVS-h4">' . "Yesterday's CVS Commits for " . $_project . " Project</h4>\n";    print '<h4 id="CVS-h4">' . "Yesterday'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";
   
     if($len) {      if($len) {
Line 87  cvs -d :pserver:guest@mozdev.org:/cvs co Line 87  cvs -d :pserver:guest@mozdev.org:/cvs co
           break;            break;
   
        // if(ereg("  Date: [0-9]{2}/[0-9]{2}/[0-9]{2}", $contents[$i])) {         // if(ereg("  Date: [0-9]{2}/[0-9]{2}/[0-9]{2}", $contents[$i])) {
       // if(ereg("  Date: $yesterday", $contents[$i])) {        if(ereg("  Date: $yesterday", $contents[$i])) {
        if(ereg("  Date: $today", $contents[$i])) {       // if(ereg("  Date: $today", $contents[$i])) {
           $r++;            $r++;
           $result[$r] =             $result[$r] = 
           '<tr class="CVS-tr-header" valign="top"><td class="CVS-td-900">' . "\n" .            '<tr class="CVS-tr-header" valign="top"><td class="CVS-td-900">' . "\n" .
Line 119  cvs -d :pserver:guest@mozdev.org:/cvs co Line 119  cvs -d :pserver:guest@mozdev.org:/cvs co
             if ( ereg("((Added|Modified|Removed):)", $checkins) || ereg("[[:space:]]{9}", $checkins) )              if ( ereg("((Added|Modified|Removed):)", $checkins) || ereg("[[:space:]]{9}", $checkins) )
             {              {
   
              $identifier = trim(substr($checkins, 0, 15));              $identifier = trim(substr($checkins, 0, 15)); echo $identifier . '<p />';
   
              $checkins = substr($checkins, 15);              $checkins = substr($checkins, 15); echo $checkins . '<p />';
   
               // find first non-space character                // find first non-space character
               // if > 16, chances are the files are in the directory defined in the previous line ?                // if > 16, chances are the files are in the directory defined in the previous line ?
   
              $_16 = strpos($checkins, ' ');              $_16 = strpos($checkins, ' '); echo '$_16 ' . $_16 . '<p />';
   
              $_path = substr( $checkins, 0, $_16);              $_path = substr( $checkins, 0, $_16); echo $_path . '<p />';
   
              // if ( $_16 > 16 )               // if ( $_16 > 16 )
                 $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) );                  $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) );

Removed from v.1.42  
changed lines
  Added in v.1.45


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