CoreFiles by mySites.guru
associations.php29 lines, 772 bytes, from Joomla_4.4.14-Stable-Full_Package.zip
Raw History Compare with 4.4.13
md5
3e4a13ae57be945ffeb4fc54b0f5af5a
sha1
f820df7df33a34e1972dc9f6dce69650d752f65c
sha256
219f680c346c565f36028168b38416b040536e8bdf1512924a89752d06ef8175
<?php

/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$items = $displayData;

if (!empty($items)) : ?>
    <ul class="item-associations">
        <?php foreach ($items as $id => $item) : ?>
            <?php if (is_array($item) && isset($item['link'])) : ?>
                <li>
                    <?php echo $item['link']; ?>
                </li>
            <?php elseif (isset($item->link)) : ?>
                <li>
                    <?php echo $item->link; ?>
                </li>
            <?php endif; ?>
        <?php endforeach; ?>
    </ul>
<?php endif; ?>

The same content is in 233 releases, Joomla 4.2.0-beta3 to 6.3.0-alpha1. See them all, or every version of this file.