Created
March 12, 2018 13:15
-
-
Save iamrobert/80250c51c09db3d0f097f782eb689e03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package Joomla.Site | |
| * @subpackage mod_login | |
| * | |
| * @copyright Copyright (C) 2005 - 2013 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::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form" class="form-vertical"> | |
| <?php if ($params->get('greeting')) : ?> | |
| <div 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; ?> | |
| </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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment