CoreFiles by mySites.guru
mod_syndicate.php27 lines, 694 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
93ee005a494c3a3d454d31ba3a7dd188
sha1
00a4c64572b947b8331ef88075ec9d112b59220d
sha256
a091e547321a9deaeef5025d7ebcfa6f9d0f1f2e369c3916c25005b6f2e82e00
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_syndicate
 * @copyright	Copyright (C) 2005 - 2014 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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.