~fkooman/vpn-user-portal

ref: 2.3.10 vpn-user-portal/views/languageSwitcher.php -rw-r--r-- 398 bytes
e0bd9cc0François Kooman prepare for release 1 year, 15 days ago
                                                                                
1
2
3
4
5
6
7
8
9
<?php if (1 < count($supportedLanguages)): ?>
<ul class="languageSwitcher">
    <form class="languageSwitcher" method="post" action="<?=$this->e($requestRoot); ?>setLanguage">
<?php foreach ($supportedLanguages as $k => $v): ?>
        <li><button type="submit" name="setLanguage" value="<?=$this->e($k); ?>"><?=$this->e($v); ?></button></li>
<?php endforeach; ?>
    </form>
</ul>
<?php endif; ?>