CoreFiles by mySites.guru
mod_syndicate.php27 lines, 758 bytes, from Joomla_3.8.0-Stable-Full_Package.zip
Raw History Compare with 3.7.5
md5
68384ef9bff8157277cc587585804263
sha1
3ebdfb64c1338b7d7f0c8222049305b8cb90c30e
sha256
ce21a4659d4905747002e66b5b980d6ed74090557b973f0a7f09989a7ab1ba81
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_syndicate
 *
 * @copyright   Copyright (C) 2005 - 2017 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 34 releases, Joomla 3.7.0-alpha2 to 3.8.3. See them all, or every version of this file.