{* $Id: tiki-searchindex.tpl 16668 2009-02-11 01:32:13Z marclaporte $ *} {title}{if $words neq '' and !$searchNoResults}{tr}Search results{/tr}{else}{tr}Search{/tr}{/if}{/title} {if !( $searchStyle eq "menu" )} {if $prefs.feature_search_show_object_filter eq 'y'} {* do not change the comment below, since smarty 'highlight' outputfilter is hardcoded to find exactly this... instead you may experience white pages as results *} {/if} {/if}
{tr}Find{/tr} {if $prefs.feature_search_show_object_filter eq 'y'} {if ( $searchStyle eq "menu" )} {tr}in{/tr} {else} {/if} {/if}

{if $words neq '' and !$searchNoResults} {tr}Found{/tr} "{$words}" {tr}in{/tr} {$cant_results} {$where2} {/if} {if $words neq ''}
{if !($searchNoResults) }

{section name=search loop=$results} {tr}{$results[search].location}{/tr}: {$results[search].pageName|strip_tags|escape} ({tr}Hits{/tr}: {$results[search].hits}) {if $prefs.feature_search_fulltext eq 'y'} {if $results[search].relevance <= 0}  ({tr}Simple search{/tr}) {else}  ({tr}Relevance{/tr}: {$results[search].relevance}) {/if} {/if} {if $results[search].type > ''}  ({$results[search].type}) {/if}
{$results[search].data|strip_tags|truncate:250:'...'}
{tr}Last modification date{/tr}: {$results[search].lastModif|tiki_long_datetime}

{sectionelse} {tr}No pages matched the search criteria{/tr} {/section} {/if}
{* PAGINATION *} {pagination_links cant=$cant_results step=$maxRecords offset=$offset}{/pagination_links} {* END OF PAGINATION *} {/if}