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.32 by tdb, Wed Mar 24 21:08:09 2004 UTC vs.
Revision 1.33 by tdb, Wed Mar 24 23:29:21 2004 UTC

# 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`;
296      open(FILE, $filename);
297      while(<FILE>) {
298 +        if(/$virtual/) {
299 +            s/$virtual/$virtualresponse[@virtualresponse-1]/;
300 +        }
301          print;
302      }
303      close FILE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines