mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-35590 block_navigation: fix remaining issues
This commit is contained in:
parent
10ac8baf6e
commit
6759dc35fe
15 changed files with 101 additions and 75 deletions
|
@ -182,7 +182,8 @@ class block_navigation_renderer extends plugin_renderer_base {
|
|||
// Create the structure.
|
||||
$content = html_writer::tag('p', $content, $divattr);
|
||||
if ($isexpandable) {
|
||||
$content .= $this->navigation_node($item->children, array('role' => 'group'), $expansionlimit, $options, $depth+1);
|
||||
$content .= $this->navigation_node($item->children, array('role' => 'group'), $expansionlimit,
|
||||
$options, $depth + 1);
|
||||
}
|
||||
if (!empty($item->preceedwithhr) && $item->preceedwithhr===true) {
|
||||
$content = html_writer::empty_tag('hr') . $content;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue