CoreFiles by mySites.guru
mod_syndicate.php27 lines, 678 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
fa9a5410f501f00a69e8b84e5a6faa87
sha1
25f3e678bcadc0b6df6e3d757a2d1813938c90f1
sha256
3fad8850b26ca52d3f05d3d10cfa7afbf871afd4b8482858cdf97ca6c215cfa0
<?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
 */

defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once __DIR__ . '/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 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.