Diff for /cdn/www/sources.html between versions 1.40 and 1.41

version 1.40, 2003/02/21 01:03:07 version 1.41, 2003/02/21 08:45:45
Line 39  cvs -d :pserver:guest@mozdev.org:/cvs co Line 39  cvs -d :pserver:guest@mozdev.org:/cvs co
     print '<span id="CVS-local-conf-commits">' . $local_conf_commits_msg . "</span>\n";      print '<span id="CVS-local-conf-commits">' . $local_conf_commits_msg . "</span>\n";
   
   //BEGIN BLOCK    //BEGIN BLOCK
  if(file_exists(COMMIT_PATH.$commit_log) && $local_conf_commits) {  // if(file_exists(COMMIT_PATH.$commit_log) && $local_conf_commits) { 
   if(file_exists('/tmp/commit_test') && $local_conf_commits) { 
   
    $size = filesize(COMMIT_PATH.$commit_log);   // $size = filesize(COMMIT_PATH.$commit_log);
     $size = filesize('/tmp/commit_test');
     $contents = array();      $contents = array();
     if ($size > MAX_READ_SIZE) {      if ($size > MAX_READ_SIZE) {
       // print "<!-- Log File is greater than 500K -->\n";        // print "<!-- Log File is greater than 500K -->\n";
Line 59  cvs -d :pserver:guest@mozdev.org:/cvs co Line 61  cvs -d :pserver:guest@mozdev.org:/cvs co
       }        }
       fclose($fp);        fclose($fp);
     } // echo '<pre>' . $contents[0] . '</pre>';      } // echo '<pre>' . $contents[0] . '</pre>';
       
     if (!$contents)      if (!$contents)
      $contents = file(COMMIT_PATH.$commit_log);    {
      // $contents = file(COMMIT_PATH.$commit_log);
       $contents = file('/tmp/commit_test');
     }
     
     $len=count($contents);      $len=count($contents);
     $r            = -1;      $r            = -1;
       
Line 73  cvs -d :pserver:guest@mozdev.org:/cvs co Line 80  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">' . "Some day'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 81  cvs -d :pserver:guest@mozdev.org:/cvs co Line 89  cvs -d :pserver:guest@mozdev.org:/cvs co
         if(ereg("Modified:    www", $contents[$l]) && !$local_conf_commits)          if(ereg("Modified:    www", $contents[$l]) && !$local_conf_commits)
           break;            break;
   
        if(ereg("  Date: $today", $contents[$i])) {        if(ereg("  Date: [0-9]{2}/[0-9]{2}/[0-9]{2}", $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" .

Removed from v.1.40  
changed lines
  Added in v.1.41


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