In my local searchpage.txt, I have something like: ---snip---- ====== Wiki Search ====== You can find the results of your wiki search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button, or search the rest of the [[http://www.google.com/search?q=@SEARCH@|Internet]]. ===== Results ===== ---snip---- This requires: I'm sure there is some escaping that might be necessary - but it seems to work for me... -Robin diff --git a/inc/html.php b/inc/html.php index 664aae3..eb1de8b 100644 --- a/inc/html.php +++ b/inc/html.php @@ -317,7 +317,9 @@ function html_search(){ global $ID; global $lang; - print p_locale_xhtml('searchpage'); + $search = p_locale_xhtml('searchpage'); + $search = str_replace('@SEARCH@', $QUERY ,$ID),$search); + print $search; flush(); //show progressbar -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist