megamenu e menu mobile
This commit is contained in:
@ -50,12 +50,6 @@
|
||||
$attributes['class'] = 'nav-link '.$item_active;
|
||||
}
|
||||
|
||||
if(
|
||||
($item->title == "Panoramica")
|
||||
)
|
||||
{
|
||||
$attributes['data-element'] = 'overview';
|
||||
}
|
||||
|
||||
if ($item->menu_icon) {
|
||||
// The link is an icon
|
||||
@ -90,13 +84,9 @@
|
||||
}
|
||||
|
||||
if ($item->deeper){
|
||||
echo HTMLHelper::_('link', OutputFilter::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8', false)), '<span>' . $linktype . '</span>
|
||||
<svg class="icon icon-xs">
|
||||
<use href="' . $baseImagePath . 'sprites.svg#it-expand"></use>
|
||||
</svg>
|
||||
', $attributes);
|
||||
echo '<span>' . $linktype . '</span>';
|
||||
}elseif ($item->level >= 2){
|
||||
echo HTMLHelper::_('link', OutputFilter::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8', false)), '<span>' . $linktype . '</span>', $attributes);
|
||||
echo '<span>' . $linktype . '</span>';
|
||||
} else {
|
||||
echo HTMLHelper::_('link', OutputFilter::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8', false)), $linktype, $attributes);
|
||||
echo '<span>' . $linktype . '</span>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user