{* $Id$ *} {if !( $searchStyle eq "menu" )} {title admpage="search" help="Search"}{tr}Search{/tr}{/title} {/if}
{if $searchStyle neq "menu" && $prefs.feature_search_show_object_filter eq 'y'}
{tr}Search in:{/tr} {foreach item=name key=k from=$where_list} {button _auto_args='where,highlight' href="tiki-searchresults.php?where=$k" _selected="{if $where == $k}y{else}n{/if}" _selected_class="highlight" class="btn btn-primary" _text="$name"} {/foreach}
{/if} {if $prefs.feature_search_show_search_box eq 'y' or $searchStyle eq "menu"}
{if $prefs.search_autocomplete eq 'y'} {autocomplete element="#highlight$iSearch" type='pagename'} {/if}
{if !( $searchStyle eq "menu" )}
{tr}Search Help{/tr} {icon name='help'}
{if $prefs.feature_search_show_last_modification eq 'y'}
{/if} {if $prefs.feature_multilingual eq 'y' and ($where eq 'wikis' || $where eq 'articles')} {/if} {if $prefs.feature_categories eq 'y' and !empty($categories) and $tiki_p_view_category eq 'y' and $prefs.search_show_category_filter eq 'y'}
{if $prefs.javascript_enabled eq 'y'}{tr}Multiple select{/tr}{/if}
{if count($categories) gt 0} {$cat_tree}
{if $tiki_p_admin_categories eq 'y'} {/if} {select_all checkbox_names='cat_categories[]' label="{tr}Select/deselect all categories{/tr}"}
{else}
{if $tiki_p_admin_categories eq 'y'} {/if} {tr}No categories defined{/tr}
{/if}
{* end #multiselect *}
{* end #category_multiselect_find *} {/if} {/if} {if $prefs.feature_search_show_object_filter eq 'y'} {if $searchStyle eq "menu"} {tr}in{/tr} {else} {if $forumId}{/if} {/if} {elseif !empty($where)} {if $forumId}{/if} {/if} {if !$searchNoResults} {button _auto_args='highlight' href="tiki-searchresults.php?highlight=" _text="{tr}Clear Filter{/tr}"} {/if}
{/if}
{* do not change the comment above, since smarty 'highlight' outputfilter is hardcoded to find exactly this... instead you may experience white pages as results *} {if $searchStyle ne 'menu' and ! $searchNoResults}
{tr}Found{/tr} "{$words|escape}" {tr}in{/tr} {if $where_forum} "{tr}{$where|escape}:{/tr}" {$where_forum|escape} {else} {$cant} "{tr}{$where_label|escape}"{/tr} {/if}
{/if} {if ! $searchNoResults} {pagination_links cant=$cant step=$maxRecords offset=$offset _keepall=true}{/pagination_links} {/if}