You are here

function search_files_search_page in Search Files 5

generate the results page

Parameters

(array) $results:

(string) $type:

Return value

(string) $output

File

./search_files.module, line 984
Used to index all files in directory(s) on the server

Code

function search_files_search_page($results, $type = 'search_files') {

  //drupal_set_message('FUNCTION = <pre>search_files_search_page</pre>');
  $output = '<dl class="search-results">';
  foreach ($results as $entry) {
    $output .= search_files_search_item_format($entry, $type);
  }
  $output .= '</dl>';
  $output .= theme('pager', NULL, 20, 0);
  return $output;
}