Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
drapeaux mle
#25
@isa46

Dans mon cas le champ flag contient : images/MleCMS/fr.gif
et, pour rappel, le code du gabarit Flag :
Code :
[== Indéfini ==]
{if $langs|@count}
    {foreach from=$langs item=l name=language}
    {capture assign="lang_href"}{cms_selflink href=$l.alias}{/capture}

    {if $lang_href}
        {if $page_alias==$l.alias}
            <span class="active">
        {if $l.flag}<img src="uploads/{$l.flag}" alt="{$l.name}" title="{$l.name}"  />{else}{$l.name}{/if}
    </span>
{else}
    <a   {if $l.flag}style="-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)'; filter: alpha(opacity=50); opacity:.5;"{/if} href="{$lang_href}">
{if $l.flag}<img src="uploads/{$l.flag}" alt="{$l.name}" title="{$l.name}"  />{else}{$l.name}{/if}
</a>
{/if}
{/if}
{/foreach}
{/if}

Michel
Répondre


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)