You've already forked joomla_test
first commit
This commit is contained in:
33
templates/as002036free/html/mod_login/default_logout.php
Normal file
33
templates/as002036free/html/mod_login/default_logout.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage mod_login
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 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">
|
||||
<p>
|
||||
<?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; ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="control-group">
|
||||
<input type="submit" name="Submit" class="btn btn-primary" 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>
|
Reference in New Issue
Block a user