Formattage
This commit is contained in:
parent
7cff717fdd
commit
67cab71f1f
@ -3,14 +3,14 @@
|
||||
<ul id="side-menu" class="nav in">
|
||||
<li class="sidebar-head"><strong><?=$this->MenuLabel?></strong></li>
|
||||
<?php foreach ($this->navigation()->getContainer() as $page) {?>
|
||||
<li>
|
||||
<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>
|
||||
<li class="<?php if ($page->isActive(true)) { echo 'active'; } ?>">
|
||||
<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()) {?>
|
||||
<ul class="nav nav-second-level collapse" aria-expanded="false">
|
||||
<?php foreach ( $page->getPages() as $child ) {?>
|
||||
<li><a class="<?php if ($child->isActive(true)) { echo 'active'; } ?>" href="<?=$child->getHref()?>"><?=$child->label?></a></li>
|
||||
<li><a class="<?php if ($child->isActive(true)) { echo 'active'; } ?>" href="<?=$child->getHref()?>">
|
||||
<?=$child->label?></a></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
|
Loading…
Reference in New Issue
Block a user