CoreFiles by mySites.guru
default.php32 lines, 944 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
a92c3400e24e3230020fa458d99a504f
sha1
7d00c155fe1b10958d09bc10b7c63001635275fa
sha256
abb037cb2d686acd43906f3c661b7d07b105b07790b2a99c7747e99b2ae8c403
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_whosonline
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;
?>

<?php if ($showmode == 0 || $showmode == 2) : ?>
	<?php $guest = Text::plural('MOD_WHOSONLINE_GUESTS', $count['guest']); ?>
	<?php $member = Text::plural('MOD_WHOSONLINE_MEMBERS', $count['user']); ?>
	<p><?php echo Text::sprintf('MOD_WHOSONLINE_WE_HAVE', $guest, $member); ?></p>
<?php endif; ?>

<?php if (($showmode > 0) && count($names)) : ?>
	<?php if ($params->get('filter_groups')) : ?>
		<p><?php echo Text::_('MOD_WHOSONLINE_SAME_GROUP_MESSAGE'); ?></p>
	<?php endif; ?>
	<ul class="nav flex-column">
	<?php foreach ($names as $name) : ?>
		<li>
			<?php echo $name->username; ?>
		</li>
	<?php endforeach; ?>
	</ul>
<?php endif;

No other release has this exact content. See every version of this file.