[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Site 5 * @subpackage Layout 6 * 7 * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 defined('_JEXEC') or die; 12 13 use Joomla\CMS\Language\Text; 14 15 $blockPosition = $displayData['params']->get('info_block_position', 0); 16 17 ?> 18 <dl class="article-info text-muted"> 19 20 <?php if ( 21 $displayData['position'] === 'above' && ($blockPosition == 0 || $blockPosition == 2) 22 || $displayData['position'] === 'below' && ($blockPosition == 1) 23 ) : ?> 24 <dt class="article-info-term"> 25 <?php if ($displayData['params']->get('info_block_show_title', 1)) : ?> 26 <?php echo Text::_('COM_CONTENT_ARTICLE_INFO'); ?> 27 <?php endif; ?> 28 </dt> 29 30 <?php if ($displayData['params']->get('show_author') && !empty($displayData['item']->author)) : ?> 31 <?php echo $this->sublayout('author', $displayData); ?> 32 <?php endif; ?> 33 34 <?php if ($displayData['params']->get('show_parent_category') && !empty($displayData['item']->parent_id)) : ?> 35 <?php echo $this->sublayout('parent_category', $displayData); ?> 36 <?php endif; ?> 37 38 <?php if ($displayData['params']->get('show_category')) : ?> 39 <?php echo $this->sublayout('category', $displayData); ?> 40 <?php endif; ?> 41 42 <?php if ($displayData['params']->get('show_associations')) : ?> 43 <?php echo $this->sublayout('associations', $displayData); ?> 44 <?php endif; ?> 45 46 <?php if ($displayData['params']->get('show_publish_date')) : ?> 47 <?php echo $this->sublayout('publish_date', $displayData); ?> 48 <?php endif; ?> 49 50 <?php endif; ?> 51 52 <?php if ( 53 $displayData['position'] === 'above' && ($blockPosition == 0) 54 || $displayData['position'] === 'below' && ($blockPosition == 1 || $blockPosition == 2) 55 ) : ?> 56 <?php if ($displayData['params']->get('show_create_date')) : ?> 57 <?php echo $this->sublayout('create_date', $displayData); ?> 58 <?php endif; ?> 59 60 <?php if ($displayData['params']->get('show_modify_date')) : ?> 61 <?php echo $this->sublayout('modify_date', $displayData); ?> 62 <?php endif; ?> 63 64 <?php if ($displayData['params']->get('show_hits')) : ?> 65 <?php echo $this->sublayout('hits', $displayData); ?> 66 <?php endif; ?> 67 <?php endif; ?> 68 </dl>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |