openvk/Web/Presenters/templates/About/Language.xml
veselcraft d2e7602eb5 Localization: Code refactoring (#107)
So, it's no longer looks like shit. The commiter can just add their language to list.yml and make a strings file, and he is done: His name will be automatically added to About page and the language itself will appear in the list
2021-09-16 02:50:58 +03:00

14 lines
409 B
XML

{extends "../@layout.xml"}
{block title}{_"select_language"}{/block}
{block header}
{_"select_language"}
{/block}
{block content}
<div class="navigation">
{foreach $languages as $language}
<a href="language?lg={$language['code']}" class="link"><img src="/assets/packages/static/openvk/img/flags/{$language['flag']}.gif"> {$language['native_name']}</a>
{/foreach}
</div>
{/block}