CoreFiles by mySites.guru
default.php35 lines, 1,001 bytes, from Joomla_4.0.0-alpha6-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha5
md5
6500b13f091f7112db617fe9badb6fea
sha1
8f9f853c2fa540796aeb6f4c44a07b2fb6531496
sha256
69cb6c4f61160efb9a917be80a3056c131f8267e485a4533e1c00a4ddb827725
<?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;

?>

<div class="mod-whosonline">
	<?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; ?>
</div>

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.