CoreFiles by mySites.guru
default_logout.php38 lines, 1,426 bytes, from Joomla_3.10.7-Stable-Full_Package.zip
Raw History Compare with 3.10.6
md5
fe7273c3304369f1740b115adaa24d9a
sha1
ee20dd284cf60e1e1a0bd337fc09b47f2a7ef5c3
sha256
9c7325722903a6d1004ff77c5a22057f31613e4946cc8b6715bae55cc2e4cbf2
<?php
/**
 * @package     Joomla.Site
 * @subpackage  Templates.beez3
 *
 * @copyright   (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
?>
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form">
<?php if ($params->get('greeting')) : ?>
	<div class="login-greeting">
	<?php if ($params->get('name') == 0) : ?>
		<?php echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('name'), ENT_COMPAT, 'UTF-8')); ?>
	<?php else : ?>
		<?php echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('username'), ENT_COMPAT, 'UTF-8')); ?>
	<?php endif; ?>
	</div>
<?php endif; ?>
<?php if ($params->get('profilelink')) : ?>
	<div class="login-profilelink">
		<a href="<?php echo JRoute::_('index.php?option=com_users&view=profile'); ?>">
		<?php echo JText::_('MOD_LOGIN_PROFILE'); ?></a>
	</div>
<?php endif; ?>
<div class="logout-button">
	<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGOUT'); ?>" />
	<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; ?>" />
	<?php echo JHtml::_('form.token'); ?>
</div>
</form>

The same content is in 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.