Disable unused submenu class

This commit is contained in:
Thomas Gelf 2014-03-20 11:18:51 +00:00
parent 25f12157f5
commit 1a47f617ee
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
<?= $sub ? '<ul>' : '<ul class="nav nav-stacked">' ?>
<ul>
<?php foreach ($items as $item): ?>
<?php
$itemClass = '';
if ($sub) {
$itemClass .= 'submenu ';
// $itemClass .= 'submenu ';
}
if ($this->href($url) === $this->href($item->getUrl())) {
$itemClass .= 'active ';