{html_head} {literal} {/literal} {/html_head}
 
{assign var='display_description_tab' value=false} {if (!($stripped.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))} {assign var='display_description_tab' value=true} {/if} {assign var='showTitle' value=false} {if ($SHOW_PICTURE_NAME_ON_TITLE && (isset($COMMENT_IMG) || !($stripped.showDescriptionInsteadOfTitle) ))} {assign var='showTitle' value=true} {/if}
{$ELEMENT_CONTENT}
{if $showTitle }
{if $stripped.showDescriptionInsteadOfTitle} {$COMMENT_IMG|strip_tags:false} {else} {$current.TITLE} {/if}
{/if}