mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-11 22:38:41 +00:00
Use global namespace
This commit is contained in:
parent
d01ee7fda4
commit
50d7e80f2d
|
|
@ -38,7 +38,7 @@ if (isset($this->nav[NavigationType::SIDE])) : ?>
|
||||||
// todo: very simpleminded solution. doesn't work for root path /en/backend etc. e.g. dashboard
|
// todo: very simpleminded solution. doesn't work for root path /en/backend etc. e.g. dashboard
|
||||||
// this also fails for urls which are not structured like a tree
|
// this also fails for urls which are not structured like a tree
|
||||||
?>
|
?>
|
||||||
<li<?= (count($parentUri) > 2 && \stripos($uriPath, $miniParent) !== false) ? ' class="active"' : '' ?>>
|
<li<?= (\count($parentUri) > 2 && \stripos($uriPath, $miniParent) !== false) ? ' class="active"' : '' ?>>
|
||||||
<a href="<?= $uri; ?>"><?= $this->getHtml($link['nav_name'], 'Navigation') ?></a>
|
<a href="<?= $uri; ?>"><?= $this->getHtml($link['nav_name'], 'Navigation') ?></a>
|
||||||
<?php endif;
|
<?php endif;
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user