ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/web/cgi-bin/cvslog.cgi
(Generate patch)

Comparing web/cgi-bin/cvslog.cgi (file contents):
Revision 1.33 by tdb, Wed Mar 24 23:29:21 2004 UTC vs.
Revision 1.36 by tdb, Sun Apr 3 12:24:31 2005 UTC

# Line 44 | Line 44 | $modulelist = `ls $cvsroot` unless defined $modulelist
44   $modulelist =~ s/[\r\n]/ /gm;
45  
46   my($cvs2clpath) = "/usr/local/bin/cvs2cl";
47 < my($cvs2clargs) = "--stdout --no-wrap --no-common-dir -r -t -w -S -U $cvsroot/CVSROOT/users -l \"-d'$firstdate'\" -g \"-d$cvsroot\" -g \"-Q\"";
47 > my($cvs2clargs) = "--stdout --no-wrap --no-common-dir -r -t -w -S -U $cvsroot/CVSROOT/users -l \"-d$firstdate\" -g \"-d$cvsroot\" -g \"-Q\"";
48   my($updatecmd) = "/home/iscream/bin/fullcvsupdate.sh $modulelist";
49   my($logcmd) = "cd /tmp/i-scream/cvstmp && $cvs2clpath $cvs2clargs";
50  
51 < my ($incdir) = "../nwww";
51 > my ($incdir) = "../htdocs";
52  
53   # Include files
54   my ($doctype) = "$incdir/doctype.inc";
55   my ($style) = "$incdir/style.inc";
56   my ($header) = "$incdir/header.inc";
57   my ($footer) = "$incdir/footer.inc";
58 < my ($menu) = "$incdir/menu.inc" ;
58 > my ($menu) = "$incdir/menu-static.inc" ;
59  
60   # Section markers
61   my ($secwho) = 1;
# Line 291 | Line 291 | exit 0;
291   # Print the contents of a file containing html
292   sub print_html {
293      my ($filename) = @_;
294    my($virtual) = '<!--#include virtual="/cgi-bin/logo.cgi" -->';
295    my(@virtualresponse) = `/web/i-scream/nwww.cgi-bin/logo.cgi`;
294      open(FILE, $filename);
295      while(<FILE>) {
298        if(/$virtual/) {
299            s/$virtual/$virtualresponse[@virtualresponse-1]/;
300        }
296          print;
297      }
298      close FILE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines