CoreFiles by mySites.guru
mod_whosonline.php29 lines, 867 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
28e7b6c0edc6b9696fa3a1acfc2134c0
sha1
934800fc42f0e085007bef419df222cf645abaf0
sha256
4d53319f9bbcbb18e19034ab40c45bbf101c05d74aca80fcf64b3ea36e489aab
<?php
/**
 * @version		$Id: mod_whosonline.php 21084 2011-04-05 00:49:22Z dextercowley $
 * @package		Joomla.Site
 * @subpackage	mod_whosonline
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Include the whosonline functions only once
require_once dirname(__FILE__).'/helper.php';

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

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

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

$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 8 releases, Joomla 1.6.2 to 1.7.2. See them all, or every version of this file.