You are here

function library_search_page in Library 5.2

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

Implementation of hook_search_page()

File

./library.module, line 778

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, 50, 0);
  return $output;
}