CoreFiles by mySites.guru
default.php116 lines, 3,235 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
285522621c454dbe75dcebbddf746ed1
sha1
cd8b18195513a704482f8633d6f22eb2b439f550
sha256
2cd5f09802b3ad975ff1133a952bcdc3a8f3ac94e4a315c6c97786faabf0a597
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_login
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @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;
use Joomla\CMS\Uri\Uri;

HTMLHelper::_('behavior.core');
HTMLHelper::_('behavior.formvalidator');
HTMLHelper::_('behavior.keepalive');
HTMLHelper::_('script', 'system/fields/passwordview.min.js', ['version' => 'auto', 'relative' => true]);
HTMLHelper::_('script', 'mod_login/admin-login.min.js', ['version' => 'auto', 'relative' => true]);

Text::script('JSHOW');
Text::script('JHIDE');
// Load JS message titles
Text::script('ERROR');
Text::script('WARNING');
Text::script('NOTICE');
Text::script('MESSAGE');
?>
<form class="login-initial form-validate" action="<?php echo Route::_('index.php', true); ?>" method="post"
	id="form-login">
	<fieldset>
		<div class="form-group">
			<label for="mod-login-username">
				<?php echo Text::_('JGLOBAL_USERNAME'); ?>
			</label>
			<div class="input-group">

				<input
						name="username"
						id="mod-login-username"
						type="text"
						class="form-control input-full"
						required="required"
						autofocus
				>
			</div>
		</div>
		<div class="form-group">
			<label for="mod-login-password">
				<?php echo Text::_('JGLOBAL_PASSWORD'); ?>
			</label>
			<div class="input-group">

				<input
						name="passwd"
						id="mod-login-password"
						type="password"
						class="form-control input-full"
						required="required"
				>
				<span class="input-group-append ml-2">
					<button type="button" class="input-group-text icon-eye input-password-toggle">
						<span class="sr-only"><?php echo Text::_('JSHOW'); ?></span>
					</button>
				</span>

			</div>
		</div>

		<?php if (count($twofactormethods) > 1): ?>
			<div class="form-group">
				<label for="mod-login-secretkey">
					<span class="label"><?php echo Text::_('JGLOBAL_SECRETKEY'); ?></span>
					<span class="text-right">
						<?php echo Text::_('COM_LOGIN_TWOFACTOR'); ?>
					</span>
				</label>
				<div class="input-group">

					<input
							name="secretkey"
							autocomplete="off"
							id="mod-login-secretkey"
							type="text"
							class="form-control input-full"
					>
				</div>
			</div>
		<?php endif; ?>
		<?php if (!empty($langs)) : ?>
			<div class="form-group">
				<label for="lang">
					<?php echo Text::_('MOD_LOGIN_LANGUAGE'); ?>
				</label>
				<?php echo $langs; ?>
			</div>
		<?php endif; ?>
		<div class="form-group">
			<button class="btn btn-primary btn-block btn-lg mt-4"
				id="btn-login-submit"><?php echo Text::_('JLOGIN'); ?></button>
		</div>
		<input type="hidden" name="option" value="com_login">
		<input type="hidden" name="task" value="login">
		<input type="hidden" name="return" value="<?php echo $return; ?>">
		<?php echo HTMLHelper::_('form.token'); ?>
	</fieldset>
</form>
<div class="text-center">
	<div>
		<a href="<?php echo Text::_('MOD_LOGIN_CREDENTIALS_LINK'); ?>" target="_blank" rel="nofollow">
			<?php echo Text::_('MOD_LOGIN_CREDENTIALS'); ?>
		</a>
	</div>
</div>

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