CoreFiles by mySites.guru
mod_whosonline.php30 lines, 780 bytes, from Joomla_3.0.4-Stable-Full_Package.zip
Raw History Compare with 3.0.3
md5
07987fb60167c641fff53087c101c55b
sha1
cb87bff812414fd0fca4e819c67fefa4e1221519
sha256
18ca9124bc508b2b7deedd6263ef0b45eb8f533216531417126daff0836d051d
<?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 2 releases, Joomla 3.0.3 to 3.0.4. See them all, or every version of this file.