Logo du site internationalisé

This commit is contained in:
2020-02-26 16:05:47 +01:00
parent ec506a2bf4
commit 8ba55c376d
3 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -138,7 +138,10 @@ GNU General Public License : http://www.gnu.org/licenses/
<div class="header-custom row">
<h1 class="logo-custom logo">
<a href="{navigate to="index"}" title="{$store_name}">
{$image = {image file='assets/dist/img/logo.png' failsafe=true}}
{$image = {image file="assets/dist/img/logo_{lang attr='code'}.png" failsafe=true}}
{if $image == null}
{$image = {image file='assets/dist/img/logo.png' failsafe=true}}
{/if}
{if $image == null}
{$image = {image file='assets/dist/img/logo.gif' failsafe=true}}
{/if}