CoreFiles by mySites.guru
mod_whosonline.php30 lines, 780 bytes, from Joomla_3.4.0-Stable-Full_Package.zip
Raw History Compare with 3.3.6
md5
9e603bcb7b44f01d7c087b8341f3585a
sha1
3279c6082b60eae9a8af476c148e011e1ce19c6a
sha256
7ef5b32b640e7ded83b52feb7de9fac6a580a9a1c6e42f8da56e0070357c2512
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_whosonline
 *
 * @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;

// 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'));

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

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