* ------------------------------------------------------------------------ */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); if (version_compare(JVERSION, '3.0', 'lt')) { JHtml::_('behavior.tooltip'); } JHtml::_('behavior.framework'); // Create a shortcut for params. $params =& $this->item->params; $images = json_decode($this->item->images); $canEdit = $this->item->params->get('access-edit'); $info = $this->item->params->get('info_block_position', 0); $hasInfo = ($params->get('show_author') && !empty($this->item->author) or $params->get('show_category') or $params->get('show_create_date') or $params->get('show_publish_date') or $params->get('show_parent_category')); $hasCtrl = $params->get('show_print_icon') || $params->get('show_email_icon') || $canEdit; $loadParamsContents = SugiteHelper::loadParamsContents($this->item); $grid_info = explode('x', $loadParamsContents['size']); $grid = ''; $grid .= $grid_info[0] > 1 ? ' item-w' . $grid_info[0] : ''; $grid .= $grid_info[1] > 1 ? ' item-h' . $grid_info[1] : ''; ?> <div class="item isotope-item <?php echo $grid; ?> "> <?php if ($this->item->state == 0) { ?> <div class="system-unpublished"> <?php