CoreFiles by mySites.guru
default.php45 lines, 1,317 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
d78dc4686c840a34eb5c371aced1d195
sha1
ff1d83e6067704e176de959d36f9456376c6598f
sha256
7ab7171b1ab55605b779c31fe8e546de282be3dab2aa65b89689c14e67e9da04
<?php

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

defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

?>
<table class="table" id="<?php echo str_replace(' ', '', $module->title) . $module->id; ?>">
    <caption class="visually-hidden"><?php echo $module->title; ?></caption>
    <thead>
        <tr>
            <th scope="col" class="w-70"><?php echo Text::_('MOD_LATESTACTIONS_ACTION'); ?></th>
            <th scope="col" class="w-30"><?php echo Text::_('JDATE'); ?></th>
        </tr>
    </thead>
    <tbody>
        <?php if (count($list)) : ?>
            <?php foreach ($list as $i => $item) : ?>
        <tr>
            <td>
                <?php echo $item->message; ?>
            </td>
            <td>
                <?php echo HTMLHelper::_('date.relative', $item->log_date); ?>
            </td>
        </tr>
            <?php endforeach; ?>
        <?php else : ?>
        <tr>
            <td colspan="2">
                <?php echo Text::_('MOD_LATESTACTIONS_NO_MATCHING_RESULTS'); ?>
            </td>
        </tr>
        <?php endif; ?>
    </tbody>
</table>

The same content is in 230 releases, Joomla 4.2.0-beta3 to 6.2.1-rc1. See them all, or every version of this file.