Alright, this is a bit of a hack, but I think I've gotten this working...
My problem was the wiki parsing my added 'code' as plain text. (This is a good thing since it keeps odd/bad problems from occurring.) So, making changes to
/inc/lang/en/searchpage.txt or
/inc/lang/en/lang.php would probably never work. However, adding a line/link just after the full text search function seems to be the best fix.
The code is in the file:
inc/html.php
The fulltext search code is:
//do fulltext search
$data = ft_pageSearch($QUERY,$regex);
if(count($data)){
$num = 1;
foreach($data as $id => $cnt){
print '<div class="search_result">';
print html_wikilink(':'.$id,$conf['useheading']?NULL:$id,$regex);
print ': <span class="search_cnt">'.$cnt.' '.$lang['hits'].'</span><br />';
if($num < 15){ // create snippets for the first number of matches only #FIXME add to conf ?
print '<div class="search_snippet">'.ft_snippet($id,$regex).'</div>';
}
print '</div>';
flush();
$num++;
}
}else{
print '<div class="nothing">'.$lang['nothingfound'].'</div>';
}
[/color]
add this line just after:
print '<br>[<A HREF="./doku.php?id='.$ID.'&do=edit&rev">Create/edit this page?</a>]';
[/color]
It's not a pretty fix, but it adds the link I wanted!
Anyone have a better fix?