{if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if}
{foreach from=$faqCategories item=Category} {assign var=enableSubpages value=false} {if $subpages && in_array($Category->getAttribute('type'), $types)} {assign var=enableSubpages value=true} {/if}
{if $showImage}
{image src=$Category->getAttribute('image_site') title=$Category->getAttribute('title')}
{/if} {if $showTitle} {$Category->getAttribute('title')} {/if} {if $showDesc}
{$Category->getAttribute('short')}
{/if} {if !$enableSubpages && $showButton} {/if} {if $enableSubpages} {assign var=faqList value=$Category->getChildren()} {if count($faqList)}
{/if} {/if}
{/foreach}