Skip to content
Code-Schnipsel Gruppen Projekte
SideBox1.html 805 B
Newer Older
  • Learn to ignore specific revisions
  • Henning Leutz's avatar
    Henning Leutz committed
    
    {if $this->getAttribute( 'showImage' ) && $Site->getAttribute('image_site')}
    <a href="{url site=$Site}" class="image">
        {image src=$Site->getAttribute('image_site') width=1400}
    </a>
    {/if}
    
    {if $this->getAttribute( 'showTitle' ) || $this->getAttribute( 'showShort' )}
    <header>
        {if $this->getAttribute( 'showTitle' )}
        <h2>
            <a href="{url site=$Site}">
                {$Site->getAttribute('title')}
            </a>
        </h2>
        {/if}
        {if $this->getAttribute( 'showShort' )}
        <p>
            {$Site->getAttribute('short')}
        </p>
        {/if}
    </header>
    {/if}
    
    {if $this->getAttribute( 'showContent' )}
    <p>
        {$Site->getAttribute('content')}
    </p>
    {/if}
    
    <footer>
        <a href="{url site=$Site}" class="button">
            {locale group="quiqqer/bricks" var="continue.reading"}
        </a>
    </footer>