CoreFiles by mySites.guru
mod_syndicate.php27 lines, 758 bytes, from Joomla_3.8.4-Stable-Full_Package.zip
Raw History Compare with 3.8.3
md5
ce9ca158f7deeb3e033bce30c4674ab8
sha1
d5bb133dbde1572bbf90846a26bd06f70033b740
sha256
653a9ae69e70a8b6b5371d2cfeb49c6d05c86f4023897090beb191f8b129c49e
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2018 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
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 29 releases, Joomla 3.8.4-rc to 3.9.1. See them all, or every version of this file.