<?php } ?> <?php if ($system->config->get('main_master_tags')) { ?> <?php if ($system->config->get('main_tags') && $post->tags) { ?> <div class="discuss-tags"> <?php foreach ($post->tags as $tag) { ?> <a class="label" href="<?php echo DiscussRouter::getTagRoute($tag->id); ?> "><i class="icon-tag"></i><?php echo $tag->title; ?> </a> <?php } ?> </div> <?php } ?> <?php } ?>