version 1.123, 2003/02/26 19:09:33
|
version 1.133, 2003/02/27 10:21:54
|
Line 26 cvs -d :pserver:guest@mozdev.org:/cvs co
|
Line 26 cvs -d :pserver:guest@mozdev.org:/cvs co
|
define(MAX_READ_SIZE, 500000); |
define(MAX_READ_SIZE, 500000); |
define(MAX_READ, 100000); |
define(MAX_READ, 100000); |
|
|
$today = date("y/m/d"); // $today = '03/02/21'; | $today = date("y/m/d"); if (ereg('local', HOST) ): $today = '03/02/21'; endif; |
$day = (int)date('d'); |
$day = (int)date('d'); |
--$day; |
--$day; |
$yesterday = date("y/m/" . sprintf('%2u', $day)); |
$yesterday = date("y/m/" . sprintf('%2u', $day)); |
Line 74 cvs -d :pserver:guest@mozdev.org:/cvs co
|
Line 74 cvs -d :pserver:guest@mozdev.org:/cvs co
|
if ( !isset($doNotCapitalise) ) |
if ( !isset($doNotCapitalise) ) |
$_project = PROJECT; |
$_project = PROJECT; |
|
|
|
print '<script type="text/javascript" src="/js/styleswitcher.js"></script>' . "\n"; |
|
|
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 '<div id="CVS-table">' . "\n"; |
print '<div id="CVS-table">' . "\n"; |
|
|
if($len) { |
if($len) { |
|
|
|
print '<p id="CVS-style-switch"><a href="#" onclick="setActiveStyleSheet(\'Default Checkins\'); return false;">change style to default</a> |' . "\n"; |
|
print '<a href="#" onclick="setActiveStyleSheet(\'Bonsai-esque Checkins\'); return false;">change style to bonsai</a></p>' . "\n"; |
|
|
|
print '<div class="CVS-block CVS-dft-hidden">' . "\n"; |
|
print '<div class="CVS-td-900 CVS-headers">Who</div>' . "\n"; |
|
print '<div class="CVS-td-f90 CVS-headers">When</div>' . "\n"; |
|
print '<div class="CVS-td-checkins">' . "\n" . |
|
'<div class="CVS-checkins CVS-headers">'; |
|
print 'What</div>' . "\n"; |
|
print '<div class="CVS-log CVS-headers">Why</div>' . "\n"; |
|
print '</div></div>'; |
|
print '<div style="clear: left; float: none;"></div>' . "\n"; |
|
|
for($i=0;$i<$len;$i++) { |
for($i=0;$i<$len;$i++) { |
if(ereg("Modified: www", $contents[$l]) && |
if(ereg("Modified: www", $contents[$l]) && |
!$local_conf_commits) |
!$local_conf_commits) |
Line 97 cvs -d :pserver:guest@mozdev.org:/cvs co
|
Line 113 cvs -d :pserver:guest@mozdev.org:/cvs co
|
|
|
$_timestamp = '<a name="' . $_ts_link . '">'; |
$_timestamp = '<a name="' . $_ts_link . '">'; |
|
|
$result[$r] = '<div class="CVS-block"><div class="CVS-td-900">' . "\n"; | $result[$r] = '<div class="CVS-block'; |
| |
| if ($r == 0) |
| $result[$r] .= ' CVS-last-block'; |
| |
| $result[$r] .= '"><div class="CVS-td-900">' . "\n"; |
|
|
//who |
//who |
$result[$r] .= "<strong>" . $_timestamp . htmlspecialchars($contents[$i-1]) . "</a></strong>\n" . |
$result[$r] .= "<strong>" . $_timestamp . htmlspecialchars($contents[$i-1]) . "</a></strong>\n" . |
Line 218 cvs -d :pserver:guest@mozdev.org:/cvs co
|
Line 239 cvs -d :pserver:guest@mozdev.org:/cvs co
|
|
|
if ( !$_New_directory ) { |
if ( !$_New_directory ) { |
$checkins .= '<span class="CVS-dft-hidden">'; // $project / $_path |
$checkins .= '<span class="CVS-dft-hidden">'; // $project / $_path |
$checkins .= str_replace('http://www.' . HOST . '/source/browse/', '', $webcvs); | $_webcvs = str_replace('http://www.' . HOST . '/source/browse/', '', $webcvs); |
| |
| if ( strlen($_webcvs) > 15 ) |
| $checkins .= substr($_webcvs, 0, 12) . '...' . substr($_webcvs, strrpos($_webcvs, '/')); |
| else |
| $checkins .= $_webcvs; |
|
|
if( $identifier == 'Removed:' || $idRemoved ) |
if( $identifier == 'Removed:' || $idRemoved ) |
$checkins .= '/Attic'; |
$checkins .= '/Attic'; |