~fkooman/vpn-user-portal

ref: 57df62b9a04e9b2391ca809e5ff9d76e524eceb1 vpn-user-portal/views/languageSwitcher.php -rw-r--r-- 398 bytes
57df62b9François Kooman update CHANGES 1 year, 4 months 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; ?>