plugin:replace
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:replace [2011-01-23 20:21] – [Comments] 94.210.200.16 | plugin:replace [2014-05-11 18:38] – old revision restored (2012-01-23 14:29) ach | ||
---|---|---|---|
Line 8: | Line 8: | ||
lastupdate : 2009-04-13 | lastupdate : 2009-04-13 | ||
compatible : 2009-02-14 | compatible : 2009-02-14 | ||
+ | similar | ||
tags : search, replace | tags : search, replace | ||
Line 71: | Line 72: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
); | ); | ||
} | } | ||
Line 118: | Line 119: | ||
===== Comments ===== | ===== Comments ===== | ||
Thank you very much for this plugin. For me it has been extremely helpful. (For beginners: Copy the PHP code into dokuwiki/ | Thank you very much for this plugin. For me it has been extremely helpful. (For beginners: Copy the PHP code into dokuwiki/ | ||
+ | |||
+ | ==== Integration with confmanager-plugin ==== | ||
+ | |||
+ | To modify replace.conf via admin-menu install [[confmanager|confmanager-plugin]] and modify following lines: | ||
+ | |||
+ | admn.php (line 9): add " | ||
+ | <code php> | ||
+ | var $cnffiles = array(' | ||
+ | </ | ||
+ | |||
+ | lang.php (for german) | ||
+ | <code css> | ||
+ | $lang[' | ||
+ | $lang[' | ||
+ | $lang[' | ||
+ | </ | ||
Line 214: | Line 231: | ||
</ | </ | ||
+ | |||
+ | ==== Bugfix for special chars (2012/ | ||
+ | |||
+ | <code php> | ||
+ | <?php | ||
+ | |||
+ | function preConnect() { | ||
+ | if(!count($this-> | ||
+ | $replacers = array_map(' | ||
+ | // removed ' | ||
+ | $this-> | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | [[robert.jaeckel@verwaltung.uni-halle.de|Robert Jäckel]] |
plugin/replace.txt · Last modified: 2018-06-05 22:56 by Klap-in