Logo white

Alexey Boroda / openeurope

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openeurope
  • frontend
  • widgets
  • views
  • _languages.php
  • -Languages ready for test
    6b9d55c2
    Alexey Boroda authored
    2018-05-08 13:01:09 +0300  
    Browse Code ยป
_languages.php 380 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php
    
    /**
     * @var View  $this
     * @var array $links
     */
    
    use yii\web\View;

?>

<div class="langs">
    
    <?php
        foreach ($links as $link) {
            ?>
          
          <a class="<?= $link[ 'active' ] ? 'active' : '' ?>" href="<?= $link[ 'url' ] ?>"><?= $link[ 'title' ] ?></a>
            
            <?php
        }
    ?>

</div>