CoreFiles by mySites.guru
mod_whosonline.php30 lines, 801 bytes, from Joomla_3.6.2-Stable-Full_Package.zip
Raw History Compare with 3.6.1
md5
198d73e984ebce2796e4c3d52978cc44
sha1
a79244b10ed3f22bc7874f5161b9dd61a92eae2b
sha256
49ad7b3d790758e5bf73b544df412bbe637e7922a8f13ac2a1a64afc5075a69a
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_whosonline
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the whosonline functions only once
require_once __DIR__ . '/helper.php';

$showmode = $params->get('showmode', 0);

if ($showmode == 0 || $showmode == 2)
{
	$count = ModWhosonlineHelper::getOnlineCount();
}

if ($showmode > 0)
{
	$names = ModWhosonlineHelper::getOnlineUserNames($params);
}

$linknames = $params->get('linknames', 0);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require JModuleHelper::getLayoutPath('mod_whosonline', $params->get('layout', 'default'));

The same content is in 10 releases, Joomla 3.6.0-alpha to 3.6.2. See them all, or every version of this file.