X-Git-Url: http://git.i-scream.org/?a=blobdiff_plain;f=cgi-bin%2Fdocs.cgi;fp=cgi-bin%2Fdocs.cgi;h=ee22b7b9ed4c8f05aeda8a797f03484ec286a06c;hb=dab5dbc565daac5f26e957130e49e29fc4d3cb6a;hp=479adc995d23bdcee3180bc504dddbf41d61c8e5;hpb=2039af9f15947d6097de9c33dcea526e7dde2176;p=www.i-scream.org.git diff --git a/cgi-bin/docs.cgi b/cgi-bin/docs.cgi index 479adc9..ee22b7b 100755 --- a/cgi-bin/docs.cgi +++ b/cgi-bin/docs.cgi @@ -136,8 +136,13 @@ my ($urls) = '(' . join ('|', qw{ # Print the contents of a file containing html sub print_html ($) { my ($filename) = @_; + my($virtual) = ''; + my(@virtualresponse) = `/web/i-scream/nwww.cgi-bin/logo.cgi`; open(FILE, $filename); while() { + if(/$virtual/) { + s/$virtual/$virtualresponse[@virtualresponse-1]/; + } print; } close FILE;