Lien href

This commit is contained in:
Michael RICOIS 2016-04-29 17:19:32 +02:00
parent 63881ef165
commit 25b1e33dff

View File

@ -4,7 +4,7 @@
<li class="sidebar-head"><strong>Recherche</strong></li>
<?php foreach ($this->navigation()->getContainer() as $page) {?>
<li>
<a href="#" class="<?php if ($page->isActive(true)) { echo 'active'; } ?>"><?=$page->label?>
<a href="<?=$page->getHref()?>" class="<?php if ($page->isActive(true)) { echo 'active'; } ?>"><?=$page->label?>
<?php if ($page->hasPages()) {?><span class="fa arrow"></span><?php }?>
</a>
<?php if ($page->hasPages()) {?>