<div class="@(classNames)-popup">
    @effects.openTag
    <ul class="@classNames">
        <?php foreach($list as $language):?>
            <?php if($language->active):?>
                <?php $activeLang = $language; ?>
            <?php endif; ?>
            @include("item")
        <?php endforeach; ?>
    </ul>
    @effects.closeTag
</div>