You are here

function book_admin in Drupal 5

Same name and namespace in other branches
  1. 4 modules/book.module \book_admin()

Menu callback; displays the book administration page.

1 string reference to 'book_admin'
book_menu in modules/book/book.module
Implementation of hook_menu().

File

modules/book/book.module, line 956
Allows users to collaboratively author a book.

Code

function book_admin($nid = 0) {
  if ($nid) {
    return drupal_get_form('book_admin_edit', $nid);
  }
  else {
    return book_admin_overview();
  }
}