alltube/templates/inc/header.tpl

16 lines
803 B
Smarty
Raw Normal View History

2015-04-11 20:08:24 +00:00
<header>
<div class="social">
2016-03-29 23:39:47 +00:00
<a class="twitter" href="http://twitter.com/home?status={base_url|urlencode}" target="_blank">
2017-05-26 10:58:48 +00:00
{t}Share on Twitter{/t}<div class="twittermask"></div></a>
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" target="_blank">{t}Share on Facebook{/t}<div class="facebookmask"></div></a>
2015-04-11 20:08:24 +00:00
</div>
2017-05-30 21:55:11 +00:00
{if isset($locales)}
<ul class="locales">
2017-05-30 21:30:21 +00:00
{foreach $locales as $supportedLocale}
<li><a href="{path_for name='locale' data=['locale'=>$supportedLocale->getIso15897()]}"><span class="flag-icon flag-icon-{$supportedLocale->getIso3166()}"></span> {$supportedLocale->getFullName()}</a></li>
2017-05-30 20:20:16 +00:00
{/foreach}
2017-05-30 21:55:11 +00:00
</ul>
{/if}
2015-04-11 20:08:24 +00:00
</header>
<div class="wrapper">