summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-07-03 13:51:50 +0000
committerDries Buytaert <dries@buytaert.net>2006-07-03 13:51:50 +0000
commitb1869f61313ec8d756b6e03de6d26388730d1937 (patch)
treed0e0df1c35eb0c9026161f92f55303f50f4ab164 /modules/book/book.module
parent7d176b393c75945acf9b1aa1797001fdd36965cc (diff)
downloadbrdo-b1869f61313ec8d756b6e03de6d26388730d1937.tar.gz
brdo-b1869f61313ec8d756b6e03de6d26388730d1937.tar.bz2
- Patch #71014 by fgm: fixed the parent navigation link.
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index b4ade10bd..5d58ad5d5 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -509,7 +509,7 @@ function theme_book_navigation($node) {
$links .= l(t('‹ ') . $prev->title, 'node/'. $prev->nid, array('class' => 'page-previous', 'title' => t('Go to previous page')));
}
if ($node->parent) {
- drupal_add_link(array('rel' => 'index', 'href' => url('node/'. $node->parent)));
+ drupal_add_link(array('rel' => 'up', 'href' => url('node/'. $node->parent)));
$links .= l(t('up'), 'node/'. $node->parent, array('class' => 'page-up', 'title' => t('Go to parent page')));
}
if ($next = book_next($node)) {