diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-06-27 18:33:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-06-27 18:33:33 +0000 |
commit | 58aee8cdad4baef160f7e0cf6dc5e245a1acc080 (patch) | |
tree | 329e6127e5033a4dcb9ebc60031a009c6b53cc90 /modules/book.module | |
parent | d190e16c9ef0214293ea32306bfb49d3d1233654 (diff) | |
download | brdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.gz brdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.bz2 |
- Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module index 25fd86c90..094844d93 100644 --- a/modules/book.module +++ b/modules/book.module @@ -960,7 +960,7 @@ function book_node_visitor_opml_post($node, $depth) { * Creates a row for the 'admin' view of a book. Each row represents a page in the book, in the tree representing the book */ function book_admin_edit_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')); + return array('<div style="padding-left: '. (25 * $depth) .'px;">'. form_textfield(NULL, $node->nid .'][title', $node->title, 60, 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')); } function book_admin_edit_book($nid, $depth = 1) { |