{assign var="canQuote" value=!$topicInfo.locked && ($canEdit || $canPost)} {foreach from=$postList item=post}