book_admin_view_line

Versions
4.6
book_admin_view_line($node, $depth = 0)

▾ 3 functions call book_admin_view_line()

book_admin_orphan in modules/book.module
Menu callback; displays a listing of all orphaned book pages.
book_admin_view in modules/book.module
Display an administrative view of the hierarchy of a book.
book_admin_view_book in modules/book.module

Code

modules/book.module, line 671

<?php
function book_admin_view_line($node, $depth = 0) {
  return array('<div style="padding-left: '. (25 * $depth) .'px;">'. form_textfield(NULL, $node->nid .'][title', $node->title, 64, 255) .'</div>', form_weight(NULL, $node->nid .'][weight', $node->weight, 15), l(t('view'), 'node/'. $node->nid), l(t('edit'), 'node/'. $node->nid .'/edit'), l(t('delete'), 'node/'.$node->nid.'/delete'));
}
?>
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.