Rename Smarty variable to avoid confusion
This commit is contained in:
parent
4ee72d1629
commit
a2dc71753e
2 changed files with 9 additions and 9 deletions
|
@ -115,7 +115,7 @@ class FrontController
|
|||
'description' => 'Easily download videos from Youtube, Dailymotion, Vimeo and other websites.',
|
||||
'domain' => $uri->getScheme().'://'.$uri->getAuthority(),
|
||||
'canonical' => $this->getCanonicalUrl($request),
|
||||
'locales' => $this->localeManager->getSupportedLocales(),
|
||||
'supportedLocales' => $this->localeManager->getSupportedLocales(),
|
||||
'locale' => $this->localeManager->getLocale(),
|
||||
]
|
||||
);
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
{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>
|
||||
</div>
|
||||
{if isset($locales)}
|
||||
{if isset($supportedLocales)}
|
||||
<ul class="locales">
|
||||
{foreach $locales as $supportedLocale}
|
||||
{foreach $supportedLocales 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>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue