--- cdn/www/sources.html 2003/02/21 14:45:08 1.61 +++ cdn/www/sources.html 2003/02/22 11:35:50 1.95 @@ -19,7 +19,7 @@ cvs -d :pserver:guest@mozdev.org:/cvs co ' . $local_conf_commits_msg . "\n"; //BEGIN BLOCK - if(file_exists(COMMIT_PATH.$commit_log) && $local_conf_commits) { - // if(file_exists('/tmp/commit_test') && $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('/tmp/commit_test'); @@ -64,19 +65,15 @@ cvs -d :pserver:guest@mozdev.org:/cvs co if (!$contents) { + // $contents = file(COMMIT_PATH.$commit_log); - // $contents = file('/tmp/commit_test'); + // $contents = file('/tmp/commit_test'); // echo 'boing '; echo $contents; } -/* echo '
'; + // preprocess Tag: stuff - for($i=0; $i < count($contents); ++$i) - { - echo htmlspecialchars($contents[$i]); - } + // /preprocess Tag: stuff - echo '';*/ - $len=count($contents); $r = -1; @@ -109,9 +106,8 @@ cvs -d :pserver:guest@mozdev.org:/cvs co $_timestamp = str_replace('Date: ', '', ltrim($contents[$i])); $_timestamp = str_replace("\n", '', $_timestamp); - // $_timestamp = str_replace(':', '.', $_timestamp); - $_ts_link = $yy . ereg_replace('[\ \/]', '_', $_timestamp); // \: + $_ts_link = $yy . ereg_replace('[\ \/]', '_', $_timestamp); $_timestamp = ''; @@ -124,7 +120,7 @@ cvs -d :pserver:guest@mozdev.org:/cvs co $_time = htmlspecialchars($contents[$i]); - $result[$r] .= '' . $_time . ''; // when + $result[$r] .= '' . $_time . ''; // when $result[$r] .= "\n\n" . '