mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
d2e7602eb5
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
14 lines
409 B
XML
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}
|