book_admin

Versions
4.6 – 5
book_admin($nid = 0)

Menu callback; displays the book administration page.

Code

modules/book.module, line 762

<?php
function book_admin($nid = 0) {
  $op = $_POST['op'];
  $edit = $_POST['edit'];

  switch ($op) {
    case t('Save book pages'):
      drupal_set_message(book_admin_save($nid, $edit));
      // fall through:
    default:
      $output .= book_admin_view($nid);
      break;
  }
  print theme('page', $output);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.