]> git.etc.gen.nz Git - spong.git/commitdiff
added !!WWWDOCS!! substitution in show() procedure
authorStephen L Johnson <sjohnson@monsters.org>
Fri, 15 Sep 2000 18:01:24 +0000 (18:01 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Fri, 15 Sep 2000 18:01:24 +0000 (18:01 +0000)
src/www-spong.pl

index 8c700b6c42e7b7b4d05da7e620451cb35b82b954..5257fbe1997da1f5af9bfee4b8afed96ac38bff5 100755 (executable)
@@ -685,7 +685,11 @@ sub show {
    if( -f "$main::WWWHTML/$file.html" ) {
       &header( '', "Help", '', 0 ) unless $hf; 
       open( FILE, "$main::WWWHTML/$file.html" );
-      while( <FILE> ) { s/!!WWWSHOW!!/$show/g; print $_; }
+      while( <FILE> ) {
+         s/!!WWWSHOW!!/$show/g;
+         s/!!WWWDOCS!!/$WWWDOCS/g;
+         print $_;
+      }
       close( FILE );
       &footer() unless $hf;
    } else {