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; |
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; |