| Current Path : /home/jlgagfroyt/www/templates/yoo_unity/warp/systems/joomla/layouts/mod_login/ |
| Current File : /home/jlgagfroyt/www/templates/yoo_unity/warp/systems/joomla/layouts/mod_login/default_logout.php |
<?php
/**
* @package Warp Theme Framework
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
?>
<?php if ($type == 'logout') : ?>
<form class="uk-form" action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post">
<?php if ($params->get('greeting')) : ?>
<div class="uk-form-row">
<?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; ?>
</div>
<?php endif; ?>
<div class="uk-form-row">
<button class="uk-button uk-button-primary" value="<?php echo JText::_('JLOGOUT'); ?>" name="Submit" type="submit"><?php echo JText::_('JLOGOUT'); ?></button>
</div>
<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'); ?>
</form>
<?php endif; ?>