CoreFiles by mySites.guru
mod_syndicate.php27 lines, 694 bytes, from Joomla_2.5.13-Stable-Full_Package.zip
Raw History Compare with 2.5.11
md5
aaa3da89b3509358ab7cf86b9bb4e4a1
sha1
2f65cffed87c469be328c7c83fa67c4b1bc716f3
sha256
fa375f96ca1764fe92d29b302c3a86d1316491736e244f73197afa58552bde27
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_syndicate
 * @copyright	Copyright (C) 2005 - 2013 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 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.