CODE
{if !{$STOP_TAGS_TEMPLATE}}
{Des::while}{tags}
<?php
$link = $PowerBB->_CONF['template']['ForumAdress'] . $PowerBB->functions->rewriterule('index.php?page=topic&show=1&id=').$PowerBB->_CONF['template']['subject_id'];
$PowerBB->_CONF['template']['Info']['text'] = str_replace($PowerBB->_CONF['template']['while']['tags'][$this->x_loop]['tag'], '<a href="'.$link.'">'.$PowerBB->_CONF['template']['while']['tags'][$this->x_loop]['tag'].'</a>', $PowerBB->_CONF['template']['Info']['text']);
?>
{/Des::while}
{/if}