- md5
- dd6b55e176a1518298aa609a7d02fcb4
- sha1
- 6dcd377c866ba2132fb44f3ff1538a68ea0da402
- sha256
- 15ef0d8708a3143dc1a4b95e625cfa88e1d2d7fe9adf0e4ff194a0cf29f46e5c
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
<?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');
?>
<form class="login-initial form-validate" action="<?php echo Route::_('index.php', true); ?>" method="post" id="form-login">
<fieldset>
<div class="form-group">
<label class="text-white" for="mod-login-username">
<?php echo Text::_('JGLOBAL_USERNAME'); ?>
</label>
<div class="input-group">
<span class="input-group-prepend">
<span class="input-group-text">
<span class="fa fa-user" aria-hidden="true"></span>
</span>
</span>
<input
name="username"
id="mod-login-username"
type="text"
class="form-control input-full"
required="required"
autofocus
>
</div>
</div>
<div class="form-group">
<label class="text-white" for="mod-login-password">
<?php echo Text::_('JGLOBAL_PASSWORD'); ?>
</label>
<div class="input-group">
<span class="input-group-prepend">
<span class="sr-only"><?php echo Text::_('JSHOW'); ?></span>
<span class="input-group-text icon-eye" aria-hidden="true"></span>
</span>
<input
name="passwd"
id="mod-login-password"
type="password"
class="form-control input-full"
required="required"
>
</div>
</div>
<?php if (count($twofactormethods) > 1): ?>
<div class="form-group">
<label class="text-white" for="mod-login-secretkey">
<?php echo Text::_('JGLOBAL_SECRETKEY'); ?>
</label>
<div class="input-group">
<span class="input-group-prepend">
<span class="input-group-text"><span class="fa fa-shield" aria-hidden="true"></span></span>
</span>
<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 class="text-white" 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>
<div class="text-center">
<div>
<a href="<?php echo Uri::root(); ?>index.php?option=com_users&view=remind">
<?php echo Text::_('MOD_LOGIN_REMIND'); ?>
</a>
</div>
<div>
<a href="<?php echo Uri::root(); ?>index.php?option=com_users&view=reset">
<?php echo Text::_('MOD_LOGIN_RESET'); ?>
</a>
</div>
</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>
The same content is in 4 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha10. See them all, or every version of this file.