/[drupal]/drupal/modules/book/book.admin.inc
ViewVC logotype

Diff of /drupal/modules/book/book.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.24, Sun Oct 11 03:07:16 2009 UTC revision 1.25, Sun Nov 1 12:11:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: book.admin.inc,v 1.23 2009/10/09 00:59:55 dries Exp $  // $Id: book.admin.inc,v 1.24 2009/10/11 03:07:16 webchick Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 77  function book_admin_settings_validate($f Line 77  function book_admin_settings_validate($f
77   *   *
78   * @ingroup forms.   * @ingroup forms.
79   */   */
80  function book_admin_edit($form, $form_state, $node) {  function book_admin_edit($form, $form_state, stdClass $node) {
81    drupal_set_title($node->title[FIELD_LANGUAGE_NONE][0]['value']);    drupal_set_title($node->title[FIELD_LANGUAGE_NONE][0]['value']);
82    $form['#node'] = $node;    $form['#node'] = $node;
83    _book_admin_table($node, $form);    _book_admin_table($node, $form);
# Line 151  function book_admin_edit_submit($form, & Line 151  function book_admin_edit_submit($form, &
151   *   *
152   * @see book_admin_edit()   * @see book_admin_edit()
153   */   */
154  function _book_admin_table($node, &$form) {  function _book_admin_table(stdClass $node, &$form) {
155    $form['table'] = array(    $form['table'] = array(
156      '#theme' => 'book_admin_table',      '#theme' => 'book_admin_table',
157      '#tree' => TRUE,      '#tree' => TRUE,

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.2