CoreFiles by mySites.guru
mod_whosonline.php30 lines, 780 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
76c170045c67a0a66c0ab5d840b5ba75
sha1
c4081cbcba099808158c925e5eff6a5fadb1f206
sha256
47b6a320f7fbbfe9481241b37ae9f1a02db10b68fe401025fe391ae261df182e
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_whosonline
 *
 * @copyright   Copyright (C) 2005 - 2013 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 7 releases, Joomla 3.1.0 to 3.2.1. See them all, or every version of this file.