CoreFiles by mySites.guru
default_mail.php34 lines, 1,239 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
acd95d0f4cbe8a0a2cab4f8fd4093ccc
sha1
de0d6c6c544b277fb35778e0814c747025b26f99
sha256
7b8070362d4f60c062f7991efccbe155a23ceb64582150a7d8e3e56feb793f81
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_config
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JHtml::script('system/sendtestmail.min.js', array('version' => 'auto', 'relative' => true));

// Load JavaScript message titles
JText::script('ERROR');
JText::script('WARNING');
JText::script('NOTICE');
JText::script('MESSAGE');

// Add strings for JavaScript error translations.
JText::script('JLIB_JS_AJAX_ERROR_CONNECTION_ABORT');
JText::script('JLIB_JS_AJAX_ERROR_NO_CONTENT');
JText::script('JLIB_JS_AJAX_ERROR_OTHER');
JText::script('JLIB_JS_AJAX_ERROR_PARSE');
JText::script('JLIB_JS_AJAX_ERROR_TIMEOUT');

// Ajax request data.
$ajaxUri = JRoute::_('index.php?option=com_config&task=application.sendtestmail&format=json');

$this->name = JText::_('COM_CONFIG_MAIL_SETTINGS');
$this->fieldsname = 'mail';
echo JLayoutHelper::render('joomla.content.options_default', $this);

echo '<button class="btn btn-primary" data-ajaxuri="' . $ajaxUri . '" type="button" id="sendtestmail"><span>' . JText::_('COM_CONFIG_SENDMAIL_ACTION_BUTTON') . '</span></button>';

No other release has this exact content. See every version of this file.