- Patch #71014 by fgm: fixed the parent navigation link.
parent
7d176b393c
commit
b1869f6131
|
@ -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)) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue