mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
f9441c91d5
commit
6b13f2a987
@ -244,11 +244,13 @@ class NavigationRenderer implements RecursiveIterator, NavigationRendererInterfa
|
|||||||
$this->getElementTag(),
|
$this->getElementTag(),
|
||||||
$this->getCssClass() !== null ? ' class="' . $this->getCssClass() . '"' : ''
|
$this->getCssClass() !== null ? ' class="' . $this->getCssClass() . '"' : ''
|
||||||
);
|
);
|
||||||
$content[] = sprintf(
|
if (($heading = $this->getHeading()) !== null) {
|
||||||
'<h%1$d id="navigation" class="sr-only" tabindex="-1">%2$s</h%1$d>',
|
$content[] = sprintf(
|
||||||
static::HEADING_RANK,
|
'<h%1$d id="navigation" class="sr-only" tabindex="-1">%2$s</h%1$d>',
|
||||||
$this->view()->escape($this->getHeading())
|
static::HEADING_RANK,
|
||||||
);
|
$this->view()->escape($heading)
|
||||||
|
);
|
||||||
|
}
|
||||||
$content[] = $this->beginChildrenMarkup();
|
$content[] = $this->beginChildrenMarkup();
|
||||||
return join("\n", $content);
|
return join("\n", $content);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user