From b1869f61313ec8d756b6e03de6d26388730d1937 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 3 Jul 2006 13:51:50 +0000 Subject: - Patch #71014 by fgm: fixed the parent navigation link. --- modules/book.module | 2 +- modules/book/book.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/book.module b/modules/book.module index b4ade10bd..5d58ad5d5 100644 --- a/modules/book.module +++ b/modules/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)) { 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)) { -- cgit v1.2.3