<?php
    
    /**
     * @var View  $this
     * @var array $links
     */
    
    use yii\web\View;
    ?>

<ul class="menu-lang">
    <?php foreach ($links as $link){?>
    <li <?=$link['active'] ? 'class="active"' : ''?>><a href="<?=$link['url']?>"><?=$link['title']?></a></li>
    <?php }?>
</ul>
