diff --git a/include/shared-manual.inc b/include/shared-manual.inc
index d87bf7df0..030709c4d 100644
--- a/include/shared-manual.inc
+++ b/include/shared-manual.inc
@@ -98,6 +98,15 @@ function manual_sidebar()
$BAR .= '
\n";
+ // Link to parents
+ if (isset($PGI['parents']) && ($c = count($PGI['parents'])-1) > 0) {
+ // The root parent is the "PHP Manual"
+ for($i=$c-1; $i>=0; $i--) {
+ $BAR .= ' \n";
+ }
+ }
+
// Link to one page up if titles does not match
if (($PGI['home'][1] !== $PGI['up'][1]) && $PGI['up'][1]) {
$BAR .= '