From ce674fe8e2b0615360bdf5d8f63ac52de80db881 Mon Sep 17 00:00:00 2001 From: Frank Doepper Date: Sat, 7 May 2011 22:02:03 +0200 Subject: [PATCH] subst prefix and pprefix ($abs) even in $content --- index.pl | 4 +++- src/11_WofFS' Content Machine/01_index.text | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.pl b/index.pl index ce49fbe..061d785 100755 --- a/index.pl +++ b/index.pl @@ -4,7 +4,7 @@ # http://woffs.de/WCM # # -# Version 20110506 +# Version 20110507 # # © WofFS 2010 # License: CC-BY-SA 3.0 @@ -178,6 +178,8 @@ if ($redir) { } print "\n"; + $content=~s/__prefix__/$prefix/g; + $content=~s/__pprefix__/$abs/g; open T,"< $template" or die $!; while () { s/__navi__/$navi/g; diff --git a/src/11_WofFS' Content Machine/01_index.text b/src/11_WofFS' Content Machine/01_index.text index b05cba5..ec56d19 100644 --- a/src/11_WofFS' Content Machine/01_index.text +++ b/src/11_WofFS' Content Machine/01_index.text @@ -50,7 +50,7 @@ I moved my own Webpage from to my new *Content Machine* within some hours. You are invited to have a look at the -[source code](?page=WofFS__Content_Machine/source) +[source code](__pprefix__WofFS__Content_Machine/source) of the main script. Please visit the [home page](http://woffs.de/WCM) -- 2.45.2