Diff for /cdn/www/sources.html between versions 1.56 and 1.60

version 1.56, 2003/02/21 14:33:59 version 1.60, 2003/02/21 14:43:30
Line 15  cvs -d :pserver:guest@mozdev.org:/cvs co Line 15  cvs -d :pserver:guest@mozdev.org:/cvs co
 </pre>  </pre>
   
 </li>  </li>
</ul><?php $doNotCapitalise = 1; $project='orbits'; // testing ?></ul><?php $doNotCapitalise = 1; // $project='orbits'; // testing ?>
   
 <?php   <?php 
   
Line 33  cvs -d :pserver:guest@mozdev.org:/cvs co Line 33  cvs -d :pserver:guest@mozdev.org:/cvs co
   $yesterday          = date("y/m/" . sprintf('%2u', $day));    $yesterday          = date("y/m/" . sprintf('%2u', $day));
   $commit_log         = "cvs@$project.mozdev.org";    $commit_log         = "cvs@$project.mozdev.org";
   
  $today = '03/02/14'; // $today = '03/02/14';
   
   if(!$local_conf_commits)     if(!$local_conf_commits) 
     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";
Line 88  cvs -d :pserver:guest@mozdev.org:/cvs co Line 88  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 '<h4 id="CVS-h4">' . "Some day'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 102  cvs -d :pserver:guest@mozdev.org:/cvs co Line 102  cvs -d :pserver:guest@mozdev.org:/cvs co
        // 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++;
          
           $_i = $i + 1;
 
           $yy = substr(YEAR, 0, 2);            $yy = substr(YEAR, 0, 2);
   
           $_timestamp = str_replace('Date: ', '', ltrim($contents[$i]));            $_timestamp = str_replace('Date: ', '', ltrim($contents[$i]));
           $_timestamp = str_replace("\n", '', $_timestamp);            $_timestamp = str_replace("\n", '', $_timestamp);
          $_timestamp = str_replace(':', '.', $_timestamp);         // $_timestamp = str_replace(':', '.', $_timestamp);
   
          $_ts_link = '#' . $yy . ereg_replace('[\ \/]', '_', $_timestamp);          $_ts_link = $yy . ereg_replace('[\ \/]', '_', $_timestamp); // \:
   
           $_timestamp = '<a name="' . $_ts_link . '">';             $_timestamp = '<a name="' . $_ts_link . '">'; 
   
Line 122  cvs -d :pserver:guest@mozdev.org:/cvs co Line 124  cvs -d :pserver:guest@mozdev.org:/cvs co
   
           $_time = htmlspecialchars($contents[$i]);            $_time = htmlspecialchars($contents[$i]);
   
          $result[$r] .= '<a href="' . $_ts_link . '">' . $_time . '</a>'; // when          $result[$r] .= '<a href="' . '#' . $_ts_link . '">' . $_time . '</a>'; // when
   
           $result[$r] .= "\n</td></tr>\n" .            $result[$r] .= "\n</td></tr>\n" .
           '<tr class="CVS-tr-checkins"><td class="CVS-td-checkins">' . "\n";            '<tr class="CVS-tr-checkins"><td class="CVS-td-checkins">' . "\n";

Removed from v.1.56  
changed lines
  Added in v.1.60


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