Diff for /cdn/www/sources.html between versions 1.2 and 1.5

version 1.2, 2003/02/19 18:16:17 version 1.5, 2003/02/19 19:18:47
Line 33 Line 33
         $tok = strtok("\n");          $tok = strtok("\n");
       }        }
       fclose($fp);        fclose($fp);
    }     } echo '<pre>' . $contents . '</pre>';
     if (!$contents)      if (!$contents)
       $contents = file(COMMIT_PATH.$commit_log);        $contents = file(COMMIT_PATH.$commit_log);
     $len=count($contents);      $len=count($contents);
     $r            = -1;      $r            = -1;
       
       echo '<pre style="color: red;">' . $contents . '</pre>';
       
     print '<h4 id="CVS-h4">' . "Today's CVS Commits for " . ucwords($project) . " Project</h4>\n";      print '<h4 id="CVS-h4">' . "Today's CVS Commits for " . ucwords($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";
   
Line 54 Line 56
           "<strong>" . htmlspecialchars($contents[$i-1]) . "</strong>\n" .            "<strong>" . htmlspecialchars($contents[$i-1]) . "</strong>\n" .
           "</td></tr>\n" .            "</td></tr>\n" .
           '<tr class="CVS-tr-checkins">' .            '<tr class="CVS-tr-checkins">' .
          '<td class="CVS-td-f90\">' . "\n" . htmlspecialchars($contents[$i]) .          '<td class="CVS-td-f90">' . "\n" . htmlspecialchars($contents[$i]) .
           "\n</td></tr>\n" .            "\n</td></tr>\n" .
           "<tr><td>\n";            "<tr><td>\n";
   
Line 76 Line 78
     }      }
   
   if(!$result) {      if(!$result) {  
    print "<tr><td id="CVS-no-commits">There are no new commits today</td></tr>\n";    print '<tr><td id="CVS-no-commits">There are no new commits today</td></tr>' . "\n";
   } else {    } else {
     $reversed=array_reverse($result);      $reversed=array_reverse($result);
     for($i=0;$i<count($result);$i++)      for($i=0;$i<count($result);$i++)

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


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