Created
November 26, 2012 13:33
-
-
Save boriskaiser/4148220 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class='ab-image' href='{$link}' title='{$title}'> | |
{if isset($sArticle.image.src)} | |
{if $sTemplate == 'listing-1col'} | |
<span style='background-image: url({$sArticle.image.src.2})'></span> | |
{else} | |
<span style='background-image: url({$sArticle.image.src.3})'></span> | |
{/if} | |
{else} | |
<span class='ab-no-image'> | |
<b>{s name='NoPicture' namespace='frontend/index/index'}Leider kein Bild verfügbar{/s}</b> | |
</span> | |
{/if} | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment