CoreFiles by mySites.guru
mod_syndicate.php27 lines, 694 bytes, from Joomla_2.5.1-Stable-Full_Package.zip
Raw History Compare with 2.5.0
md5
fe54a9dce0a463b519d1745500d1d2cb
sha1
abea11d2bffe5911a3b6c692e371fa91732426b7
sha256
b1adfec94d96ede31d0c8a7524c51fe22bbff1f73a150bb8fd22001d90683448
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_syndicate
 * @copyright	Copyright (C) 2005 - 2012 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 syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$params->def('format', 'rss');

$link = modSyndicateHelper::getLink($params);

if (is_null($link)) {
	return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));

$text = htmlspecialchars($params->get('text'));

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

The same content is in 9 releases, Joomla 2.5.0 to 2.5.8. See them all, or every version of this file.