<?php /** * @package Joomla.Site * @subpackage com_content * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // 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); $utilities = Zo2Utilities::getInstance(); ?> <?php if ($this->item->state == 0) { ?> <div class="system-unpublished"> <?php } ?> <?php if ($params->get('show_title')) { ?> <h2 class="item-title"> <?php
<?php /** * Zo2 (http://www.zootemplate.com/zo2) * A powerful Joomla template framework * * @version 1.4.4 * @link http://www.zootemplate.com/zo2 * @link https://github.com/cleversoft/zo2 * @author ZooTemplate <http://zootemplate.com> * @copyright Copyright (c) 2015 CleverSoft (http://cleversoft.co/) * @license GPL v2 */ defined('_JEXEC') or die('Restricted Access'); /** * This file will use to init / register current template with ZO2 framework */ if (!class_exists('Zo2Framework')) { die('Zo2Framework not found'); } $framework = Zo2Framework::getInstance(); $framework->init(); $this->zo2 = new JRegistry(); $this->zo2->framework = $framework; $this->zo2->template = new Zo2Template(); $this->zo2->layout = $framework->layout; $this->zo2->utilities = Zo2Utilities::getInstance(); $framework->getTemplateLayouts();