<?php
<!-- Aside -->
if (($params->get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category'))
or ($params->get('show_print_icon')) or ($params->get('show_email_icon')) or ($canEdit)
) :
<aside class="article-aside clearfix">
if (($params->get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category'))) :
<dl class="article-info pull-left">
<dt class="article-info-term"> echo JText::_('COM_CONTENT_ARTICLE_INFO'); </dt>
if ($params->get('show_author') && !empty($this->item->author)) :
<dd class="createdby">
$author = $this->item->author;
$author = ($this->item->created_by_alias ? $this->item->created_by_alias : $author);
if (!empty($this->item->contactid ) && $params->get('link_author') == true):
echo JText::sprintf('COM_CONTENT_WRITTEN_BY' ,
'<span>'.JHtml::_('link',JRoute::_('index.php?option=com_contact&view=contact&id='.$this->item->contactid),$author).'</span>');
else :
echo JText::sprintf('COM_CONTENT_WRITTEN_BY', '<span>'.$author.'</span>');
endif;
</dd>
endif;
?>