CoreFiles by mySites.guru
mod_syndicate.php27 lines, 753 bytes, from Joomla_3.10.7-Stable-Full_Package.zip
Raw History Compare with 3.10.6
md5
c4639e43a6c8d828ec0f8bdf36ac0565
sha1
61e4018072826384879e62a1feca86d4fcc08280
sha256
5c3b246db1b7ce07aebc2edaff858d16e58294bc236d2532c217031ff8cdf12c
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the syndicate functions only once
JLoader::register('ModSyndicateHelper', __DIR__ . '/helper.php');

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

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

if ($link === null)
{
	return;
}

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8');
$text            = htmlspecialchars($params->get('text', ''), ENT_COMPAT, 'UTF-8');

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

The same content is in 13 releases, Joomla 3.10.6-rc1 to 3.10.12. See them all, or every version of this file.