CoreFiles by mySites.guru
default.php48 lines, 1,722 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
ec862564c293edaebae1a30eca333f6a
sha1
041b64974816db6ab15d9762330581e69a97d950
sha256
d98a916c5cc951db10e16ebbb9ac9a5930bca459687fdf340f5056f398a25029
<?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\Mail\MailHelper;
use Joomla\CMS\Router\Route;

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

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->getDocument()->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->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 MailHelper::convertRelativeToAbsoluteUrls($this->item->message); ?></dd>
        </dl>
    </div>
</div>

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