1<?php 2/** 3 * @package Joomla.Site 4 * @subpackage Layout 5 * 6 * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10defined('_JEXEC') or die; 11 12$blockPosition = $displayData['params']->get('info_block_position', 0); 13 14?> 15 <dl class="article-info muted"> 16 17 <?php if ($displayData['position'] === 'above' && ($blockPosition == 0 || $blockPosition == 2) 18 || $displayData['position'] === 'below' && ($blockPosition == 1) 19 ) : ?> 20 21 <dt class="article-info-term"> 22 <?php if ($displayData['params']->get('info_block_show_title', 1)) : ?> 23 <?php echo JText::_('COM_CONTENT_ARTICLE_INFO'); ?> 24 <?php endif; ?> 25 </dt> 26 27 <?php if ($displayData['params']->get('show_author') && !empty($displayData['item']->author )) : ?> 28 <?php echo $this->sublayout('author', $displayData); ?> 29 <?php endif; ?> 30 31 <?php if ($displayData['params']->get('show_parent_category') && !empty($displayData['item']->parent_slug)) : ?> 32 <?php echo $this->sublayout('parent_category', $displayData); ?> 33 <?php endif; ?> 34 35 <?php if ($displayData['params']->get('show_category')) : ?> 36 <?php echo $this->sublayout('category', $displayData); ?> 37 <?php endif; ?> 38 39 <?php if ($displayData['params']->get('show_associations')) : ?> 40 <?php echo $this->sublayout('associations', $displayData); ?> 41 <?php endif; ?> 42 43 <?php if ($displayData['params']->get('show_publish_date')) : ?> 44 <?php echo $this->sublayout('publish_date', $displayData); ?> 45 <?php endif; ?> 46 47 <?php endif; ?> 48 49 <?php if ($displayData['position'] === 'above' && ($blockPosition == 0) 50 || $displayData['position'] === 'below' && ($blockPosition == 1 || $blockPosition == 2) 51 ) : ?> 52 <?php if ($displayData['params']->get('show_create_date')) : ?> 53 <?php echo $this->sublayout('create_date', $displayData); ?> 54 <?php endif; ?> 55 56 <?php if ($displayData['params']->get('show_modify_date')) : ?> 57 <?php echo $this->sublayout('modify_date', $displayData); ?> 58 <?php endif; ?> 59 60 <?php if ($displayData['params']->get('show_hits')) : ?> 61 <?php echo $this->sublayout('hits', $displayData); ?> 62 <?php endif; ?> 63 <?php endif; ?> 64 </dl> 65