diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-10-15 10:56:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-10-15 10:56:23 +0000 |
commit | 1f1a772a11f6e3e1aa147bb294982bf429db44c1 (patch) | |
tree | 59fc51af407d93fc26acc525f3392289898b42f2 /modules/book.module | |
parent | a5691cccc95a2bb5a5c72f296d66e20e2e1a7c61 (diff) | |
download | brdo-1f1a772a11f6e3e1aa147bb294982bf429db44c1.tar.gz brdo-1f1a772a11f6e3e1aa147bb294982bf429db44c1.tar.bz2 |
- Mofified patch #8862 by puregin: improved book module documentation.
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/book.module b/modules/book.module index d3348096e..25b8204a7 100644 --- a/modules/book.module +++ b/modules/book.module @@ -223,7 +223,7 @@ function book_form(&$node) { global $user; $op = $_POST['op']; - $output = form_select(t('Parent'), 'parent', $node->parent, book_toc($node->nid), t('The parent subject or category the page belongs in.')); + $output = form_select(t('Parent'), 'parent', $node->parent, book_toc($node->nid), t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.')); if (function_exists('taxonomy_node_form')) { $output .= implode('', taxonomy_node_form('book', $node)); @@ -231,10 +231,10 @@ function book_form(&$node) { $output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, '', NULL, TRUE); $output .= filter_form('format', $node->format); - $output .= form_textarea(t('Log message'), 'log', $node->log, 60, 5, t('An explanation of the additions or updates being made to help the group understand your motivations.')); + $output .= form_textarea(t('Log message'), 'log', $node->log, 60, 5, t('An explanation of the additions or updates being made to help other authors understand your motivations.')); if (user_access('administer nodes')) { - $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('The heavier pages will sink and the lighter pages will be positioned nearer the top.')); + $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); } else { // If a regular user updates a book page, we create a new revision @@ -279,7 +279,7 @@ function book_outline() { $page = db_fetch_object(db_query('SELECT * FROM {book} WHERE nid = %d', $node->nid)); $output = form_select(t('Parent'), 'parent', $page->parent, book_toc($node->nid), t('The parent page in the book.')); - $output .= form_weight(t('Weight'), 'weight', $page->weight, 15, t('The heavier pages will sink and the lighter pages will be positioned nearer the top.')); + $output .= form_weight(t('Weight'), 'weight', $node->weight, 15, t('Pages at a given level are ordered first by weight and then by title.')); if ($page->nid) { $output .= form_submit(t('Update book outline')); |