- Patch #71014 by fgm: fixed the parent navigation link.

5.x
Dries Buytaert 2006-07-03 13:51:50 +00:00
parent 7d176b393c
commit b1869f6131
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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)) {