CoreFiles by mySites.guru
default.php47 lines, 1,649 bytes, from Joomla_5.1.2-Stable-Full_Package.zip
Raw History Compare with 5.1.1
md5
3764409f227e23147cad2a2635c487ce
sha1
beaea402b9fdac0b7269c6e39de010e1e7b721af
sha256
10fcd60123b84d32556cdfe04673d3a4dc342631aa7d03f92b8c521fd67fec3e
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_messages
 *
 * @copyright   (C) 2008 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;
use Joomla\CMS\Router\Route;

/** @var \Joomla\Component\Messages\Administrator\View\Message\HtmlView $this */

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('core');

?>
<form action="<?php echo Route::_('index.php?option=com_messages'); ?>" method="post" name="adminForm" id="adminForm">
    <fieldset>
        <input type="hidden" name="task" value="">
        <input type="hidden" name="reply_id" value="<?php echo $this->item->message_id; ?>">
        <?php echo HTMLHelper::_('form.token'); ?>
    </fieldset>
</form>
<div class="card">
    <div class="card-body">
        <dl class="mb-0">
            <dt><?php echo Text::_('COM_MESSAGES_FIELD_USER_ID_FROM_LABEL'); ?></dt>
            <dd><?php echo $this->item->get('from_user_name'); ?></dd>

            <dt><?php echo Text::_('COM_MESSAGES_FIELD_DATE_TIME_LABEL'); ?></dt>
            <dd><?php echo HTMLHelper::_('date', $this->item->date_time, Text::_('DATE_FORMAT_LC2')); ?></dd>

            <dt><?php echo Text::_('COM_MESSAGES_FIELD_SUBJECT_LABEL'); ?></dt>
            <dd><?php echo $this->item->subject; ?></dd>

            <dt><?php echo Text::_('COM_MESSAGES_FIELD_MESSAGE_LABEL'); ?></dt>
            <dd><?php echo $this->item->message; ?></dd>
        </dl>
    </div>
</div>

The same content is in 10 releases, Joomla 5.1.0-beta1 to 5.1.2. See them all, or every version of this file.