<?php // Script: Copyright 2003 Anthony Liekens, anthony@liekens.net // Make a $HotWords map before including this file in local.php, e.g. put // the following in local.php: // // $HotWords = array ( // "/PMWIKI/" => "<a href='http://www.pmichaud.com/pmwiki'>PmWiki</a>", // "/PMICHAUD/" => "<a href='http://www.pmichaud.com/'>Patrick Michaud</a>" // ); // include_once( "local/hotwords.php" ); // // The wiki engine will now replace occurences of the 'hotwords' "PMWIKI" or // "PMICHAUD" with the HTML we assigned to them in the $HotWords array. Feel // free to add as many hotwords as you like. Note that hotwords are replaced // at the end, so you can not process the results again as wikiwords or the // alike. // // HotWords become very helpful if you have to include a link to a friend, // or something similar, over and over again while editing your wiki. Now // you can make it a lot easier by adding these as a HotWord to the // $HotWords array, and using them a lot easier to include in your wiki // pages. // Merge InlineReplacements with HotWords array $InlineReplacements = array_merge_recursive( $InlineReplacements, $HotWords ); ?>