CoreFiles by mySites.guru
mod_unread.php23 lines, 703 bytes, from Joomla_1.6.0-Stable-Full_Package.zip
Raw History Compare with 1.5.26
md5
f3e19cda0e128effbeaec2e0038bf03d
sha1
b99848174b3bdde366644ef0d2be46403791b0ad
sha256
d38df02bef22e52ea039b382b3a05dfb41000faa8426d9b3b5f1bed5b962dbda
<?php
/**
 * @version		$Id: mod_unread.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Administrator
 * @subpackage	mod_unread
 * @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 dependancies.
require_once dirname(__FILE__).'/helper.php';

$unread = ModUnreadHelper::getCount();

if ($unread !== false) {
	// Set the inbox link.
	$inboxLink = JRequest::getInt('hidemainmenu') ? null : JRoute::_('index.php?option=com_messages');

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

The same content is in 7 releases, Joomla 1.6.0 to 1.6.6. See them all, or every version of this file.