if ($this->item->params->get('catItemTags') && count($this->item->tags)) { ?> <p>Tags: <!-- Item tags --> <?php $tags = array(); ?> <?php foreach ($this->item->tags as $tag) { ?> <?php //$tags[] = '<span><a href="'.$tag->link.'">'. $tag->name.'</a></span>'; ?> <?php $tags[] = '<span><a href="' . TmplK2Helper::getSearchTagLink($tag->name) . '">' . $tag->name . '</a></span>'; ?> <?php } ?> <?php echo implode('<span class="separator">,</span>', $tags); ?> </p> <?php } ?> <?php if ($this->item->params->get('catItemAuthor')) { ?>
<?php /** * @version * @package * @author * @copyright * @license */ // no direct access defined('_JEXEC') or die; require_once __DIR__ . '/../_helper.php'; TmplK2Helper::removeCss(array('com_k2/css/k2.css')); TmplK2Helper::removeJs(array('com_k2/js/k2.js', 'js/mootools-core-uncompressed.js', 'js/core-uncompressed.js')); ?> <!-- Start K2 Tag Layout --> <div id="k2Container" class="tagView<?php if ($this->params->get('pageclass_sfx')) { echo ' ' . $this->params->get('pageclass_sfx'); } ?> "> <!-- Page title --> <h1> <?php echo $this->escape($this->params->get('page_title')); ?> </h1> <?php
<?php /** * @version * @package * @author * @copyright * @license */ // no direct access defined('_JEXEC') or die; require_once __DIR__ . '/../_helper.php'; TmplK2Helper::removeCss(array('com_k2/css/k2.css')); TmplK2Helper::removeJs(array('js/mootools-core.js', 'js/core.js', 'js/mootools-core-uncompressed.js', 'js/core-uncompressed.js', 'js/mootools-more.js', 'js/modal.js', 'SqueezeBox.initialize({});')); ?> <!-- Start K2 Item Layout --> <span id="startOfPageId<?php echo JRequest::getInt('id'); ?> "></span> <div id="k2Container" class="itemView<?php if ($this->item->params->get('pageclass_sfx')) { echo ' ' . $this->item->params->get('pageclass_sfx'); } ?> "> <!-- Plugins: BeforeDisplay --> <?php echo $this->item->event->BeforeDisplay; ?>