{if $sType == 'forum' || $sType == 'page'}

{phrase var='tag.tags'}

{foreach from=$aTags item=aTag name=tag}{if $phpfox.iteration.tag != 1}, {/if}{$aTag.tag_text|clean}{/foreach}
{else} {if isset($sTags) && !empty($sTags)} {if $bIsInline} {if $bDontCleanTags}{$sTags}{else}{$sTags|clean}{/if} {else}
{if (Phpfox::getUserId() == $iUserId && Phpfox::getUserParam('tag.edit_own_tags')) || Phpfox::getUserParam('tag.edit_user_tags')}{/if}{phrase var='tag.tags'}{if (Phpfox::getUserId() == $iUserId && Phpfox::getUserParam('tag.edit_own_tags')) || Phpfox::getUserParam('tag.edit_user_tags')}{/if}: {foreach from=$aTags item=aTag name=tag}{if $phpfox.iteration.tag != 1}, {/if}{$aTag.tag_text|clean}{/foreach} {if (Phpfox::getUserId() == $iUserId && Phpfox::getUserParam('tag.edit_own_tags')) || Phpfox::getUserParam('tag.edit_user_tags')} {/if}
{/if} {/if} {/if} {unset var=$sTags}