From 394fe19ac62d5d028caac6bb63fa338f2b97f3d6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 17 Apr 2005 16:03:50 +0000 Subject: [PATCH] - Patch #20661 by rooey: fixed formatting of book navigation. Added missing '<div id=menu>'. --- modules/book.module | 2 +- modules/book/book.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/book.module b/modules/book.module index 0a207c7008d6..e4c018882a86 100644 --- a/modules/book.module +++ b/modules/book.module @@ -585,7 +585,7 @@ function book_tree($parent = 0, $depth = 3, $unfold = array()) { } if ($tree = book_tree_recurse($parent, $depth, $children, $unfold)) { - return '<ul>'. $tree .'</ul>'; + return '<div class="menu"><ul>'. $tree .'</ul></div>'; } } diff --git a/modules/book/book.module b/modules/book/book.module index 0a207c7008d6..e4c018882a86 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -585,7 +585,7 @@ function book_tree($parent = 0, $depth = 3, $unfold = array()) { } if ($tree = book_tree_recurse($parent, $depth, $children, $unfold)) { - return '<ul>'. $tree .'</ul>'; + return '<div class="menu"><ul>'. $tree .'</ul></div>'; } } -- GitLab