From: Stephen L Johnson Date: Fri, 15 Sep 2000 18:01:24 +0000 (+0000) Subject: added !!WWWDOCS!! substitution in show() procedure X-Git-Tag: spong-2_7_0-beta1~44 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5717a65feedde450782c7dfc0dfcd010fce3ea31;p=spong.git added !!WWWDOCS!! substitution in show() procedure --- diff --git a/src/www-spong.pl b/src/www-spong.pl index 8c700b6..5257fbe 100755 --- a/src/www-spong.pl +++ b/src/www-spong.pl @@ -685,7 +685,11 @@ sub show { if( -f "$main::WWWHTML/$file.html" ) { &header( '', "Help", '', 0 ) unless $hf; open( FILE, "$main::WWWHTML/$file.html" ); - while( ) { s/!!WWWSHOW!!/$show/g; print $_; } + while( ) { + s/!!WWWSHOW!!/$show/g; + s/!!WWWDOCS!!/$WWWDOCS/g; + print $_; + } close( FILE ); &footer() unless $hf; } else {