function book_admin_overview

7.x book.admin.inc book_admin_overview()
6.x book.admin.inc book_admin_overview()

Returns an administrative overview of all books.

1 string reference to 'book_admin_overview'
book_menu in drupal-6.x/modules/book/book.module
Implementation of hook_menu().

File

drupal-6.x/modules/book/book.admin.inc, line 11
Admin page callbacks for the book module.

Code

function book_admin_overview() {
  $rows = array();
  foreach (book_get_books() as $book) {
    $rows[] = array(l($book['title'], $book['href'], $book['options']), l(t('edit order and titles'), "admin/content/book/" . $book['nid']));
  }
  $headers = array(t('Book'), t('Operations'));

  return theme('table', $headers, $rows);
}