29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-16 09:02:52 +00:00

[4.0] Replace input with button (#36386)

This commit is contained in:
Lodder 2021-12-29 01:39:17 +00:00 committed by GitHub
parent 11ec1567e5
commit 3e946188f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ HTMLHelper::_('behavior.keepalive');
</ul>
<?php endif; ?>
<div class="mod-login-logout__button logout-button">
<input type="submit" name="Submit" class="btn btn-primary" value="<?php echo Text::_('JLOGOUT'); ?>">
<button type="submit" name="Submit" class="btn btn-primary"><?php echo Text::_('JLOGOUT'); ?></button>
<input type="hidden" name="option" value="com_users">
<input type="hidden" name="task" value="user.logout">
<input type="hidden" name="return" value="<?php echo $return; ?>">

View File

@ -185,7 +185,7 @@ $wa->getAsset('style', 'fontawesome')->setAttribute('rel', 'lazy-stylesheet');
</div>
<?php endforeach; ?>
<input type="submit" name="Submit" class="btn btn-primary" value="<?php echo Text::_('JLOGIN'); ?>">
<button type="submit" name="Submit" class="btn btn-primary"><?php echo Text::_('JLOGIN'); ?></button>
<input type="hidden" name="option" value="com_users">
<input type="hidden" name="task" value="user.login">

View File

@ -75,7 +75,7 @@ $twofactormethods = AuthenticationHelper::getTwoFactorMethods();
</p>
<?php endif; ?>
<p id="submit-button">
<input type="submit" name="Submit" class="button login" value="<?php echo Text::_('JLOGIN'); ?>" />
<button type="submit" name="Submit" class="button login"><?php echo Text::_('JLOGIN'); ?></button>
</p>
<input type="hidden" name="option" value="com_users" />
<input type="hidden" name="task" value="user.login" />