CoreFiles by mySites.guru
default.php45 lines, 1,356 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
9b19f26848f15a6b493132c1afb1d69f
sha1
afbb996a06c84feab6f4c5d767e18b2083e99ab5
sha256
5ed304576f51b8b74548911fa591267f055dfb90def587a4816780df061e2aa2
<?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 htmlspecialchars(str_replace(' ', '', $module->title) . $module->id, ENT_QUOTES, 'UTF-8'); ?>">
    <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 3 releases, Joomla 5.4.11 to 6.3.0-alpha1. See them all, or every version of this file.