[ 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 mod_articles_news 6 * 7 * @copyright (C) 2006 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\Helper\ModuleHelper; 14 15 /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ 16 $wa = $app->getDocument()->getWebAssetManager(); 17 $wa->registerAndUseStyle('mod_modules', 'mod_articles_news/template-vert.css'); 18 19 if (!$list) { 20 return; 21 } 22 23 ?> 24 <ul class="mod-articlesnews-vertical newsflash-vert mod-list"> 25 <?php for ($i = 0, $n = count($list); $i < $n; $i++) : ?> 26 <?php $item = $list[$i]; ?> 27 <li class="newsflash-item" itemscope itemtype="https://schema.org/Article"> 28 <?php require ModuleHelper::getLayoutPath('mod_articles_news', '_item'); ?> 29 30 <?php if ($n > 1 && (($i < $n - 1) || $params->get('showLastSeparator'))) : ?> 31 <span class="article-separator"> </span> 32 <?php endif; ?> 33 </li> 34 <?php endfor; ?> 35 </ul>
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 |