CoreFiles by mySites.guru
default.php23 lines, 554 bytes, from Joomla_3.4.5-Stable-Full_Package.zip
Raw History Compare with 3.4.4
md5
5d4d0e18aeb765110655d43fa2bf5089
sha1
8aa7dbae981836772b814e582364f097a24fcb00
sha256
633dcabe3a01d4bc1872933ff27f31ec34acb67e3a10aef9ae177a55dc51fd1b
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_users
 *
 * @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;

$cookieLogin = $this->user->get('cookieLogin');

if ($this->user->get('guest') || !empty($cookieLogin))
{
	// The user is not logged in or needs to provide a password.
	echo $this->loadTemplate('login');
}
else
{
	// The user is already logged in.
	echo $this->loadTemplate('logout');
}

The same content is in 20 releases, Joomla 3.4.0-beta1 to 3.5.0-beta. See them all, or every version of this file.