From: Peter T. <pet...@us...> - 2002-10-30 15:53:19
|
Update of /cvsroot/twiki/twiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv13734 Modified Files: TWiki.pm Log Message: Codev.HowToLockTemplateTopics, reversed order or NOP Index: TWiki.pm =================================================================== RCS file: /cvsroot/twiki/twiki/lib/TWiki.pm,v retrieving revision 1.159 retrieving revision 1.160 diff -C2 -r1.159 -r1.160 *** TWiki.pm 30 Oct 2002 07:09:33 -0000 1.159 --- TWiki.pm 30 Oct 2002 15:53:14 -0000 1.160 *************** *** 1483,1488 **** $_[0] =~ s!%EDITURL%!"$scriptUrlPath/edit$scriptSuffix/%WEB%/%TOPIC%\?t=".time()!geo; - $_[0] =~ s/%NOP%/<nop>/go; $_[0] =~ s/%NOP{(.*?)}%/$1/gos; # remove NOP tag in template topics but show content $_[0] =~ s/%TMPL\:P{(.*?)}%/&handleTmplP($1)/geo; $_[0] =~ s/%SEP%/&handleTmplP('"sep"')/geo; --- 1483,1488 ---- $_[0] =~ s!%EDITURL%!"$scriptUrlPath/edit$scriptSuffix/%WEB%/%TOPIC%\?t=".time()!geo; $_[0] =~ s/%NOP{(.*?)}%/$1/gos; # remove NOP tag in template topics but show content + $_[0] =~ s/%NOP%/<nop>/go; $_[0] =~ s/%TMPL\:P{(.*?)}%/&handleTmplP($1)/geo; $_[0] =~ s/%SEP%/&handleTmplP('"sep"')/geo; |