{* $Id$ *} {* parameters used in this template: * filegals_manager : If value not empty, adds hidden input filegals_manager value=$filegals_manager * whatlabel : Change form title. Default value (if $whatlabel empty) is "Find". If $whatlabel is not empty, the text presented is $whatlabel content * exact_match : If set adds exact_match field * types : If not empty adds type dropdown whith types array values * types_tag : HTML element used to display types ('select' or 'checkbox'). Defaults to 'select'. * find_type : types selected value(s) - has to be a string for types_tag 'select' and an array for 'checkbox' * topics : If not empty adds topic dropdown with topics array values * find_show_languages : If value = 'y' adds lang dropdown with languages value dropdown * find_lang : lang dropdown selected value * find_show_categories : If value = 'y' adds categories dropdown with categories array values * find_show_categories_multi : If value = 'y' adds categories dropdown with categories array values with multi selector * find_categId : categories selected value * find_show_num_rows : If value = 'y' adds maxRecords field. Value: maxRecords * find_show_date_range : If value = 'y' adds date range to filter within * find_show_orphans : If value = 'y' adds a checkbox orphan * find_show_sub : If value = 'y' add a checkbox offering to search child file galleries * filters : array( filter_field1 => array( option1_value => option1_text, ... ), filter_field2 => ... ) * filter_names : array( filter_field1 => filter_field1_name, ... ) * filter_values : array( filter_fieldX => filter_fieldX_selected_value, ... ) * autocomplete : name of the variable you want for autocomplete of the input field (only for * find_other : If value != '', show an input box label with find_other * find_in : Description of the searched content (displayed in a tooltip on the search term field, should possibly be reviewed) * map_only : to only show the pages map (used with tablesorter since other find functions aren't needed) * Usage examples : {include file='find.tpl'} * {include file='find.tpl' find_show_languages='y' find_show_categories='y' find_show_num_rows='y'} *}