Помогите исправить код в файле templates\шаблон\html\com_content\article\default.php таким образом, чтобы в материалах выводило Автор: логин из СВ, а не имя пользователя.
<?php
artxFragmentEnd(ob_get_clean());
}
artxFragmentBegin("<div class=\"art-PostHeaderIcons art-metadata-icons\">\r\n");
if ($this->params->get('show_url') && $this->article->urls)
artxFragment('', '<a href="http://' . $this->item->urls . '" target="_blank">' . $this->item->urls . '</a>', '', ' | ');
if ($this->params->get('show_create_date')) {
artxFragment('', JHTML::_('image.site', 'PostDateIcon.png', null, null, null, JText::_("PostDateIcon"), array('width' => '17', 'height' => '18')). JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')), '', ' | ');
}
if (($this->params->get('show_author')) && ($this->article->author != "")) {
artxFragment('', JHTML::_('image.site', 'PostAuthorIcon.png', null, null, null, JText::_("PostAuthorIcon"), array('width' => '14', 'height' => '14')). JText::sprintf('Written by', ($this->article->created_by_alias ? $this->article->created_by_alias : $this->article->author)), '', ' | ');
}
if (!$this->print && $this->params->get('show_pdf_icon'))
artxFragment('', JHTML::_('icon.pdf', $this->article, $this->params, $this->access), '', ' | ');
if (!$this->print && $this->params->get('show_print_icon' ))
artxFragment('', JHTML::_('icon.print_popup', $this->article, $this->params, $this->access), '', ' | ');
if (!$this->print && $this->params->get('show_email_icon'))
artxFragment('', JHTML::_('icon.email', $this->article, $this->params, $this->access), '', ' | ');
if (!$this->print && $canEdit)
artxFragment('', JHTML::_('icon.edit', $this->article, $this->params, $this->access), '', ' | ');
if ($this->print)
artxFragment('', JHTML::_('icon.print_screen', $this->article, $this->params, $this->access, array('class' => 'art-metadata-icon')), '', ' | ');
artxFragmentEnd("\r\n</div>\r\n");
echo "<div class=\"art-PostContent\">\r\n";
if (!$this->params->get('show_intro'))
echo $this->article->event->afterDisplayTitle;
echo $this->article->event->beforeDisplayContent;
if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) {
?>
if (($this->params->get('show_author')) && ($this->article->author != "")) {
artxFragment('', JHTML::_('image.site', 'PostAuthorIcon.png', null, null, null, JText::_("PostAuthorIcon"), array('width' => '14', 'height' => '14')). JText::sprintf('Written by', ($this->article->created_by_alias ? $this->article->created_by_alias : $this->article->author)), '', ' | ');
}