[pmwiki-users] New Recipe: StringReplace

Hans design5 at softflow.co.uk
Sun Mar 11 14:51:04 CDT 2007


This script enables replacing of strings in pages,
by creating special replace links or input forms.
It enables creation of toggle links for changing values
for page text variables etc.

See http://www.pmwiki.org/wiki/Cookbook/StringReplace

I tried to address a number of security issues arising
with such a tool.
* Text strings on other than the current page can be
replaced, but this has to be enabled locally first.
* The user needs edit authorisation for the page for
any replacement to take effect.

Comments, feedback very welcome.


Cheers,
 Hans




More information about the pmwiki-users mailing list