<?php
/**
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
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');
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.framework');
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
if( $templateparams->get ('blog_style') == 'avatar' ){
include('blog_item_avatar.php');
return;
}
if( $templateparams->get ('blog_style') == 'datetime' ){
include('blog_item_datetime.php');
return;
}
?>