CoreFiles by mySites.guru
finaliseconfirm.php96 lines, 3,553 bytes, from Joomla_4.1.2-Stable-Full_Package.zip
Raw History Compare with 4.1.1
md5
72d3cd1f2de1d27c3576345b6eb0ba04
sha1
9d68b4900bf231c66e89f38c2a18e2412cbdbbd9
sha256
a23266b3db864e4969e9866c99f4ce1ebb9f8f4e980fe8d6224f80cf3ff1a487
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_joomlaupdate
 *
 * @copyright   (C) 2016 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\Factory;
use Joomla\CMS\Helper\AuthenticationHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;

HTMLHelper::_('behavior.keepalive');

$twofactormethods = AuthenticationHelper::getTwoFactorMethods();

?>

<div class="alert warning">
	<h4 class="alert-heading">
		<?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_FINALISE_HEAD'); ?>
	</h4>
	<p>
		<?php echo Text::sprintf('COM_JOOMLAUPDATE_VIEW_UPDATE_FINALISE_HEAD_DESC', Factory::getApplication()->get('sitename')); ?>
	</p>
</div>

<hr>

<form action="<?php echo Route::_('index.php', true); ?>" method="post" id="form-login" class="d-flex justify-content-center text-center">
	<fieldset class="loginform">
		<legend><?php echo Text::_('COM_JOOMLAUPDATE_CONFIRM'); ?></legend>
		<div class="control-group">
			<div class="controls">
				<div class="input-group">
					<input name="username" id="mod-login-username" type="text" class="form-control" required="required" autocomplete="username" placeholder="<?php echo Text::_('JGLOBAL_USERNAME'); ?>" size="15" autofocus="true">
					<span class="input-group-text">
						<span class="icon-user" aria-hidden="true"></span>
						<label for="mod-login-username" class="visually-hidden">
							<?php echo Text::_('JGLOBAL_USERNAME'); ?>
						</label>
					</span>
				</div>
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<div class="input-group">
					<input name="passwd" id="mod-login-password" type="password" class="form-control" required="required" autocomplete="current-password" placeholder="<?php echo Text::_('JGLOBAL_PASSWORD'); ?>" size="15">
					<span class="input-group-text">
						<span class="icon-lock" aria-hidden="true"></span>
						<label for="mod-login-password" class="visually-hidden">
							<?php echo Text::_('JGLOBAL_PASSWORD'); ?>
						</label>
					</span>
				</div>
			</div>
		</div>
		<?php if (count($twofactormethods) > 1) : ?>
			<div class="control-group">
				<div class="controls">
					<div class="input-group">
						<input name="secretkey" autocomplete="one-time-code" id="mod-login-secretkey" type="text" class="form-control" placeholder="<?php echo Text::_('JGLOBAL_SECRETKEY'); ?>" size="15">
						<span class="input-group-text" title="<?php echo Text::_('JGLOBAL_SECRETKEY_HELP'); ?>">
							<span class="icon-star" aria-hidden="true"></span>
							<label for="mod-login-secretkey" class="visually-hidden">
								<?php echo Text::_('JGLOBAL_SECRETKEY'); ?>
							</label>
						</span>
					</div>
				</div>
			</div>
		<?php endif; ?>
		<div class="control-group">
			<div class="controls">
				<div class="btn-group">
					<a class="btn btn-danger" href="index.php?option=com_joomlaupdate">
						<span class="icon-times" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?>
					</a>
					<button type="submit" class="btn btn-primary">
						<span class="icon-play" aria-hidden="true"></span> <?php echo Text::_('COM_JOOMLAUPDATE_VIEW_UPDATE_FINALISE_CONFIRM_AND_CONTINUE'); ?>
					</button>
				</div>
			</div>
		</div>

		<input type="hidden" name="option" value="com_joomlaupdate">
		<input type="hidden" name="task" value="update.finaliseconfirm">
		<?php echo HTMLHelper::_('form.token'); ?>
	</fieldset>
</form>

The same content is in 38 releases, Joomla 4.0.0-rc1 to 4.2.0-alpha1. See them all, or every version of this file.