Your IP : 216.73.216.11


Current Path : /home/digilove/public_html/templates/horme_3/html/mod_login/
Upload File :
Current File : /home/digilove/public_html/templates/horme_3/html/mod_login/dropdown_logout.php

<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_login
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
?>
<form action="<?php echo JRoute::_(JUri::getInstance()->toString(), true, $params->get('usesecure')); ?>" method="post" id="login-form" class="form-inline">
<?php if ($params->get('greeting')) : ?>
	<span class="login-greeting">
	<?php if ($params->get('name') == 0) : {
		echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('name')));
	} else : {
		echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('username')));
	} endif; ?>
	</span>
	<?php endif; ?>
	<span class="logout-button">
		<button class="btn btn-primary btn-xs" type="submit">
			<span class="glyphicon glyphicon-log-out"></span>
			<?php echo JText::_('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; ?>" />
		<?php echo JHtml::_('form.token'); ?>
	</span>
</form>