<?php if (count($this->menu)) { ?>
    <div class="<?=$this->cssClass;?>">
        <ul class="menu">
            <? foreach ($this->menu as $m) { ?>
                <li class="<?=$m['class'];?>">
                    <?=$this->componentLink($m['data'] , '', 'liMain');?>
                    <? if (isset($m['submenu']) && sizeof($m['submenu'])) { ?>
                        <div class="dropdown">
                            <ul>
                                <? foreach ($m['submenu'] as $sm) { ?>
                                    <li class="<?=$sm['class'];?>">
                                        <?=$this->componentLink($sm['data'] , '', 'liSub');?>
                                    </li>
                                <? } ?>
                            </ul>
                        </div>
                    <? } ?>
                </li>
            <? } ?>
        </ul>
    </div>
<? } ?>
<?php if (count($this->menu)) { ?>
    <div class="<?=$this->cssClass;?>">
        <ul class="menu">
            <? foreach ($this->menu as $m) { ?>
                <li class="<?=$m['class'];?>">
                    <?=$this->componentLink($m['data']);?>
                    <? if (isset($m['submenu']) && sizeof($m['submenu'])) { ?>
                        <div class="dropdown">
                            <ul>
                                <? foreach ($m['submenu'] as $sm) { ?>
                                    <li class="<?=$sm['class'];?>">
                                        <?=$this->componentLink($sm['data']);?>
                                    </li>
                                <? } ?>
                            </ul>
                        </div>
                    <? } ?>
                </li>
            <? } ?>
        </ul>
    </div>
<? } ?>
Revert "CSS Class on 'a' tag because of cleaner and better styling scope"
Revert "CSS Class on 'a' tag because of cleaner and better styling scope"

This reverts commit f1419938d32f55517a16af9a128bc9795de4a376.
