From: Tim Bishop Date: Wed, 24 Mar 2004 23:53:09 +0000 (+0000) Subject: Use static menu instead of SSI one. X-Git-Url: http://git.i-scream.org/?a=commitdiff_plain;h=0a49da3b125b0fc3a1a04849547ecb8d3f24b731;p=www.i-scream.org.git Use static menu instead of SSI one. --- diff --git a/cgi-bin/cvslog.cgi b/cgi-bin/cvslog.cgi index 01ee2bf..e71e471 100755 --- a/cgi-bin/cvslog.cgi +++ b/cgi-bin/cvslog.cgi @@ -55,7 +55,7 @@ my ($doctype) = "$incdir/doctype.inc"; my ($style) = "$incdir/style.inc"; my ($header) = "$incdir/header.inc"; my ($footer) = "$incdir/footer.inc"; -my ($menu) = "$incdir/menu.inc" ; +my ($menu) = "$incdir/menu-static.inc" ; # Section markers my ($secwho) = 1; @@ -291,13 +291,8 @@ exit 0; # 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; diff --git a/cgi-bin/docs.cgi b/cgi-bin/docs.cgi index ee22b7b..8acae25 100755 --- a/cgi-bin/docs.cgi +++ b/cgi-bin/docs.cgi @@ -13,7 +13,7 @@ my ($doctype) = "$incdir/doctype.inc"; my ($style) = "$incdir/style.inc"; my ($header) = "$incdir/header.inc"; my ($footer) = "$incdir/footer.inc"; -my ($menu) = "$incdir/menu.inc" ; +my ($menu) = "$incdir/menu-static.inc" ; my ($query) = new CGI; @@ -136,13 +136,8 @@ 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;