Hallo,
kann mir kurz einer sagen, wie ich eine Statusabfrage zur Sprachauswahl / Währung hinzufüge, um per CSS den aktiven und inaktiven Part grafisch voneinander zu unterscheiden?
Der Code für beides derzeitig:
Besten Dank für eine Antwort im Voraus
Beste Grüße,
D.
kann mir kurz einer sagen, wie ich eine Statusabfrage zur Sprachauswahl / Währung hinzufüge, um per CSS den aktiven und inaktiven Part grafisch voneinander zu unterscheiden?
Der Code für beides derzeitig:
Code:
<!-- SPRACHAUSWAHL START -->
<li class="lang">{foreach from=$smarty.session.Sprachen item=oSprache}
{if $oSprache->kSprache != $smarty.session.kSprache}
<p><a href="{$oSprache->cURL}" class="link_lang {$oSprache->cISO}"></a></p>
{/if}
{/foreach}</li>
<!-- SPRACHAUSWAHL ENDE -->
<!-- WÄHRUNGSAUSWAHL START -->
<li class="currency">
{if isset($smarty.session.Waehrungen) && $smarty.session.Waehrungen|@count > 1}
{foreach from=$smarty.session.Waehrungen item=oWaehrung}
<a href="{$oWaehrung->cURL}" rel="nofollow">{$oWaehrung->cName}</a>
{/foreach}
{/if}
</li>
<!-- WÄHRUNGSAUSWAHL ENDE -->
Besten Dank für eine Antwort im Voraus
Beste Grüße,
D.