Hypolite Petovan
5b7bb030de
- Add Utils/L10n class - Add translator functions to PHP Renderer - Refactor web controllers to prevent duplicated code - Add locale middleware - Add translation file loading - Add i18n settings
13 lines
416 B
PHTML
13 lines
416 B
PHTML
<div>
|
|
<h3><?php echo $this->__('Popular Languages')?></h3>
|
|
<ul>
|
|
<?php foreach ($languages as $language): ?>
|
|
<li>
|
|
<a href="search?field=language&q=<?php echo $this->escapeUrl($language['language']) ?>">
|
|
<?php echo $this->e(Friendica\Directory\Utils\L10n::langToString($language['language'])) ?>
|
|
</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|