$[Search Results]", 'markup:(:searchresults fmt=custom list=normal:)', 'wiki:$[PmWiki.SearchQuickReference]')); $FPLFunctions['custom'] = 'FPLCustom'; SDV($NoMatchesFmt,"
"); $SearchTagFmt = ($action=='search' || preg_match('/SearchWiki$/',$pagename)) ? 'Searching Wiki' : "
"; Markup('searchbox','>links','/\(:searchbox:\)/', FmtPageName("", $pagename)); SDV($ActDescription,'last modified'); if ($action=='search') { $ActDescription = 'search performed'; $CurrentTime = strftime($TimeFmt,$Now); $text = stripmagic($HTTP_GET_VARS['q']); $jumpto=''; if (preg_match("/^$GroupPattern([\\/.])$NamePattern$/",$text)) $jumpto=$text; elseif (preg_match("/^$NamePattern$/",$text)) $jumpto = (isset($HTTP_GET_VARS['group'])) ? stripmagic($HTTP_GET_VARS['group']).".$text" : FmtPageName("\$Group.$text",$pagename); if ($jumpto && PageExists($jumpto)) Redirect($jumpto); } SDV($PublishSearch,false); SDV($PublishSearchChecked,false); SDV($EnablePDF,false); XLSDV('en',array( 'SearchFor' => 'Results of searching $Haystack for $Needle.', 'SearchFound' => '$MatchCount pages found out of $MatchSearched pages searched.')); if ($PublishSearch) { if ($action=='search' || FmtPageName('$Group',$pagename)=='Category') { $checked = ($PublishSearchChecked) ? "checked='checked'" : ''; $FPLByGroupStartFmt = "" : ""; $FPLByGroupGFmt = "