From 0a49da3b125b0fc3a1a04849547ecb8d3f24b731 Mon Sep 17 00:00:00 2001 From: Tim Bishop Date: Wed, 24 Mar 2004 23:53:09 +0000 Subject: [PATCH] Use static menu instead of SSI one. --- cgi-bin/cvslog.cgi | 7 +------ cgi-bin/docs.cgi | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) 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; -- 2.44.0