You are here

function library_search_page in Library 6

Same name and namespace in other branches
  1. 5.2 library.module \library_search_page()
  2. 6.2 library.module \library_search_page()

Implementation of hook_search_page()

File

./library.module, line 782

Code

function library_search_page($results) {
  $var = library_get_table_header();
  $header = $var['header'];
  $rows = $results;
  $output = theme('table', $header, $rows, array(
    'class' => 'library-list',
  ));
  $output .= theme('pager', NULL, 10);
  return $output;
}